Equations With a Variable in the Denominator That Turn Out Linear
Clear the denominators, solve the linear equation left behind, and reject any answer that would have meant dividing by zero.
Key takeaways
- List the excluded values before doing anything else, since they come from the original denominators.
- Multiply every term on both sides by the least common denominator to remove all the fractions at once.
- Squared terms sometimes cancel, leaving a linear equation even after multiplying two binomials.
- A solution of the cleared equation that makes an original denominator zero is extraneous and must be rejected.
- If the only candidate is excluded, the correct answer is that the equation has no solution.
An equation such as 5/(x − 2) = 3/(x + 4) has the unknown in its denominators, yet it can be solved with ordinary linear algebra. First write down the values of x that would make any denominator zero. Then multiply every term by a common denominator, solve what remains, and throw out any result that appears on your forbidden list.
Strictly speaking, these equations are not linear as written. They are rational equations that lead to a linear one, and the difference matters because the original equation has gaps that the new one lacks.
Start with what x cannot be
Division by zero is undefined, so any x that turns a denominator into zero can never solve the equation. Find these values by setting each denominator equal to zero.
For 12/x = 4, the excluded value is 0. Multiply both sides by x to get 12 = 4x, so x = 3. Since 3 is not excluded, it stands. Check: 12/3 = 4.
For 5/(x − 2) = 3/(x + 4), the excluded values are 2 and −4.
5/(x − 2) = 3/(x + 4) (x ≠ 2, x ≠ −4)
5(x + 4) = 3(x − 2) (multiply by (x − 2)(x + 4))
5x + 20 = 3x − 6
2x = −26
x = −13 The value −13 is allowed. Substituting gives 5/(−15) on the left and 3/(−9) on the right, and both equal −1/3.
Writing the restrictions first costs a few seconds and protects you from the one error this topic is famous for.
Why clearing can add false answers
Multiplying both sides of an equation by a nonzero number keeps the solutions exactly the same. Multiplying by an expression containing x is different, because for some x that expression is zero. At those values you are multiplying both sides by zero, which can make a false or meaningless statement look true.
So the cleared equation may have a solution the original does not. Such a value is called extraneous. It satisfies the later line but not the first one.
Nothing can go missing in this direction: every true solution of the original also solves the cleared equation. The risk is only of gaining extras, and the excluded list catches them. For a wider view of which moves are safe, see reversible and irreversible steps.
Choosing the common denominator
The least common denominator, or LCD, is the simplest expression that every denominator divides into. Take each distinct factor once, or as many times as it repeats within a single denominator.
Solve 3/x + 1/2 = 5/x. The denominators are x, 2 and x, so the LCD is 2x and x ≠ 0.
3/x + 1/2 = 5/x
2x·(3/x) + 2x·(1/2) = 2x·(5/x)
6 + x = 10
x = 4 Check: 3/4 + 1/2 = 5/4.
The middle term is the one students tend to skip, because it has no x below it. Every term gets multiplied, whether or not it has a fraction.
A shortcut exists here. Subtracting 3/x from both sides gives 1/2 = 2/x, so x = 4. Collecting fractions with matching denominators first often shrinks the work.
Factor before you multiply
Hidden common factors make the LCD smaller than the product of everything in sight. Solve 2/(x − 3) + 1/(x + 3) = 15/(x² − 9).
Since x² − 9 = (x − 3)(x + 3), the LCD is just that product, and x ≠ 3, x ≠ −3.
2(x + 3) + (x − 3) = 15
3x + 3 = 15
x = 4 Check: the left side is 2/1 + 1/7 = 15/7, and the right side is 15/(16 − 9) = 15/7.
Had you multiplied by all three denominators, you would have produced a cubic equation with two extra roots, 3 and −3, to throw out. Practice with this step is covered in finding the least common denominator of polynomial fractions.
When the only answer is forbidden
Change one number in the last equation: 2/(x − 3) + 1/(x + 3) = 12/(x² − 9).
2(x + 3) + (x − 3) = 12
3x + 3 = 12
x = 3 (excluded) The algebra produced 3, but 3 makes two of the original denominators zero. The equation has no solution.
A smaller case shows the same thing. In x/(x − 5) = 5/(x − 5) + 2, multiplying by x − 5 gives x = 5 + 2(x − 5), which simplifies to x = 5. Again the candidate is the excluded value, so the solution set is empty.
You can see why without clearing anything. Subtract 5/(x − 5) from both sides to get (x − 5)/(x − 5) = 2. The left side is 1 wherever it is defined, and 1 never equals 2.
"No solution" is a complete answer. Do not report x = 5 with a question mark.
Proportion-shaped equations
When each side is a single fraction, as in 7/(2x + 1) = 3/x, you can multiply by both denominators in one stroke. This is cross multiplication, and it is nothing more than the LCD method applied to two fractions.
7/(2x + 1) = 3/x (x ≠ 0, x ≠ −1/2)
7x = 3(2x + 1)
7x = 6x + 3
x = 3 Check: 7/7 = 1 and 3/3 = 1.
Keep the brackets around any denominator with two terms. Writing 3 · 2x + 1 would give 7x = 6x + 1 and the wrong answer x = 1, which fails the check at once: 7/3 is not 3.
The method does not apply as it stands when a side has two or more separate terms. In that case, either combine each side into one fraction first or use the common denominator on every term. The limits are spelled out in when cross multiplication is the wrong move.
Squares that cancel
Some equations look quadratic after clearing but are not. Solve (x + 1)/(x − 2) = (x + 3)/(x − 1), with x ≠ 2 and x ≠ 1.
(x + 1)(x − 1) = (x + 3)(x − 2)
x² − 1 = x² + x − 6
−1 = x − 6 (subtract x²)
x = 5 Check: 6/3 = 2 and 8/4 = 2.
Do not give up when x² appears. Expand fully, then see whether the squared terms match on both sides. If they do not, you have a genuine quadratic and need other tools, as described in rational equations that reduce to quadratics.
Opposite denominators
Watch for denominators that are negatives of each other, such as x − 4 and 4 − x. They look different but share one factor, because 4 − x = −(x − 4).
Solve 3x/(x − 4) + 12/(4 − x) = x − 1, with x ≠ 4. Rewrite the second fraction as −12/(x − 4), so the left side becomes (3x − 12)/(x − 4). That simplifies to 3 for every allowed x.
3 = x − 1
x = 4 (excluded) The only candidate is forbidden, so there is no solution. If the right side had been x − 2 instead, the equation would give x = 5, which is allowed: 15/1 + 12/(−1) = 3, and 5 − 2 = 3.
Multiplying by (x − 4)(4 − x) would also work, but it uses the same factor twice and creates extra roots to sort out. Spotting the sign relationship keeps the work linear.
An equation true almost everywhere
The opposite extreme also happens. Consider 1/(x − 1) + 1/(x + 1) = 2x/(x² − 1).
(x + 1) + (x − 1) = 2x (multiply by (x − 1)(x + 1))
2x = 2x The last line is always true. The original, however, is undefined at 1 and −1. The solution set is every real number except those two.
The three outcomes are summarized below.
| Cleared equation gives | Compare with excluded values | Conclusion |
|---|---|---|
| a single value | not on the list | that value is the solution |
| a single value | on the list | no solution |
| a false statement | not needed | no solution |
| a true statement | remove the listed values | every other number |
A short application
Say a hypothetical club rents a hall for 240 dollars and splits the cost equally. If each member's share plus a 5 dollar snack fee comes to 25 dollars, how many members are there?
Let n be the number of members. Then 240/n + 5 = 25, with n ≠ 0.
240/n = 20
240 = 20n
n = 12 Twelve members each pay 20 + 5 = 25 dollars. In a story problem you have a second filter besides the algebra: n has to be a positive whole number. A result such as n = 12.5 would solve the equation and still fail the situation.
Formulas built from reciprocals behave similarly. In 1/x = 1/6 + 1/3, the right side is 1/2, so x = 2. Note that x is not 6 + 3. Reciprocals of a sum are not sums of reciprocals.
When letters appear too
The same steps solve formulas. Take y = (x + 1)/(x − 2) and solve for x, with x ≠ 2.
y(x − 2) = x + 1
yx − 2y = x + 1
yx − x = 2y + 1
x(y − 1) = 2y + 1
x = (2y + 1)/(y − 1) (y ≠ 1) Here there are two restrictions of different kinds. The input x can never be 2. The output y can never be 1, because y = 1 would require x − 2 = x + 1. Test with y = 4: x = 9/3 = 3, and (3 + 1)/(3 − 2) = 4.
Mistakes worth watching for
- Multiplying only the fraction terms and leaving whole numbers untouched.
- Losing a minus sign when a numerator with two terms follows a subtraction. Keep it in brackets.
- Cancelling a term inside a sum, such as crossing out x in (x + 5)/x. The rules are laid out in when cancelling is legal.
- Deciding excluded values from the cleared equation, where the denominators have vanished.
- Checking an answer only in the cleared form, which cannot detect an extraneous value.
A final substitution into the original equation catches all of these. If both sides are defined and equal, you are done. For more demanding cases, continue with solving rational equations by clearing denominators.