Solve the quadratic equation by completing the square. x^2 - 4x = -1

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

Answer

\(\{2+\sqrt{3}, 2-\sqrt{3}\}\)

Work

x^2 - 4x = -1 \\ x^2 - 4x + 4 = -1 + 4 \\ (x-2)^2 = 3 \\ x-2 = \pm\sqrt{3} \\ x = 2 \pm \sqrt{3}

Step-by-step solution

To complete the square for $x^2 - 4x = -1$, add $(\frac{-4}{2})^2 = 4$ to both sides. This gives $x^2 - 4x + 4 = -1 + 4$, which simplifies to $(x-2)^2 = 3$. Solving for $x$ gives $x-2 = \pm\sqrt{3}$, so $x = 2 \pm \sqrt{3}$.