Solve x(x+8)=-20 by completing the square

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

Answer

\(x = -4 + 2i \text{ and } x = -4 - 2i\)

Work

x^2 + 8x = -20 \\ x^2 + 8x + 16 = -20 + 16 \\ (x+4)^2 = -4 \\ x+4 = \pm 2i \\ x = -4 \pm 2i

Step-by-step solution

Expand the equation to $x^2 + 8x = -20$, add $(\frac{8}{2})^2 = 16$ to both sides to get $(x+4)^2 = -4$, then solve for $x$ using complex numbers.