Steply

Completing the square

Algebra 1 ยท 20 problems, easy to harder

โ–ถ Watch the first one solved

How we do it

  1. Divide by 2
  2. Move the โˆ’3
  3. Complete the square
  4. Write it as a square
  5. Square root of both sides
  6. Get x alone
  7. Check

The steps for Solve 2x^2 - 4x - 6 = 0 by completing the square. Every solution names its steps, so you always know what comes next.

Worked examples

Solve x^2 + 6x = 7 by completing the square Easy

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.

Answer
x = 1 or x = โˆ’7

โ–ถ Watch it solved

Complete the square: x^2 - 4x - 5 = 0 Medium

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.

Answer
x = 5 or x = โˆ’1

โ–ถ Watch it solved

Solve 2x^2 - 4x - 6 = 0 by completing the square Harder

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.

Answer
x = 3 or x = โˆ’1

โ–ถ Watch it solved

Practice

Try each one, then open the answer. Stuck? Open the problem to watch every step.

Easy

  1. x^2 + 6x = 7 by completing the square
    Answer
    x = 1 or x = โˆ’7
  2. x^2 + 4x = 5 by completing the square
    Answer
    x = 1 or x = โˆ’5
  3. x^2 - 2x = 3 by completing the square
    Answer
    x = 3 or x = โˆ’1
  4. x^2 + 8x = 9 by completing the square
    Answer
    x = 1 or x = โˆ’9
  5. x^2 - 6x = 16 by completing the square
    Answer
    x = 8 or x = โˆ’2
  6. x^2 + 2x = 8 by completing the square
    Answer
    x = 2 or x = โˆ’4

Medium

  1. complete the square: x^2 - 4x - 5 = 0
    Answer
    x = 5 or x = โˆ’1
  2. complete the square: x^2 + 10x + 21 = 0
    Answer
    x = โˆ’3 or x = โˆ’7
  3. x^2 + 4x = 1 by completing the square
    Answer
    x = โˆ’2 + โˆš5 or x = โˆ’2 โˆ’ โˆš5
  4. x^2 - 8x + 13 = 0 by completing the square
    Answer
    x = 4 + โˆš3 or x = 4 โˆ’ โˆš3
  5. 2x^2 + 8x - 10 = 0 by completing the square
    Answer
    x = 1 or x = โˆ’5
  6. x^2 + 6x + 2 = 0 by completing the square
    Answer
    x = โˆ’3 + โˆš7 or x = โˆ’3 โˆ’ โˆš7
  7. 3x^2 - 12x = 15 by completing the square
    Answer
    x = 5 or x = โˆ’1
  8. x^2 - 10x = -16 by completing the square
    Answer
    x = 8 or x = 2

Harder

  1. 2x^2 - 4x - 6 = 0 by completing the square
    Answer
    x = 3 or x = โˆ’1
  2. x^2 + 2x - 1 = 0 by completing the square
    Answer
    x = โˆ’1 + โˆš2 or x = โˆ’1 โˆ’ โˆš2
  3. x^2 - 6x + 4 = 0 by completing the square
    Answer
    x = 3 + โˆš5 or x = 3 โˆ’ โˆš5
  4. x^2 + 2x + 5 = 0 by completing the square
    Answer
    x + 1 = no real solution
  5. x^2 + 12x + 20 = 0 by completing the square
    Answer
    x = โˆ’2 or x = โˆ’10
  6. x^2 - 2x - 7 = 0 by completing the square
    Answer
    x = 1 + โˆš8 or x = 1 โˆ’ โˆš8