Discrete MathematicsBinomial Coefficients and Pascal's Triangle3 of 4
Binomial Coefficients and Pascal's Triangle · 3

Combinatorial Proofs: Counting Two Ways

Expanding combinations into factorials often turns a simple identity into a mess of fractions that hides why the equation is actually true. Instead of doing algebra, we can prove two expressions are equal by showing that both of them count the exact same collection of objects in two different ways.

1

Counting One Set in Two Ways

We want to prove the symmetry identity for combinations without using factorials:

(nk)\displaystyle \binom{n}{\taken{k}} =(nn−k)\displaystyle = \binom{n}{\behind{n-k}}

To count without algebra, we read (nk)\binom{n}{\taken{k}} as a physical action: choosing a group of k\taken{k} items from a pool of nn items.

Counting One Set in Two Ways
Text solution
Choose who leavesFrom a group of nn people, choosing which k\taken{k} people leave for pizza can be done in
(nk) ways\displaystyle \binom{n}{\taken{k}} \text{ ways}
Choose who staysEvery group of k\taken{k} people who leave automatically leaves behind n−k\behind{n - k} people on the couch, and choosing which n−k\behind{n - k} people stay behind can be done in
(nn−k) ways\displaystyle \binom{n}{\behind{n-k}} \text{ ways}

Since deciding which k\taken{k} people leave is the exact same decision as deciding which n−k\behind{n - k} people stay, (nk)=(nn−k)\binom{n}{\taken{k}} \agree{=} \binom{n}{\behind{n-k}}.

2

Reversing the Order of Decisions

Now let's look at an identity where two factors are multiplied on each side:

k(nk)\displaystyle \singled{k}\binom{n}{\taken{k}} =n(n−1k−1)\displaystyle = \singled{n}\binom{n-1}{\taken{k-1}}

By the product rule, multiplication means we are making one choice and then a second choice. We can produce both sides of this equation by counting a k\taken{k}-person committee with one president in two different orders.

Committee first, then president
1010
(104)×4\dbinom{10}{\htmlClass{lc-pink}{4}} \times \htmlClass{lc-violet}{4}
President first, then the rest
1010
99
10×(93)\htmlClass{lc-violet}{10} \times \dbinom{9}{\htmlClass{lc-pink}{3}}
Choosing a Committee and Its President
1010
Text solution
Committee first, then presidentFrom nn people, first choose k\taken{k} people to form the committee, and then choose 1\singled{1} of those kk committee members to be president:
(nk)⋅k\displaystyle \binom{n}{\taken{k}} \cdot \singled{k} =k(nk)\displaystyle = \singled{k}\binom{n}{\taken{k}}
President first, then the rest of the committeeFrom all nn people, first choose 1\singled{1} person to be president, and then choose the remaining k−1\taken{k - 1} committee members from the remaining n−1n - 1 people:
n(n−1k−1)\displaystyle \singled{n}\binom{n-1}{\taken{k-1}}

Both sequences of choices build the exact same set of k\taken{k}-person committees with a president, so k(nk)=n(n−1k−1)\singled{k}\binom{n}{\taken{k}} \agree{=} \singled{n}\binom{n-1}{\taken{k-1}}.

3

Singling Out One Person: Pascal's Identity

Multiplication comes from doing one step after another, while addition comes from splitting a collection into separate, non-overlapping cases. We want to prove Pascal's Identity:

(nk)\displaystyle \binom{n}{\taken{k}} =(n−1k−1)+(n−1k)\displaystyle = \binom{n-1}{\taken{k-1}} + \binom{n-1}{\taken{k}}

Choosing k\taken{k} people from nn is only a single step, so to get a second count with a plus sign, we single out one specific person and split all k\taken{k}-person groups into two cases based on whether that person is included or left out.

Singling Out One Person: Pascal's Identity
88
Text solution
Choose the group all at onceSelecting any k\taken{k} people from all nn people gives
(nk)\displaystyle \binom{n}{\taken{k}}
Split by whether one specific person is in or outSingle out one person, Sam; if Sam is in the group, we choose the remaining k−1\taken{k - 1} members from the other n−1n - 1 people, and if Sam is out, we choose all k\taken{k} members from the other n−1n - 1 people:
(n−1k−1)⏟Sam is in+(n−1k)⏟Sam is out\displaystyle \underbrace{\binom{n-1}{\taken{k-1}}}_{\singled{\text{Sam}}\text{ is in}} + \underbrace{\binom{n-1}{\taken{k}}}_{\singled{\text{Sam}}\text{ is out}}

