Login
📚 Discrete Mathematics
Chapters ▾
⇩ Download ▾

2.4 Combinatorial Proofs

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?

The first 7 rows of Pascal's Triangle. A triangular array of hexagons, each row containing one more hexagon that the row above it. In each hexagon is an integer: 1's on the border of the triangle, and every integer inside the triangle the sum of the two integers above it. The last row contains the numbers 1, 7, 21, 35, 35, 21, 7, and 1.

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:

  1. The entries on the border of the triangle are all 1.
  2. Any entry not on the border is the sum of the two entries above it.
  3. The triangle is symmetric. In any row, entries on the left side are mirrored on the right side.
  4. 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 0 ) . The next row (which we will call row 1, even though it is not the top-most row) consists of ( 1 0 ) and ( 1 1 ) . Row 4 (the row 1, 4, 6, 4, 1) consists of the binomial coefficients

( 4 0 )     ( 4 1 )     ( 4 2 )     ( 4 3 )     ( 4 4 )

.

Given this description of the elements in Pascal's triangle, we can rewrite the above observations as follows:

  1. ( n 0 ) = 1 and ( n n ) = 1 .
  2. ( n k ) = ( n 1 k 1 ) + ( n 1 k ) .
  3. ( n k ) = ( n n k ) .
  4. ( n 0 ) + ( n 1 ) + ( n 2 ) + + ( n n ) = 2 n .

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 . These proofs can be done in many ways. One option would be to give algebraic proofs, using the formula for ( n k ) :

( n k ) = n ! ( n k ) ! k !

.

Here's how you might do that for the second identity above.

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 k ) means and then say why that is also what ( n 1 k 1 ) + ( n 1 k ) means. Let's see how this works for the four identities we observed above.

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.1 For example, consider the following rather slick proof of the last identity.

Expand the binomial ( x + y ) n :

( x + y ) n = ( n 0 ) x n + ( n 1 ) x n 1 y + ( n 2 ) x n 2 y 2 + + ( n n 1 ) x y n 1 + ( n n ) y n

.

Let x = 1 and y = 1 . We get:

( 1 + 1 ) n = ( n 0 ) 1 n + ( n 1 ) 1 n 1 1 + ( n 2 ) 1 n 2 1 2 + + ( n n 1 ) 1 1 n 1 + ( n n ) 1 n

.

Of course this simplifies to:

( 2 ) n = ( n 0 ) + ( n 1 ) + ( n 2 ) + + ( n n 1 ) + ( n n )

.

Something fun to try: Let x = 1 and y = 2 . Neat huh?

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:

  1. Find a counting problem you will be able to answer in two ways.
  2. Explain why one answer to the counting problem is A .
  3. Explain why the other answer to the counting problem is B .

Since both A and B are the answers to the same question, we must have A = B .

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 10-letter 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 A-spots in ( 10 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 3 ) ways. The two C's need to go in two of the 3 remaining spots, so we have ( 3 2 ) ways of doing that. That leaves just one spot of the D, but we could write that 1 choice as ( 1 1 ) . Thus the answer is:

( 10 4 ) ( 6 3 ) ( 3 2 ) ( 1 1 )

.

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 1 ) ways. Next, choose one of the ( 9 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 3 ) ways to do this. Finally the A's can be placed in ( 4 4 ) (that is, only one) ways. So another answer to the question is

( 10 1 ) ( 9 2 ) ( 7 3 ) ( 4 4 )

.

Interesting. This gives us the binomial identity:

( 10 4 ) ( 6 3 ) ( 3 2 ) ( 1 1 ) = ( 10 1 ) ( 9 2 ) ( 7 3 ) ( 4 4 )

.

Here are a couple more binomial identities with combinatorial proofs.

Give a combinatorial proof of the identity 2 + 2 + 2 = 3 2 .

Suppose you own x fezzes and y bow ties. Of course, x and y are both greater than 1.

  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.
  2. Explain why the answer is also ( x + y 2 ) ( x 2 ) ( y 2 ) . (If this is what you claimed the answer was in part (a), try it again.)
  3. Use your answers to parts (a) and (b) to give a combinatorial proof of the identity

    ( x + y 2 ) ( x 2 ) ( y 2 ) = x y .

    .

How many triangles can you draw using the dots below as vertices?

