Worked examples
The question
Question: solve xยฒ + 6x = 7 by completing the square.
x2 + 6x = 7
1 Complete the square
We want the left side to be one bracket, squared.
A picture shows what is missing.
So we add 9 to fill the corner.
We do it on both sides, so they stay equal.
x2 + 6x + 9 = 7 + 9
Careful!
Many people add 9 only on the left.
Then the two sides are not equal any more.
Careful: add 9 on BOTH sides
2 Write it as a square
The full square is x + 3 on each side.
So xยฒ + 6x + 9 is (x + 3)ยฒ.
x2 + 6x + 9 = (x + 3)2
7 plus 9 is 16.
7 + 9 = 16
Now we have (x + 3)ยฒ = 16.
(x + 3)2 = 16
3 Square root of both sides
Something squared is 16.
So that something is the square root of 16, or minus it.
Both work, because minus times minus is plus.
( )ยฒ = k โ ( ) = โk or โโk
The square root of 16 is 4, because 4 times 4 is 16.
x + 3 = 4 or x + 3 = โ4
4 Get x alone
To remove the + 3, we take away 3 on both sides.
We do it in both equations.
x = 4 โ 3 or x = โ4 โ 3
4 minus 3 is 1.
Minus 4 minus 3 is โ7.
4 โ 3 = 1, โ4 โ 3 = โ7
So x = 1 or x = โ7.
x = 1 or x = โ7
5 Check
Let's check: put x = 1 into the left side.
x = 1: 12 + 6(1) = 1 + 6 = 7
We get 7, the same as the right side.
It works!
Now put x = โ7 into the left side.
x = โ7: (โ7)2 + 6(โ7) = 49 โ 42 = 7
We get 7, the same as the right side.
So both answers are right!
Let's look back.
First: complete the square.
Then: write it as a square.
Then: square root of both sides.
Then: get x alone.
Last: check.
โถ Watch it solved
The question
Question: solve xยฒ โ 4x โ 5 = 0 by completing the square.
x2 โ 4x โ 5 = 0
1 Move the โ5
We want only the x parts on the left.
The โ 5 is in the way.
So we add 5 on both sides.
x2 โ 4x โ 5 + 5 = 0 + 5
โ 5 and + 5 make zero.
Cross them out.
0 plus 5 is 5.
0 + 5 = 5
Now we have xยฒ โ 4x = 5.
x2 โ 4x = 5
2 Complete the square
We want the left side to be one bracket, squared.
A picture shows what is missing.
So we add 4 to fill the corner.
We do it on both sides, so they stay equal.
x2 โ 4x + 4 = 5 + 4
Careful!
Many people add 4 only on the left.
Then the two sides are not equal any more.
Careful: add 4 on BOTH sides
3 Write it as a square
The full square is x โ 2 on each side.
So xยฒ โ 4x + 4 is (x โ 2)ยฒ.
x2 โ 4x + 4 = (x โ 2)2
5 plus 4 is 9.
5 + 4 = 9
Now we have (x โ 2)ยฒ = 9.
(x โ 2)2 = 9
4 Square root of both sides
Something squared is 9.
So that something is the square root of 9, or minus it.
Both work, because minus times minus is plus.
( )ยฒ = k โ ( ) = โk or โโk
The square root of 9 is 3, because 3 times 3 is 9.
x โ 2 = 3 or x โ 2 = โ3
5 Get x alone
To remove the โ 2, we add 2 on both sides.
We do it in both equations.
x = 3 + 2 or x = โ3 + 2
3 plus 2 is 5.
Minus 3 plus 2 is โ1.
3 + 2 = 5, โ3 + 2 = โ1
So x = 5 or x = โ1.
x = 5 or x = โ1
6 Check
Let's check: put x = 5 into the left side.
x = 5: 52 โ 4(5) โ 5 = 25 โ 20 โ 5 = 0
We get 0, the same as the right side.
It works!
Now put x = โ1 into the left side.
x = โ1: (โ1)2 โ 4(โ1) โ 5 = 1 + 4 โ 5 = 0
We get 0, the same as the right side.
So both answers are right!
Let's look back.
First: move the โ5.
Then: complete the square.
Then: write it as a square.
Then: square root of both sides.
Then: get x alone.
Last: check.
โถ Watch it solved
The question
Question: solve 2xยฒ โ 4x โ 6 = 0 by completing the square.
2x2 โ 4x โ 6 = 0
1 Divide by 2
We want just xยฒ, not 2xยฒ.
So we divide every part by 2.
We do it on both sides, so they stay equal.
2, โ4, โ6: all divide by 2
Now we have xยฒ โ 2x โ 3 = 0.
x2 โ 2x โ 3 = 0
2 Move the โ3
We want only the x parts on the left.
The โ 3 is in the way.
So we add 3 on both sides.
x2 โ 2x โ 3 + 3 = 0 + 3
โ 3 and + 3 make zero.
Cross them out.
0 plus 3 is 3.
0 + 3 = 3
Now we have xยฒ โ 2x = 3.
x2 โ 2x = 3
3 Complete the square
We want the left side to be one bracket, squared.
A picture shows what is missing.
So we add 1 to fill the corner.
We do it on both sides, so they stay equal.
x2 โ 2x + 1 = 3 + 1
Careful!
Many people add 1 only on the left.
Then the two sides are not equal any more.
Careful: add 1 on BOTH sides
4 Write it as a square
The full square is x โ 1 on each side.
So xยฒ โ 2x + 1 is (x โ 1)ยฒ.
x2 โ 2x + 1 = (x โ 1)2
3 plus 1 is 4.
3 + 1 = 4
Now we have (x โ 1)ยฒ = 4.
(x โ 1)2 = 4
5 Square root of both sides
Something squared is 4.
So that something is the square root of 4, or minus it.
Both work, because minus times minus is plus.
( )ยฒ = k โ ( ) = โk or โโk
The square root of 4 is 2, because 2 times 2 is 4.
x โ 1 = 2 or x โ 1 = โ2
6 Get x alone
To remove the โ 1, we add 1 on both sides.
We do it in both equations.
x = 2 + 1 or x = โ2 + 1
2 plus 1 is 3.
Minus 2 plus 1 is โ1.
2 + 1 = 3, โ2 + 1 = โ1
So x = 3 or x = โ1.
x = 3 or x = โ1
7 Check
Let's check: put x = 3 into the left side.
x = 3: 2(3)2 โ 4(3) โ 6 = 18 โ 12 โ 6 = 0
We get 0, the same as the right side.
It works!
Now put x = โ1 into the left side.
x = โ1: 2(โ1)2 โ 4(โ1) โ 6 = 2 + 4 โ 6 = 0
We get 0, the same as the right side.
So both answers are right!
Let's look back.
First: divide by 2.
Then: move the โ3.
Then: complete the square.
Then: write it as a square.
Then: square root of both sides.
Then: get x alone.
Last: check.
โถ Watch it solved