Skip to content
Family Table Math

Simplifying Rational Expressions

A rational expression is a fraction with polynomials on the top and bottom, like x2−9x2+5x+6\dfrac{x^2 - 9}{x^2 + 5x + 6}. Simplifying one works just like reducing a number fraction such as 68=34\dfrac{6}{8} = \dfrac{3}{4}, with one extra job: keeping track of the values of xx that would make the denominator zero.

You can’t divide by zero, so any value that makes the denominator equal to 00 is not allowed. These are the restrictions.

To find them, set each factor of the denominator equal to 00. Always find restrictions from the original expression, before cancelling anything.

  1. Factor the numerator and the denominator completely.
  2. State the restrictions from the factored denominator.
  3. Cancel factors that appear in both the numerator and the denominator.

You can only cancel factors (things multiplied), never terms (things added):

(x−3)(x+3)(x+2)(x+3)=x−3x+2butx+3x+5≠35\frac{(x - 3)(x + 3)}{(x + 2)(x + 3)} = \frac{x - 3}{x + 2} \qquad \text{but} \qquad \frac{x + 3}{x + 5} \ne \frac{3}{5}
TypeExample
common factor2x2−8x=2x(x−4)2x^2 - 8x = 2x(x - 4)
simple trinomialx2+5x+6=(x+2)(x+3)x^2 + 5x + 6 = (x + 2)(x + 3)
complex trinomial2x2+5x−3=(2x−1)(x+3)2x^2 + 5x - 3 = (2x - 1)(x + 3)
difference of squaresx2−9=(x−3)(x+3)x^2 - 9 = (x - 3)(x + 3)
perfect squarex2−6x+9=(x−3)2x^2 - 6x + 9 = (x - 3)^2

a−ba - b and b−ab - a are opposites: b−a=−(a−b)b - a = -(a - b). So 5−xx−5=−1\dfrac{5 - x}{x - 5} = -1 (for x≠5x \ne 5). Watch for this when a factor looks almost the same as another.

The simplified expression equals the original for every allowed value of xx. At a restricted value, the original is undefined, even if the simplified form isn’t. That’s why the restrictions stay attached to the answer.

Simplify 12x3y18xy2\dfrac{12x^3y}{18xy^2} and state the restrictions.

Solution. Divide the coefficients by their common factor 66, and subtract exponents:

12x3y18xy2=2x23y,x≠0, y≠0\frac{12x^3y}{18xy^2} = \frac{2x^2}{3y}, \qquad x \ne 0,\ y \ne 0

Both restrictions come from the original denominator 18xy218xy^2.

Simplify x2−9x2+5x+6\dfrac{x^2 - 9}{x^2 + 5x + 6} and state the restrictions.

Solution.

x2−9x2+5x+6=(x−3)(x+3)(x+2)(x+3)\frac{x^2 - 9}{x^2 + 5x + 6} = \frac{(x - 3)(x + 3)}{(x + 2)(x + 3)}

Restrictions: x+2≠0x + 2 \ne 0 and x+3≠0x + 3 \ne 0, so x≠−2x \ne -2 and x≠−3x \ne -3.

Cancel the common factor (x+3)(x + 3):

x−3x+2,x≠−2,−3\frac{x - 3}{x + 2}, \qquad x \ne -2, -3

Even though (x+3)(x + 3) cancelled, x=−3x = -3 is still not allowed.

Example 3: A common factor and a difference of squares

Section titled “Example 3: A common factor and a difference of squares”

Simplify 2x2−8xx2−16\dfrac{2x^2 - 8x}{x^2 - 16} and state the restrictions.

Solution.

2x2−8xx2−16=2x(x−4)(x−4)(x+4)=2xx+4,x≠4,−4\frac{2x^2 - 8x}{x^2 - 16} = \frac{2x(x - 4)}{(x - 4)(x + 4)} = \frac{2x}{x + 4}, \qquad x \ne 4, -4

Simplify 5−xx2−25\dfrac{5 - x}{x^2 - 25} and state the restrictions.

Solution. Factor the denominator, and write 5−x5 - x as −(x−5)-(x - 5):

5−xx2−25=−(x−5)(x−5)(x+5)=−1x+5,x≠5,−5\frac{5 - x}{x^2 - 25} = \frac{-(x - 5)}{(x - 5)(x + 5)} = \frac{-1}{x + 5}, \qquad x \ne 5, -5

Check with x=0x = 0: the original is 5−25=−15\dfrac{5}{-25} = -\dfrac{1}{5}, and the answer is −15\dfrac{-1}{5}. ✓

Cancelling terms instead of factors. In x+3x+5\dfrac{x + 3}{x + 5}, the xx‘s are terms, not factors. Nothing cancels. Factor first, then cancel only whole factors.

