- Using Grouping to Factor a Polynomial
- Knowing when to Try the Grouping Method
Sometimes a polynomial will not have a particular factor common to every term. However, we may still be able to produce a factored form for the polynomial.
The polynomial x3+3 x2−6 x−18 x 3 3 x 2 6 x 18 has no single factor that is common to every term. However, we notice that if we group together the first two terms and the second two terms, we see that each resulting binomial has a particular factor common to both terms.

Factor x 2 x 2 out of the first two terms, and factor −6 −6 out of the second two terms.
x 2 (x+3) −6(x+3) x 2 (x+3) −6(x+3)
Now look closely at this binomial. Each of the two terms contains the factor (x+3) (x+3) .
Factor out (x+3) (x+3) .
(x+3) ( x 2 −6) (x+3) ( x 2 −6) is the final factorization.
x 3 +3 x 2 −6x−18= (x+3) ( x 2 −6) x 3 +3 x 2 −6x−18= (x+3) ( x 2 −6)
We are alerted to the idea of grouping when the polynomial we are considering has either of these qualities:
- no factor common to all terms
- an even number of terms
When factoring by grouping, the sign (+ or −) (+ or −) of the factor we are taking out will usually (but not always) be the same as the sign of the first term in that group.
Factor 8 a 2 b 4 −4 b 4 +14 a 2 −7 8 a 2 b 4 −4 b 4 +14 a 2 −7 .
- We notice there is no factor common to all terms.
- We see there are four terms, an even number.
- We see that terms 1 and 2 have +4 b 4 +4 b 4 in common (since the 1st term in the group is +8 a 2 b 4 ) +8 a 2 b 4 ) .
- We notice that the 3rd and 4th terms have +7 +7 in common (since the 1st term in the group is +14 a 2 +14 a 2 ).
8
a
2
b
4
−4
b
4
+14
a
2
−7=
(2a
2
-1)(4b
4
+7)
8
a
2
b
4
−4
b
4
+14
a
2
−7=
(2a
2
-1)(4b
4
+7)
Use the grouping method to factor the following polynomials.
a x+a y+b x+b y a x a y b x b y
2am+8m+5an+20n 2am+8m+5an+20n
(2m+5n) (a+4) (2m+5n) (a+4)
a 2 x 3 +4 a 2 y 3 +3b x 3 +12b y 3 a 2 x 3 +4 a 2 y 3 +3b x 3 +12b y 3
( a 2 +3b) ( x 3 +4 y 3 ) ( a 2 +3b) ( x 3 +4 y 3 )
15mx+10nx−6my−4ny 15mx+10nx−6my−4ny
(5x−2y) (3m+2n) (5x−2y) (3m+2n)
40abx−24abxy−35 c 2 x+21 c 2 xy 40abx−24abxy−35 c 2 x+21 c 2 xy
x(8ab−7 c 2 ) (5−3y) x(8ab−7 c 2 ) (5−3y)
When factoring the polynomial 8 a 2 b 4 −4 b 4 +14 a 2 −7 8 a 2 b 4 4 b 4 14 a 2 7 in Sample Set A, we grouped together terms1 and 2 and 3 and 4. Could we have grouped together terms1 and 3 and 2 and 4? Try this.
8 a 2 b 4 −4 b 4 +14 a 2 −7= 8 a 2 b 4 −4 b 4 +14 a 2 −7=
Do we get the same result? If the results do not look precisely the same, recall the commutative property of multiplication.
For the following problems, use the grouping method to factor the polynomials. Some polynomials may not be factorable using the grouping method.
2ab+3a+18b+27 2ab+3a+18b+27
(
2b+3
)(
a+9
)
(
2b+3
)(
a+9
)
(
y+1
)(
x+3
)
(
y+1
)(
x+3
)
mp+3mq+np+3nq mp+3mq+np+3nq
ar+4as+5br+20bs ar+4as+5br+20bs
(
a+5b
)(
r+4s
)
(
a+5b
)(
r+4s
)
14ax−6bx+21ay−9by 14ax−6bx+21ay−9by
12mx−6bx+21ay−9by 12mx−6bx+21ay−9by
3(
4mx−2bx+7ay−3by
)
3(
4mx−2bx+7ay−3by
)
Not factorable by grouping
36ak−8ah−27bk+6bh 36ak−8ah−27bk+6bh
a 2 b 2 +2 a 2 +3 b 2 +6 a 2 b 2 +2 a 2 +3 b 2 +6
(
a
2
+3
)(
b
2
+2
)
(
a
2
+3
)(
b
2
+2
)
3 n 2 +6n+9 m 3 +12m 3 n 2 +6n+9 m 3 +12m
8 y 4 −5 y 3 +12 z 2 −10z 8 y 4 −5 y 3 +12 z 2 −10z
Not factorable by grouping
x 2 +4x−3 y 2 +y x 2 +4x−3 y 2 +y
x 2 −3x+xy−3y x 2 −3x+xy−3y
(
x+y
)(
x−3
)
(
x+y
)(
x−3
)
2 n 2 +12n−5mn−30m 2 n 2 +12n−5mn−30m
4pq−7p+3 q 2 −21 4pq−7p+3 q 2 −21
Not factorable by grouping
8 x 2 +16xy−5x−10y 8 x 2 +16xy−5x−10y
12 s 2 −27s−8st+18t 12 s 2 −27s−8st+18t
(
4s−9
)(
3s−2t
)
(
4s−9
)(
3s−2t
)
15 x 2 −12x−10xy+8y 15 x 2 −12x−10xy+8y
a 4 b 4 +3 a 5 b 5 +2 a 2 b 2 +6 a 3 b 3 a 4 b 4 +3 a 5 b 5 +2 a 2 b 2 +6 a 3 b 3
a
2
b
2
(
a
2
b
2
+2
)(
1+3ab
)
a
2
b
2
(
a
2
b
2
+2
)(
1+3ab
)
4 a 3 bc−14 a 2 b c 3 +10ab c 2 −35b c 4 4 a 3 bc−14 a 2 b c 3 +10ab c 2 −35b c 4
5 x 2 y 3 z+3 x 3 yw−10 y 3 z 2 −6wxyz 5 x 2 y 3 z+3 x 3 yw−10 y 3 z 2 −6wxyz
y(
5
y
2
z+3xw
)(
x
2
−2z
)
y(
5
y
2
z+3xw
)(
x
2
−2z
)
a 3 b 2 cd+ab c 2 dx− a 2 bxy−c x 2 y a 3 b 2 cd+ab c 2 dx− a 2 bxy−c x 2 y
5 m 10 n 17 p 3 − m 6 n 7 p 4 −40 m 4 n 10 q t 2 +8pq t 2 5 m 10 n 17 p 3 − m 6 n 7 p 4 −40 m 4 n 10 q t 2 +8pq t 2
(
m
6
n
7
p
3
−8q
t
2
)(
5
m
4
n
10
−p
)
(
m
6
n
7
p
3
−8q
t
2
)(
5
m
4
n
10
−p
)
((Reference)) Simplify
(
x
5
y
3
) (
x
2
y)
(
x
5
y
3
) (
x
2
y)
.
((Reference)) Use scientific notation to find the product of
(3×
10
−5
)(2×
10
2
)
(3×
10
−5
)(2×
10
2
)
.
((Reference)) Find the domain of the equation
y=
6
x+5
y=
6
x+5
.
((Reference)) Construct the graph of the inequality
y≥−2
y≥−2
.

((Reference)) Factor
8
a
4
b
4
+12
a
3
b
5
−8
a
2
b
3
8
a
4
b
4
+12
a
3
b
5
−8
a
2
b
3
.
"Elementary Algebra covers traditional topics studied in a modern elementary algebra course. Written by Denny Burzynski and Wade Ellis, it is intended for both first-time students and those […]"