Algebra 1 Advanced completing the squarequadraticsvertex form

Completing the Square

Manufacturing a perfect square, and where the quadratic formula comes from.

Video by Khan Academy — “Solving quadratic equations by completing the square | Algebra II | Khan Academy” Watch on YouTube

The explanation

Key idea Add (b/2)² to both sides to force a perfect square trinomial.

Completing the square turns any quadratic into the square-root method.

For x² + 6x − 7 = 0:
1. Move the constant: x² + 6x = 7.
2. Take half of 6 (that is 3), square it (that is 9), add to both sides: x² + 6x + 9 = 16.
3. The left side is now (x + 3)²: (x + 3)² = 16.
4. Take roots: x + 3 = ±4, so x = 1 or x = −7.

The number you add is always (b/2)². Half, then square.

If the leading coefficient is not 1, divide the whole equation by it first.

Worked example

Solve 2x² − 12x + 10 = 0 by completing the square.

  1. Divide by 2: x² − 6x + 5 = 0.
  2. Move the constant: x² − 6x = −5.
  3. Half of −6 is −3; squared is 9. Add to both sides: x² − 6x + 9 = 4.
  4. (x − 3)² = 4, so x − 3 = ±2.

Answer: x = 5 or x = 1

Common mistakes

  • Adding (b/2)² to one side only.
  • Forgetting to divide by the leading coefficient before starting.