Click on the links to each formula's individual web page, so that you get to see an example of how it works, forwards and backwards.
Difference of two squares:
a2 - b2 = (a + b)(a - b)Square of a sum:
(a + b)2 = a2 + b2 + 2abSquare of a difference:
(a - b)2 = a2 + b2 - 2abSum of cubes:
a3 + b3 = (a + b)(a2 - ab + b2)Difference of cubes:
a3 - b3 = (a - b)(a2 + ab + b2)Cube of a sum:
(a + b)3 = a3 + b3 + 3ab(a + b)Cube of a difference:
(a - b)3 = a3 - b3 - 3ab(a - b)