Factoring by Grouping
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Split four terms into pairs and factor each
- Pull out the shared binomial that both pairs leave
- Factor a negative out of a pair whose leftover binomial is the opposite of the other pair's
- Reorder the terms when the first pairing stalls
- Run the AC method to group a harder trinomial
Grouping a four-term polynomial
Factoring is the distributive property run backward. To factor you spot the common factor and write . In , both terms carry the binomial , the way and both carried , so it factors out the same way. For a four-term polynomial, split it into two pairs and factor the greatest common factor out of each pair. If both pairs leave the same binomial, factor that binomial out.
Worked example 1 Factor
Factor each pair on its own. The first two terms share , and the last two share :
Both pieces carry , so factor it out:
Check by expanding: . The factor does not factor further with integer coefficients, so this is the complete factorization.
Other pairings can work too. Grouping the first and third terms with the second and fourth leaves the matching binomial and gives the same answer.
Watch the sign in the second group
Sometimes the binomials left by the two pairs are opposites, such as and . Since , factoring a negative out of one pair turns its binomial into the other.
Worked example 2 Factor
Group the first two and last two terms. The first pair gives :
The second pair shares , but factoring out gives , and does not match . Factor out instead:
With both pairs carrying , the shared binomial factors out:
Check: . The factor has no factorization with integer coefficients, because a difference of squares needs a perfect square and is not one.
Check your understanding
Factor by grouping.
Group the first two and last two terms: . The first pair gives . In the second pair, factoring out would give , and is the opposite of , not a match, so factor out to match.
Expanding confirms . Treating as if it matched gives the wrong option .
Reordering, and when grouping fails
If the first pairing gives no shared binomial, try a different pairing. Writing the terms in descending order of degree often makes a useful pair easier to see.
Worked example 3 Reorder before grouping
Take , with its terms out of the usual order. Pairing them as they stand gives
and this stalls: has no common factor beyond , so no shared binomial can appear. In descending order the polynomial is , and the neighboring pairs now group exactly as in Worked Example 1:
Check your understanding
Factor completely by grouping.
Pairing the terms as written stalls: leaves with no common factor beyond . Reorder in descending degree first: . Now the pairs share a binomial: . Expanding checks: , the original polynomial reordered.
The other two products expand to different polynomials, and the polynomial does in fact group once reordered, so it is not an example of one that fails.
Some four-term polynomials do not factor by this two-pair method. Consider . There are only three ways to split four terms into two pairs, and none of them leaves a shared binomial:
| Pairing | First pair factors as | Second pair factors as |
|---|---|---|
| 1st & 2nd, 3rd & 4th | ||
| 1st & 3rd, 2nd & 4th | no common factor beyond | |
| 1st & 4th, 2nd & 3rd | no common factor beyond |
So this two-pair method stops here. That does not prove that no other factoring method could work.
The AC method: grouping the harder trinomials
In the previous chapter, you factored trinomials such as by checking possible binomial products, and met the clue now called the AC method: find two numbers with product and sum . Now you can use that clue with grouping: split using those numbers, then group the four terms.
Worked example 4 Factor by grouping
Here , , and , so the product to aim for is . Find two numbers with product and sum , namely and . Split the middle term into :
Now group the four terms and factor each pair:
Keep the in front of the second : it becomes the in . Check by expanding: .
Why the split with product and sum lets you group#
Worked Example 4 split into because and multiply to and add to . To see why that pair fits, multiply out the factorization and look at where and come from:
is and is . Collecting them gives the middle term: the terms add to , so their coefficients, and , add to . The product of those coefficients is , while , because is the product of the binomials’ -coefficients and the product of their constants. Both use the same four numbers, , , , , grouped differently, so the products match. The same regrouping works for any four coefficients, as the previous chapter showed with letters. So any binomial factorization supplies a pair with sum and product .
The method needs the reverse direction too: finding such a pair must give a factorization. First allow fractions in the same example:
The second pair works because . To return to integer coefficients, move the out of and into the other factor:
The same grouping works with letters. Suppose , , and . Then , so
Both pairs leave , just as both numerical pairs left . This also explains why integer greatest common factors work. If , simply factor out : . Otherwise , so the coefficient pairs and are proportional. Removing each pair’s greatest common factor reduces both to the same ratio in lowest terms; with signs chosen to match, both pairs leave the same binomial.
Worked example 5 A negative constant, factor
Now , , and , so . Two numbers with product and sum must have opposite signs, and and fit, since and . Split into :
Group. Taking out from the second pair would leave , the opposite of , so take out instead:
Check: . Writing the split as instead groups to the same factors.
Check your understanding
For , which split of the middle term sets up a working grouping?
The two pieces must have product and sum . Every choice sums to , but only and also multiply to .
The other splits multiply to , , or , so their pairs share no binomial and do not group.
Pull out a common factor first
Before splitting a middle term or pairing anything up, check whether every term shares a common factor. Pulling it out first shrinks the numbers and keeps the final answer completely factored.
Worked example 6 Factor completely
Every coefficient is even, so factor out first:
Now group inside the parentheses. The first pair shares and the second shares :
Carry the back out front for the complete factorization:
Grouping the original directly gives . That is correct but not complete, since still hides a factor of . Pull the common factor out first, or check for one at the end.
Check your understanding
Factor completely.
First pull out the common factor : . For the product is and the sum is , met by and . Split and group.
So the complete factorization is . Dropping the gives , only half the polynomial, and still hides a factor of inside .