Solve x^2 - 12x - 5 = -6x + 2 by factoring

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

Answer

\(x = 7, -1\)

Work

x^2 - 12x - 5 = -6x + 2
x^2 - 6x - 7 = 0
(x - 7)(x + 1) = 0
x = 7, -1

Step-by-step solution

  1. Move all terms to one side to set the equation to zero: add $6x$ and subtract $2$ from both sides to get $x^2 - 6x - 7 = 0$.
  2. Factor the quadratic expression: find two numbers that multiply to $-7$ and add to $-6$. These are $-7$ and $1$.
  3. Write the factored form: $(x - 7)(x + 1) = 0$.
  4. Set each factor to zero and solve for $x$: $x - 7 = 0$ gives $x = 7$, and $x + 1 = 0$ gives $x = -1$.