A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Pigeonhole Principle and Its Applications

College Depth 75 in the knowledge graph ☐ I know this ☆ Set as goal
30topics build on this
357prerequisites beneath it
See this on the map →
The Pigeonhole Principle→→Counting Fundamentals and the Multiplication Principle
pigeonhole existence-proofs counting-argument

Core Idea

The pigeonhole principle: if n items go into m < n containers, some container has at least ⌈n/m⌉ items. This simple principle proves existence without constructive proof: often something must happen by counting alone.

How It's Best Learned

Apply it to show that among any 13 people, two share a birth month. Generalized versions handle more complex scenarios. Practice translating real problems into pigeonhole form.

Common Misconceptions

The principle guarantees existence but not uniqueness or constructibility. It's a proof technique, not a counting formula.

Explainer

You already know the Pigeonhole Principle in its basic form: if you stuff n pigeons into m holes with n > m, at least one hole must contain more than one pigeon. What makes this principle powerful in practice is not the original statement — that's almost too obvious to be interesting — but the art of *identifying what the pigeons and holes are* in a given problem. That translation step is where the mathematical creativity lives.

The classic warm-up: among any 13 people, at least two must share a birth month. Here the "pigeons" are people and the "holes" are months (12 of them). With 13 people and only 12 months, the principle guarantees a collision. But the same structure shows up in far less obvious settings: among any 5 points placed inside a unit square, two must be within distance √2/2 of each other (divide the square into 4 smaller squares); among any sequence of n²+1 distinct real numbers, there must be either an increasing or decreasing subsequence of length n+1 (Erdős–Szekeres theorem). In each case, the proof doesn't construct the pair — it just shows by counting that they *must* exist.

The generalized pigeonhole principle sharpens the basic claim: if n items go into m containers, some container holds at least ⌈n/m⌉ items (the ceiling of n/m). With 100 students assigned to 12 months, at least one month has ⌈100/12⌉ = 9 students. This lets you make quantitative existence claims, not just qualitative ones. Many pigeonhole arguments in combinatorics and number theory use this to guarantee large repetitions or collisions within structured sets.

A key conceptual shift here: you have moved beyond *constructive* proofs, which show you exactly where the thing you're looking for is, into *existence* proofs, which show something must be there without telling you where. The pigeonhole principle is the simplest example of this style of argument. It proves existence by contradiction — assuming no hole has two pigeons leads immediately to a count contradiction. This non-constructive flavor recurs throughout discrete mathematics: Ramsey theory, the probabilistic method, and many results in combinatorics all prove things exist without building them explicitly.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Set Operations: Union, Intersection, and Complement → Proof by Cases → Proving by Cases and Exhaustion → Vacuous Truth and Trivial Cases → Proof by Cases (Proof by Exhaustion) → Mathematical Induction → The Pigeonhole Principle → Pigeonhole Principle and Its Applications

Longest path: 76 steps · 357 total prerequisite topics

Prerequisites (1)

Leads To (1)