Skip to main content
permalink

Section 10.2 Factoring by Grouping

permalink

permalinkThis section covers a technique for factoring polynomials like x3+3x2+2x+6, which factors as (x2+2)(x+3). If there are four terms, the technique in this section might help you to factor the polynomial. Additionally, this technique is a stepping stone to a factoring technique in Section 10.3 and Section 10.4.

permalink
Figure 10.2.1. Alternative Video Lesson
permalink

Subsection 10.2.1 Factoring out Common Polynomials

permalinkRecall that to factor 3x+6, we factor out the common factor 3:

3x+6=3↓x+3↓⋅2=3(x+2)

permalinkThe β€œ3” here could have been something more abstract, and it still would be valid to factor it out:

xA+2A=xA↓+2A↓x🍎+2🍎=xπŸŽβ†“+2πŸŽβ†“=A(x+2)=🍎(x+2)

permalinkIn fact, even β€œlarger” things can be factored out, as in this example:

x(a+b)+2(a+b)=x(a+b)βžβ†“+2(a+b)βžβ†“=(a+b)(x+2)

permalinkIn this last example, we factored out the binomial factor (a+b). Factoring out binomials is the essence of this section, so let's see that a few more times:

x(x+2)+3(x+2)=x(x+2)βžβ†“+3(x+2)βžβ†“=(x+2)(x+3)
z2(2y+5)+3(2y+5)=z2(2y+5)βžβ†“+3(2y+5)βžβ†“=(2y+5)(z2+3)

permalinkAnd even with an expression like Q2(Qβˆ’3)+Qβˆ’3, if we re-write it in the right way using a 1 and some parentheses, then it too can be factored:

Q2(Qβˆ’3)+Qβˆ’3=Q2(Qβˆ’3)+1(Qβˆ’3)=Q2(Qβˆ’3)βžβ†“+1(Qβˆ’3)βžβ†“=(Qβˆ’3)(Q2+1)

permalinkThe truth is you are unlikely to come upon an expression like x(x+2)+3(x+2), as in these examples. Why wouldn't someone have multiplied that out already? Or factored it all the way? So far in this section, we have only been looking at a stepping stone to a real factoring technique called factoring by grouping.

permalink

Subsection 10.2.2 Factoring by Grouping

permalinkFactoring by grouping is a factoring technique that sometimes works on polynomials with four terms. Here is an example.

permalink
Example 10.2.2.

Suppose we must factor x3βˆ’3x2+5xβˆ’15. Note that there are four terms, and they are written in descending order of the powers of x. β€œGrouping” means to group the first two terms and the last two terms together:

x3βˆ’3x2+5xβˆ’15=(x3βˆ’3x2)+(5xβˆ’15)

Now, each of these two groups has its own greatest common factor we can factor out:

=x2(xβˆ’3)+5(xβˆ’3)

In a sense, we are β€œlucky” because we now see matching binomials that can themselves be factored out:

=x2(xβˆ’3)βžβ†“+5(xβˆ’3)βžβ†“=(xβˆ’3)(x2+5)

And so we have factored x3βˆ’3x2+5xβˆ’15 as (xβˆ’3)(x2+5). But to be sure, if we multiply this back out, it should recover the original x3βˆ’3x2+5xβˆ’15. To confirm your factoring is correct, you should always multiply out your factored result to check that it matches the original polynomial.

permalink
Checkpoint 10.2.3.
permalink
Example 10.2.4.

Factor t3βˆ’5t2βˆ’3t+15. This example has a complication with negative signs. If we try to break up this polynomial into two groups as (t3βˆ’5t2)βˆ’(3t+15), then we've made an error! In that last expression, we are subtracting a group with the term 15, so overall it subtracts 15. The original polynomial added 15, so we are off course.

One way to handle this is to treat subtraction as addition of a negative:

t3βˆ’5t2βˆ’3t+15=t3βˆ’5t2+(βˆ’3t)+15=(t3βˆ’5t2)+(βˆ’3t+15)

Now we can proceed to factor out common factors from each group. Since the second group leads with a negative coefficient, we'll factor out βˆ’3. This will result in the β€œ+15” becoming β€œβˆ’5.”

=t2(tβˆ’5)+(βˆ’3)(tβˆ’5)=t2(tβˆ’5)βžβ†“βˆ’3(tβˆ’5)βžβ†“=(tβˆ’5)(t2βˆ’3)

And remember that we can confirm this is correct by multiplying it out. If we made no mistakes, it should result in the original t3βˆ’5t2βˆ’3t+15.

permalink
Checkpoint 10.2.5.
permalink
Example 10.2.6.

Factor x3βˆ’3x2+xβˆ’3. To succeed with this example, we will need to β€œfactor out” a trivial number 1 that isn't apparent until we make it so.

x3βˆ’3x2+xβˆ’3=(x3βˆ’3x2)+(xβˆ’3)=x2(xβˆ’3)+1(xβˆ’3)=x2(xβˆ’3)βžβ†“+1(xβˆ’3)βžβ†“=(xβˆ’3)(x2+1)

