Recitation Guide - Week 2
Recitation Guide - Week 2
Recitation Guide - Week 2
1
Problem 2: There are 100 people. You want to divide them into 10 teams of 10 people each.
How many possible ways are there to make the teams?
Solution:
Method 1: Using Permutations
We can put the people into a line, and say that the first 10 people are one team, the second 10
people another, and so on. We can order them in 100! ways. However, within each team, the
ordering of the people does not matter. So for each team we have overcounted by a factor of 10!.
In addition, the ordering of the teams does not matter, so we have overcounted by another factor
of 10! (we implicitly order the teams when we say “the first 10” and so forth). Thus the answer
follows:
100!
(10!)11
But these answers don’t look the same! Clearly, they’re counting the same quantity, so they should
be the same - can you figure out what’s going wrong here?
2
Problem 3:
Yonah’s 9 cousins are arguing. Yonah has asked them to stand in a line so they can get presents
(from youngest to oldest). However, the cousins refused to be defined by age and are arguing about
their position in the line. Yonah has just realized that if fewer than 7 cousins are arranged in
consecutively increasing age, his cousins will stop arguing (if the line is in consecutively decreasing
age, no one will argue, since older cousins can bully the younger ones into silence). How many ways
can Yonah arrange his cousins in a line so they will not argue?
In other words, given numbers 1 to 9, how many permutations of the numbers do not have at least
7 consecutively increasing numbers?
Solution:
We solve this problem with complementary counting. First, the total number of permutations
without restrictions are 9!. Now we need to subtract from that number the permutations which
give at least 7 consecutively increasing numbers. Note that any sequence of consecutive numbers
can only begin from the first, second or third position. Therefore, there are three sets we need to
consider:
C1 = The set of sequences with at least 7 consecutive numbers beginning from the first position in
line.
C2 = The set of sequences with at least 7 consecutive numbers beginning from the second position
in line.
C3 = The set of sequences with at least 7 consecutive numbers beginning from the third position
in line.
The number of sequences that can not be included is then represented by |C1 ∪ C2 ∪ C3 |. By the
principle of inclusion-exclusion (PIE), we can compute this as
3
Step 1: Pick the first number. This can be done in two ways, as the first number can
only be 1 or 2.
Step 2: Pick the numbers 2-8. Because the sequence is consecutively increasing from
1-7 and from 2-8, there is only one way to do this.
Step 3: Pick the last number. There is only one number remaining, so this can be done
in one way.
Thus, |C1 ∩ C2 | = 2. Similarly, we have |C2 ∩ C3 | = 2.
For |C1 ∩ C3 |, note that this can only be the sequence 1, 2, 3, . . . , 9.
The same is true for |C1 ∩ C2 ∩ C3 |
Putting this all together, we get the following expression:
Finally we can deduct this number from the total number of permutations without restrictions,
making the answer
9! − 14