Factor by Grouping, Part TwoReference > Mathematics > Algebra > Factoring Higher Degree Polynomials
In the previous section you learned about factoring higher degree polynomials by grouping the terms into binomials or trinomials, depending on the patterns you noticed in the structure of the polynomial. Sometimes you need to get more aggressive, looking to group terms in ways that are not so obvious. And sometimes you might even have to rearrange terms to perform the groupings you want.
The goal in this section is to look for groups of terms that look like they could be factored as a whole, and then try to combine them with other terms or groups of terms that might lead to an overall factoring. Sounds complicated? Well, let's try a few examples.
Factor x2 + 4x - a2 + 4
It seems fairly evident that grouping this by pairs is not going to work, and we certainly can't group into trinomials, because the number of terms isn't a multiple of 3!
However, as I look at this, it occurs to me that three of those terms, when taken together, form a very nice quadratic in x:
x2 + 4x + 4
So let's rearrange the terms and group:
(x2 + 4x + 4) - a2
(x + 2)2 - a2
Now we have a difference of squares. The first term is the square of (x + 2), and the second term is the square of a. This leads to:
(x + 2 + a)(x + 2 - a)
Factor x6 - 2x5 + 2x4 - 4x3 + x2 + 2
At first glance, it looks like this will work nicely to divide into binomials:
(x6 - 2x5) + (2x4 - 4x3) + (x2 + 2)
x5(x - 2) + 2x3(x - 2) + 1(x2 + 2)
Uh oh...that last (x2 + 2) doesn't match the (x - 2) in the other groups, so we can't factor anything out. We're stuck.
However, as I look at this, I notice that the last group skips an exponent, and that makes me wonder if I can rearrange the polynomial so all the groups skip an exponent:
(x6 + 2x4) - (2x5 + 4x3) + (x2 + 2)
x4(x2 + 2) - 2x3(x + 2) + (x2 + 2)
(x2 + 2)(x4 -2x3 + 1)
x4 - 2x2y2 + y4 - y2
I can see right away that the first three terms form a perfect square trinomial:
(x4 - 2x2y2 + y4) - y2
(x2 - y2)2 - y2 <= difference of squares!
(x2 - y2 + y)(x2 - y2 - y)
x4 - 6x2y2 + y4
This one looks a bit baffling to start out, and there's an intuitive leap that has to be taken here to factor this. I think to myself, "If only that -6x2y2 was -2x2y2, then I could factor it." So then I think, "Well, why not? Let's break that 6x2y2 up into two pieces!"
x4 - 2x2y2 + y4 - 4x2y2
Now factor the first three terms:
(x2 - y2)2 - (2xy)2 <= and look at that - a difference of squares!
(x2 + 2xy - y2)(x2 - 2xy - y2)
Factor x3 + 3x2 + 3x + 1
If you've been around higher degree polynomials very long, you probably know that this is (x + 1)3, but can we use our grouping methods to figure this out?
Unfortunately, grouping in pairs, as it is written, isn't going to help us, but maybe if we get really creative with our groupings...
(x3 + 1) + (3x2 + 3x)
Why did I group this way? Because I noticed that I now have a sum of cubes, and I thought something interesting might happen with that...
(x + 1)(x2 - x + 1) + 3x(x + 1)
Nice! I have a common factor (x + 1) which I can factor out:
(x + 1)(x2 - x + 1 + 3x)
(x + 1)(x2 +2x + 1)
(x + 1)(x + 1)2
(x + 1)3
The tricky thing about these grouping and factoring methods is: some polynomials are not factorable, which means no matter what you try, you won't be able to find a grouping that helps. And even if it is factorable, there may not be an obvious (or even unobvious) grouping method to help you factor it. In the problems below, we've only given you problems which can be solved using creative regrouping.