Every k\taken{k}-person group either includes Sam or leaves Sam out, so by the sum rule, (nk)=(n−1k−1)+(n−1k)\binom{n}{\taken{k}} \agree{=} \binom{n-1}{\taken{k-1}} + \binom{n-1}{\taken{k}}.

Here is how the (63)=20\binom{6}{\taken{3}} = 20 three-person groups from a pool of 66 split when we single out one person:

Singling out any one of the 6 people splits the exact same 20 three-person groups into 10 groups with that person and 10 without.
4

Counting by Size vs. Yes-or-No Choices

Instead of splitting into just two cases, a sum from k=0k = 0 to nn splits a collection into cases for every possible group size k\taken{k}. We want to prove two identities where a group can have any size:

∑k=0n(nk)=2nand∑k=1nk(nk)=n2n−1\displaystyle \begin{aligned} \sum_{k=0}^{n} \binom{n}{\taken{k}} &= 2^n \qquad \text{and} \\ \sum_{k=1}^{n} \singled{k}\binom{n}{\taken{k}} &= \singled{n}2^{n-1} \end{aligned}

Whenever a group has no fixed size, we can either count the possibilities case-by-case for each size k\taken{k}, or walk down the line of people and ask each person "yes or no?"

Counting by Size vs. Yes-or-No Choices
44
pepperonimushroomsonionspeppers
Text solution
Subsets counted by size vs. yes-or-no choicesCounting groups of size k\taken{k} from nn items and summing over all sizes k\taken{k} from 00 to nn gives ∑k=0n(nk)\sum_{k=0}^{n} \binom{n}{\taken{k}}, while making one of 22 choices (yes or no) for each of the nn items one by one gives
∑k=0n(nk)=2×2×⋯×2⏟n items\displaystyle \sum_{k=0}^{n} \binom{n}{\taken{k}} \agree{=} \underbrace{2 \times 2 \times \cdots \times 2}_{n \text{ items}} =2n\displaystyle = 2^n
Committee of any size with a president, counted by size k\taken{k}For each committee size k\taken{k} from 11 to nn, choose k\taken{k} members from nn in (nk)\binom{n}{\taken{k}} ways and pick 1\singled{1} of them as president in k\singled{k} ways, then add all sizes together:
∑k=1nk(nk)\displaystyle \sum_{k=1}^{n} \singled{k}\binom{n}{\taken{k}}
President first, then yes-or-no for everyone elsePick 1\singled{1} of the nn people to be president first in n\singled{n} ways, and then make a yes-or-no decision for each of the remaining n−1n - 1 people in 2n−12^{n-1} ways:
n2n−1\displaystyle \singled{n}2^{n-1}

Since both methods count all committees with a president, ∑k=1nk(nk)=n2n−1\sum_{k=1}^{n} \singled{k}\binom{n}{\taken{k}} \agree{=} \singled{n}2^{n-1} (and starting the sum at k=0k = 0 gives the same value because 0(n0)=0\struck{0\binom{n}{0}} = 0).

5

Shrinking Top Numbers: The Hockey Stick Identity

In the previous sums, the top number nn stayed the same in every term. Now we want to prove the Hockey Stick Identity, where the top numbers shrink one by one from nn down to rr:

∑k=rn(kr)\displaystyle \sum_{k=r}^{n} \binom{k}{\taken{r}} =(n+1r+1)\displaystyle = \binom{n+1}{\taken{r+1}}

To make the pool of available choices shrink one person at a time, we line up all n+1n + 1 people in numbered order and split the groups into cases by the highest-numbered person chosen.

