Completing the square

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Algebra I › Quadratic equations

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Adapted from

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Completing the square

Quadratic equations. solving quadratics, factoring, zero product property, completing the square, quadratic formula, discriminant

Warm-up

Three quick questions from earlier lessons.

  1. Solve x2=100x^2 = 100. Enter all solutions.
  2. Solve (x−7)2=64(x - 7)^2 = 64. Enter all solutions.
  3. Solve 3x2−3=03x^2 - 3 = 0. Enter all solutions.

Discover

x2+6x+9=(x+3)2x^2 + 6x + 9 = (x + 3)^2. Where does the 9 come from?

  1. Step 1x² + 6x: a square and a strip.
  2. Step 2Split the strip into two 3x strips and put them on two sides.
  3. Step 3The corner is missing: add (6 ÷ 2)² = 9 to get (x + 3)².
Not to scale
  1. (6÷2)2(6 \div 2)^2
  2. 6+36 + 3

Key idea

Complete the square.

x2+bx+(b2)2=(x+b2)2x^2 + bx + \left(\tfrac{b}{2}\right)^2 = \left(x + \tfrac{b}{2}\right)^2. To solve x2+bx=kx^2 + bx = k: add (b2)2\left(\tfrac{b}{2}\right)^2 to both sides, write the left side as a square, then take ±\pm square roots. The same move turns x2+bx+cx^2 + bx + c into vertex form.

Worked example

Solve x2+4x=1x^2 + 4x = 1.

x2+4x+4=5x^2 + 4x + 4 = 5
Add (4/2)² = 4 to both sides.
(x+2)2=5(x + 2)^2 = 5
Square.
x=−2±5x = -2 \pm \sqrt{5}
±√5, subtract 2.

Your turn, guided

Your turn: the number that completes x2+10x+  ?x^2 + 10x + \;?.

2525
(10/2)².

Practice ★

  1. What number makes x2+8x+  ?x^2 + 8x + \;? a perfect square?
  2. What number makes x2+56x+  ?x^2 + 56x + \;? a perfect square?
  1. x2+2x+14=(x+1)2+  ?x^2 + 2x + 14 = (x + 1)^2 + \;?

Watch out!

Practice ★★

  1. Solve x2+6x=8x^2 + 6x = 8 by completing the square. Enter all solutions (use sqrt).
  2. Solve x2+2x=9x^2 + 2x = 9 by completing the square. Enter all solutions (use sqrt).

Exit ticket

Three questions to check you have got it.

  1. What number makes x2+8x+  ?x^2 + 8x + \;? a perfect square?
  2. What number makes x2+56x+  ?x^2 + 56x + \;? a perfect square?
  3. What number makes x2+6x+  ?x^2 + 6x + \;? a perfect square?

Summary card

Completing the square

Add (b/2)2(b/2)^2 to both sides; then square roots.

Watch out: halve, then square; and do it on both sides.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Solve x2+6x=5x^2 + 6x = 5 by completing the square. Give the positive solution exactly.
Sources and credits

Adapted from

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits