Steply

Factor 8 - x^3

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

Step by step

The question

Question: factor −x³ + 8.

−x3 + 8

1 Common factor first

Always look for a common factor first.

The first term is negative, so we take out the minus.

first term negative: take out −

So it is −(x³ − 8).

= −(x3 − 8)

2 Write as cubes

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

x³ is x cubed.

8 is 2 cubed.

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

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

= −((x)3 − 23)

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

= −[(x − 2)(x2 + x × 2 + 22)]

Careful!

It is not (x − 2)³.

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

Careful: not (x − 2)³ ✗

4 Tidy up

x squared is x².

x times 2 is 2x.

2 squared is 4.

(x)² = x², x × 2 = 2x, 2² = 4

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

= −(x − 2)(x2 + 2x + 4)

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

5 Check

Let's check: we multiply it back out.

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

Check: (x − 2)(x2 + 2x + 4)
= x3 + 2x2 + 4x − 2x2 − 4x − 8 = x3 − 8

Then the common factor times every part.

−(x3 − 8) = −x3 + 8

We get −x³ + 8 again.

So it is right!

Let's look back.

First: common factor first.

Then: write as cubes.

Then: use the pattern.

Then: tidy up.

Last: check.

Answer
= −(x − 2)(x2 + 2x + 4)

Your turn

Try this one yourself, then check:

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

More from Sum and difference of cubes

The whole lesson: Sum and difference of cubes →