Steply

Complete the square: x^2 + 10x + 21 = 0

Step by step, with the reason for every step · Completing the square · Algebra 1

Step by step

The question

Question: solve x² + 10x + 21 = 0 by completing the square.

x2 + 10x + 21 = 0

1 Move the 21

We want only the x parts on the left.

The + 21 is in the way.

So we take away 21 on both sides.

x2 + 10x + 21 − 21 = 0 − 21

+ 21 and − 21 make zero.

Cross them out.

0 minus 21 is −21.

0 − 21 = −21

Now we have x² + 10x = −21.

x2 + 10x = −21

2 Complete the square

We want the left side to be one bracket, squared.

A picture shows what is missing.

So we add 25 to fill the corner.

We do it on both sides, so they stay equal.

x2 + 10x + 25 = −21 + 25

Careful!

Many people add 25 only on the left.

Then the two sides are not equal any more.

Careful: add 25 on BOTH sides

3 Write it as a square

The full square is x + 5 on each side.

So x² + 10x + 25 is (x + 5)².

x2 + 10x + 25 = (x + 5)2

−21 plus 25 is 4.

−21 + 25 = 4

Now we have (x + 5)² = 4.

(x + 5)2 = 4

4 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 + 5 = 2 or x + 5 = −2

5 Get x alone

To remove the + 5, we take away 5 on both sides.

We do it in both equations.

x = 2 − 5 or x = −2 − 5

2 minus 5 is −3.

Minus 2 minus 5 is −7.

2 − 5 = −3, −2 − 5 = −7

So x = −3 or x = −7.

x = −3 or x = −7

6 Check

Let's check: put x = −3 into the left side.

x = −3: (−3)2 + 10(−3) + 21 = 9 − 30 + 21
= 0

We get 0, the same as the right side.

It works!

Now put x = −7 into the left side.

x = −7: (−7)2 + 10(−7) + 21 = 49 − 70 + 21
= 0

We get 0, the same as the right side.

So both answers are right!

Let's look back.

First: move the 21.

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 = −7

Your turn

Try this one yourself, then check:

Solve x2 + 10x + 25 = 0
Show the answer
x = −5

More from Completing the square

The whole lesson: Completing the square →