Steply

Solve 2x^2 - 2x - 24 = 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 2x² − 2x − 24 = 0 by completing the square.

2x2 − 2x − 24 = 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.

2x² ÷ 2 = x²

Some numbers become fractions.

That is fine.

Now we have x² − x − 12 = 0.

x2 − x − 12 = 0

2 Move the −12

We want only the x parts on the left.

The − 12 is in the way.

So we add 12 on both sides.

x2 − x − 12 + 12 = 0 + 12

− 12 and + 12 make zero.

Cross them out.

0 plus 12 is 12.

0 + 12 = 12

Now we have x² − x = 12.

x2 − x = 12

3 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 = 12 + 14

4 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.

12 is 48/4.

Same bottom, so we add the tops: 48 plus 1 is 49.

12 = 484
484 + 14 = 494

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)² = 49/4.

(x − 12)2 = 494

5 Square root of both sides

Something squared is 49/4.

So that something is the square root of 49/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.

7 times 7 is 49.

√494 = √49√4 = 72

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

x − 12 = 72 or x − 12 = −72

6 Get x alone

To remove the − 1/2, we add 1/2 on both sides.

We do it in both equations.

x = 72 + 12 or x = −72 + 12

Same bottom, so we work with the tops.

7/2 plus 1/2 is 4.

Minus 7/2 plus 1/2 is −3.

72 + 12 = 82 = 4
−72 + 12 = −62 = −3

So x = 4 or x = −3.

x = 4 or x = −3

7 Check

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

x = 4: 2(4)2 − 2(4) − 24 = 32 − 8 − 24 = 0

We get 0, the same as the right side.

It works!

Now put x = −3 into the left side.

x = −3: 2(−3)2 − 2(−3) − 24 = 18 + 6 − 24
= 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 −12.

Then: complete the square.

Then: write it as a square.

Then: square root of both sides.

Then: get x alone.

Last: check.

Answer
x = 4 or x = −3

Your turn

Try this one yourself, then check:

Solve 2x2 + 2x − 12 = 0
Show the answer
x = 2 or x = −3

More from Completing the square with fractions

The whole lesson: Completing the square with fractions →