The Timpson Lyceum seal

The Timpson Lyceum · Discrete Math (2025)

Binomial Coefficients and the Binomial Theorem - Lecture 9 (Discrete Math)

Overview

This lecture connects two ideas that look unrelated at first: the coefficients you get when you expand a binomial like (x+y)n(x+y)^n, and the number of ways to choose a subset of a given size from a set. We start by expanding small powers of x+yx+y by hand, notice the coefficient pattern in Pascal's triangle, and then introduce the "choose" notation (nk)\binom{n}{k} for counting kk-element subsets of an nn-element set. We develop special cases and a general formula for (nk)\binom{n}{k}, prove the symmetry and Pascal identities, and finally state the Binomial Theorem. The payoff is that you can read off any single coefficient of an expansion — even something huge like (x+y)17(x+y)^{17} — without multiplying everything out.

Key Concepts

Binomial. An expression with exactly two terms, e.g. x+yx+y. Raising it to a power and collecting like terms produces a sum whose numerical multipliers are the binomial coefficients.

Small expansions. Multiplying out and collecting like terms gives a pattern where the exponent on xx counts down while the exponent on yy counts up:

Pascal's triangle. Start with a single 11 (imagine zeros stretching off to both sides). Each entry in the next row is the sum of the two entries diagonally above it. Row nn (starting at n=0n=0) lists the coefficients of (x+y)n(x+y)^n: 1;1 1;1 2 1;1 3 3 1;1 4 6 4 1;1 5 10 10 5 1; …1;\quad 1\ 1;\quad 1\ 2\ 1;\quad 1\ 3\ 3\ 1;\quad 1\ 4\ 6\ 4\ 1;\quad 1\ 5\ 10\ 10\ 5\ 1;\ \dots The triangle is symmetric down its center.

Choose notation. For natural numbers n,kn,k (i.e. 0,1,2,…0,1,2,\dots), (nk)\binom{n}{k} (read "nn choose kk") is the number of kk-element subsets of an nn-element set — equivalently, the number of ways to choose kk things out of nn options. Order does not matter: choosing 3 of 10 people is the same as forming a 3-element subset.

Special cases. For any nn:

General formula. Choosing an ordered list of kk elements gives n(n−1)(n−2)⋯(n−k+1)n(n-1)(n-2)\cdots(n-k+1) possibilities; dividing by k!k! to ignore order yields (nk)=n(n−1)(n−2)⋯(n−k+1)k!=n!(n−k)! k!.\binom{n}{k} = \frac{n(n-1)(n-2)\cdots(n-k+1)}{k!} = \frac{n!}{(n-k)!\,k!}. Note the last factor in the falling product ends at n−k+1n-k+1, not n−kn-k.

Symmetry identity. (nk)=(nn−k)\binom{n}{k} = \binom{n}{n-k}. Choosing kk to include is the same as choosing the n−kn-k to leave behind; taking complements pairs the kk-subsets one-to-one with the (n−k)(n-k)-subsets.

Pascal's identity. (nk)=(n−1k−1)+(n−1k)\binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k}. Fix one special element: subsets either contain it (choose the remaining k−1k-1 from the other n−1n-1) or do not (choose all kk from the other n−1n-1). Summing these disjoint cases counts every kk-subset, which is exactly why each entry of Pascal's triangle is the sum of the two above it.

The connection to coefficients. Expanding (x+y)n(x+y)^n without collecting terms produces one term per subset of an nn-element set: read each factor as "xx = leave the element out, yy = include it." A term with kk copies of yy corresponds to a kk-element subset, so after collecting like terms the coefficient of xn−kykx^{n-k}y^k is exactly the number of kk-element subsets, (nk)\binom{n}{k}.

Binomial Theorem. (x+y)n=∑k=0n(nk) xn−kyk.(x+y)^n = \sum_{k=0}^{n} \binom{n}{k}\, x^{n-k} y^{k}.

Worked Example

Find the coefficient of x10y7x^{10}y^{7} in the expansion of (x+y)17(x+y)^{17}.

By the Binomial Theorem the coefficient of xn−kykx^{n-k}y^{k} is (nk)\binom{n}{k}. Here the exponent on yy is k=7k=7 (and n−k=10n-k=10 confirms n=17n=17), so the coefficient is (177)\binom{17}{7}:

(nk)=n!(n−k)! k!(177)=17!(17−7)!  7!=17!10!  7!.\begin{aligned} \binom{n}{k} &= \frac{n!}{(n-k)!\,k!} \\ \binom{17}{7} &= \frac{17!}{(17-7)!\,\,7!} = \frac{17!}{10!\,\,7!}. \end{aligned}

Leaving the answer in this factored form is perfectly acceptable — it shows exactly how the count was built.

Summary