The difference of two squares is a special factorisation pattern in which one perfect square is subtracted from another. Its core identity, , works because the middle terms cancel when the brackets are expanded. Recognising this pattern allows expressions to be factorised quickly, often after rewriting terms as squares or taking out a common factor first, and it connects closely to expansion, quadratic factorisation, and algebraic simplification.
Difference of two squares: