Algebra › Section F · Factoring › Topic F.3
Factoring special products
Some polynomials factor on sight, the moment you recognise their shape. Learn the handful of special-product patterns and the number hunt disappears - along with its most famous trap.
Patterns that factor on sight
Special products are polynomials whose factorisations follow memorised patterns, learned in the multiplying direction: \((a + b)(a - b)\), \((a \pm b)^2\), and the cube products. Running any of them backwards turns a multi-minute factorisation into a one-line recognition. The cost of not knowing them is real: a difference of squares hunted by trial and error wastes time, and a sum of squares hunted at all is a wild goose chase. Recognition, not computation, is the skill this topic builds.
Difference of squares
The pattern \(a^2 - b^2 = (a + b)(a - b)\) applies whenever both terms are squares separated by subtraction. So \(x^2 - 49 = (x + 7)(x - 7)\), and \(25x^2 - 16 = (5x + 4)(5x - 4)\), since \(25x^2 = (5x)^2\) and \(16 = 4^2\). The pattern works because the cross products cancel exactly: multiplying \((a + b)(a - b)\), the Outer and Inner terms are \(-ab\) and \(+ab\), annihilating each other. Two squares separated by a plus sign, however, are a different story altogether.
The trap: sums of squares are prime
\(x^2 + 9\) does not factor over the real numbers. No pair of real binomials multiplies to a sum of squares - trying \((x + 3)(x + 3)\) produces a middle term \(6x\) that the expression does not have, and every other attempt fails the same way. A difference of squares factors; a sum of squares is prime over the reals. This is the single most-tested negative fact in the factoring family, and declaring \(x^2 + 9\) factorable is a guaranteed wrong answer.
Spotting squares at a glance
Both patterns need you to see squares quickly. On the constant side, the perfect squares are 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, and so on. On the variable side, a term is a square exactly when its exponent is even: \(x^2\), \(x^4\), \(x^6\), since \(x^4 = (x^2)^2\). For cubes, constants like 1, 8, 27, 64, 125 are perfect cubes, and any exponent divisible by 3 gives a cube: \(x^6 = (x^2)^3\). This little dictionary turns "is that a square?" into an instant reflex.
Perfect-square trinomials
A trinomial whose first and last terms are squares, with a middle term exactly twice the product of their roots, factors as a square. The pattern: \(a^2 \pm 2ab + b^2 = (a \pm b)^2\). So \(4x^2 + 12x + 9 = (2x + 3)^2\) - the ends are \((2x)^2\) and \(3^2\), and the middle is \(2 \cdot 2x \cdot 3 = 12x\), exactly as required. The word exactly matters: \(4x^2 + 13x + 9\) has square ends but fails the middle test, so it is an ordinary trinomial for the AC method, not a pattern case.
Difference of cubes
Cubes follow their own patterns. For a difference, \(a^3 - b^3 = (a - b)(a^2 + ab + b^2)\): the binomial keeps the minus, and the trinomial gets all-plus signs. So \(x^3 - 27 = (x - 3)(x^2 + 3x + 9)\). Verifying by multiplication: the cross terms \(-3x^2\) and \(+3x^2\) cancel, as do \(-9x\) and \(+9x\), leaving \(x^3 - 27\). Note the trinomial \(x^2 + 3x + 9\) is itself prime - the pattern has already done all the factoring there is.
Sum of cubes
Sums of cubes do factor, unlike sums of squares: \(a^3 + b^3 = (a + b)(a^2 - ab + b^2)\). The binomial keeps the plus, and the trinomial's middle term is negative. So \(x^3 + 8 = (x + 2)(x^2 - 2x + 4)\). Checking the signs: multiplying back, \(+2x^2\) and \(-2x^2\) cancel, \(+4x\) and \(-4x\) cancel, and \(x^3 + 8\) remains. The contrast is worth memorising as a pair: squares factor only as a difference, cubes factor both ways.
Worked example: peeling a fourth power
Factor \(x^4 - 16\) completely. Both terms are squares - \(x^4 = (x^2)^2\) and \(16 = 4^2\) - so first peel: \(x^4 - 16 = (x^2 + 4)(x^2 - 4)\). The first factor is a sum of squares, prime over the reals, so it stays. The second is another difference of squares: \((x + 2)(x - 2)\). The complete factorisation is \((x^2 + 4)(x + 2)(x - 2)\). Stopping after the first peel is the classic incomplete answer - always ask whether each resulting factor can go another round.
Worked example: GCF first, then cubes
Factor \(2x^3 - 54\) completely. The GCF is 2: \(2(x^3 - 27)\). The bracket is a difference of cubes with \(b = 3\): \(2(x - 3)(x^2 + 3x + 9)\), and the trinomial is prime. Checking with \(x = 1\): the original gives \(2 - 54 = -52\), and the factored form gives \(2(-2)(1 + 3 + 9) = 2(-2)(13) = -52\). The evaluation check costs seconds and confirms both the pattern and the GCF survived intact.
Common mistakes to avoid
First, "factoring" \(x^2 + 9\) as \((x + 3)^2\) - sums of squares are prime, and the middle term is missing anyway. Second, skipping the \(2ab\) middle test on supposed perfect squares. Third, stopping a layer early: \(x^4 - 16\) is not finished at \((x^2 + 4)(x^2 - 4)\). Fourth, flipping the cube patterns' signs - difference of cubes takes an all-plus trinomial, sum of cubes takes a negative middle. Fifth, forgetting the GCF before any pattern: \(2x^3 - 54\) is not a cube pattern until the 2 comes out.
Key takeaways
Recognise shapes first and compute second. A difference of squares \(a^2 - b^2 = (a + b)(a - b)\) factors instantly; a sum of squares is prime over the reals. Perfect-square trinomials factor as \((a \pm b)^2\) when the middle term is exactly \(2ab\). Cubes factor both ways: \(a^3 - b^3 = (a - b)(a^2 + ab + b^2)\) and \(a^3 + b^3 = (a + b)(a^2 - ab + b^2)\), with prime trinomial factors. Pull the GCF first, peel every layer until nothing factors further, and verify with a quick multiplication or evaluation.
Flashcards
Flashcard
a^2 - b^2 = (a + b)(a - b)
Test your understanding
Question 1 of 5
Factor x^2 - 49.
Question 2 of 5
Factor 25x^2 - 16.
Question 3 of 5
Factor x^3 + 8.
Question 4 of 5
Which expression does NOT factor over the real numbers?
Question 5 of 5
Factor x^4 - 16 completely.
