Steply

Factor by grouping

Algebra 1 · 21 problems, easy to harder

▶ Watch the first one solved

How we do it

  1. Take out the common factor
  2. Group in pairs
  3. Same bracket out
  4. Check

The steps for Factor 2x^3 + 6x^2 + 4x + 12. Every solution names its steps, so you always know what comes next.

Worked examples

Factor x^3 + 2x^2 + 3x + 6 Easy

The question

Question: factor x³ + 2x² + 3x + 6.

There are four terms.

So we factor them in pairs.

This is called grouping.

x3 + 2x2 + 3x + 6

1 Group in pairs

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

= (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.

= 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

2 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 (x + 2)(x² + 3).

= (x + 2)(x2 + 3)

3 Check

Let's check: we multiply it back out.

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

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

We get x³ + 2x² + 3x + 6 again.

So the answer is right!

Let's look back.

First: group in pairs.

Then: same bracket out.

Last: check.

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

▶ Watch it solved

Factor x^3 + 4x^2 - 3x - 12 Medium

The question

Question: factor x³ + 4x² − 3x − 12.

There are four terms.

So we factor them in pairs.

This is called grouping.

x3 + 4x2 − 3x − 12

1 Group in pairs

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

= (x3 + 4x2) + (−3x − 12)

From the first pair we take out x².

The second pair starts with a minus.

So we take out −3, with the minus.

Both leave the same bracket, x + 4.

(x3 + 4x2) = x2(x + 4)
(−3x − 12) = −3(x + 4)

Careful!

If we take out 3, without the minus, we get −x − 4 in the bracket.

That does not match x + 4.

Take the minus out too.

Careful: not 3(−x − 4) ✗

Now both parts have x + 4 in them.

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

2 Same bracket out

x + 4 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 (x + 4)(x² − 3).

= (x + 4)(x2 − 3)

3 Check

Let's check: we multiply it back out.

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

Check: (x + 4)(x2 − 3) = x3 − 3x + 4x2 − 12
= x3 + 4x2 − 3x − 12

We get x³ + 4x² − 3x − 12 again.

So the answer is right!

Let's look back.

First: group in pairs.

Then: same bracket out.

Last: check.

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

▶ Watch it solved

Factor 2x^3 + 6x^2 + 4x + 12 Harder

The question

Question: factor 2x³ + 6x² + 4x + 12.

There are four terms.

So we factor them in pairs.

This is called grouping.

2x3 + 6x2 + 4x + 12

1 Take out the common factor

All four terms can be divided by 2.

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

2, 6, 4, 12: all in the 2 times table

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

Now we group what is in the bracket.

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

2 Group in pairs

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

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

From the first pair we take out x².

From the second pair we take out 2.

Both leave the same bracket, x + 3.

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

Now both parts have x + 3 in them.

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

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 + 3 is in both parts, so we take it out once.

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

ab + cb = b(a + c)

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

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

4 Check

Let's check: we multiply it back out.

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

Then 2 times every term.

Check: 2(x + 3)(x2 + 2)
= 2(x3 + 2x + 3x2 + 6) = 2(x3 + 3x2 + 2x + 6)
= 2x3 + 6x2 + 4x + 12

We get 2x³ + 6x² + 4x + 12 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
= 2(x + 3)(x2 + 2)

▶ Watch it solved

Practice

Try each one, then open the answer. Stuck? Open the problem to watch every step.

Easy

  1. x^3 + 2x^2 + 3x + 6
    Answer
    = (x + 2)(x2 + 3)
  2. x^3 + 3x^2 + 2x + 6
    Answer
    = (x + 3)(x2 + 2)
  3. xy + 3x + 2y + 6
    Answer
    = (y + 3)(x + 2)
  4. ab + 5a + 2b + 10
    Answer
    = (b + 5)(a + 2)
  5. x^3 + 4x^2 + 5x + 20
    Answer
    = (x + 4)(x2 + 5)
  6. xy + 2x + 4y + 8
    Answer
    = (y + 2)(x + 4)
  7. x^3 + 5x^2 + x + 5
    Answer
    = (x + 5)(x2 + 1)

Medium

  1. x^3 + 4x^2 - 3x - 12
    Answer
    = (x + 4)(x2 − 3)
  2. x^3 - 2x^2 + 5x - 10
    Answer
    = (x − 2)(x2 + 5)
  3. ab + 4a - 3b - 12
    Answer
    = (b + 4)(a − 3)
  4. 2xy - 6x + 5y - 15
    Answer
    = (y − 3)(2x + 5)
  5. x^3 - 3x^2 - 2x + 6
    Answer
    = (x − 3)(x2 − 2)
  6. 3xy + 6x + 2y + 4
    Answer
    = (y + 2)(3x + 2)
  7. 2x^3 + 3x^2 + 4x + 6
    Answer
    = (2x + 3)(x2 + 2)
  8. x^3 + x^2 - 7x - 7
    Answer
    = (x + 1)(x2 − 7)
  9. mn - 2m + 5n - 10
    Answer
    = (n − 2)(m + 5)

Harder

  1. 2x^3 + 6x^2 + 4x + 12
    Answer
    = 2(x + 3)(x2 + 2)
  2. 3x^3 + 6x^2 + 9x + 18
    Answer
    = 3(x + 2)(x2 + 3)
  3. 4xy + 8x + 12y + 24
    Answer
    = 4(y + 2)(x + 3)
  4. 6x^3 - 3x^2 - 10x + 5
    Answer
    = (2x − 1)(3x2 − 5)
  5. 2x^3 - 8x^2 - 6x + 24
    Answer
    = 2(x − 4)(x2 − 3)