

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


You must write the solutions to the problems single-sided on your own lined paper, with all sheets stapled together, and with all answers written in sequential order or you will lose points.
(a) Given any seven integers, there are two that have the same remainder when divided by 6. Answer: True. When an integer is divided by 6, there are only 6 possible remainders (by the quotient-remainder theorem). We are given seven integers, so by the pigeonhole principle, there must be two integers in the set of seven that map to the same remainder. (b) Given any seven integers, there are two that have the same remainder when divided by 8. Answer: False. When an integer is divided by 8, there are 8 possible remain- ders. However, we are given seven integers, so the pigeonhole principle cannot be applied. For example, if we are given the set { 1 , 2 , 3 , 4 , 5 , 6 , 7 }, there are no two integers in the set that have the same remainder when divided by 8. (c) Let S = { 3 , 4 , 5 ,... , 12 }. Suppose six integers are chosen from S. Then two of the six integers sum to 15. Answer: True. S can be partitioned into five subsets:
{ 3 , 12 }, { 4 , 11 }, { 5 , 10 }, { 6 , 9 }, and { 7 , 8 }
each consisting of two integers whose sum is 15. If six integers are selected from S, then by the pigeonhole principle at least two must be from the same subset. But then the sum of these two integers is 15. (d) Given any six integers between 1 to 10, inclusive, two of the integers have an odd sum. Answer: The integers from 1 to 10 can be partitioned into two groups: five even integers and five odd integers. By the pigeonhole principle, if we pick six integers between 1 and 10, there must be at least one even integer and one odd integer. However, we know that the sum of an even integer and an odd integer is odd.
n(A) > 2 · n(B), by the generalized pigeonhole principle, there must be at least 2 + 1 = 3 elements in A that map to the same element in B. In other words, there must be 3 people who were born in the same month. The group can be no smaller than 25 because then the inequality would not hold.
(b) I want to gather together a group of people so that it is guaranteed that at least four share the same birthday (month and day only). How large must the group be? Don’t forget about leap years! Answer: I must have a group of at least 1099 people. Consider a function from my group of people (A) to days in the year (B). Then n(A) = 1099 and because we have to consider leap years, n(B) = 366. Since n(A) > 3 · n(B), by the generalized pigeonhole principle, there must be 3 + 1 = 4 elements in A that map to the same element in B. In other words, there must be four people who were born on the same day of the year. The group can be no smaller than 1099 because then the inequality would not hold. (c) There are 35 people in your CMSC250 lecture. You take a survey and realize that everyone’s age is between 18 and 25, inclusive. What is the maximum number of people that must all have the same age? Answer: There are 25 − 18 + 1 = 8 possible ages in the class. Consider a function from people in the class (A) to possible ages (B). Then n(A) = 35, and n(B) = 8. To apply the generalized pigeonhole principle, we want to find the largest integer k that satisfies the inequality 35 > k · 8. The largest k can be is
(d) Prove that if 9 people are seated in a row of 12 chairs, then some consecutive set of 3 chairs are filled with people. Hint: Partition the chairs into sets of consecutively filled chairs. Answer: Since 9 chairs are filled, then there are 12 − 9 = 3 empty chairs. These 3 empty chairs partition the row into 3 + 1 = 4 sets of consecutively filled chairs. Consider any function from people (A) to these groups of consecutively filled chairs (B). Then n(A) = 9 and n(B) = 4. Since n(A) > 2 · n(B), there must be 2 + 1 = 3 elements in A that map to a single element in B. That means that one of the groups of consecutively filled chairs must have a size of at least three. (e) There are 162 games in a baseball season. Last season, the Detroit Tigers lost 119 games. What is the maximum number of games they must have lost consec- utively? You may assume there were no tie games. Answer: This problem is very similar to the previous one. Since the Tigers lost 119 games, they won 162−119 = 43 games. These 43 wins partition the baseball season into 44 groups of consecutive losses. Consider a function from the set of losses (A) to to the groups of consecutively lost games (B). To apply the pigeonhole principle, we must satisfy the inequality 119 > k · 44. The maximum k can be is 2, which means the Tigers must have lost 2 + 1 = 3 games in a row sometime during the season. (In reality, there actually was a stretch where they lost eleven games in a row!)