How to factor the difference of two squares
If both terms in a subtraction are squares, there’s a short way to factor the expression. Let’s write each term as a square first, then see where the two factors come from.
Write the two terms as squares
When we can write the expression as , one factor uses the sum of and and the other uses their difference. If we multiply the factors, the two middle terms cancel.
Factor when the squared term has a coefficient
For , write as and as . Now we can use and .
To check, multiply the factors. The terms and cancel, leaving .
Factor a binomial with one variable
For , the two squared expressions are and . Use the same two expressions in both factors.
Factor a difference of squares with several variables
In , squaring gives the first term, and squaring gives the second. Put those entire expressions into the sum and the difference.