Simplify (x^3+3x^2-4x-12)/(x+2)

Check the final answer first, then review the worked steps.

Answer

\(x^2 + x - 6\)

Work

Numerator: x^2(x+3) - 4(x+3) = (x^2-4)(x+3) = (x-2)(x+2)(x+3)
Expression: \frac{(x-2)(x+2)(x+3)}{x+2} = (x-2)(x+3) = x^2+3x-2x-6 = x^2+x-6

Step-by-step solution

Factor the numerator by grouping: x^2(x+3) - 4(x+3) = (x^2-4)(x+3) = (x-2)(x+2)(x+3). Dividing by (x+2) leaves (x-2)(x+3) = x^2 + x - 6.