The Pigeonhole Principle is a simple yet powerful concept in combinatorics and discrete mathematics. It is used to demonstrate the existence of certain outcomes in a problem by using a basic argument about counting.
The basic form of the Pigeonhole Principle states:
If more than objects are placed into containers (or pigeonholes), then at least one container must contain more than one object.
This principle is often visualized with pigeons and pigeonholes: If you try to place more pigeons into fewer pigeonholes than there are pigeons, at least one pigeonhole must contain more than one pigeon.
If you have objects (pigeons) and containers (pigeonholes), where , then:
Formally, this can be written as:
If items are put into boxes and , then at least one box contains more than one item.
Imagine you have 10 pigeons and 9 pigeonholes. According to the pigeonhole principle, if you place all 10 pigeons into the 9 pigeonholes, at least one pigeonhole will contain more than one pigeon. Since there are more pigeons than pigeonholes, there simply isn't enough room for each pigeon to occupy its own pigeonhole.
The Birthday Problem is a famous example that uses the pigeonhole principle. The problem asks:
How many people must be in a room to ensure that at least two of them share the same birthday?
By the pigeonhole principle, if we have more than 365 people in a room, at least two people must share the same birthday. Hence, with 366 people, we are guaranteed that at least two share a birthday.
Even for a smaller number of people, the principle is useful for calculating probabilities, which is why this problem often has surprising results when calculated using probability theory.
The generalized pigeonhole principle extends the basic principle and is formulated as follows:
If objects are placed into containers, then at least one container must contain at least objects.
Here:
Suppose you have 10 objects and you are distributing them into 3 containers. The ceiling of is . Therefore, according to the generalized pigeonhole principle, at least one container must contain at least 4 objects.
The pigeonhole principle is used in various areas of mathematics, computer science, and problem-solving, including:
Proofs of Existence: It is often used to prove the existence of certain solutions without explicitly finding them. For example, proving that two numbers in a large set must have some property (like the same parity or remainder).
Combinatorics: It is used to count and estimate the minimum number of elements required to ensure a specific condition is met.
Graph Theory: It can be used to show that certain configurations (like cliques or independent sets) must exist in graphs.
Number Theory: The pigeonhole principle is often used to prove results about divisibility, congruences, or the distribution of numbers.
Scheduling and Allocation Problems: For example, when trying to assign tasks or resources to workers, the pigeonhole principle can be used to show that some workers will have to take on more than one task.
Computer Science: It is used in algorithms, particularly in proving the correctness of algorithms that involve partitioning, hashing, or sorting.
The Pigeonhole Principle is a simple but powerful tool in discrete mathematics and combinatorics. Its elegance lies in the fact that it uses very basic reasoning about counting to establish the inevitability of certain outcomes. By using this principle, we can solve a wide range of problems by making inferences about the distribution of objects in containers, often without needing to examine every possible case.
Open this section to load past papers