Steply

Factor 8x^3 + 125

Step by step, with the reason for every step · Sum and difference of cubes · Algebra 1

Step by step

The question

Question: factor 8x³ + 125.

8x3 + 125

1 Write as cubes

Cubes are a number times itself three times: 2 × 2 × 2 = 8, 3 × 3 × 3 = 27.

8x³ is 2x cubed.

125 is 5 cubed.

cubes: 1, 8, 27, 64, 125, 216, 343, 512, 729, 1000
8x3 = (2x)3, 125 = 5³

So it is a sum of two cubes: a is 2x and b is 5.

= (2x)3 + 53

2 Use the pattern

Here is the pattern.

The first bracket has the same sign as the question.

In the second bracket the middle sign is the opposite one, and the last sign is always plus.

a³ + b³ = (a + b)(a² − ab + b²)
first bracket: same sign (+); middle: opposite (−); last: +

We put a = 2x and b = 5 into the pattern.

= (2x + 5)((2x)2 − 2x × 5 + 52)

Careful!

It is not (2x + 5)³.

Multiplied out, that has x² and x terms too.

Careful: not (2x + 5)³ ✗

3 Tidy up

2x squared is 4x².

2x times 5 is 10x.

5 squared is 25.

(2x)² = 4x², 2x × 5 = 10x, 5² = 25

So we get (2x + 5)(4x² − 10x + 25).

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

The second bracket can't be factored: with this pattern it never can.

4 Check

Let's check: we multiply it back out.

Each part of one bracket times each part of the other.

Check: (2x + 5)(4x2 − 10x + 25)
= 8x3 − 20x2 + 50x + 20x2 − 50x + 125
= 8x3 + 125

We get 8x³ + 125 again.

So it is right!

Let's look back.

First: write as cubes.

Then: use the pattern.

Then: tidy up.

Last: check.

Answer
= (2x + 5)(4x2 − 10x + 25)

Your turn

Try this one yourself, then check:

Factor 27x3 + 125
Show the answer
(3x + 5)(9x2 − 15x + 25)

More from Sum and difference of cubes

The whole lesson: Sum and difference of cubes →