Finding restrictions after cancelling. In Example 2, the simplified form x−3x+2\dfrac{x - 3}{x + 2} only shows x≠−2x \ne -2. You’d lose x≠−3x \ne -3. Find restrictions from the original denominator.

Not factoring completely. x3−4xx2−2x\dfrac{x^3 - 4x}{x^2 - 2x} looks stuck until you factor x3−4x=x(x−2)(x+2)x^3 - 4x = x(x - 2)(x + 2).

Missing opposites. 3−xx−3\dfrac{3 - x}{x - 3} simplifies to −1-1, not 11. Factor out −1-1 to see the match.

Thinking a cancelled expression is “1” in the wrong place. x+3x\dfrac{x + 3}{x} is not 33, and xx+3\dfrac{x}{x + 3} is not 13\dfrac{1}{3}.

1. (Warm-up) Simplify 15a2b25ab3\dfrac{15a^2b}{25ab^3} and state the restrictions.

Solution15a2b25ab3=3a5b2,a≠0, b≠0\frac{15a^2b}{25ab^3} = \frac{3a}{5b^2}, \qquad a \ne 0,\ b \ne 0

2. (Warm-up) State the restrictions on x+1x2−4x\dfrac{x + 1}{x^2 - 4x}.

Solution

x2−4x=x(x−4)x^2 - 4x = x(x - 4), so x≠0x \ne 0 and x≠4x \ne 4.

3. (Warm-up) Simplify 4x+128x\dfrac{4x + 12}{8x} and state the restriction.

Solution4(x+3)8x=x+32x,x≠0\frac{4(x + 3)}{8x} = \frac{x + 3}{2x}, \qquad x \ne 0

(The xx in x+3x + 3 can’t cancel with the xx in the denominator: it’s part of a sum.)

4. (Core) Simplify x2+7x+12x2−16\dfrac{x^2 + 7x + 12}{x^2 - 16} and state the restrictions.

Solution(x+3)(x+4)(x−4)(x+4)=x+3x−4,x≠4,−4\frac{(x + 3)(x + 4)}{(x - 4)(x + 4)} = \frac{x + 3}{x - 4}, \qquad x \ne 4, -4

5. (Core) Simplify x2−2x−15x2+x−6\dfrac{x^2 - 2x - 15}{x^2 + x - 6} and state the restrictions.

Solution(x−5)(x+3)(x+3)(x−2)=x−5x−2,x≠−3,2\frac{(x - 5)(x + 3)}{(x + 3)(x - 2)} = \frac{x - 5}{x - 2}, \qquad x \ne -3, 2

6. (Core) Simplify 6−2xx2−6x+9\dfrac{6 - 2x}{x^2 - 6x + 9} and state the restriction.

Solution−2(x−3)(x−3)2=−2x−3,x≠3\frac{-2(x - 3)}{(x - 3)^2} = \frac{-2}{x - 3}, \qquad x \ne 3

7. (Core) Simplify 2x2+5x−34x2−1\dfrac{2x^2 + 5x - 3}{4x^2 - 1} and state the restrictions.

Solution(2x−1)(x+3)(2x−1)(2x+1)=x+32x+1,x≠12,−12\frac{(2x - 1)(x + 3)}{(2x - 1)(2x + 1)} = \frac{x + 3}{2x + 1}, \qquad x \ne \tfrac{1}{2}, -\tfrac{1}{2}

8. (Core) Are x2−1x−1\dfrac{x^2 - 1}{x - 1} and x+1x + 1 equivalent? Explain.

Solution

x2−1x−1=(x−1)(x+1)x−1=x+1\dfrac{x^2 - 1}{x - 1} = \dfrac{(x - 1)(x + 1)}{x - 1} = x + 1, but only for x≠1x \ne 1.

At x=1x = 1, the first expression is undefined (00\tfrac{0}{0}), while x+1=2x + 1 = 2. So they’re equivalent for every xx except 11: the correct statement is x2−1x−1=x+1, x≠1\dfrac{x^2 - 1}{x - 1} = x + 1,\ x \ne 1.

9. (Challenge) Simplify x3−4xx3+x2−6x\dfrac{x^3 - 4x}{x^3 + x^2 - 6x} and state the restrictions.

Solution

Factor out xx first, then keep factoring:

x(x2−4)x(x2+x−6)=x(x−2)(x+2)x(x+3)(x−2)=x+2x+3\frac{x(x^2 - 4)}{x(x^2 + x - 6)} = \frac{x(x - 2)(x + 2)}{x(x + 3)(x - 2)} = \frac{x + 2}{x + 3}

Restrictions from the original denominator: x≠0,2,−3x \ne 0, 2, -3.