How to factor polynomials by grouping
When a polynomial has four terms, two terms at a time may have something in common. We’ll factor each pair first and see whether the same expression is left in both groups.
Factor a pair of terms at a time
In , the first pair shares , and the second pair shares . After we factor those out, both groups contain the same binomial, .
We could also group the terms and the terms first. That gives , then . The factors are the same, with their order changed.
Keep the signs inside each group
For , the first group has a common factor of . The second group has a common factor of . Both leave .
If the expressions in parentheses differ only by a sign, take a negative common factor from one group. For example, , which gives .
Split the middle term of a quadratic
For an integer quadratic , look for two integers that multiply to and add to . To see why, multiply . The two middle terms have coefficients and . Their sum is , and their product is .
For , we need a product of and a sum of . The pair and works, so write as .
Multiply those factors to check. The middle terms are and , so they give the original .