The Difference of Two Squares

20 min
0/4 practice checks

A very common pattern factorises instantly once you recognise it — the difference of two squares:

a2b2=(ab)(a+b)a^2 - b^2 = (a - b)(a + b)

Why does it work? Expand the right side: (ab)(a+b)=a2+ababb2=a2b2(a-b)(a+b) = a^2 + ab - ab - b^2 = a^2 - b^2. The middle terms cancel, leaving just the difference.

To use it, spot that both terms are perfect squares and there is a minus between them.

x29=(x3)(x+3),4x225=(2x5)(2x+5)x^2 - 9 = (x - 3)(x + 3), \qquad 4x^2 - 25 = (2x - 5)(2x + 5)

In the second, 4x2=(2x)24x^2 = (2x)^2 and 25=5225 = 5^2, so a=2xa = 2x and b=5b = 5.

Factorise x216x^2 - 16.

Factorise x249x^2 - 49. Answer in factored form, e.g. (x-7)(x+7).

Factorise 9x2259x^2 - 25. Answer in factored form, e.g. (3x-5)(3x+5).

Which expression cannot be factorised as a difference of two squares?