The Difference of Two Squares — Cheat sheet

Choose “Save as PDF” in the print dialog.
On this page

Key method

A2−B2=(A−B)(A+B).A^2-B^2=(A-B)(A+B).

Identify both squares explicitly before substituting. This identity is valid for real or complex values.

Example

For 9x2−259x^2-25, use A=3xA=3x and B=5B=5 to obtain (3x−5)(3x+5)(3x-5)(3x+5). For (x+2)2−9(x+2)^2-9, use A=x+2A=x+2 and B=3B=3:

(x+2−3)(x+2+3)=(x−1)(x+5).(x+2-3)(x+2+3)=(x-1)(x+5).

This avoids an unnecessary expansion.

Avoid this mistake

The sum A2+B2A^2+B^2 does not equal (A+B)(A−B)(A+B)(A-B). Over the reals, x2+1x^2+1 has no linear factors.