Definition
The pigeonhole principle is also known as the pigeonhole principle (the pigeonhole principle).
It is often used to prove existence and to find solutions in the worst case.
Simple case
If objects are divided into groups, then at least one group contains two or more objects.
This theorem appears quite obvious. A proof by contradiction can be considered: if each group contained at most object, there would be at most objects, but in fact there are objects, a contradiction.
Generalization
If objects are divided into groups, then at least one group contains at least objects.
The generalized form can also be proved by contradiction: if every group contained fewer than objects, then their total would be a contradiction.
In addition, the partition can be weakened to a cover without changing the conclusion.
Given a set , let a family of nonempty subsets of be .
- If holds, it is called a cover of (cover).
- If a cover also satisfies , it is called a partition of .
The pigeonhole principle can be stated as follows: for a cover of , at least one set satisfies .
References
- Wikipedia: Pigeonhole principle
- Discrete Mathematics and Its Applications: Chapter 6, Section 1