Another way to use the GCF in factoring is to factor by grouping. Use this when the polynomial does not have a common factor, but can be split into pairs of terms that share a common factor.
Example 3: Factor by Grouping
Factor 5xy + 10x + 4y + 8.
This polynomial has no common factor in all four terms. However, if you group the first two terms and the last two terms, they do have a common factor.
5xy + 10x + 4y + 8
= (5xy + 10x) + (4y + 8)
Group the first two and last two terms.
= 5x(y + 2) + 4(y + 2)
Factor the first group and last group.
= (y + 2)(5x + 4)
They share a common factor of (y + 2), so use the distributive property:
ab + ac = a(b + c).
Check by using FOIL:
This is the same polynomial you started with.
Example 4: Factor by Grouping and a Sign Change
Factor 35a – 7ab + 4b – 20.
35a – 7ab + 4b – 20
= (35a – 7ab) + (4b – 20)
Group terms with common factors.
= 7a(5 – b) + 4(b – 5)
Factor the GCF of each group.
= 7a(5 – b) – 4(5 – b)
(b – 5) = -(-b + 5) = -(5 – b)
Use the opposite to turn it around. Placing a negative sign in front of the grouping.
= (5 – b) (7a – 4)
Factor (5 – b) using the distributive property.
Check using FOIL.
The solution checks out.
To Factor by Grouping
Group terms with common factors.
Factor the GCF from each group.
Factor the common binomial using the distributive property.
If you try to factor by grouping using the order that the terms are currently in, you will not get two polynomials in your parenthesis that are exactly the same: 2m(3m – 4n) – 5(3m + 4n)
This is why you should re-order the polynomial: 6m2 – 15m – 8mn + 20n
If you try to factor by grouping using the order that the terms are currently in, you will not get two polynomials in your parenthesis that are exactly the same: 4y(2x – 3) – 3(2x + 3)
This is why you should re-order the polynomial: 8xy – 6x – 12y + 9