# GMAT Quantitative: Solving Linear Equations with Unknowns

A linear equation is any equation where the highest power of the unknown, which I shall call x, is 1.  To illustrate more clearly with a few examples:

x+1 = 4

10x = 3

x = 18 – 4x

x2 + 2 = 2x and x3 = 8 are not linear equations because there are x’s that are raised to a higher power than 1.

### Solving Equations with 1 Unknown

A linear equation with 1 variable is the simplest type to solve. There is 1 equation and 1 unknown, which means that the unknown can always be determined. To solve such an equation, you need to rearrange the equation to have like terms on either side of the equal sign. Put another way, you are trying to isolate x (or whatever the variable is called) on one side of the equation.

For example, if 2x = 234, to isolate x, we have to divide the entire equation by 2. Doing this, we get x = 117.

If there are x’s and numbers on either side of the equal sign, we add and subtract values to isolate x on one side. Suppose 2x – 17 = 18 – 3x

The first thing we could do is to add 17 to both sides to get: 2x – 17 + 17 = 18 – 3x + 17

This reduces to 2x = 35 – 3x

Now, we need to have all the x’s on one side so we add 3x to both sides to get: 2x + 3x = 35 – 3x + 3x

This reduces to 5x = 35

Dividing by 5 on both sides, we get x = 7

### Practice Question 2

What’s a little trickier than manipulating algebraic equations is translating a word problem into an algebraic equation. Here’s another practice problem:

Jack and his brother are sharing a monster piece of licorice that is 28 inches long. Since Jack is older, his share is 8 inches longer than his brother’s. How long, in inches, is Jack’s brother’s piece?

The way to solve this problem is to let something be x. Here’s what happens if we let Jack’s piece be x inches.

Jack’s piece = x inches

Jack’s brother’s piece = x – 8 inches

Total length of licorice = Jack’s piece + Jack’s brother’s piece = 28 = x + (x-8)

This means that x = 18 inches. But remember that the question wants the length of Jack’s brother’s piece, which we have defined as x – 8. So the correct answer is 10 inches.

Here’s what happens if we let Jack’s brother’s piece be x inches.

Jack’s brother’s piece = x inches

Jack’s piece = x + 8 inches

Total length of licorice = 28 = x + (x+8) and we determine that x = 10. In this case, since we have already defined Jack’s brother’s piece to be x, there is no further step we need to take.

In general, here are a few things to keep in mind:

• if there is only one unknown, you only need one equation to determine the value of the unknown
• in dealing with algebraic equations, remember that anything you do to one side (be it adding, subtracting, multiplying or dividing) you need to do to this other side too.
• in dealing with word problems, define something to be x and see if you can define other things in terms of x only. (For example, in the question about licorice, you would not want to let Jack’s piece be x inches and his brother’s be y inches.) Don’t introduce unnecessary variables if it can be expressed in terms of an existing variable.

### Solving Equations with 2 Unknown

Now that we’ve covered linear equations with one unknown, we can move on to tackle equations with two unknowns. In order to solve such equations, you need at least 2 distinct equations involving these unknowns.

For example, if we are trying to solve for x and y, we won’t be able to solve it using these 2 equations.

2x + y = 14
4x + y – 14 = 14 – y

Why? Because the two equations on top are the same. If you simplify the second equation, you get 4x + 2y = 28 which reduces to 2x + y = 14 – the same equation as the first. If the two equations are the same, then there will be infinitely many values for x and y that will satisfy the equations. For example, x = 2 and y = 10 satisfies the equation. So does x = 4 and y = 8.  And so does x = 6 and y = 2.

In order to solve for an actual value of x and y, we need 2 distinct equations.

2x + y = 14 ——–(1)
x – y = 4 ———–(2)

Then from equation (2), we can get x = 4 + y and substitute that into equation (1) to get:
2(4 + y) + y = 14  We can then solve for y. See if you got y = 2  Once you’ve got y = 2, you can substitute that into x= 4 + y to get x = 6.

An important lesson here is that you need as many distinct equations as you have variables. So if you are doing a data sufficiency question, you can sometimes just note that as long as you have two distinct equations, you will be able to solve for x and y. Disregard or other equivalent equations.

Sometimes, however, its possible for there to be no solution to the set of equations. This occurs when one side of each equation is the same, but the other side is different. For example,

2x + y = 14
2x + y = 0

has no solution. Its like saying that the same steak costs $14 and$0 at the same restaurant. Of course, the GMAT is not going to make it so obvious that the equations contradict each other. Usually, you would have to simplify one of the equations to check if it is

1. the same as the other equation, in which case, you have infinitely many solutions
2. the same as the other equation on one side, but different on the other side of the equal sign. In this case, you have no solution
3. a distinct equation, in which case x and y has an exact value.

### Multiple Unknowns Practice Question

The GMAT might also require you to translate a word problem into a pair of simultaneous equations to solve. Let’s try a practice question.

A package contains nothing but 35 DVDs and 15 videotapes. What is the total weight, in pounds, of the contents of the package?

(1) Each videotape weighs twice as much as each DVD.

If we let the weight of a DVD be x and a videotape be y, then according to this statement y = 2x

(2) The total weight of 2 of the videotapes and 2 of the DVDs is 1 pound.

Following the previous notation, 2y + 2x = 1

We clearly have 2 distinct equations meaning that we need both statements together to solve this question. The more you practice, the more you’ll start to get the hang of constructing and simplifying equations to see if they are distinct and, thus, solvable.

Tags: