Steply

Factor 3x^3 + 6x^2 + 9x + 18

Step by step, with the reason for every step · Factor by grouping · Algebra 1

Step by step

The question

Question: factor 3x³ + 6x² + 9x + 18.

There are four terms.

So we factor them in pairs.

This is called grouping.

3x3 + 6x2 + 9x + 18

1 Take out the common factor

All four terms can be divided by 3.

So we take 3 out first, like in the common factor lesson.

3, 6, 9, 18: all in the 3 times table

So it is 3(x³ + 2x² + 3x + 6).

Now we group what is in the bracket.

= 3(x3 + 2x2 + 3x + 6)

2 Group in pairs

We put the first two together, and the last two together.

= 3[(x3 + 2x2) + (3x + 6)]

From the first pair we take out x².

From the second pair we take out 3.

Both leave the same bracket, x + 2.

(x3 + 2x2) = x2(x + 2)
(3x + 6) = 3(x + 2)

Now both parts have x + 2 in them.

= 3[x2(x + 2) + 3(x + 2)]

Careful!

This is not the answer yet.

It is still two parts added.

Factored means one thing times another.

Careful: not done yet: still a + between two parts

3 Same bracket out

x + 2 is in both parts, so we take it out once.

What is left, x² + 3, goes in the other bracket.

ab + cb = b(a + c)

So we get 3(x + 2)(x² + 3).

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

4 Check

Let's check: we multiply it back out.

Each part of the first bracket times each part of the second.

Then 3 times every term.

Check: 3(x + 2)(x2 + 3)
= 3(x3 + 3x + 2x2 + 6) = 3(x3 + 2x2 + 3x + 6)
= 3x3 + 6x2 + 9x + 18

We get 3x³ + 6x² + 9x + 18 again.

So the answer is right!

Let's look back.

First: take out the common factor.

Then: group in pairs.

Then: same bracket out.

Last: check.

Answer
= 3(x + 2)(x2 + 3)

Your turn

Try this one yourself, then check:

Factor 3x3 + 12x2 + 9x + 36
Show the answer
3(x + 4)(x2 + 3)

More from Factor by grouping

The whole lesson: Factor by grouping →