Knaph

Solving Quadratic Equations75 of 1002 min read

Completing the Square

Omar meets x2+4x−1=0x^2 + 4x - 1 = 0. It does not factor into whole numbers. Can he still turn it into a squared bracket that a square root can undo, and what does he add to do it?

A square with a missing corner

x2+6xx^2 + 6x is the area of a square of side xx plus two strips, each xx by 3. The picture has a missing corner, a 3 by 3 square. Its area is 32=93^2 = 9. Adding 9 gives one big square of side x+3x + 3: x2+6x+9=(x+3)2x^2 + 6x + 9 = (x + 3)^2. This is completing the square: add (b2)2\left(\dfrac{b}{2}\right)^2.

A square of side x with two strips x by 3 beside it and below it, and a dashed missing corner 3 by 3 marked 9. Together they make a square of side x plus 3.

The steps

Solve x2+4x−1=0x^2 + 4x - 1 = 0.

  1. Move the constant: x2+4x=1x^2 + 4x = 1.
  2. Add (4÷2)2=4(4 \div 2)^2 = 4 to both sides: x2+4x+4=5x^2 + 4x + 4 = 5.
  3. Write the left as a square: (x+2)2=5(x + 2)^2 = 5.
  4. Take both square roots: x+2=±5x + 2 = \pm\sqrt{5}.
  5. Subtract 2: x=−2±5x = -2 \pm \sqrt{5}, about 0.240.24 and −4.24-4.24.

Add the number to both sides. Adding it to one side only changes the equation.

When a is not 1

Divide by aa first so the x2x^2 has no number in front. Take 2x2−12x+4=02x^2 - 12x + 4 = 0. Divide by 2: x2−6x+2=0x^2 - 6x + 2 = 0. Then x2−6x=−2x^2 - 6x = -2, add 9: (x−3)2=7(x - 3)^2 = 7, so x=3±7x = 3 \pm \sqrt{7}.

Your turn: x2−8x+5=0x^2 - 8x + 5 = 0. Answer: x2−8x=−5x^2 - 8x = -5, add 16: (x−4)2=11(x - 4)^2 = 11, so x=4±11x = 4 \pm \sqrt{11}.

Careful

Add (b/2)2(b/2)^2, not b2b^2, and add it to both sides.

Try it at home

  1. Cut paper into a square for x2x^2 and two strips for 4x4x. What corner is missing?
  2. Complete the square for x2+10xx^2 + 10x. What number do you add?
  3. Solve x2+10x+3=0x^2 + 10x + 3 = 0 with your answer.

Words in this lesson

  • completing the square - adding (b/2)2(b/2)^2 to x2+bxx^2 + bx so it becomes a squared bracket.

Big idea

To solve x2+bx+c=0x^2 + bx + c = 0: move cc, add (b/2)2(b/2)^2 to both sides, write a squared bracket, and take both square roots.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.