Steply

Solve x^2 + x - 1 = 0 by completing the square

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

Step by step

The question

Question: solve x² + x − 1 = 0 by completing the square.

x2 + x − 1 = 0

1 Move the −1

We want only the x parts on the left.

The − 1 is in the way.

So we add 1 on both sides.

x2 + x − 1 + 1 = 0 + 1

− 1 and + 1 make zero.

Cross them out.

0 plus 1 is 1.

0 + 1 = 1

Now we have x² + x = 1.

x2 + x = 1

2 Complete the square

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

A picture shows what is missing.

So we add 1/4 to fill the corner.

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

x2 + x + 14 = 1 + 14

3 Write it as a square

The full square is x + 1/2 on each side.

So the left side is (x + 1/2)².

x2 + x + 14 = (x + 12)2

To add, both need the same bottom: 4.

1 is 4/4.

Same bottom, so we add the tops: 4 plus 1 is 5.

1 = 44
44 + 14 = 54

Careful!

Many people add 1/4 only on the left.

Then the two sides are not equal any more.

Careful: add 14 on BOTH sides

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

(x + 12)2 = 54

4 Square root of both sides

Something squared is 5/4.

So that something is the square root of 5/4, or minus it.

Both work, because minus times minus is plus.

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

The square root of a fraction is the root of the top over the root of the bottom.

2 times 2 is 4.

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

√54 = √5√4 = √52

So x + 1/2 is plus or minus that.

x + 12 = √52 or x + 12 = −√52

5 Get x alone

To remove the + 1/2, we take away 1/2 on both sides.

We do it in both equations.

x = √52 − 12 or x = −√52 − 12

We write the plain number first.

So x = −1/2 + √5/2 or x = −1/2 − √5/2.

x = −12 + √52 or x = −12 − √52

With a calculator, x is about 0.62 or about −1.62.

x ≈ 0.62 or x ≈ −1.62

Let's look back.

First: move the −1.

Then: complete the square.

Then: write it as a square.

Then: square root of both sides.

Last: get x alone.

Answer
x = −12 + √52 or x = −12 − √52

Your turn

Try this one yourself, then check:

Solve x2 − x − 11 = 0
Show the answer
x = 12 + 3√52 or x = 12 − 3√52

More from Completing the square with fractions

The whole lesson: Completing the square with fractions →