Pigeonhole Principle
Updated 2026-08-15
Summary
If more objects are placed into fewer containers, at least one container must hold two or more, which proves existence without identifying the instance.
Definition
The pigeonhole principle states that placing n+1 objects into n containers guarantees that at least one container holds two or more. It appears in Dirichlet's work on diophantine approximation and is sometimes named after him. Its core claim is that a counting comparison alone can establish that some coincidence must occur, without constructing it. The qualification is that the conclusion is purely existential and usually gives no information about which container or which pair. Generalized forms compare objects against container capacity rather than merely container count.
Introduction
How to use
- Count both sides: compare the number of objects with the number of available containers. - Prove existence: when objects exceed containers, assert a collision instead of hunting for it. - Pick containers well: choose a partition coarse enough that the count comparison works.
Mechanism
Each object must occupy exactly one container, so the total number of objects is the sum of the container counts. If every container held at most one, that sum could not exceed the number of containers, which contradicts the premise that objects outnumber containers. The argument needs no construction because the contradiction is arithmetic rather than search-based. This is why the principle is cheap, and also why it is silent on which container overflows: it consumes all information about the objects except how many there are.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- Among any thirteen people, at least two share a birth month, because twelve months act as the containers.
- Hash functions must produce collisions once the number of distinct keys exceeds the number of hash buckets.
Common pitfalls
- Assuming the number of containers must equal the number of natural categories, which blocks coarser partitions that would work.
- Treating the existential result as constructive and expecting it to name the colliding pair.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Pigeonhole_principleverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS