Completing the square

About this lesson

Integrated Math II › Quadratic equations

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

Completing the square

Quadratic equations. factoring, completing the square, quadratic formula, discriminant, complex solutions

Warm-up

Three quick questions from earlier lessons.

Discover

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

Not to scale
  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)².
  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+10x+  ?x^2 + 10x + \;? a perfect square?
  2. What number makes x2+18x+  ?x^2 + 18x + \;? a perfect square?
  1. x2+12x+22=(x+6)2+  ?x^2 + 12x + 22 = (x + 6)^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+10x+  ?x^2 + 10x + \;? a perfect square?
  2. What number makes x2+18x+  ?x^2 + 18x + \;? a perfect square?
  3. What number makes x2+4x+  ?x^2 + 4x + \;? 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.

CC BY-SA 4.0