Notice how we changed xβˆ’3 to +1(xβˆ’3), so we wouldn't forget the +1 in the final factored form. As always, we should check this is correct by multiplying it out.

permalink
Checkpoint 10.2.7.
permalink
Example 10.2.8.

Factor xy2βˆ’10y2βˆ’2x+20. The technique can work when there are multiple variables too.

xy2βˆ’10y2βˆ’2x+20=(xy2βˆ’10y2)+(βˆ’2x+20)=y2(xβˆ’10)+(βˆ’2)(xβˆ’10)=y2(xβˆ’10)βžβ†“βˆ’2(xβˆ’10)βžβ†“=(xβˆ’10)(y2βˆ’2).

permalinkUnfortunately, this technique is not guaranteed to work on every polynomial with four terms. In fact, most randomly selected four-term polynomials will not factor using this method and those selected here should be considered β€œnice.” Here is an example that will not factor with grouping:

x3+6x2+11x+6=(x3+6x2)+(11x+6)=x2(x+6)⏟?+1(11x+6)⏟?

permalinkIn this example, at the step where we hope to see the same binomial appearing twice, we see two different binomials. It doesn't mean that this kind of polynomial can't be factored, but it does mean that β€œfactoring by grouping” is not going to help. This polynomial actually factors as (x+1)(x+2)(x+3). So the fact that grouping fails to factor the polynomial doesn't tell us whether or not it is prime.

permalink

Reading Questions 10.2.3 Reading Questions

permalink
1.

Factoring by grouping is a factoring technique for when a polynomial has terms.

permalink

Exercises 10.2.4 Exercises

Review and Warmup
permalink
1.

Factor the given polynomial.

βˆ’5tβˆ’5=

permalink
2.

Factor the given polynomial.

βˆ’10xβˆ’10=

permalink
3.

Factor the given polynomial.

7x+14=

permalink
4.

Factor the given polynomial.

4yβˆ’24=

permalink
5.

Factor the given polynomial.

30y2βˆ’100=

permalink
6.

Factor the given polynomial.

21r2+35=

Factoring out Common Polynomials
permalink
7.

Factor the given polynomial.

r(r+4)βˆ’6(r+4)=

permalink
8.

Factor the given polynomial.

t(tβˆ’10)βˆ’4(tβˆ’10)=

permalink
9.

Factor the given polynomial.

x(y+9)+7(y+9)=

permalink
10.

Factor the given polynomial.

x(yβˆ’10)+2(yβˆ’10)=

permalink
11.

Factor the given polynomial.

2x(x+y)βˆ’9(x+y)=

permalink
12.

Factor the given polynomial.

3x(x+y)+7(x+y)=

permalink
13.

Factor the given polynomial.

3y4(4y+9)+4y+9=

permalink
14.

Factor the given polynomial.

9y3(8yβˆ’7)+8yβˆ’7=

permalink
15.

Factor the given polynomial.

12r4(r+10)+6r3(r+10)+60r2(r+10)=

permalink
16.

Factor the given polynomial.

10r4(rβˆ’15)βˆ’30r3(rβˆ’15)+35r2(rβˆ’15)=

Factoring by Grouping
permalink
17.

Factor the given polynomial.

t2+8t+9t+72=

permalink
18.

Factor the given polynomial.

t2βˆ’5t+6tβˆ’30=

permalink
19.

Factor the given polynomial.

t2+2t+4t+8=

permalink
20.

Factor the given polynomial.

x2βˆ’8x+10xβˆ’80=

permalink
21.

Factor the given polynomial.

x3+5x2+7x+35=

permalink
22.

Factor the given polynomial.

y3βˆ’2y2+5yβˆ’10=

permalink
23.

Factor the given polynomial.

y3βˆ’7y2+2yβˆ’14=

permalink
24.

Factor the given polynomial.

r3+5r2+8r+40=

permalink
25.

Factor the given polynomial.

xy+7x+4y+28=

permalink
26.

Factor the given polynomial.

xy+8xβˆ’9yβˆ’72=

permalink
27.

Factor the given polynomial.

xyβˆ’9xβˆ’3y+27=

permalink
28.

Factor the given polynomial.

xy+10x+6y+60=

permalink
29.

Factor the given polynomial.

2x2+4xy+9xy+18y2=

permalink
30.

Factor the given polynomial.

3x2+15xy+8xy+40y2=

permalink
31.

Factor the given polynomial.

4x2+36xy+9xy+81y2=

permalink
32.

Factor the given polynomial.

5x2βˆ’5xy+7xyβˆ’7y2=

permalink
33.

Factor the given polynomial.

x3βˆ’6βˆ’7x3y+42y=

permalink
34.

Factor the given polynomial.

x3+7βˆ’2x3yβˆ’14y=

permalink
35.

Factor the given polynomial.

x3+6+8x3y+48y=

permalink
36.

Factor the given polynomial.

x3βˆ’9βˆ’8x3y+72y=

permalink
37.

Factor the given polynomial.

10t5+20t4βˆ’15t4βˆ’30t3+25t3+50t2=

permalink
38.

Factor the given polynomial.

24x5+48x4+16x4+32x3+40x3+80x2=