Skip to content
Tutorials Center
My learning

Topics

Lesson 15 of 38 · Rational Expressions

Simplifying Rational Expressions

Simplify rational expressions by factoring and canceling common factors, find excluded values, and avoid the classic mistake of canceling terms instead of factors.

A rational expression is a fraction whose numerator and denominator are polynomials, such as (x² - 9)/(x + 3). Just as the fraction 6/8 simplifies to 3/4, a rational expression can be simplified by removing common factors.

The skill you need is factoring, from chapter 3. Rational expressions appear whenever you divide quantities that depend on a variable: average speed, unit cost, concentration, and the formulas for combined work rates.

Excluded values

Division by zero is never allowed, so some values of x are excluded. They are the zeros of the denominator, found before you simplify. In (x² - 9)/(x + 3), the denominator is zero at x = -3, so x ≠ -3 no matter how the expression is later simplified.

Cancel factors, never terms

Simplifying means dividing the numerator and denominator by a common factor. A factor is something multiplied; a term is something added.

Example 1. Simplify (x² - 9)/(x + 3). Factor the numerator as a difference of squares: (x - 3)(x + 3)/(x + 3). Cancel the common factor (x + 3): the result is x - 3, with x ≠ -3.

You may cancel (x + 3) from (x - 3)(x + 3)/(x + 3) because it is a factor of the whole numerator. You may not cancel the x in (x + 3)/x. That x is a term of the sum x + 3, not a factor of it. Test with x = 1: (1 + 3)/1 = 4, but "canceling" would give 3.

Step-by-step method

  1. Factor numerator and denominator completely.
  2. State the excluded values (zeros of the original denominator).
  3. Cancel common factors.
  4. Write what remains.

Example 2. Simplify (x² + 5x + 6)/(x² + 3x + 2). Factor: numerator (x + 2)(x + 3), denominator (x + 1)(x + 2). Excluded: x ≠ -1, -2. Cancel (x + 2): the result is (x + 3)/(x + 1).

Example 3. Simplify (2x² - 8)/(4x² - 8x). Factor out common numbers first: numerator 2(x² - 4) = 2(x - 2)(x + 2); denominator 4x(x - 2). Excluded: x ≠ 0, 2. Cancel 2 with 4 to get 1/2, and cancel (x - 2): the result is (x + 2)/(2x).

Example 4 (opposite factors). Simplify (5 - x)/(x - 5). Notice 5 - x = -(x - 5). So the expression equals -1, for x ≠ 5. Spotting that a - b and b - a are negatives of each other saves a lot of work.

Python Simplify with SymPy and see the excluded values

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 shows the simplified form; the excluded values come from the original denominator. Remember that the simplified expression alone does not tell you about those holes, so always write them down.

Why the excluded values stay

The expressions (x² - 9)/(x + 3) and x - 3 agree everywhere except at x = -3, where the first is undefined and the second equals -6. They are not exactly the same function. Their graphs are identical except that the first has a hole at (-3, -6). This reappears in the lesson on rational functions.

Python Compare the original and the simplified form

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.

Factoring toolkit

These patterns do most of the work:

Pattern Factored form
Common factor ax + ay = a(x + y)
Difference of squares a² - b² = (a - b)(a + b)
Perfect-square trinomial a² ± 2ab + b² = (a ± b)²
Sum of cubes a³ + b³ = (a + b)(a² - ab + b²)
Difference of cubes a³ - b³ = (a - b)(a² + ab + b²)
Trinomial x² + bx + c find two numbers with product c and sum b

Example 5. Simplify (x³ - 8)/(x² - 4). Numerator: (x - 2)(x² + 2x + 4). Denominator: (x - 2)(x + 2). Excluded: x ≠ 2, -2. Result: (x² + 2x + 4)/(x + 2). The quadratic x² + 2x + 4 has no real factors, so we stop.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Simplify (x² - 16)/(x - 4).

    (x - 4)(x + 4)/(x - 4) = x + 4, but x = 4 stays excluded.
  2. 2. Which cancellation is illegal?

    x is a term in the numerator x + 2, not a factor; you can only cancel factors.
  3. 3. What are the excluded values of (x + 1)/(x² - 5x + 6)?

    x² - 5x + 6 = (x - 2)(x - 3), zero at x = 2 and x = 3.
  4. 4. Simplify (3 - x)/(x - 3).

    3 - x = -(x - 3), so the quotient is -1 for x ≠ 3.

Summary

  • A rational expression is a polynomial divided by a polynomial.
  • Find excluded values from the denominator before simplifying.
  • Factor first, then cancel common factors (never terms).
  • a - b and b - a are opposites; their quotient is -1.
  • The simplified expression keeps the original restrictions.

Next: Operations with Rational Expressions