In the special products lesson you learned three patterns for multiplying. Read backward, those same patterns are factoring shortcuts. Once you can recognize a difference of squares or a perfect square trinomial on sight, you can factor it in one step, with no factor pairs to list.
Difference of two squares
Recall that (a+b)(a−b)=a2−b2. Reversed:
a2−b2=(a+b)(a−b).
To use it, you need a binomial with two perfect squares and a minus sign between them. Perfect squares to recognize include 1,4,9,16,25,36,49,64,81,100,…, as well as even powers of variables like x2, x4 and y6 (because x4=(x2)2).
Worked example: Differences of squares
Factor x2−49 and 9a2−25b2.
x2−49=x2−72, so
x2−49=(x+7)(x−7).
9a2=(3a)2 and 25b2=(5b)2, so
9a2−25b2=(3a+5b)(3a−5b).
Common mistake
A sum of two squares, like x2+49, does not factor using real numbers. Try it: (x+7)(x+7)=x2+14x+49 and (x+7)(x−7)=x2−49. Neither gives x2+49. Only the difference of squares follows the pattern.
Perfect square trinomials
The other two special products, read backward, are
a2+2ab+b2=(a+b)2a2−2ab+b2=(a−b)2.
A trinomial is a perfect square trinomial when:
the first and last terms are perfect squares, a2 and b2, and both are positive;
the middle term is 2ab or −2ab.
For x2+12x+36: x2=(x)2, 36=62, and 2⋅x⋅6=12x. ✓ So x2+12x+36=(x+6)2.
For x2+13x+36: the ends are still perfect squares, but 13x=12x, so it is not a perfect square trinomial. (It happens to factor as (x+4)(x+9) by the usual method.)