Twelve dots arranged in a half circle. Seven dots lie on the horizontal diameter of the circle, the remaining five lie on the circumference of the circle.
  1. Find an expression for the answer which is the sum of three terms involving binomial coefficients.
  2. Find an expression for the answer which is the difference of two binomial coefficients.
  3. 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 semi-circle.

There will be 185 triangles. But to find them …

  1. How many vertices of the triangle can be on the horizontal axis?
  2. Will any three dots work as the vertices?

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 non-right triangles.

Five equally spaced dots in a vertical line and six additional equally spaced dots extending to the right in a horizontal line from the lowest dot (forming a right angle).
  1. Find the number of triangles, and explain why your answer is correct.
  2. Find the number of triangles again, using a different method. Explain why your new method works.
  3. 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.

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?

  1. What if she first selects the 6 bridesmaids, and then selects one of them to be the maid of honor?
  2. What if she first selects her maid of honor, and then 5 other bridesmaids?
  3. Explain why 6 ( 15 6 ) = 15 ( 14 5 ) .
  1. She has ( 15 6 ) ways to select the 6 bridesmaids, and then for each way, has 6 choices for the maid of honor. Thus she has ( 15 6 ) 6 choices.
  2. 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 5 ) ways. Thus she has 15 ( 14 5 ) choices.
  3. We have answered the question (how many wedding parties can the bride choose from) in two ways. The first way gives the left-hand side of the identity and the second way gives the right-hand side of the identity. Therefore the identity holds.

Consider the identity:

k ( n k ) = n ( n 1 k 1 )

.

  1. Is this true? Try it for a few values of n and k .
  2. Use the formula for ( n k ) to give an algebraic proof of the identity.
  3. Give a combinatorial proof of the identity.

Try Exercise

Give a combinatorial proof of the identity ( n 2 ) ( n 2 k 2 ) = ( n k ) ( k 2 ) .

What if you wanted a pair of co-maids-of-honor?

Consider the binomial identity

( n 1 ) + 2 ( n 2 ) + 3 ( n 3 ) + + n ( n n ) = n 2 n 1

.

  1. 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?
  2. 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?

Give a combinatorial proof for the identity 1 + 2 + 3 + + n = ( n + 1 2 ) .

Count handshakes.

Consider the bit strings in B 2 6 (bit strings of length 6 and weight 2).

  1. How many of those bit strings start with 1?
  2. How many of those bit strings start with 01?
  3. How many of those bit strings start with 001?
  4. Are there any other strings we have not counted yet? Which ones, and how many are there?
  5. How many bit strings are there total in B 2 6 ?
  6. What binomial identity have you just given a combinatorial proof for?

Let's count ternary digit strings, that is, strings in which each digit can be 0, 1, or 2.

  1. How many ternary digit strings contain exactly n digits?
  2. How many ternary digit strings contain exactly n digits and n 2's.
  3. How many ternary digit strings contain exactly n digits and n 1 2's. (Hint: where can you put the non-2 digit, and then what could it be?)
  4. How many ternary digit strings contain exactly n digits and n 2 2's. (Hint: see previous hint)
  5. How many ternary digit strings contain exactly n digits and n k 2's.
  6. How many ternary digit strings contain exactly n digits and no 2's. (Hint: what kind of a string is this?)
  7. Use the above parts to give a combinatorial proof for the identity

    ( n 0 ) + 2 ( n 1 ) + 2 2 ( n 2 ) + 2 3 ( n 3 ) + + 2 n ( n n ) = 3 n

    .

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.

Establish the identity below using a combinatorial proof.

( 2 2 ) ( n 2 ) + ( 3 2 ) ( n 1 2 ) + ( 4 2 ) ( n 2 2 ) + + ( n 2 ) ( 2 2 ) = ( n + 3 5 )

.

This one might remind you of Example

In Example we established that the sum of any row in Pascal's triangle is a power of two. Specifically,

( n 0 ) + ( n 1 ) + ( n 2 ) + + ( n n ) = 2 n

. 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.

  1. Use a question about counting subsets.
  2. Use a question about counting bit strings.
  3. 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.

Discrete Mathematics: An Open Introduction, 3rd edition, by Oscar Levin (discrete.openmathbooks.org), licensed under CC BY-SA 4.0; this adaptation is distributed under the same license. License: CC-BY-SA-4.0.