1.2.4 problem 22

(a)
Let us count the number of games in a round-robin tournament with participants in two ways.

Method 1: Since every player plays against all other players exactly once, the problem reduces to finding the number of ways to pair up people. There are ways to do so.

Method 2: The first player participates in games. The second one also participates in games, but we have already counted the game against the first player, so we only care about games. The third player also participates in games, but we have already counted the games against the first and second players, so we only care about games.

In general, player will participate in games that we care about. Taking the sum over we get

Since both methods count the same thing, they are equal.

An Alternative Approach The RHS expression counts number of ways to pair two people from a group of people of different ages. Let’s say the eldest person in the subgroup of two is also the eldest person in the whole group. Then, we would have people to choose from as the second person of the sub group. If subgroup’s eldest is the second-eldest in the whole group, we’d have people to choose from, and so on all the way to . By adding these cases, we get the LHS expression which covers all possibilities of pairing two people from group of , and hence is equivalent to RHS.

(b)
LHS: If is chosen first, then the subsequent numbers can be any of . These numbers are chosen with replacement resulting in possibilities. Summing over possible values of we get total number of possibilities.

RHS: We can count the number of permutations of the numbers chosen with replacement from a different perspective. The numbers can either all be distinct, or all be the same, or differ in exactly value.

Case 1: All numbers are distinct.

Selecting (don’t forget the very first, largest selected number) distinct numbers can be done in ways. The smaller numbers are free to permute amongst themselves. This gives us a total of possibilities.

Case 2: All numbers are the same.

In this case, we have to select digits. The smaller digit will be sampled times and there are no ways to permute identical numbers, so the number of possiblities is .

Case 3: Two of the numbers are distinct.

In this case, we have to select digits in total. One of the smaller digits will be sampled twice, giving us permutations. Since, there are choices for which digit gets sampled twice, we get a total of permutations. The total number of possibilities then is .

Adding up the number of possibilities in each of the cases we get a total of

possibilities.

Since the LHS and the RHS count the same set, they are equal.