Exercise 1.21

Define { n k } as the number of ways to partition {1,2,,n} into k nonempty subsets, or the number of ways to have n students split up into k groups such that each group has at least one student. For example, { 4 2 } = 7 because we have the following possibilities.

  • {1},{2,3,4}
  • {2},{1,3,4}
  • {1,2},{3,4}
  • {3},{1,2,4}
  • {1,3},{2,4}
  • {4},{1,2,3}
  • {1,4},{2,3}

Prove the following identities:

(a)
{ n + 1 k } = { n k 1 }+k { n k }

Hint: I’m either in a group by myself or I’m not.

(b)
j=kn ( n j ) { j k } = { n + 1 k + 1 }

Hint: First decide how many people are not going to be in my group.

Answers

(a)
Case 1: If Tony is in a group by himself, then we have to break the remaining n people into k 1 groups. This can be done in { n k 1 }

ways.

Case 2: If Tony is not in a group by himself, then we first break up the remaining n people into k groups. Then, Tony can join any of them. The number of possible groups then is

k { n k }

Case 1 and 2 together count the number of ways to break up n + 1 people into k non empty groups, which is precisely what the left side of the equation counts.

(b)
Say Tony wants to have m in his group. That is to say he does not want n m people. These n m people must then be broken into k groups.

The number of people Tony wants to join his group can range from 0 to n k. The reason for the upper bound is that at least k people are required to make up the remaining k groups.

Taking the sum over the number of people in Tony’s group we get

j=0nk(n j) { n j k }

Now, instead of taking the sum over the number of people Tony wants in his group, we can equivalently take the sum over the number of people Tony does not want in his group. Hence,

j=0nk(n j) { n j k } = i=nk(n i) { i k }

Since the sum counts all possible ways to group n + 1 people into k + 1 groups, we have

i=nk(n i) { i k } = { n + 1 k + 1 }

as desired.

User profile picture
2021-12-05 00:00
Comments