Toolkit 20

Binomial Theorem

(a+b)n=(n0)an+(n1)an1b+(n2)an2b2++(nn)bn(a+b)^n=\binom{n}{0}a^n+\binom{n}{1}a^{n-1}b+\binom{n}{2}a^{n-2}b^2+\cdots+\binom{n}{n}b^n

Proof

Write

(a+b)n=(a+b)(a+b)(a+b)n factors.(a+b)^n = \underbrace{(a+b)(a+b)\cdots(a+b)}_{n\text{ factors}}.

To obtain a term ankbka^{n-k}b^k, we must choose bb from exactly kk of the nn factors and choose aa from the remaining nkn-k factors.

There are

(nk)\binom{n}{k}

ways to choose the kk factors that contribute bb. Therefore, the coefficient of ankbka^{n-k}b^k is (nk)\binom{n}{k}.

Hence,

(a+b)n=(n0)an+(n1)an1b+(n2)an2b2++(nn)bn.(a+b)^n = \binom{n}{0}a^n+\binom{n}{1}a^{n-1}b+\binom{n}{2}a^{n-2}b^2+\cdots+\binom{n}{n}b^n. \quad\square