Sub topic 8
Factoring by Grouping
This chapter assumes you can expand with the distributive property, factor out a greatest common factor (GCF), and multiply two binomials with FOIL. Factoring by grouping builds on all three. It is the method behind the ax^2 + bx + c technique in the next chapter, so it is worth learning carefully.
The Core Idea
Some expressions have no GCF shared by all terms, yet the terms split into smaller sets that each have a GCF. If those sets leave behind the same expression in parentheses, that expression becomes a common factor and you can pull it out.
Consider ax + ay + bx + by. No single factor divides all four terms. Pair them up:
- Group the first two terms and the last two:
(ax + ay) + (bx + by). - Factor the GCF from each group:
a(x + y) + b(x + y). - The binomial
(x + y)now appears in both parts. Factor it out:(x + y)(a + b).
The key point is step 3. The common factor is a whole binomial, not a single term. This works because of the distributive property run backward: a·(x + y) + b·(x + y) = (a + b)(x + y).
A Worked Example with Numbers
Factor x^3 + 3x^2 + 4x + 12.
- Group:
(x^3 + 3x^2) + (4x + 12). - Factor each group:
x^2(x + 3) + 4(x + 3). - Factor out
(x + 3):(x + 3)(x^2 + 4).
Check by expanding with FOIL-style distribution: x·x^2 + x·4 + 3·x^2 + 3·4 = x^3 + 4x + 3x^2 + 12. This matches the original.
You can also check numerically. At x = 1, the original is 1 + 3 + 4 + 12 = 20. The factored form is (4)(5) = 20.
for x in [-3, 0, 1, 2, 5]:
original = x ** 3 + 3 * x ** 2 + 4 * x + 12
factored = (x + 3) * (x ** 2 + 4)
assert original == factored
print("factorization verified")Testing a few values does not prove an identity, but a mismatch proves an error. It is a fast way to catch a sign slip.
Handling Negative Signs
The most common grouping error is a sign mistake in the second group. When the third term is negative, factor out a negative GCF so the leftover binomial matches the first group.
Factor 2x^3 - 6x^2 - 5x + 15.
- Group:
(2x^3 - 6x^2) + (-5x + 15). - First group:
2x^2(x - 3). - Second group: factor out
-5, not5:-5(x - 3). - Both groups now leave
(x - 3):(x - 3)(2x^2 - 5).
If you had factored out +5 from the second group, you would get 5(-x + 3), which does not match (x - 3). The rule is to choose the sign of the GCF so the binomials agree.
Rearranging Terms
Sometimes the first pairing fails, but a different pairing works. Factor x^2 + 6 + 3x + 2x... in a cleaner case, take xy + 6 + 2x + 3y.
- Pairing as written:
(xy + 6) + (2x + 3y). The first group has no common factor, so this fails. - Reorder to
xy + 2x + 3y + 6and group again:(xy + 2x) + (3y + 6) = x(y + 2) + 3(y + 2) = (y + 2)(x + 3).
If one pairing fails, try swapping the middle terms before concluding that the expression cannot be grouped.
Grouping Inside Trinomial Factoring
Grouping also factors a trinomial ax^2 + bx + c when a ≠ 1. You split the middle term into two terms, then group. The next chapter covers the full method, but here is the idea.
Factor 6x^2 + 11x + 3.
- Multiply
a · c = 6 · 3 = 18. - Find two numbers that multiply to
18and add to11. These are9and2. - Split the middle term:
6x^2 + 9x + 2x + 3. - Group:
(6x^2 + 9x) + (2x + 3) = 3x(2x + 3) + 1(2x + 3). - Factor out the binomial:
(2x + 3)(3x + 1).
Notice the 1 in step 4. When a group has no visible common factor, you still factor out 1 so the binomial matches.
Why Grouping Is Useful on the GRE
Grouping appears in a few situations:
- Simplifying a fraction. If a numerator is a four-term expression, grouping can reveal a factor that cancels with the denominator.
- Solving equations. An equation such as
x^3 + 3x^2 - 4x - 12 = 0factors by grouping into(x + 3)(x^2 - 4) = 0. Thenx^2 - 4is a difference of squares, giving(x + 3)(x - 2)(x + 2) = 0and solutions-3,2, and-2. - Evaluating a value without solving. If you know a quantity such as
x + y, grouping can produce it as a factor.
For example, suppose x + y = 5 and you must find ax + ay + bx + by where a + b = 4. Grouping gives (x + y)(a + b) = 5 · 4 = 20. You never need the individual values.
Common Errors
| Error | Example | Fix |
|---|---|---|
| Forgetting a negative GCF | `-5x + 15` written as `5(x + 3)` | Factor out `-5` to get `-5(x - 3)` |
| Stopping after the groups | Leaving `a(x + y) + b(x + y)` as the answer | Factor out the common binomial |
| Dropping the `1` | Writing `x(y + 2) + 3(y + 2)` correctly but, with `x(y+2) + (y+2)`, writing `x(y+2)` | Remember the term `(y + 2)` equals `1·(y + 2)` |
| Not factoring the overall GCF first | Missing a common `2` or `x` | Always pull out the GCF of all terms before grouping |
| Concluding "not factorable" too soon | Giving up after one pairing | Reorder the middle terms and retry |
Practice Exercises
Exercise
Factor completely: 3x^3 + 6x^2 - 12x - 24.
Show answer
First factor out the overall GCF, 3: 3(x^3 + 2x^2 - 4x - 8). Group inside: x^2(x + 2) - 4(x + 2) = (x + 2)(x^2 - 4). The factor x^2 - 4 is a difference of squares, so the full result is 3(x + 2)(x - 2)(x + 2), which is 3(x + 2)^2(x - 2).
Exercise
If m + n = 7 and p + q = -3, what is the value of mp + mq + np + nq?
Show answer
Group the terms: m(p + q) + n(p + q) = (m + n)(p + q) = 7 · (-3) = -21.
Exercise
Factor 10x^2 + 19x + 6 by splitting the middle term and grouping.
Show answer
Compute a · c = 60. The numbers 15 and 4 multiply to 60 and add to 19. Rewrite as 10x^2 + 15x + 4x + 6. Group: 5x(2x + 3) + 2(2x + 3) = (2x + 3)(5x + 2).