Sub topic 4
Solving for One Variable in Terms of Others
What this chapter assumes
You should already be comfortable with inverse operations and with solving one-variable linear equations, including equations with fractions. This chapter extends those skills to equations with several letters. You also need the basic vocabulary of variable, term, coefficient and expression.
A literal equation is an equation that contains more than one variable, such as a formula. Solving for one variable in terms of the others means rearranging the equation so that the chosen variable stands alone on one side. The other side may contain any of the remaining letters.
The GRE uses this skill in three ways:
- A formula is given and you must isolate one letter, such as solving for r in a simple-interest formula.
- A system has one equation that already isolates a variable, or can easily be made to. This is the first step of substitution.
- An answer choice or comparison is written in terms of a different variable than the one you found.
The core idea: treat the other letters as numbers
When you solve 3x + 5 = 20, you undo the +5 and then the multiplication by 3. The same moves work when the 5 and the 20 are replaced by letters. The letters you are not solving for behave like constants, so you treat them as if they were numbers.
Take the equation 3x + a = b and solve for x.
- Subtract a from both sides: 3x = b - a.
- Divide both sides by 3: x = (b - a)/3.
The result is not a number. It is a formula that gives x once a and b are known. That is a complete answer.
A repeatable procedure
- Circle the variable you must isolate.
- Clear any fractions by multiplying both sides by the common denominator.
- Expand parentheses if the target variable appears inside them.
- Move every term containing the target variable to one side. Move all other terms to the other side.
- If the target variable appears in more than one term, factor it out.
- Divide by its coefficient, which may be an expression.
Steps 4 to 6 are where most errors occur, so the sections below treat them separately.
Worked example: a single occurrence
Solve P = 2L + 2W for W.
P = 2L + 2W
P - 2L = 2W
W = (P - 2L)/2You can also write W = P/2 - L. Both forms are correct. The GRE may offer either form among its answer choices, so check that you can convert between them. Dividing each term in the numerator by 2 gives the second form.
Worked example: a fraction
Solve A = (1/2)h(b1 + b2) for b1, where b1 and b2 are the two parallel sides of a trapezoid.
A = (1/2)h(b1 + b2)
2A = h(b1 + b2) multiply both sides by 2
2A/h = b1 + b2 divide both sides by h
b1 = 2A/h - b2 subtract b2Notice that b1 + b2 was kept together as one unit until the last step. Dividing by h first was easier than expanding. Look for a group that can be treated as a single block.
When the target appears in more than one term
This is the most important edge case. If the variable you want appears in two or more terms, you must collect those terms on one side and factor.
Solve 3x + ay = 5x + b for x.
3x + ay = 5x + b
ay - b = 5x - 3x move x-terms right, other terms left
ay - b = 2x
x = (ay - b)/2Here the coefficients were plain numbers, so the factoring was easy. Now make the coefficients letters. Solve ax + b = cx + d for x.
ax + b = cx + d
ax - cx = d - b x-terms left, others right
x(a - c) = d - b factor out x
x = (d - b)/(a - c) divide by (a - c)The key move is factoring. You cannot divide by a alone, because x also appears next to c.
Dividing by an expression
Dividing by (a - c) is only allowed when a - c is not zero. If a = c, the equation becomes b = d. In that case it either has no solution (when b is not equal to d) or is true for every x (when b = d). The GRE sometimes states "a ≠ c" or gives a condition that makes the division safe. Read these conditions, because they are often what makes a question have a single answer.
Worked example: a variable in a denominator
Solve 1/x + 1/y = 1/z for z, assuming x, y and z are all nonzero.
1/x + 1/y = 1/z
(y + x)/(xy) = 1/z combine the left side
z(x + y) = xy cross-multiply
z = xy/(x + y)A common wrong move is to flip each fraction separately, which gives z = x + y. That is not valid. You may only take reciprocals of both sides after each side is a single fraction.
Connection to systems and substitution
Solving for one variable in terms of another is the engine of substitution. Suppose you have 2x + y = 10 and 4x - 3y = 5.
The first equation can be solved for y quickly:
2x + y = 10
y = 10 - 2xNow replace y in the second equation:
4x - 3(10 - 2x) = 5
4x - 30 + 6x = 5
10x = 35
x = 7/2Then y = 10 - 2(7/2) = 3. The next chapters build the full substitution method. For now, notice how to choose which letter to isolate. Pick a variable with a coefficient of 1 or -1, because solving for it creates no fractions.
Choosing the target
The question tells you which variable to isolate in a formula problem. In a system, you choose. Compare the options:
| Equation | Easy to isolate | Why |
|---|---|---|
| x + 4y = 9 | x | Coefficient is 1, so x = 9 - 4y has no fraction |
| 3x - y = 7 | y | Coefficient is -1, so y = 3x - 7 |
| 5x + 2y = 8 | Neither is clean | Any choice produces a fraction, so consider elimination instead |
Diagram of the procedure
Checking a rearranged formula
A fast check uses numbers. Pick easy values for the other letters, solve the original equation directly, and compare with your formula.
For P = 2L + 2W with L = 3 and W = 4, we get P = 14. Now use the rearranged formula with P = 14 and L = 3: W = (14 - 6)/2 = 4. This matches.
Choosing values on purpose catches mistakes, but pick values that do not hide errors. Using 1 or 0 can make wrong formulas look right, because 1 times anything is itself. Try values such as 2, 3 and 5.
Common errors
- Dropping a sign when moving a term. Moving -b across the equals sign gives +b. Write the operation you apply to both sides next to each line.
- Dividing only part of the side. In x(a - c) = d - b, the divisor (a - c) must divide the whole right side, not just one term.
- Cancelling terms instead of factors. In (a + b)/a you cannot cancel the a's, because the top is a sum. The result is 1 + b/a.
- Forgetting to distribute a negative. In 4x - 3(10 - 2x), the -3 multiplies both terms inside, giving -30 + 6x.
- Leaving the target on both sides. If your answer for x still contains x, you have not finished.
A GRE-style example
If 2(a - 3b) = c + 4a, what is a in terms of b and c?
2a - 6b = c + 4a distribute 2
-6b - c = 4a - 2a move a-terms right, others left
-6b - c = 2a
a = (-6b - c)/2This can also be written as a = -3b - c/2. The two forms are equal, so match whichever one appears in the answer choices.
Exercises
Exercise
Solve for n: S = (n/2)(a + l), where a and l are the first and last terms of a sequence and n is the number of terms. Assume a + l is not zero.
Show answer
Multiply both sides by 2 to get 2S = n(a + l). Divide both sides by (a + l). The result is n = 2S/(a + l).
Exercise
Solve 5x - 2y = 3x + 4y + k for x in terms of y and k.
Show answer
Move the x-terms to the left and the other terms to the right: 5x - 3x = 4y + 2y + k. This gives 2x = 6y + k, so x = (6y + k)/2, which equals 3y + k/2.
Exercise
Solve m(x - 2) = nx + 7 for x, and state the condition on m and n needed for the answer to be valid.
Show answer
Expand: mx - 2m = nx + 7. Collect x-terms: mx - nx = 7 + 2m. Factor: x(m - n) = 7 + 2m. Then x = (7 + 2m)/(m - n). The division is valid only when m is not equal to n.