silemus.

39Simplifying a rational expression

Simplify x2−9x2+5x+6\displaystyle \dfrac{x^2 - 9}{x^2 + 5x + 6}, then evaluate it at x=4\displaystyle x = 4.

The expression simplifies to (x−3)/(x+2), since x²−9 factors as (x−3)(x+3) and x²+5x+6 factors as (x+2)(x+3), canceling the shared (x+3). At x=4 that gives 1/6, confirmed by plugging x=4 into the original: 7/42 = 1/6.

How good is this answer?