Steply

Solve x^2 + 6x + 2 = 0 by completing the square

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

Step by step

The question

Question: solve x² + 6x + 2 = 0 by completing the square.

x2 + 6x + 2 = 0

1 Move the 2

We want only the x parts on the left.

The + 2 is in the way.

So we take away 2 on both sides.

x2 + 6x + 2 − 2 = 0 − 2

+ 2 and − 2 make zero.

Cross them out.

0 minus 2 is −2.

0 − 2 = −2

Now we have x² + 6x = −2.

x2 + 6x = −2

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

3 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

−2 plus 9 is 7.

−2 + 9 = 7

Now we have (x + 3)² = 7.

(x + 3)2 = 7

4 Square root of both sides

Something squared is 7.

So that something is the square root of 7, or minus it.

Both work, because minus times minus is plus.

( )² = k → ( ) = √k or −√k

7 is not a square number, so we keep √7.

x + 3 = √7 or x + 3 = −√7

5 Get x alone

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

We do it in both equations.

x = √7 − 3 or x = −√7 − 3

We write the plain number first.

So x = −3 + √7 or x = −3 − √7.

x = −3 + √7 or x = −3 − √7

With a calculator, √7 is about 2.65.

So x is about −0.35 or about −5.65.

x ≈ −0.35 or x ≈ −5.65

Let's look back.

First: move the 2.

Then: complete the square.

Then: write it as a square.

Then: square root of both sides.

Last: get x alone.

Answer
x = −3 + √7 or x = −3 − √7

Your turn

Try this one yourself, then check:

Solve x2 + 4x + 2 = 0
Show the answer
x = −2 + √2 or x = −2 − √2

More from Completing the square

The whole lesson: Completing the square →