Welcome back! In our last lesson, we introduced the Pigeonhole Principle as a tool for proving existence. We saw that if you have more "pigeons" than "pigeonholes," at least two pigeons must share a hole. This simple idea allowed us to solve problems by cleverly defining our items and categories.
Today, we will strengthen this principle to answer more specific quantitative questions. Instead of just proving that at least two items share a property, we will learn how to prove that at least three, four, or even more items must do so. This is the Generalized Pigeonhole Principle, a more powerful version that is essential for tackling the advanced Olympiad-style problems you're aiming for.
From "At Least Two" to "At Least How Many?"
The basic Pigeonhole Principle is a special case of a more general rule. What if we have many more pigeons than pigeonholes? It seems intuitive that some holes must be very crowded. The Generalized Pigeonhole Principle (GPHP) makes this idea precise.
The Generalized Pigeonhole Principle: If you place objects (pigeons) into boxes (pigeonholes), then there is at least one box containing at least objects.
The symbol is the ceiling function, which means "round up to the nearest integer." For example, and .
Let's watch a short video that introduces this formula and demonstrates it with a clear example.
Discrete Math II - 6.2.1 The Pigeonhole Principle
This video by Kimberly Brehm provides a clear definition of the Generalized Pigeonhole Principle and its formula.
First, watch the section that introduces the formal statement involving the ceiling function, \lceil N/k \rceil. Then, continue with the straightforward example about birth months to see it in action.
As the video showed, if you have 50 people () and 12 months (), at least one month must have people's birthdays. The basic principle only guaranteed 2!
A Deeper View: The Principle of Averages
The GPHP is deeply connected to the concept of averages. Thinking about it this way often provides a more profound insight, especially in complex problems.
If you have pigeons in holes, the average number of pigeons per hole is simply . It's a fundamental statistical truth that in any set of numbers, at least one number must be greater than or equal to the average, and at least one must be less than or equal to the average.
Since the number of pigeons in a hole must be an integer, if the average is , there must be at least one hole with at least pigeons.
The following reading formalizes this powerful connection.
The Pigeonhole Principle, Variants and Applications
This document from Squarespace offers a powerful perspective on the principle by relating it to the arithmetic mean.
Please read the section titled Mean Pigeons. Focus on how Theorem 3.2 about averages implies the Generalized Pigeonhole Principle. This connection is a key tool for developing your problem-solving intuition.
Common Application: Working Backwards
A frequent task in combinatorics is to determine the minimum number of items needed to guarantee a certain outcome. For instance, "What is the minimum number of students required to ensure at least 3 get the same grade?" This involves using the GPHP in reverse.
The logic is to consider the "worst-case scenario" — the situation just before the guarantee is met. If we want to guarantee items in one of boxes, the worst case is that every box contains items. This accounts for items. The very next item we add, the -th item, has nowhere to go but into a box that already has items, thus satisfying our condition.
So, the minimum number of pigeons needed to guarantee at least pigeons in one of holes is .
Let's see this logic applied to a concrete problem.
Discrete Math II - 6.2.1 The Pigeonhole Principle
The same video we watched earlier explains this "working backwards" logic very well.
Watch the segment explaining the problem about student grades. Pay close attention to the reasoning: to guarantee 3 students get the same grade, you first consider the "worst-case scenario" where each of the 5 grade categories has 2 students, and then you add one more.
Practice Problems
Now it's your turn to apply the Generalized Pigeonhole Principle. Remember to first identify the pigeons and the pigeonholes.
-
Remainders: Among any 100 integers, prove that there are at least 3 that have the same remainder when divided by 37. What is the exact minimum number guaranteed by the GPHP?
-
Geometric Dots (Revisited): In the previous lesson, you proved that if 5 points are placed in an equilateral triangle of side length 1, two points are within unit of each other. Now, let's try a problem that requires the generalized principle.
- Problem: 17 points are placed arbitrarily inside a 4x4 square. Prove that there must be two points whose distance is at most .
- Hint: How can you divide the 4x4 square into identical smaller regions (pigeonholes) such that the maximum distance between any two points within a single region is ?
If you get stuck on the geometric problem, the following video segment solves a very similar problem. The logic of dividing the area into pigeonholes is key.
PIGEONHOLE PRINCIPLE - DISCRETE MATHEMATICS
This segment from a TrevTutor video can help guide your thinking.
Watch how the presenter sets up a geometric problem by dividing an 8x8 square into 16 smaller squares, starting from this point. Then see how the GPHP is applied to find the minimum number of dots required in the solution. You can adapt this exact method for your problem.
-
Olympiad Challenge: Ten students solved a total of 35 problems in a math competition. Each problem was solved by exactly one student. We know that at least one student solved exactly 1 problem, at least one student solved exactly 2 problems, and at least one student solved exactly 3 problems. Prove that there is also at least one student who has solved at least 5 problems.
- Hint: This is a classic "average principle" problem. Consider the students whose problem counts are not specified. How many problems are left for them to solve?
If you need a further hint, the resource below contains the problem statement and a starting point.
Lecture 10: Pigeon Hole Principle Contents
This Olympiad-level problem uses the average principle.
Look at Problem 10.3.5. You don't need to read the full solution, just the problem statement and the accompanying hint to guide your thinking.
Conclusion
In this lesson, we have extended the basic Pigeonhole Principle into a more powerful quantitative tool. By understanding the formula and its connection to averages, you can now prove much stronger claims about distributions—a critical skill for advanced combinatorics.
Key Takeaways:
- The Generalized Pigeonhole Principle (GPHP) states that if items are placed into boxes, at least one box must contain at least items.
- The GPHP can be understood as a consequence of the principle of averages: at least one category must contain a number of items greater than or equal to the average.
- A common problem type involves "working backwards" to find the minimum number of items, , needed to guarantee items in one of categories. The formula is .
In our next lesson, we will continue our exploration of the Pigeonhole Principle, focusing specifically on its many beautiful and surprising applications within number theory, building on the comfort you already have with concepts like divisibility and remainders.