(a+b)n=∑k=0n(kn)an−kbk
Each term: a binomial coefficient (kn), a decreasing power of a, an increasing power of b.
Pascal’s triangle (up to n=5)
11112113311464115101051
Each number = sum of the two above. Row n gives the (kn) for k=0,…,n.
Example: (x+2)4
Row 4 coefficients: 1,4,6,4,1.
(x+2)4=x4+4⋅x3⋅2+6⋅x2⋅4+4⋅x⋅8+16
=x4+8x3+24x2+32x+16
Well-known special cases
- n=2: (a+b)2=a2+2ab+b2
- n=3: (a+b)3=a3+3a2b+3ab2+b3
The final check
Verify your result with a=b=1: sum of coefficients should be 2n. For n=4: 1+4+6+4+1=16=24 ✓.
The sign trick
For (a−b)n, alternate signs: +,−,+,−,….
(x−1)3=x3−3x2+3x−1.
?Your turn
What is the coefficient of x²y³ in (x + y)⁵?