Section 1.4 Combinatorial Proofs
¶Investigate!

The Stanley Cup is decided in a best of 7 tournament between two teams. In how many ways can your team win? Let's answer this question two ways:
How many of the 7 games does your team need to win? How many ways can this happen?
What if the tournament goes all 7 games? So you win the last game. How many ways can the first 6 games go down?
What if the tournament goes just 6 games? How many ways can this happen? What about 5 games? 4 games?
What are the two different ways to compute the number of ways your team can win? Write down an equation involving binomial coefficients (that is, \({n \choose k}\)'s). What pattern in Pascal's triangle is this an example of?
Generalize. What if the rules changed and you played a best of \(9\) tournament (5 wins required)? What if you played an \(n\) game tournament with \(k\) wins required to be named champion?
Subsection Patterns in Pascal's Triangle
¶Have a look again at Pascal's triangle. Forget for a moment where it comes from. Just look at it as a mathematical object. What do you notice?
There are lots of patterns hidden away in the triangle, enough to fill a reasonably sized book. Here are just a few of the most obvious ones:
The entries on the border of the triangle are all 1.
Any entry not on the border is the sum of the two entries above it.
The triangle is symmetric. In any row, entries on the left side are mirrored on the right side.
The sum of all entries on a given row is a power of 2. (You should check this!)
We would like to state these observations in a more precise way, and then prove that they are correct. Now each entry in Pascal's triangle is in fact a binomial coefficient. The 1 on the very top of the triangle is \({0 \choose 0}\text{.}\) The next row (which we will call row 1, even though it is not the topmost row) consists of \({1 \choose 0}\) and \({1 \choose 1}\text{.}\) Row 4 (the row 1, 4, 6, 4, 1) consists of the binomial coefficients
Given this description of the elements in Pascal's triangle, we can rewrite the above observations as follows:
 \({n \choose 0} = 1\) and \({n \choose n} = 1\text{.}\)
 \({n \choose k} = {n1 \choose k1} + {n1 \choose k}\text{.}\)
 \({n \choose k} = {n \choose nk}\text{.}\)
 \({n\choose 0} + {n \choose 1} + {n \choose 2} + \cdots + {n \choose n} = 2^n\text{.}\)
Each of these is an example of a binomial identity : an identity (i.e., equation) involving binomial coefficients.
Our goal is to establish these identities. We wish to prove that they hold for all values of \(n\) and \(k\text{.}\) These proofs can be done in many ways. One option would be to give algebraic proofs, using the formula for \({n \choose k}\text{:}\)
Here's how you might do that for the second identity above.
Example 1.4.1.
Give an algebraic proof for the binomial identity
Proof.
By the definition of \({n \choose k}\text{,}\) we have
and
Thus, starting with the righthand side of the equation:
The second line (where the common denominator is found) works because \(k(k1)! = k!\) and \((nk)(nk1)! = (nk)!\text{.}\)
This is certainly a valid proof, but also is entirely useless. Even if you understand the proof perfectly, it does not tell you why the identity is true. A better approach would be to explain what \({n \choose k}\) means and then say why that is also what \({n1 \choose k1} + {n1 \choose k}\) means. Let's see how this works for the four identities we observed above.
Example 1.4.2.
Explain why \({n \choose 0} = 1\) and \({n \choose n} = 1\text{.}\)
What do these binomial coefficients tell us? Well, \({n \choose 0}\) gives the number of ways to select 0 objects from a collection of \(n\) objects. There is only one way to do this, namely to not select any of the objects. Thus \({n \choose 0} = 1\text{.}\) Similarly, \({n \choose n}\) gives the number of ways to select \(n\) objects from a collection of \(n\) objects. There is only one way to do this: select all \(n\) objects. Thus \({n \choose n} = 1\text{.}\)
Alternatively, we know that \({n \choose 0}\) is the number of \(n\)bit strings with weight 0. There is only one such string, the string of all 0's. So \({n \choose 0} = 1\text{.}\) Similarly \({n \choose n}\) is the number of \(n\)bit strings with weight \(n\text{.}\) There is only one string with this property, the string of all 1's.
Another way: \({n \choose 0}\) gives the number of subsets of a set of size \(n\) containing 0 elements. There is only one such subset, the empty set. \({n \choose n}\) gives the number of subsets containing \(n\) elements. The only such subset is the original set (of all elements).
Example 1.4.3.
Explain why \({n \choose k} = {n1 \choose k1} + {n1 \choose k}\text{.}\)
The easiest way to see this is to consider bit strings. \({n \choose k}\) is the number of bit strings of length \(n\) containing \(k\) 1's. Of all of these strings, some start with a 1 and the rest start with a 0. First consider all the bit strings which start with a 1. After the 1, there must be \(n1\) more bits (to get the total length up to \(n\)) and exactly \(k1\) of them must be 1's (as we already have one, and we need \(k\) total). How many strings are there like that? There are exactly \({n1 \choose k1}\) such bit strings, so of all the length \(n\) bit strings containing \(k\) 1's, \({n1 \choose k1}\) of them start with a 1. Similarly, there are \({n1\choose k}\) which start with a 0 (we still need \(n1\) bits and now \(k\) of them must be 1's). Since there are \({n1 \choose k}\) bit strings containing \(n1\) bits with \(k\) 1's, that is the number of length \(n\) bit strings with \(k\) 1's which start with a 0. Therefore \({n \choose k} = {n1\choose k1} + {n1 \choose k}\text{.}\)
Another way: consider the question, how many ways can you select \(k\) pizza toppings from a menu containing \(n\) choices? One way to do this is just \({n \choose k}\text{.}\) Another way to answer the same question is to first decide whether or not you want anchovies. If you do want anchovies, you still need to pick \(k1\) toppings, now from just \(n1\) choices. That can be done in \({n1 \choose k1}\) ways. If you do not want anchovies, then you still need to select \(k\) toppings from \(n1\) choices (the anchovies are out). You can do that in \({n1 \choose k}\) ways. Since the choices with anchovies are disjoint from the choices without anchovies, the total choices are \({n1 \choose k1}+{n1 \choose k}\text{.}\) But wait. We answered the same question in two different ways, so the two answers must be the same. Thus \({n \choose k} = {n1\choose k1} + {n1 \choose k}\text{.}\)
You can also explain (prove) this identity by counting subsets, or even lattice paths.
Example 1.4.4.
Prove the binomial identity \({n \choose k} = {n \choose nk}\text{.}\)
Why is this true? \({n \choose k}\) counts the number of ways to select \(k\) things from \(n\) choices. On the other hand, \({n \choose nk}\) counts the number of ways to select \(nk\) things from \(n\) choices. Are these really the same? Well, what if instead of selecting the \(nk\) things you choose to exclude them. How many ways are there to choose \(nk\) things to exclude from \(n\) choices. Clearly this is \({n \choose nk}\) as well (it doesn't matter whether you include or exclude the things once you have chosen them). And if you exclude \(nk\) things, then you are including the other \(k\) things. So the set of outcomes should be the same.
Let's try the pizza counting example like we did above. How many ways are there to pick \(k\) toppings from a list of \(n\) choices? On the one hand, the answer is simply \({n \choose k}\text{.}\) Alternatively, you could make a list of all the toppings you don't want. To end up with a pizza containing exactly \(k\) toppings, you need to pick \(nk\) toppings to not put on the pizza. You have \({n \choose nk}\) choices for the toppings you don't want. Both of these ways give you a pizza with \(k\) toppings, in fact all the ways to get a pizza with \(k\) toppings. Thus these two answers must be the same: \({n \choose k} = {n \choose nk}\text{.}\)
You can also prove (explain) this identity using bit strings, subsets, or lattice paths. The bit string argument is nice: \({n \choose k}\) counts the number of bit strings of length \(n\) with \(k\) 1's. This is also the number of bit string of length \(n\) with \(k\) 0's (just replace each 1 with a 0 and each 0 with a 1). But if a string of length \(n\) has \(k\) 0's, it must have \(nk\) 1's. And there are exactly \({n\choose nk}\) strings of length \(n\) with \(nk\) 1's.
Example 1.4.5.
Prove the binomial identity \({n\choose 0} + {n \choose 1} + {n\choose 2} + \cdots + {n \choose n} = 2^n\text{.}\)
Let's do a “pizza proof” again. We need to find a question about pizza toppings which has \(2^n\) as the answer. How about this: If a pizza joint offers \(n\) toppings, how many pizzas can you build using any number of toppings from no toppings to all toppings, using each topping at most once?
On one hand, the answer is \(2^n\text{.}\) For each topping you can say “yes” or “no,” so you have two choices for each topping.
On the other hand, divide the possible pizzas into disjoint groups: the pizzas with no toppings, the pizzas with one topping, the pizzas with two toppings, etc. If we want no toppings, there is only one pizza like that (the empty pizza, if you will) but it would be better to think of that number as \({n \choose 0}\) since we choose 0 of the \(n\) toppings. How many pizzas have 1 topping? We need to choose 1 of the \(n\) toppings, so \({n \choose 1}\text{.}\) We have:
 Pizzas with 0 toppings: \({n \choose 0}\)
 Pizzas with 1 topping: \({n \choose 1}\)
 Pizzas with 2 toppings: \({n \choose 2}\)
 \(\vdots\)
 Pizzas with \(n\) toppings: \({n \choose n}\text{.}\)
The total number of possible pizzas will be the sum of these, which is exactly the lefthand side of the identity we are trying to prove.
Again, we could have proved the identity using subsets, bit strings, or lattice paths (although the lattice path argument is a little tricky).
Hopefully this gives some idea of how explanatory proofs of binomial identities can go. It is worth pointing out that more traditional proofs can also be beautiful.^{ 2 }Most every binomial identity can be proved using mathematical induction, using the recursive definition for \({n \choose k}\text{.}\) We will discuss induction in Section 2.5. For example, consider the following rather slick proof of the last identity.
Expand the binomial \((x+y)^n\text{:}\)
Let \(x = 1\) and \(y = 1\text{.}\) We get:
Of course this simplifies to:
Something fun to try: Let \(x = 1\) and \(y = 2\text{.}\) Neat huh?
Subsection More Proofs
¶The explanatory proofs given in the above examples are typically called combinatorial proofs. In general, to give a combinatorial proof for a binomial identity, say \(A = B\) you do the following:
Find a counting problem you will be able to answer in two ways.
Explain why one answer to the counting problem is \(A\text{.}\)
Explain why the other answer to the counting problem is \(B\text{.}\)
Since both \(A\) and \(B\) are the answers to the same question, we must have \(A = B\text{.}\)
The tricky thing is coming up with the question. This is not always obvious, but it gets easier the more counting problems you solve. You will start to recognize types of answers as the answers to types of questions. More often what will happen is you will be solving a counting problem and happen to think up two different ways of finding the answer. Now you have a binomial identity and the proof is right there. The proof is the problem you just solved together with your two solutions.
For example, consider this counting question:
How many 10letter words use exactly four A's, three B's, two C's and one D?
Let's try to solve this problem. We have 10 spots for letters to go. Four of those need to be A's. We can pick the four Aspots in \({10 \choose 4}\) ways. Now where can we put the B's? Well there are only 6 spots left, we need to pick \(3\) of them. This can be done in \({6 \choose 3}\) ways. The two C's need to go in two of the 3 remaining spots, so we have \({3 \choose 2}\) ways of doing that. That leaves just one spot of the D, but we could write that 1 choice as \({1 \choose 1}\text{.}\) Thus the answer is:
But why stop there? We can find the answer another way too. First let's decide where to put the one D: we have 10 spots, we need to choose 1 of them, so this can be done in \({10 \choose 1}\) ways. Next, choose one of the \({9 \choose 2}\) ways to place the two C's. We now have \(7\) spots left, and three of them need to be filled with B's. There are \({7 \choose 3}\) ways to do this. Finally the A's can be placed in \({4 \choose 4}\) (that is, only one) ways. So another answer to the question is
Interesting. This gives us the binomial identity:
Here are a couple more binomial identities with combinatorial proofs.
Example 1.4.6.
Prove the identity
To give a combinatorial proof we need to think up a question we can answer in two ways: one way needs to give the lefthandside of the identity, the other way needs to be the righthandside of the identity. Our clue to what question to ask comes from the righthand side: \({n+2 \choose 3}\) counts the number of ways to select 3 things from a group of \(n+2\) things. Let's name those things \(1, 2, 3, \ldots, n+2\text{.}\) In other words, we want to find 3element subsets of those numbers (since order should not matter, subsets are exactly the right thing to think about). We will have to be a bit clever to explain why the lefthandside also gives the number of these subsets. Here's the proof.
Proof.
Consider the question “How many 3element subsets are there of the set \(\{1,2,3,\ldots, n+2\}\text{?}\)” We answer this in two ways:
Answer 1: We must select 3 elements from the collection of \(n+2\) elements. This can be done in \({n+2 \choose 3}\) ways.
Answer 2: Break this problem up into cases by what the middle number in the subset is. Say each subset is \(\{a,b,c\}\) written in increasing order. We count the number of subsets for each distinct value of \(b\text{.}\) The smallest possible value of \(b\) is \(2\text{,}\) and the largest is \(n+1\text{.}\)
When \(b = 2\text{,}\) there are \(1 \cdot n\) subsets: 1 choice for \(a\) and \(n\) choices (3 through \(n+2\)) for \(c\text{.}\)
When \(b = 3\text{,}\) there are \(2 \cdot (n1)\) subsets: 2 choices for \(a\) and \(n1\) choices for \(c\text{.}\)
When \(b = 4\text{,}\) there are \(3 \cdot (n2)\) subsets: 3 choices for \(a\) and \(n2\) choices for \(c\text{.}\)
And so on. When \(b = n+1\text{,}\) there are \(n\) choices for \(a\) and only 1 choice for \(c\text{,}\) so \(n \cdot 1\) subsets.
Therefore the total number of subsets is
Since Answer 1 and Answer 2 are answers to the same question, they must be equal. Therefore
Example 1.4.7.
Prove the binomial identity
We will give two different proofs of this fact. The first will be very similar to the previous example (counting subsets). The second proof is a little slicker, using lattice paths.
Proof.
Consider the question: “How many pizzas can you make using \(n\) toppings when there are \(2n\) toppings to choose from?”
Answer 1: There are \(2n\) toppings, from which you must choose \(n\text{.}\) This can be done in \({2n \choose n}\) ways.
Answer 2: Divide the toppings into two groups of \(n\) toppings (perhaps \(n\) meats and \(n\) veggies). Any choice of \(n\) toppings must include some number from the first group and some number from the second group. Consider each possible number of meat toppings separately:
0 meats: \({n \choose 0}{n \choose n}\text{,}\) since you need to choose 0 of the \(n\) meats and \(n\) of the \(n\) veggies.
1 meat: \({n \choose 1}{n \choose n1}\text{,}\) since you need 1 of \(n\) meats so \(n1\) of \(n\) veggies.
2 meats: \({n \choose 2}{n \choose n2}\text{.}\) Choose 2 meats and the remaining \(n2\) toppings from the \(n\) veggies.
And so on. The last case is \(n\) meats, which can be done in \({n \choose n}{n \choose 0}\) ways.
Thus the total number of pizzas possible is
This is not quite the lefthand side … yet. Notice that \({n \choose n} = {n \choose 0}\) and \({n \choose n1} = {n \choose 1}\) and so on, by the identity in Example 1.4.4. Thus we do indeed get
Since these two answers are answers to the same question, they must be equal, and thus
For an alternative proof, we use lattice paths. This is reasonable to consider because the righthand side of the identity reminds us of the number of paths from \((0,0)\) to \((n,n)\text{.}\)
Proof.
Consider the question: How many lattice paths are there from \((0,0)\) to \((n,n)\text{?}\)
Answer 1: We must travel \(2n\) steps, and \(n\) of them must be in the up direction. Thus there are \({2n \choose n}\) paths.
Answer 2: Note that any path from \((0,0)\) to \((n,n)\) must cross the line \(x + y = n\text{.}\) That is, any path must pass through exactly one of the points: \((0,n)\text{,}\) \((1,n1)\text{,}\) \((2,n2)\text{,}\) …, \((n, 0)\text{.}\) For example, this is what happens in the case \(n = 4\text{:}\)
How many paths pass through \((0,n)\text{?}\) To get to that point, you must travel \(n\) units, and \(0\) of them are to the right, so there are \({n \choose 0}\) ways to get to \((0,n)\text{.}\) From \((0,n)\) to \((n,n)\) takes \(n\) steps, and \(0\) of them are up. So there are \({n \choose 0}\) ways to get from \((0,n)\) to \((n,n)\text{.}\) Therefore there are \({n \choose 0}{n \choose 0}\) paths from \((0,0)\) to \((n,n)\) through the point \((0,n)\text{.}\)
What about through \((1,n1)\text{.}\) There are \({n \choose 1}\) paths to get there (\(n\) steps, 1 to the right) and \({n \choose 1}\) paths to complete the journey to \((n,n)\) (\(n\) steps, \(1\) up). So there are \({n \choose 1}{n \choose 1}\) paths from \((0,0)\) to \((n,n)\) through \((1,n1)\text{.}\)
In general, to get to \((n,n)\) through the point \((k,nk)\) we have \({n \choose k}\) paths to the midpoint and then \({n \choose k}\) paths from the midpoint to \((n,n)\text{.}\) So there are \({n \choose k}{n \choose k}\) paths from \((0,0)\) to \((n,n)\) through \((k, nk)\text{.}\)
All together then the total paths from \((0,0)\) to \((n,n)\) passing through exactly one of these midpoints is
Since these two answers are answers to the same question, they must be equal, and thus
Exercises Exercises
¶1.
Give a combinatorial proof of the identity \(2+2+2 = 3\cdot 2\text{.}\)
Proof.
Question: How many 2letter words start with a, b, or c and end with either y or z?
Answer 1: There are two words that start with a, two that start with b, two that start with c, for a total of \(2+2+2\text{.}\)
Answer 2: There are three choices for the first letter and two choices for the second letter, for a total of \(3 \cdot 2\text{.}\)
Since the two answers are both answers to the same question, they are equal. Thus \(2 + 2 + 2 = 3\cdot 2\text{.}\)
2.
Suppose you own \(x\) fezzes and \(y\) bow ties. Of course, \(x\) and \(y\) are both greater than 1.
How many combinations of fez and bow tie can you make? You can wear only one fez and one bow tie at a time. Explain.
Explain why the answer is also \({x+y \choose 2}  {x \choose 2}  {y \choose 2}\text{.}\) (If this is what you claimed the answer was in part (a), try it again.)

Use your answers to parts (a) and (b) to give a combinatorial proof of the identity
\begin{equation*} {x+y \choose 2}  {x \choose 2}  {y \choose 2} = xy.\text{.} \end{equation*}
3.
How many triangles can you draw using the dots below as vertices?
Find an expression for the answer which is the sum of three terms involving binomial coefficients.
Find an expression for the answer which is the difference of two binomial coefficients.
Generalize the above to state and prove a binomial identity using a combinatorial proof. Say you have \(x\) points on the horizontal axis and \(y\) points in the semicircle.
There will be 185 triangles. But to find them …
How many vertices of the triangle can be on the horizontal axis?
Will any three dots work as the vertices?
4.
Consider all the triangles you can create using the points shown below as vertices. Note, we are not allowing degenerate triangles (ones with all three vertices on the same line) but we do allow nonright triangles.
Find the number of triangles, and explain why your answer is correct.
Find the number of triangles again, using a different method. Explain why your new method works.
State a binomial identity that your two answers above establish (that is, give the binomial identity that your two answers a proof for). Then generalize this using \(m\)'s and \(n\)'s.
The answer is 120.
5.
A woman is getting married. She has 15 best friends but can only select 6 of them to be her bridesmaids, one of which needs to be her maid of honor. How many ways can she do this?
What if she first selects the 6 bridesmaids, and then selects one of them to be the maid of honor?
What if she first selects her maid of honor, and then 5 other bridesmaids?
Explain why \(6 {15 \choose 6} = 15 {14 \choose 5}\text{.}\)
She has \({15 \choose 6}\) ways to select the 6 bridesmaids, and then for each way, has 6 choices for the maid of honor. Thus she has \({15 \choose 6}6\) choices.
She has 15 choices for who will be her maid of honor. Then she needs to select 5 of the remaining 14 friends to be bridesmaids, which she can do in \({14 \choose 5}\) ways. Thus she has \(15 {14 \choose 5}\) choices.
We have answered the question (how many wedding parties can the bride choose from) in two ways. The first way gives the lefthand side of the identity and the second way gives the righthand side of the identity. Therefore the identity holds.
6.
Consider the identity:
Is this true? Try it for a few values of \(n\) and \(k\text{.}\)
Use the formula for \({n \choose k}\) to give an algebraic proof of the identity.
Give a combinatorial proof of the identity.
7.
Give a combinatorial proof of the identity \({n \choose 2}{n2 \choose k2} = {n\choose k}{k \choose 2}\text{.}\)
What if you wanted a pair of comaidsofhonor?
Proof.
Question: You have a large container filled with pingpong balls, all with a different number on them. You must select \(k\) of the balls, putting two of them in a jar and the others in a box. How many ways can you do this?
Answer 1: First select 2 of the \(n\) balls to put in the jar. Then select \(k2\) of the remaining \(n2\) balls to put in the box. The first task can be completed in \({n \choose 2}\) different ways, the second task in \({n2 \choose k2}\) ways. Thus there are \({n \choose 2}{n2 \choose k2}\) ways to select the balls.
Answer 2: First select \(k\) balls from the \(n\) in the container. Then pick 2 of the \(k\) balls you picked to put in the jar, placing the remaining \(k2\) in the box. The first task can be completed in \({n \choose k}\) ways, the second task in \({k \choose 2}\) ways. Thus there are \({n \choose k}{k \choose 2}\) ways to select the balls.
Since both answers count the same thing, they must be equal and the identity is established.
8.
Consider the binomial identity
Give a combinatorial proof of this identity. Hint: What if some number of a group of \(n\) people wanted to go to an escape room, and among those going, one needed to be the team captain?
Give an alternate proof by multiplying out \((1+x)^n\) and taking derivatives of both sides.
For the combinatorial proof: what if you don't yet know how many bridesmaids you will have?
9.
Give a combinatorial proof for the identity \(1 + 2 + 3 + \cdots + n = {n+1 \choose 2}\text{.}\)
Count handshakes.
10.
Consider the bit strings in \(\B^6_2\) (bit strings of length 6 and weight 2).
How many of those bit strings start with 1?
How many of those bit strings start with 01?
How many of those bit strings start with 001?
Are there any other strings we have not counted yet? Which ones, and how many are there?
How many bit strings are there total in \(\B^6_2\text{?}\)
What binomial identity have you just given a combinatorial proof for?
11.
Let's count ternary digit strings, that is, strings in which each digit can be 0, 1, or 2.
How many ternary digit strings contain exactly \(n\) digits?
How many ternary digit strings contain exactly \(n\) digits and \(n\) 2's.
How many ternary digit strings contain exactly \(n\) digits and \(n1\) 2's. (Hint: where can you put the non2 digit, and then what could it be?)
How many ternary digit strings contain exactly \(n\) digits and \(n2\) 2's. (Hint: see previous hint)
How many ternary digit strings contain exactly \(n\) digits and \(nk\) 2's.
How many ternary digit strings contain exactly \(n\) digits and no 2's. (Hint: what kind of a string is this?)

Use the above parts to give a combinatorial proof for the identity
\begin{equation*} {n \choose 0} + 2{n \choose 1} + 2^2{n \choose 2} + 2^3{n \choose 3} + \cdots + 2^n{n \choose n} = 3^n\text{.} \end{equation*}
12.
How many ways are there to rearrange the letters in the word “rearrange”? Answer this question in at least two different ways to establish a binomial identity.
13.
Establish the identity below using a combinatorial proof.
This one might remind you of Example 1.4.6
14.
In Example 1.4.5 we established that the sum of any row in Pascal's triangle is a power of two. Specifically,
The argument given there used the counting question, “how many pizzas can you build using any number of \(n\) different toppings?” To practice, give new proofs of this identity using different questions.
Use a question about counting subsets.
Use a question about counting bit strings.
Use a question about counting lattice paths.
For the lattice paths, think about what sort of paths \(2^n\) would count. Not all the paths will end at the same point, but you could describe the set of end points as a line.