Chalk−1

Math · College algebra · Concept

Solving rational equations

To solve an equation with the variable in a denominator, first list the values that make a denominator zero. Multiply every term by the least common denominator, solve, and reject any answer that is an excluded value.

Try one — Chalk checks each line

A concrete case

Splitting a bill

A group splits a $60 bill evenly. If two more friends had joined, each person would have paid $5 less. How many people were in the group?

Try a few sizes. With 3 people each pays $20, and with 5 people each would pay $12, a difference of $8. With 4 people each pays $15, and with 6 each would pay $10. That is exactly $5 less, so the group had 4 people.

With x people, each share is 60⁢/⁢x and the larger group’s share is 60⁢/⁢(x+2). The story says 60⁢/⁢x−60⁢/⁢(x+2)=5. The variable sits in a denominator, which makes this a rational equation. Multiplying every term by x⁢(x+2) clears the fractions and leaves 60⁢(x+2)−60⁢x =5⁢x⁢(x+2). That simplifies to x2+2⁢x−24=0, or (x+6)⁢(x−4)=0.

The algebra offers x=4 and x=−6. A group of −6 people makes no sense, so the answer is 4. Throwing out a candidate is a normal part of solving these equations.

60x−60x+2=5⟹60⁢(x+2)−60⁢x=5⁢x⁢(x+2)
60x−60x+2=560⁢(x+2)−60⁢x=5⁢x⁢(x+2)
The share for each group size, before and after two more join
People, xShare, 60⁢/⁢xShare with two more, 60⁢/⁢(x+2)Difference
3$20$12$8
4$15$10$5
5$12about $8.57about $3.43

The rule

Excluded values and the LCD

A rational equation has the variable in a denominator. Division by zero is undefined, so any value that makes a denominator zero is an excluded value. It can never be a solution, even if the algebra produces it.

To solve, factor each denominator and list the excluded values first. Build the least common denominator (LCD) from the factors. Multiply every term on both sides by the LCD, which cancels each denominator and leaves a polynomial equation. Solve that, then reject any candidate on the excluded list.

A candidate that solves the cleared equation but not the original is an extraneous solution.

2x−1+xx+1=4x2−1,x≠±1
2x−1+xx+1=4x2−1x≠±1

Why it works

Why an extra solution can appear

Multiplying both sides by the same nonzero number keeps the same solutions, because the step can be undone by dividing. The LCD contains x, so it is not always nonzero. At an excluded value it is 0, and multiplying by 0 makes any two sides equal.

The cleared equation therefore keeps every solution of the original and may add the excluded values. It never loses one. That is why the check runs only one way. Compare each candidate with the excluded list, and reject what is on it.

In the bill problem the excluded values are 0 and −2. The candidate −6 was not excluded, and it does satisfy 60⁢/⁢x−60⁢/⁢(x+2)=5, since −10−(−15)=5. It failed only because a group cannot have −6 people. A candidate can fail the equation or fail the story, and both checks matter.

Is multiplying by the LCD a mistake, then?

No. Every solution of the original equation still solves the cleared equation, so nothing is lost. The only risk is that something is gained, and checking each candidate against the excluded values removes it.

The method

The method in six steps

The table solves 2⁢/⁢(x−1)+x⁢/⁢(x+1) =4⁢/⁢(x2−1), the worked example below.

Multiply every term, whole numbers included. In x⁢/⁢(x−3) =3⁢/⁢(x−3)+2, the 2 becomes 2⁢(x−3).

2⁢(x+1)+x⁢(x−1)=4
Six steps on 2⁢/⁢(x−1) +x⁢/⁢(x+1) =4⁢/⁢(x2−1)
StepWhat to doHere
1Factor every denominatorx2−1 =(x−1)⁢(x+1)
2List the excluded valuesx≠1, x≠−1
3Multiply every term by the LCD2⁢(x+1)+x⁢(x−1) =4
4Solve the polynomial equationx2+x−2 =0, so x=−2 or x=1
5Reject excluded candidatesx=1 is excluded
6Check the rest in the originalx=−2 gives 4⁢/3 on both sides

Another route keeps the restriction in view

You can instead move every term to one side and combine them into a single fraction. A fraction equals zero exactly when its numerator is zero and its denominator is not. A factor shared by the numerator and denominator gives a value that zeroes both, and such a value never qualifies.

An equation with one fraction on each side can be cleared by cross-multiplying. It is the same idea, multiplying both sides by both denominators, and it needs the same condition that neither denominator is zero.

(x+2)⁢(x−1)(x−1)⁢(x+1)=0⟹x=−2
(x+2)⁢(x−1)(x−1)⁢(x+1)=0⟹x=−2

Where it breaks

Where it breaks

Canceling a factor hides an excluded value. (x2−1)⁢/⁢(x−1)=2 looks like x+1=2 after canceling, which gives x=1. But x=1 makes the original denominator zero, so the equation has no solution at all. Write the restriction down before you cancel.