Highest Number Chosen: The Hockey Stick Identity
11
1111
1122(22)\dbinom{2}{2}
1133(32)\dbinom{3}{2}11
1144(42)\dbinom{4}{2}4411
1155(52)\dbinom{5}{2}10105511
11661515202015156611
Text solution
Choose all r+1\taken{r + 1} items at onceFrom a line of n+1n + 1 items numbered 1,2,…,n+11, 2, \dots, n + 1, choosing any r+1\taken{r + 1} items gives
(n+1r+1)\displaystyle \binom{n+1}{\taken{r+1}}
Split by the highest-numbered item chosenIf item k+1\singled{k + 1} is the highest-numbered item picked (where r≤k≤nr \le k \le n), every item above k+1\singled{k + 1} is left out, and the remaining r\taken{r} items must be chosen from the kk lower-numbered items 1,2,…,k1, 2, \dots, k:
∑k=rn(kr)\displaystyle \sum_{k=r}^{n} \binom{k}{\taken{r}}

Every group of r+1\taken{r + 1} numbered items has a unique highest-numbered member, so summing over all possible highest members gives ∑k=rn(kr)=(n+1r+1)\sum_{k=r}^{n} \binom{k}{\taken{r}} \agree{=} \binom{n+1}{\taken{r+1}}.

In a line of 66 numbered people, splitting the 3\taken{3}-person groups by their highest-numbered member k\singled{k} gives each term (k−12)\binom{k-1}{\taken{2}} along a diagonal of Pascal's triangle:

Sorting the three-person groups by their highest-numbered member shrinks the remaining pool one person at a time up the diagonal of Pascal's triangle.
6

Splitting the Pool in Two: Vandermonde's Identity

Now let's look at sums where each term multiplies two combinations together. We want to prove the sum of squares identity and the more general Vandermonde's Identity:

∑k=0n(nk)2=(2nn)and∑k=0r(mk)(nr−k)=(m+nr)\displaystyle \begin{aligned} \sum_{k=0}^{n} \binom{n}{k}^2 &= \binom{2n}{\taken{n}} \qquad \text{and} \\ \sum_{k=0}^{r} \binom{m}{\taken{k}}\binom{n}{\taken{r-k}} &= \binom{m+n}{\taken{r}} \end{aligned}

When we have to invent a counting story from scratch, we start with the simpler side to see what total collection is being chosen, and use the two combinations on the other side as our clue to split the pool into two distinct groups.

Splitting the Pool in Two: Vandermonde's Identity
Prove it.\displaystyle \text{Prove it.}
∑k=0n(nk)2\displaystyle \sum_{k=0}^{n}\binom{n}{k}^2 =(2nn)\displaystyle = \binom{2n}{n}
Text solution
Choose r\taken{r} items from the combined poolIn a shelter with mm dogs and nn cats, choosing r\taken{r} animals from all m+nm + n animals without regard to species gives
(m+nr)\displaystyle \binom{m+n}{\taken{r}}
Split by how many come from the first groupTo adopt r\taken{r} animals with exactly k\taken{k} dogs (for 0≤k≤r0 \le k \le r), choose k\taken{k} of the mm dogs and r−k\taken{r - k} of the nn cats, then sum over all kk:
∑k=0r(mk)(nr−k)\displaystyle \sum_{k=0}^{r} \binom{m}{\taken{k}}\binom{n}{\taken{r-k}}
Special case (m=n=rm = n = r)When choosing n\taken{n} animals from nn dogs and nn cats, choosing n−k\taken{n - k} cats to take home is the exact same decision as choosing k\behind{k} cats to leave behind, turning (nk)(nn−k)\binom{n}{\taken{k}}\binom{n}{\taken{n-k}} into (nk)2\binom{n}{k}^2:
∑k=0n(nk)2=(2nn)\displaystyle \sum_{k=0}^{n} \binom{n}{k}^2 \agree{=} \binom{2n}{\taken{n}}

Both methods count the ways to choose r\taken{r} items from two pools of sizes mm and nn, so ∑k=0r(mk)(nr−k)=(m+nr)\sum_{k=0}^{r} \binom{m}{\taken{k}}\binom{n}{\taken{r-k}} \agree{=} \binom{m+n}{\taken{r}}.

For 33 dogs and 33 cats, swapping the 3−k\taken{3 - k} cats taken for the k\behind{k} cats left behind turns each (3k)(33−k)\binom{3}{\taken{k}}\binom{3}{\taken{3-k}} case into a (3k)2\binom{3}{k}^2 square:

