Factoring cubes and by grouping
Sum and difference of cubes, and grouping four terms.
Some polynomials have special patterns. A difference of cubes factors as a³ − b³ = (a − b)(a² + ab + b²); a sum of cubes as a³ + b³ = (a + b)(a² − ab + b²). Four terms can often be factored by grouping: pull a common factor from each pair, then factor out the shared binomial.
Example: x³ + 2x² + 5x + 10
- x²(x + 2) + 5(x + 2) — Factor each pair
- (x + 2)(x² + 5) — Factor out (x + 2)
Why it works: Multiplying out the patterns gives back the original, so they are reliable shortcuts. Grouping pulls out a common factor from each pair.
Tip: Remember SOAP for the cube patterns: Same sign, Opposite sign, Always Positive.