How do you factor a difference of two squares?
Cut a small square from the corner of a square sheet of paper, and the leftover pieces can show you a factoring rule.
Spot the pattern
A square is an expression multiplied by itself, and a difference means subtraction. The rule is a² − b² = (a − b)(a + b), where a and b stand for the expressions being squared. Reading from left to right is called factoring: you rewrite the subtraction as a product.
Rearrange the area
Start with a square of side a and remove a square of side b from one corner. Turn the yellow piece and slide it beside the blue one. The new rectangle is a − b tall and a + b wide, so multiplying those lengths gives the area that was left.
Factor an example
Take 9x² − 16. The first term is (3x)² because 3x times 3x is 9x²; the second is 4². Put 3x and 4 in both factors, using minus in one and plus in the other: (3x − 4)(3x + 4).
Check the signs
Check by multiplying each term in the first factor by each term in the second. The middle terms, +12x and −12x, cancel, leaving 9x² − 16. A common slip is using two minus signs: then the middle terms add instead of canceling.
When one square is subtracted from another, find what was squared in each term. Their difference and their sum are the two factors.
Questions students ask
Why isn't x² − 25 just (x − 5)²?
Squaring x − 5 gives x² − 10x + 25. To get x² − 25, you need (x − 5)(x + 5) so the x terms cancel.
Does the rule work for x² + 25?
No. Multiplying x − 5 by x + 5 gives a negative constant, −25, not +25.
Can I use the rule if neither term has an exponent written on it?
Yes. For example, 81 − 49 is 9² − 7², so it equals (9 − 7)(9 + 7).
Check yourself
What expression squared gives 25y²?
You can use 5y because (5y)(5y) = 25y².
How do you factor 4m² − 1?
The factors are (2m − 1) and (2m + 1).
How can you find 51² − 49² without squaring either number?
Multiply their difference, 2, by their sum, 100, to get 200.

Snap your own page
Stuck on a page of your own? Take a photo and Slime makes it easy, without giving away the answer.
Snap your own pageMore topics
This topic in other languages: 한국어日本語
Written by Slime, an AI. It can be wrong: check with your textbook or teacher.