Skip to content
Tutorials Center
My learning

Topics

Lesson 17 of 38 · Rational Expressions

Solving Rational Equations

Solve rational equations by multiplying by the LCD, use proportions, check for extraneous solutions and apply the method to work-rate and mixture problems.

A rational equation contains rational expressions, such as 3/x + 1/2 = 5/(2x). The usual strategy is to remove every denominator at once by multiplying both sides by the least common denominator. That turns the problem into a polynomial equation you already know how to solve.

There is a catch. Multiplying by an expression that contains x can introduce solutions that do not really work. These are extraneous solutions, and checking for them is not optional.

The method

  1. Factor every denominator and note the excluded values.
  2. Find the LCD.
  3. Multiply every term on both sides by the LCD and simplify.
  4. Solve the resulting equation (linear, quadratic, ...).
  5. Reject any answer that is an excluded value; check the rest in the original equation.

Example 1. Solve 3/x + 1/2 = 5/(2x). Excluded: x ≠ 0. LCD: 2x. Multiply each term: 2x·(3/x) + 2x·(1/2) = 2x·(5/(2x)), which simplifies to 6 + x = 5. So x = -1. Check: 3/(-1) + 1/2 = -2.5 and 5/(2·(-1)) = -2.5. Valid.

Example 2 (an extraneous solution). Solve x/(x - 2) = 2/(x - 2) + 3. Excluded: x ≠ 2. LCD: x - 2. Multiply: x = 2 + 3(x - 2), so x = 3x - 4, giving x = 2. But x = 2 is excluded: it makes the denominators zero. There is no solution. The algebra "found" an answer, but the original equation is meaningless there.

Python Solve and check rational equations

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

SymPy often discards extraneous roots itself, but the explicit check shows the idea: a candidate is valid only if every denominator stays nonzero.

Example 3 (quadratic result). Solve 1/(x - 1) + 1/(x + 1) = 4/(x² - 1). Since x² - 1 = (x - 1)(x + 1), the LCD is x² - 1, with x ≠ ±1. Multiply: (x + 1) + (x - 1) = 4, so 2x = 4 and x = 2. Check: 1/1 + 1/3 = 4/3 and 4/3 on the right. Valid.

Example 4. Solve x + 6/x = 5. Excluded: x ≠ 0. Multiply by x: x² + 6 = 5x, so x² - 5x + 6 = 0 and (x - 2)(x - 3) = 0. Solutions: x = 2 and x = 3, both valid.

Proportions

If an equation is a single fraction equal to a single fraction, you can cross-multiply: a/b = c/d gives ad = bc (with b, d ≠ 0). For (x + 1)/4 = 6/(x - 1): (x + 1)(x - 1) = 24, so x² - 1 = 24, x² = 25, x = ±5. Both are valid (neither makes a denominator zero).

Applications

Work rates. If a person finishes a job in t hours, their rate is 1/t of the job per hour. Rates add when people work together.

Example 5. Alma paints a fence in 6 hours; Ben needs 3 hours. How long do they need together? In h hours: h/6 + h/3 = 1. Multiply by 6: h + 2h = 6, so h = 2 hours. Check: in 2 hours Alma does 2/6 = 1/3 and Ben does 2/3. Total: 1/3 + 2/3 = 1 fence.

Example 6 (travel). A boat travels 30 km upstream and 30 km back, in all 4.5 hours. Its speed in still water is 15 km/h and the current is c km/h. Times: 30/(15 - c) + 30/(15 + c) = 4.5. Multiply by (15 - c)(15 + c): 30(15 + c) + 30(15 - c) = 4.5(225 - c²), so 900 = 1012.5 - 4.5c², then c² = 25 and c = 5 (a speed must be positive, so c = -5 is rejected). Check: 30/10 + 30/20 = 3 + 1.5 = 4.5 hours.

Python Work-rate calculator

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The scan shows the round-trip time growing as the current rises, which agrees with the story: a current slows the round trip overall.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Solve 4/x = 2/3 + 1/x.

    Multiply by 3x: 12 = 2x + 3, so x = 4.5.
  2. 2. Why can a rational equation have an extraneous solution?

    Multiplying both sides by an expression containing x can create answers that the original equation does not allow.
  3. 3. Solve (x + 1)/4 = 6/(x - 1) for positive x.

    x² - 1 = 24, so x = ±5; the positive solution is 5.
  4. 4. Two pipes fill a tank in 10 h and 15 h. Together they need

    Rate = 1/10 + 1/15 = 1/6 tank per hour, so 6 hours.

Summary

  • Factor denominators, state the excluded values, find the LCD and multiply every term by it.
  • Solve the resulting polynomial equation.
  • Reject any solution that makes an original denominator zero.
  • Cross-multiplying solves single-fraction proportions.
  • Work and travel problems often produce rational equations; add rates, not times.

Next: Rational Functions and Asymptotes