TheoremComplete

Counting Principles - Main Theorem

The Binomial Theorem is the central result connecting combinatorics with algebra, providing a powerful tool for expanding powers and deriving identities involving binomial coefficients.

DefinitionBinomial Theorem

For any real numbers xx and yy and any non-negative integer nn, (x+y)n=∑k=0n(nk)xn−kyk(x + y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^k

where (nk)=n!k!(n−k)!\binom{n}{k} = \frac{n!}{k!(n-k)!} is the binomial coefficient.

Proof (Combinatorial):

We provide a combinatorial proof by counting the terms in the expansion of (x+y)n=(x+y)(x+y)⋯(x+y)(x+y)^n = (x+y)(x+y)\cdots(x+y) (nn factors).

Each term in the expansion is obtained by choosing either xx or yy from each of the nn factors and multiplying these choices together. A term of the form xn−kykx^{n-k}y^k arises by choosing yy from exactly kk of the nn factors and xx from the remaining n−kn-k factors.

The number of ways to choose which kk factors contribute yy is (nk)\binom{n}{k}, since we are selecting kk positions from nn positions. Therefore, the coefficient of xn−kykx^{n-k}y^k is (nk)\binom{n}{k}.

Summing over all possible values of kk from 0 to nn gives: (x+y)n=∑k=0n(nk)xn−kyk(x+y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^k

Proof (Algebraic/Induction):

We prove by induction on nn.

Base case: For n=0n=0, (x+y)0=1=(00)x0y0(x+y)^0 = 1 = \binom{0}{0}x^0y^0, which is true.

Inductive step: Assume the formula holds for nn. We show it holds for n+1n+1: (x+y)n+1=(x+y)(x+y)n=(x+y)∑k=0n(nk)xn−kyk(x+y)^{n+1} = (x+y)(x+y)^n = (x+y)\sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^k

Expanding: =∑k=0n(nk)xn+1−kyk+∑k=0n(nk)xn−kyk+1= \sum_{k=0}^{n} \binom{n}{k} x^{n+1-k} y^k + \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^{k+1}

Reindexing the second sum (replacing kk with k−1k-1): =∑k=0n(nk)xn+1−kyk+∑k=1n+1(nk−1)xn+1−kyk= \sum_{k=0}^{n} \binom{n}{k} x^{n+1-k} y^k + \sum_{k=1}^{n+1} \binom{n}{k-1} x^{n+1-k} y^k

The k=0k=0 term from the first sum is (n0)xn+1=xn+1\binom{n}{0}x^{n+1} = x^{n+1}. The k=n+1k=n+1 term from the second sum is (nn)yn+1=yn+1\binom{n}{n}y^{n+1} = y^{n+1}. For 1≤k≤n1 \leq k \leq n, we use Pascal's identity: (nk)+(nk−1)=(n+1k)\binom{n}{k} + \binom{n}{k-1} = \binom{n+1}{k}

Therefore: (x+y)n+1=(n+10)xn+1+∑k=1n(n+1k)xn+1−kyk+(n+1n+1)yn+1(x+y)^{n+1} = \binom{n+1}{0}x^{n+1} + \sum_{k=1}^{n} \binom{n+1}{k} x^{n+1-k} y^k + \binom{n+1}{n+1}y^{n+1} =∑k=0n+1(n+1k)xn+1−kyk= \sum_{k=0}^{n+1} \binom{n+1}{k} x^{n+1-k} y^k

This completes the induction. □\square

Remark

The binomial theorem has numerous important corollaries. Setting x=y=1x = y = 1 gives ∑k=0n(nk)=2n\sum_{k=0}^{n} \binom{n}{k} = 2^n, the total number of subsets of an nn-element set. Setting x=1x = 1 and y=−1y = -1 gives ∑k=0n(−1)k(nk)=0\sum_{k=0}^{n} (-1)^k\binom{n}{k} = 0 for n≥1n \geq 1, showing that there are equally many subsets of even and odd size. The binomial theorem extends to negative and fractional exponents in the generalized binomial theorem, which is fundamental in generating function theory.