When you adopt 3 animals from 3 dogs and 3 cats, choosing which cats to take automatically chooses as many cats to leave behind as dogs you took, matching every adoption to the same spot in a square grid.
7

Writing a Formal Combinatorial Proof

Thinking about pizzas or dogs and cats is a great way to find the story on scratch paper, but a test expects a clean written proof. Every formal combinatorial proof follows a four-step structure: state the set you are counting, count it the first way, count it the second way, and state that the two counts must be equal.

Writing a Formal Combinatorial Proof
Text solution
1. State the set being countedSuppose a group consists of mm juniors and nn seniors; we count the number of ways to form a committee of r\taken{r} students from this group.
2. First count (RHS)Choosing r\taken{r} students directly from the combined pool of m+nm + n students gives
(m+nr)\displaystyle \binom{m+n}{\taken{r}}
3. Second count (LHS)Splitting into disjoint cases by the number of juniors k\taken{k} on the committee (0≤k≤r0 \le k \le r), we choose k\taken{k} of the mm juniors in (mk)\binom{m}{\taken{k}} ways and the remaining r−k\taken{r - k} members from the nn seniors in (nr−k)\binom{n}{\taken{r-k}} ways; by the product and sum rules, the total number of committees is
∑k=0r(mk)(nr−k)\displaystyle \sum_{k=0}^{r} \binom{m}{\taken{k}}\binom{n}{\taken{r-k}}
4. ConclusionSince both expressions count the exact same set of committees, they are equal.

Key concepts

To build a combinatorial proof from an equation, start with the simpler side to define the collection of objects you are counting, and read the symbols on the other side as instructions for how to break the count into steps or cases:

Leaving items behind

Whenever a bottom number flips from k\taken{k} to n−k\behind{n - k}, as in (nk)=(nn−k)\binom{n}{\taken{k}} \agree{=} \binom{n}{\behind{n-k}} or rewriting (nk)(nn−k)\binom{n}{\taken{k}}\binom{n}{\taken{n-k}} as (nk)2\binom{n}{k}^2, swap choosing which items to include for choosing which items to leave out.

Multiplication ("and then")

When factors are multiplied with no plus signs, such as k(nk)=n(n−1k−1)\singled{k}\binom{n}{\taken{k}} \agree{=} \singled{n}\binom{n-1}{\taken{k-1}}, do not split into cases. Instead, count one multi-step selection in two different orders: pick the k\taken{k}-person committee first and then its leader, or pick the leader first from all nn people and then the remaining k−1\taken{k - 1} members.

Addition ("or" across disjoint cases)

Look at the top numbers inside the sum to see what distinguishes the cases:

  • If the top number drops to n−1n - 1, as in (nk)=(n−1k−1)+(n−1k)\binom{n}{\taken{k}} \agree{=} \binom{n-1}{\taken{k-1}} + \binom{n-1}{\taken{k}}, single out one specific person and split into groups with them and groups without them.
  • If the top numbers shrink down a line, as in ∑k=rn(kr)=(n+1r+1)\sum_{k=r}^{n} \binom{k}{\taken{r}} \agree{=} \binom{n+1}{\taken{r+1}}, number the n+1n + 1 items in order and split by which item is the highest number chosen.
  • If two combinations are multiplied inside a sum, as in ∑k=0r(mk)(nr−k)=(m+nr)\sum_{k=0}^{r} \binom{m}{\taken{k}}\binom{n}{\taken{r-k}} \agree{=} \binom{m+n}{\taken{r}}, split the pool into two groups of sizes mm and nn and split into cases by how many items k\taken{k} come from the first group.
  • If a sum over all sizes kk equals a power of 22, as in ∑k=0n(nk)=2n\sum_{k=0}^{n} \binom{n}{\taken{k}} \agree{=} 2^n or ∑k=1nk(nk)=n2n−1\sum_{k=1}^{n} \singled{k}\binom{n}{\taken{k}} \agree{=} \singled{n}2^{n-1}, count groups of any size first by their size k\taken{k} and then by asking "yes or no?" for each available person.
8

Practice

1

