Steply

Expand (x - 2)(x - 1)(x + 4)

Step by step, with the reason for every step · Expanding three brackets · Algebra 1

Step by step

The question

Question: expand (x − 2)(x − 1)(x + 4).

Expand (x − 2)(x − 1)(x + 4)

Expand means: multiply out all the brackets.

1 Multiply the first two

First the first two brackets: (x − 2)(x − 1).

The third waits.

= (x − 2)(x − 1)

Careful!

We can't just multiply the first parts and the last parts.

Every part meets every part.

Careful: not x³ + 8 ✗

Each part of the first bracket multiplies the whole second bracket.

(a + b)(c + d) = a(c + d) + b(c + d)

The parts of the first bracket are x and −2.

Each one takes the whole second bracket.

= x(x − 1) − 2(x − 1)

What is in front of a bracket multiplies every part inside.

a(b + c) = ab + ac

So we write each part times what is in front.

= x(x) + x(−1) + (−2)(x) + (−2)(−1)
− × − = +

Watch the signs.

x times x is x².

x times (−1) is −x.

(−2) times x is −2x.

(−2) times (−1) is 2.

= x2 − x − 2x + 2

Terms are the parts between the + and − signs.

Like terms are the same kind: same letters, same powers.

All the x terms go together.

Each colour is one kind.

like terms = same letters,
same powers

−x − 2x is −3x.

−x − 2x = −3x

So the expression is x² − 3x + 2.

= x2 − 3x + 2

2 Times the third bracket

Now this answer times the third bracket, (x + 4).

Each part of the long bracket meets every part of the third.

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

Each part of the first bracket multiplies the whole second bracket.

(a + b)(c + d) = a(c + d) + b(c + d)

The parts of the first bracket are x² and −3x and 2.

Each one takes the whole second bracket.

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

What is in front of a bracket multiplies every part inside.

a(b + c) = ab + ac

So we write each part times what is in front.

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

Watch the signs.

x² times x is x³.

x² times 4 is 4x².

(−3x) times x is −3x².

(−3x) times 4 is −12x.

= x3 + 4x2 − 3x2 − 12x + 2x + 8

3 Group like terms

Terms are the parts between the + and − signs.

Like terms are the same kind: same letters, same powers.

All the x² terms go together.

Each colour is one kind.

like terms = same letters,
same powers

4x² − 3x² is x².

It is like 4 apples take away 3 apples: that is 1 apple.

−12x + 2x is −10x.

4x2 − 3x2 = x2
−12x + 2x = −10x

So the expression is x³ + x² − 10x + 8.

= x3 + x2 − 10x + 8

4 Check

Let's check.

We pick a number: x = 3.

We put it into the start: 14.

Start: (3 − 2)(3 − 1)(3 + 4) = 1 × 2 × 7 = 14

Now into our answer.

Both give 14.

Same value, so x³ + x² − 10x + 8 is right!

Answer: 3³ + 3² − 10(3) + 8 = 14

Let's look back.

First: multiply the first two.

Then: times the third bracket.

Then: group like terms.

Last: check.

Answer
= x3 + x2 − 10x + 8

Your turn

Try this one yourself, then check:

Expand (x − 2)(x − 1)(x + 5)
Show the answer
x³ + 2x² − 13x + 10

More from Expanding three brackets

The whole lesson: Expanding three brackets →