Steply

Factor 27x^3 + 8

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

Step by step

The question

Question: factor 27x³ + 8.

27x3 + 8

1 Write as cubes

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

27x³ is 3x cubed.

8 is 2 cubed.

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

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

= (3x)3 + 23

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 = 3x and b = 2 into the pattern.

= (3x + 2)((3x)2 − 3x × 2 + 22)

Careful!

It is not (3x + 2)³.

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

Careful: not (3x + 2)³ ✗

3 Tidy up

3x squared is 9x².

3x times 2 is 6x.

2 squared is 4.

(3x)² = 9x², 3x × 2 = 6x, 2² = 4

So we get (3x + 2)(9x² − 6x + 4).

= (3x + 2)(9x2 − 6x + 4)

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: (3x + 2)(9x2 − 6x + 4)
= 27x3 − 18x2 + 12x + 18x2 − 12x + 8
= 27x3 + 8

We get 27x³ + 8 again.

So it is right!

Let's look back.

First: write as cubes.

Then: use the pattern.

Then: tidy up.

Last: check.

Answer
= (3x + 2)(9x2 − 6x + 4)

Your turn

Try this one yourself, then check:

Factor 27x3 + 1
Show the answer
(3x + 1)(9x2 − 3x + 1)

More from Sum and difference of cubes

The whole lesson: Sum and difference of cubes →