Give a combinatorial proof that for integers 0≤m≤k≤n0 \le m \le k \le n,

(nk)(km)\displaystyle \binom{n}{k}\binom{k}{m} =(nm)(n−mk−m)\displaystyle = \binom{n}{m}\binom{n-m}{k-m}

Neither side has a plus sign, so both sides count a two-step choice in different orders: after you choose an mm-person executive board directly from all nn people, how many more people do you still need to finish a kk-person committee?

We count the number of ways to choose a k\taken{k}-person committee from a group of nn people and then choose an m\singled{m}-person executive board from that committee.
First count (LHS)Choose the k\taken{k} committee members from the nn people in (nk)\binom{n}{\taken{k}} ways, and then choose m\singled{m} of those kk members to form the executive board in (km)\binom{k}{\singled{m}} ways; by the product rule, there are (nk)(km)\binom{n}{\taken{k}}\binom{k}{\singled{m}} ways.
Second count (RHS)Choose the m\singled{m} executive board members first directly from all nn people in (nm)\binom{n}{\singled{m}} ways, and then choose the remaining k−m\taken{k - m} regular committee members from the remaining n−mn - m people in (n−mk−m)\binom{n-m}{\taken{k-m}} ways (be careful not to write (n−mk)\binom{n-m}{k} here: the mm executive board members are already on the committee, so only k−mk - m committee spots remain to be filled). By the product rule, there are (nm)(n−mk−m)\binom{n}{\singled{m}}\binom{n-m}{\taken{k-m}} ways.
Since both expressions count the same set, they are equal.
2

Give a combinatorial proof that for integers 2≤k≤n−22 \le k \le n - 2,

(nk)\displaystyle \binom{n}{k} =(n−2k−2)+2(n−2k−1)+(n−2k)\displaystyle = \binom{n-2}{k-2} + 2\binom{n-2}{k-1} + \binom{n-2}{k}

Every combination on the right has n−2n - 2 on top instead of n−1n - 1: what happens when you single out two specific people instead of one?

We count the number of ways to choose a k\taken{k}-person group from nn people.
First count (LHS)By definition, there are (nk)\binom{n}{\taken{k}} ways to choose k\taken{k} people from nn.
Second count (RHS)Single out two specific people, Sam and Alex, and split all k\taken{k}-person groups into disjoint cases based on how many of the two are included. If both Sam and Alex are in the group, we choose the remaining k−2\taken{k - 2} people from the other n−2n - 2 people in (n−2k−2)\binom{n-2}{\taken{k-2}} ways. If Sam is in and Alex is out, we choose the remaining k−1\taken{k - 1} people from the other n−2n - 2 people in (n−2k−1)\binom{n-2}{\taken{k-1}} ways, and the same holds if Alex is in and Sam is out, giving 2(n−2k−1)\singled{2}\binom{n-2}{\taken{k-1}} ways (watch out for forgetting the factor of 22 by treating "one of the two is in" as a single case (n−2k−1)\binom{n-2}{k-1}). If both Sam and Alex are out, we choose all k\taken{k} people from the other n−2n - 2 people in (n−2k)\binom{n-2}{\taken{k}} ways. By the sum rule, there are (n−2k−2)+2(n−2k−1)+(n−2k)\binom{n-2}{\taken{k-2}} + \singled{2}\binom{n-2}{\taken{k-1}} + \binom{n-2}{\taken{k}} ways.
Since both expressions count the same set, they are equal.
3

Give a combinatorial proof that for n≥2n \ge 2,

∑k=2nk(k−1)(nk)\displaystyle \sum_{k=2}^{n} k(k-1)\binom{n}{k} =n(n−1)2n−2\displaystyle = n(n-1)2^{n-2}

How does replacing kk with k(k−1)k(k-1) change the "committee of any size with a president" story when two distinct leadership roles must be filled?

