Rational Expressions Example

A rational expression is a quotient of polynomials, with a denominator that cannot equal zero. To simplify one, factor the numerator and denominator, then cancel common factors—not common terms. Values that make the original denominator zero remain excluded even if a factor cancels. This example simplifies a quotient and records both restrictions from its original domain.

Simplify (x² − 9) / (x² + 5x + 6)

Factor the difference of squares in the numerator and the trinomial in the denominator. Determine excluded values before canceling.

fracx2−9x2+5x+6\\frac{x^2-9}{x^2+5x+6}
Key facts used in this example
Difference of squaresa² − b² = (a − b)(a + b)
Denominator factorizationx² + 5x + 6 = (x + 2)(x + 3)
Excluded valuesx ≠ −2 and x ≠ −3
Simplified form(x − 3)/(x + 2)

Step-by-step solution

  1. 1

    Factor the numerator

    Use a² − b² = (a − b)(a + b) with a = x and b = 3.

    x2−9=(x−3)(x+3)x^2-9=(x-3)(x+3)
  2. 2

    Factor the denominator and find restrictions

    The numbers 2 and 3 multiply to 6 and add to 5. The original denominator is zero at x = −2 or x = −3, so both values are excluded.

    x2+5x+6=(x+2)(x+3),x≠−2,−3x^2+5x+6=(x+2)(x+3),\qquad x\ne-2,-3
  3. 3

    Cancel the common factor

    Cancel the factor x + 3 from numerator and denominator, while keeping x = −3 excluded from the original expression.

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

ANSWER

(x − 3)/(x + 2), with x ≠ −2, −3

The cancellation simplifies the formula but does not restore the value x = −3 to the original domain.

x2−9x2+5x+6=x−3x+2,x≠−2,−3\frac{x^2-9}{x^2+5x+6}=\frac{x-3}{x+2},\qquad x\ne-2,-3

Check at an allowed value

At x = 1, evaluate both the original and simplified forms. The values agree, while the excluded inputs remain undefined in the original expression.

12−912+5(1)+6=−812=−23,1−31+2=−23\frac{1^2-9}{1^2+5(1)+6}=\frac{-8}{12}=-\frac23,\qquad\frac{1-3}{1+2}=-\frac23