# Difference of Squares

## Reference > Algebra: Sums and Differences of Squares and Cubes

 DescriptionThe Difference of Squares Rule states that:$${a}^{2}-{b}^{2}=(a+b)(a-b)$$
 Examples${x}^{2}-4$1 Rewrite it in the form $${a}^{2}-{b}^{2}$$, where $$a=x$$ and $$b=2$$.${x}^{2}-{2}^{2}$2 Use Difference of Squares: $${a}^{2}-{b}^{2}=(a+b)(a-b)$$.$(x+2)(x-2)$Done(x+2)*(x-2)