Cancel factors, never terms. (x+2)⁢/⁢(x+5) is not 2⁢/5, because x is a term of each bracket, not a factor of the whole top and bottom.

The LCD method is for equations only. To solve 3⁢/⁢(x−1)>2 you cannot multiply by x−1, because that number may be negative, and multiplying an inequality by a negative number reverses it. A rational inequality needs a sign chart instead.

x2−1x−1=2⟹x+1=2⟹x=1 (excluded)
x2−1x−1=2x+1=2x=1 (excluded)

Check your answer

Check your answer

Clearing denominators can let in answers that fail, so every candidate must earn its place.

Compare each candidate with the excluded values. Anything on the list is rejected without further work.

Substitute each survivor into the original equation, never the cleared one. The cleared equation accepts the extraneous values too, so it cannot tell them apart.

Graph each side as a curve. They cross only at true solutions, and an excluded value shows up as a vertical asymptote or a hole where no crossing can be.

To have Chalk check the work, put the original equation on the first row of a Math box and each step on its own row. If you clear by the LCD, as the method table does, the row that multiplies by the LCD reads ⇒, a one-way step, with the message “Every solution of the line above satisfies this line. It also has x = 1, which the line above excludes.” The worked example’s board takes the single-fraction route instead, where every row reads ✓. A row that lists both candidates, x=−2 or x=1, reads ✗ “Row 1 is undefined at x = 1.”, which names the one to reject. The final answer, x=−2, reads ✓.

How many solutions does (x2−25)⁢/⁢(x−5)=x+5 have?

Every real number except 5. The numerator factors as (x−5)⁢(x+5), so wherever the left side is defined it equals x+5. At x=5 its denominator is 0, which makes 5 an excluded value. Answering “every real number” forgets the excluded value. Answering “none” mistakes an equation that holds wherever it is defined for one that never holds.

Rates add, times do not

Work and travel problems lead to rational equations because rates are reciprocals of times. A pipe that fills a tank in 4 hours fills 1⁢/4 of it each hour. Two pipes together add their rates, not their times.

The same idea gives a surprising average speed. Drive to a town 120 km away at 40 km⁢/⁢h and back at 60 km⁢/⁢h. The trips take 3 hours and 2 hours, so 240 km in 5 hours is 48 km⁢/⁢h, not 50. Over equal distances the average speed is 2⁢/⁢(1⁢/40+1⁢/60)=48, called the harmonic mean.

Excluded values return in graphs. The graph of a rational function has a vertical asymptote or a hole at each excluded value, which is why the two sides of an equation can never meet there.

2140+160=25120=48

Common mistakes

  • Solving first and never checking the excluded values. For 2⁢/⁢(x−1)+x⁢/⁢(x+1) =4⁢/⁢(x2−1) the candidates are −2 and 1, but x=1 makes a denominator zero, so the only solution is −2.
  • Multiplying only the fractions by the LCD. In x⁢/⁢(x−3) =3⁢/⁢(x−3)+2 the 2 must become 2⁢(x−3), because every term on both sides is multiplied.
  • Canceling terms instead of factors. (x+2)⁢/⁢(x+5) is not 2⁢/5. Only a factor of the whole numerator and the whole denominator cancels.
  • Assuming there must be an answer. When every candidate is an excluded value, as in x⁢/⁢(x−3) =3⁢/⁢(x−3)+2, the equation has no solution.
  • Adding times in a work problem. Pipes that take 4 h and 6 h do not take 10 h or 5 h together. Their rates add, 1⁢/4+1⁢/6=5⁢/12 of the tank per hour, so together they take 12⁢/5=2.4 h.
  • Checking a candidate in the cleared equation. The cleared equation is satisfied by the extraneous value too, so substitute into the original equation instead.

Key terms

Rational equation
An equation with the variable in a denominator. Values that make an original denominator zero stay excluded while you solve, so a candidate that does is rejected.
Excluded value
A value the variable can’t take in the original expression, usually because it makes a denominator zero or puts a negative number under an even root. Canceling a factor later doesn’t bring it back.
Extraneous solution
A value found while solving that doesn’t satisfy the original equation. Squaring both sides or multiplying by an expression with the variable can create one, so check answers in the original.
Least common denominator
The smallest expression that every denominator in a problem divides into evenly. Multiplying an equation by it clears the fractions, and for rational expressions it is built from the factored denominators.
Rational expression
A fraction whose numerator and denominator are polynomials. Any value that makes the original denominator zero stays excluded, even if that factor cancels when you simplify.
Domain
The set of inputs for which a function or expression is defined. In the real numbers that rules out zero denominators, negative numbers under even roots and inputs of logarithms that aren’t positive.

Work through an example

Solve 2⁢/⁢(x−1)+x⁢/⁢(x+1) =4⁢/⁢(x2−1).

Rational equation with an extraneous solution →

Solve a work-rate problem →

Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Check the single-fraction route in Math Graph both sides in Graph Study the 6 key terms Open worked example on a board Clearing denominators in Math Reference

Your existing work stays on this device. Examples open as editable copies.