We count the number of ways to form a committee of at least 22 people from a club of nn people, with one committee member chosen as president and a different committee member chosen as vice president.
First count (LHS)Split into disjoint cases by the size k\taken{k} of the committee, where 2≤k≤n2 \le k \le n. For a committee of size k\taken{k}, choose the k\taken{k} members from nn in (nk)\binom{n}{\taken{k}} ways, choose 1\singled{1} of those kk members to be president in k\singled{k} ways, and choose 1\singled{1} of the remaining k−1k - 1 committee members to be vice president in k−1\singled{k - 1} ways (don't use (k2)\binom{k}{2} here, which would treat the two officers as having the same role). By the product and sum rules, there are ∑k=2nk(k−1)(nk)\sum_{k=2}^{n} \singled{k(k-1)}\binom{n}{\taken{k}} ways.
Second count (RHS)Choose the president first from all nn people in n\singled{n} ways, and then choose the vice president from the remaining n−1n - 1 people in n−1\singled{n - 1} ways. Both are automatically on the committee. For each of the remaining n−2n - 2 people, decide "yes" or "no" on whether they join the committee in 2n−22^{n-2} ways (not 2n2^n, since the 22 officers are already chosen). By the product rule, there are n(n−1)2n−2\singled{n(n-1)}2^{n-2} ways.
Since both expressions count the same set, they are equal.
4

Give a combinatorial proof that for n≥3n \ge 3,

∑k=1n(k−1)(n−k)\displaystyle \sum_{k=1}^{n} (k-1)(n-k) =(n3)\displaystyle = \binom{n}{3}

Line up nn people numbered 11 through nn: instead of splitting 33-person groups by their highest-numbered member, what happens if you split them by their middle-numbered member kk?

Line up nn people numbered 1,2,…,n1, 2, \dots, n in order. We count the number of ways to choose a group of 3\taken{3} people from this line.
First count (RHS)By definition, there are (n3)\binom{n}{\taken{3}} ways to choose 3\taken{3} people out of nn.
Second count (LHS)Every 3\taken{3}-person group has a unique middle-numbered person k\singled{k}, where 1≤k≤n1 \le k \le n. For a fixed k\singled{k} to be the middle number, we must choose 1\taken{1} person from the k−1k - 1 people numbered 11 through k−1k - 1 in k−1k - 1 ways (be careful not to include person kk and count kk choices here) and 1\taken{1} person from the n−kn - k people numbered k+1k + 1 through nn in n−kn - k ways; for k=1k = 1 and k=nk = n, no such group exists and (k−1)(n−k)=0\struck{(k-1)(n-k)} = 0. By the product and sum rules, there are ∑k=1n(k−1)(n−k)\sum_{k=1}^{n} (k-1)(n-k) ways.
Since both expressions count the same set, they are equal.
5

Give a combinatorial proof that for n≥1n \ge 1,

∑k=1nk(nk)2\displaystyle \sum_{k=1}^{n} k\binom{n}{k}^2 =n(2n−1n−1)\displaystyle = n\binom{2n-1}{n-1}

Combine two stories: split a club of 2n2n students into nn juniors and nn seniors to form an nn-person committee, and require the committee president to be a junior.

Suppose a club consists of nn juniors and nn seniors (2n2n students in total). We count the number of ways to form an n\taken{n}-person committee whose president is a junior.
First count (RHS)Choose the junior president first from the nn juniors in n\singled{n} ways, and then choose the remaining n−1\taken{n - 1} committee members from the remaining 2n−12n - 1 students in (2n−1n−1)\binom{2n-1}{\taken{n-1}} ways (watch out for writing (2nn−1)\binom{2n}{n-1} by forgetting that the president has already been chosen from the 2n2n students); by the product rule, there are n(2n−1n−1)\singled{n}\binom{2n-1}{\taken{n-1}} ways.
Second count (LHS)Split into disjoint cases by the number of juniors k\taken{k} on the committee, where 1≤k≤n1 \le k \le n. Choose k\taken{k} juniors from the nn juniors in (nk)\binom{n}{\taken{k}} ways, and then choose 1\singled{1} of those kk juniors to be president in k\singled{k} ways. To reach n\taken{n} committee members in total, we must include n−k\taken{n - k} seniors, which is the same decision as choosing k\behind{k} of the nn seniors to leave off the committee, in (nk)\binom{n}{\behind{k}} ways. By the product and sum rules, there are ∑k=1nk(nk)2\sum_{k=1}^{n} \singled{k}\binom{n}{k}^2 ways.
Since both expressions count the same set, they are equal.