What the formula says
(a + b)ⁿ = Σ_(k=0)^n C(n, k) · aⁿ⁻ᵏ · bᵏ, where C(n, k) = n! / (k!(n − k)!)
a and b are the two terms, n a whole number that is not negative, and k the number of the term,
from 0 to n. Σ means that the terms for every k are added up. It is a theorem: it expands any whole
power of a sum, and the square of a sum and the cube of a sum
are the cases n = 2 and n = 3.
Every term has the same shape. The exponent on a goes down from n to 0 while the exponent on b goes up from 0 to n, so they always add up to n. The coefficient C(n, k), the binomial coefficient, is the number of ways to choose k things from n.
Worked examples
(2 + 3)⁴ term by term. The coefficients for n = 4 are 1, 4, 6, 4, 1.
| k | C(4, k) | 2⁴⁻ᵏ | 3ᵏ | term |
|---|---|---|---|---|
| 0 | 1 | 16 | 1 | 16 |
| 1 | 4 | 8 | 3 | 96 |
| 2 | 6 | 4 | 9 | 216 |
| 3 | 4 | 2 | 27 | 216 |
| 4 | 1 | 1 | 81 | 81 |
The sum is 16 + 96 + 216 + 216 + 81 = 625, and 5⁴ = 625.
(x + 1)⁵ with letters. The coefficients for n = 5 are 1, 5, 10, 10, 5, 1, so (x + 1)⁵ = x⁵ + 5x⁴ + 10x³ + 10x² + 5x + 1.
A difference. (x − 2)³: put b = −2. The terms are x³ + 3x²(−2) + 3x(−2)² + (−2)³ = x³ − 6x² + 12x − 8. The signs alternate.
Common mistakes
- Writing (a + b)ⁿ = aⁿ + bⁿ. Every term in between is then missing. (2 + 3)² is 25, not 4 + 9 = 13.
- Forgetting the sign of b. In (x − 2)ⁿ, b = −2, and bᵏ is negative for odd k.
- Dropping the coefficient. The term is C(n, k) · aⁿ⁻ᵏ · bᵏ, not just aⁿ⁻ᵏ · bᵏ.
Common questions
How do you find the coefficients quickly?
With Pascal’s triangle: each number is the sum of the two above it. Row 4 is 1, 4, 6, 4, 1 and row 5 is
1, 5, 10, 10, 5, 1.
Why do combinations turn up in a power?
Because (a + b)ⁿ is n brackets multiplied together. A term with bᵏ comes from choosing b from k of the
brackets and a from the rest, and that can be done in C(n, k) ways.
How many terms does the expansion have?
n + 1, one for each k from 0 to n.