Rewrite (x^2 + 6x)^2 + 13(x^2 + 6x) + 40 as a product of four linear factors

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

Answer

\((x+1)(x+5)(x+2)(x+4)\)

Work

Let $u = x^2 + 6x \implies u^2 + 13u + 40 = (u+5)(u+8) \\ (x^2+6x+5)(x^2+6x+8) = (x+1)(x+5)(x+2)(x+4)

Step-by-step solution

Let $u = x^2 + 6x$. The expression becomes $u^2 + 13u + 40 = (u + 5)(u + 8)$. Substituting back, we get $(x^2 + 6x + 5)(x^2 + 6x + 8)$, which factors to $(x + 1)(x + 5)(x + 2)(x + 4)$.