Math Core

Lesson 6.5 · Rational Functions

Solving rational equations

A rational equation is an equation that contains rational expressions, like 5x−12=32x\dfrac{5}{x} - \dfrac{1}{2} = \dfrac{3}{2x}. Equations like this come up whenever rates, averages or shared work are involved. The strategy is simple: clear the fractions, solve the polynomial equation that remains, and then check for answers that don't really work.

Clearing the fractions

Fractions are what make these equations hard, so get rid of them. Multiply every term on both sides by the least common denominator (LCD). Each denominator divides the LCD, so every fraction cancels down to a polynomial.

Worked example: Multiplying by the LCD

Solve 5x−12=32x\dfrac{5}{x} - \dfrac{1}{2} = \dfrac{3}{2x}.

The denominators are xx, 22 and 2x2x, so the LCD is 2x2x. Note that x≠0x \ne 0. Multiply every term by 2x2x:

2x⋅5x−2x⋅12=2x⋅32x10−x=3x=7.\begin{aligned} 2x \cdot \frac{5}{x} - 2x \cdot \frac{1}{2} &= 2x \cdot \frac{3}{2x} \\ 10 - x &= 3 \\ x &= 7. \end{aligned}

Check: 57−12=10−714=314\dfrac{5}{7} - \dfrac{1}{2} = \dfrac{10 - 7}{14} = \dfrac{3}{14}, and 32(7)=314\dfrac{3}{2(7)} = \dfrac{3}{14}. The solution is x=7x = 7.

Proportions

When the equation is one fraction equal to another, ab=cd\dfrac{a}{b} = \dfrac{c}{d}, multiplying both sides by bdbd gives ad=bcad = bc. This shortcut is called cross-multiplying. It is just the LCD method for this special shape.

Worked example: Cross-multiplying

Solve 3x+2=5x−2\dfrac{3}{x + 2} = \dfrac{5}{x - 2}.

Cross-multiply:

3(x−2)=5(x+2)3x−6=5x+10−16=2xx=−8.\begin{aligned} 3(x - 2) &= 5(x + 2) \\ 3x - 6 &= 5x + 10 \\ -16 &= 2x \\ x &= -8. \end{aligned}

Check: 3−6=−12\dfrac{3}{-6} = -\dfrac{1}{2} and 5−10=−12\dfrac{5}{-10} = -\dfrac{1}{2}. The solution is x=−8x = -8.

Extraneous solutions

Multiplying by an expression that contains xx can introduce false solutions. The new polynomial equation is defined for every xx, but the original equation is not defined where a denominator is zero. If your algebra produces one of those forbidden values, it is an extraneous solution and must be thrown out.

Solving a rational equation

  1. Factor each denominator and list the excluded values (where any denominator is zero).
  2. Multiply every term on both sides by the LCD.
  3. Solve the resulting polynomial equation.
  4. Reject any answer that is an excluded value. Check the rest in the original equation.

If every candidate is rejected, the equation has no solution.

Worked example: One real solution, one extraneous

Solve 1x−2+xx+2=4x2−4\dfrac{1}{x - 2} + \dfrac{x}{x + 2} = \dfrac{4}{x^2 - 4}.

Since x2−4=(x−2)(x+2)x^2 - 4 = (x - 2)(x + 2), the excluded values are x=2x = 2 and x=−2x = -2, and the LCD is (x−2)(x+2)(x - 2)(x + 2). Multiply every term by the LCD:

(x+2)+x(x−2)=4x2−x+2=4x2−x−2=0(x−2)(x+1)=0.\begin{aligned} (x + 2) + x(x - 2) &= 4 \\ x^2 - x + 2 &= 4 \\ x^2 - x - 2 &= 0 \\ (x - 2)(x + 1) &= 0. \end{aligned}

The candidates are x=2x = 2 and x=−1x = -1. But x=2x = 2 is excluded (it makes 1x−2\dfrac{1}{x - 2} undefined), so it is extraneous.

Check x=−1x = -1: the left side is 1−3+−11=−43\dfrac{1}{-3} + \dfrac{-1}{1} = -\dfrac{4}{3} and the right side is 41−4=−43\dfrac{4}{1 - 4} = -\dfrac{4}{3}. The only solution is x=−1x = -1.

Common mistake

Never skip the check. An answer like x=2x = 2 in the example above comes out of perfectly correct algebra, yet it is not a solution. Write the excluded values down at the very start so you can't forget them at the end.

You can see why this happens on a graph. Solving 1x−2+xx+2=4x2−4\dfrac{1}{x - 2} + \dfrac{x}{x + 2} = \dfrac{4}{x^2 - 4} means finding where the two sides' graphs meet. At x=2x = 2 both sides have a vertical asymptote, so there is no intersection there at all.

Work and rate problems

If a job takes someone tt hours, they complete 1t\dfrac{1}{t} of the job per hour. When people work together, their rates add:

1t1+1t2=1ttogether.\frac{1}{t_1} + \frac{1}{t_2} = \frac{1}{t_{\text{together}}}.

Worked example: Painting a fence

Ana can paint a fence alone in 55 hours. With Ben helping, the job takes 33 hours. How long would Ben take alone?

Let bb be Ben's time in hours. Rates add:

15+1b=13.\frac{1}{5} + \frac{1}{b} = \frac{1}{3}.

Multiply by the LCD, 15b15b:

3b+15=5b15=2bb=7.5.\begin{aligned} 3b + 15 &= 5b \\ 15 &= 2b \\ b &= 7.5. \end{aligned}

Ben would take 7.57.5 hours alone. That's reasonable: he's slower than Ana, and together they are faster than either one.

Distance problems work similarly, using time=distancerate\text{time} = \dfrac{\text{distance}}{\text{rate}}. When two trips take the same time, set their time expressions equal and solve the proportion.

Tip

Sanity-check every word problem answer. A combined time must be less than each person's solo time. A current's speed must be less than the boat's speed. A negative time or distance is always extraneous in context.

Practice

Practice 1

Solve 6x=34\dfrac{6}{x} = \dfrac{3}{4}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Solve 4x−1=2x+3\dfrac{4}{x - 1} = \dfrac{2}{x + 3}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Solve 1x+12x=14\dfrac{1}{x} + \dfrac{1}{2x} = \dfrac{1}{4}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Find all solutions of x+6x=5x + \dfrac{6}{x} = 5.

Separate answers with commas, e.g. 2, -5

Practice 5

Solve xx−2=2x−2+3\dfrac{x}{x - 2} = \dfrac{2}{x - 2} + 3.

Practice 6

Solve 1+3x−1=6x2−11 + \dfrac{3}{x - 1} = \dfrac{6}{x^2 - 1}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Pipe A can fill a pool in 66 hours. With pipe B also running, the pool fills in 44 hours. How many hours would pipe B take to fill the pool alone?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

A boat moves at 1212 miles per hour in still water. It travels 4545 miles downstream in the same time it takes to travel 2727 miles upstream. What is the speed of the current, in miles per hour?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.