Solve x² + 6x − 7 = 0 by completing the square

Quadratic equation, worked out line by line the way a teacher would write it.

Answer

Solutionsx = −7, x = 1

Step-by-step solution

8 steps
  1. 1 Given
    x^{2} + 6 x - 7 = 0

    Solve for x.

  2. 2 This is a quadratic in standard form ax² + bx + c = 0
    a = 1,\quad b = 6,\quad c = -7
  3. 3 Add 7 to both sides
    x^{2} + 6 x = 7
  4. 4 Add (b/2)² = 9 to both sides to complete the square
    x^{2} + 6 x + 9 = 7 + 9

    Half the x coefficient is 3; its square is 9.

  5. 5 The left side is now a perfect square
    \left(x + 3\right)^{2} = 16
  6. 6 Take the square root of both sides — remember both signs
    x + 3 = \pm 4
  7. 7 Subtract 3 from both sides
    x = -7\quad \text{or} \quad x = 1
  8. 8 Check
    \begin{aligned}x = -7:\quad 0 = 0\quad\checkmark\\ x = 1:\quad 0 = 0\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
−700✓
100✓
Open this problem in the solver

Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.