The table below collects every identity from this page in one place. Use it as a reference card — for each pattern, the table shows the canonical form and the contexts where the identity does the most work.
| Family |
Identity |
Where it's used |
| Square of a sum |
(a + b)² = a² + 2ab + b² |
completing the square, perfect square trinomials |
| Square of a difference |
(a − b)² = a² − 2ab + b² |
completing the square, expansions |
| Difference of squares |
a² − b² = (a + b)(a − b) |
factoring, rationalizing denominators |
| Cube of a sum |
(a + b)³ = a³ + 3a²b + 3ab² + b³ |
cubic expansions, depressed cubics |
| Cube of a difference |
(a − b)³ = a³ − 3a²b + 3ab² − b³ |
cubic expansions, depressed cubics |
| Sum of cubes |
a³ + b³ = (a + b)(a² − ab + b²) |
factoring cubics |
| Difference of cubes |
a³ − b³ = (a − b)(a² + ab + b²) |
factoring cubics |
| Binomial theorem |
(a + b)ⁿ = Σ C(n,k) aⁿ⁻ᵏ bᵏ |
general expansions of any degree |
| Square of a trinomial |
(a + b + c)² = a² + b² + c² + 2ab + 2ac + 2bc |
three-variable expansions |
| aⁿ − bⁿ |
(a − b)(aⁿ⁻¹ + aⁿ⁻²b + ⋯ + bⁿ⁻¹) |
factoring any degree, (a − b) always divides |
| aⁿ + bⁿ (odd n) |
(a + b)(aⁿ⁻¹ − aⁿ⁻²b + ⋯ + bⁿ⁻¹) |
factoring odd-degree sums only |
| Sophie Germain |
a⁴ + 4b⁴ = (a² + 2ab + 2b²)(a² − 2ab + 2b²) |
specialty factoring |
| Sum of squares (over ℂ) |
a² + b² = (a + bi)(a − bi) |
complex number factoring |