Solve x² + 10x + 7 = 0 by completing the square

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

Answer

Solutionsx = −5 − 3√2, x = 3√2 − 5

Step-by-step solution

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

    Solve for x.

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

    Half the x coefficient is 5; its square is 25.

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

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
−5 − 3√200✓
3√2 − 500✓
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.