x^2 - 2x - 4 = 0

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

Answer

\(\{1+\sqrt{5}, 1-\sqrt{5}\}\)

Work

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

Step-by-step solution

  1. Move the constant to the right side: $x^2 - 2x = 4$.
  2. Find the value to complete the square by taking half of the $x$-coefficient and squaring it: $(\frac{-2}{2})^2 = (-1)^2 = 1$.
  3. Add 1 to both sides: $x^2 - 2x + 1 = 4 + 1$.
  4. Factor the left side as a perfect square and simplify the right: $(x - 1)^2 = 5$.
  5. Take the square root of both sides: $x - 1 = \pm\sqrt{5}$.
  6. Solve for $x$ by adding 1 to both sides: $x = 1 \pm \sqrt{5}$.