IMO (Maths Olympiad) /Combinatorics

Basic and Strong Form of PHP

Pigeonhole Principle · free study notes

The Pigeonhole Principle (PHP)

Advanced Study Notes (MIT‑Level)
Subject: Combinatorics
Topic: Basic and Strong Form of the Pigeonhole Principle

Goal: Build a deep, rigorous understanding of the Pigeonhole Principle from first principles, explore its edge cases and generalizations, and solve a challenging problem that showcases its power.


Table of Contents

  1. Intuition & Historical Context
  2. Basic Form of the Pigeonhole Principle
    • 2.1. Formal Statement
    • 2.2. Elementary Proofs
    • 2.3. Illustrative Examples
  3. Edge Cases & Pathologies
    • 3.1. Empty / Singleton Domains
    • 3.2. Infinite Domains
    • 3.3. Dependent vs. Independent Pigeons
  4. Strong (Dirichlet’s) Form of the Pigeonhole Principle
    • 4.1. Statement & Proof (Counting Argument)
    • 4.2. Variants (Multiset, Weighted)
    • 4.3. Applications
  5. Advanced Generalizations
    • 5.1. Infinite PHP (Axiom of Choice)
    • 5.2. PHP in Graph Theory (Degree & Colourings)
    • 5.3. Probabilistic Form (Expectation Argument)
    • 5.4. PHP & Ramsey Theory
  6. Edge Cases in Advanced Contexts
    • 6.1. Non‑Uniform Pigeon Distributions
    • 6.2. Continuous Analogs (Measure Theory)
    • 6.3. Quantum & Information‑Theoretic Extensions
  7. Challenging Problem & Solution
    • 7.1. Problem Statement
    • 7.2. Hints & Intuition
    • 7.3. Full Solution
  8. References & Further Reading

<a name="1"></a>

1. Intuition & Historical Context

The pigeonhole principle is often introduced as a simple “obvious” fact: if you put more items than containers, at least one container holds two or more items. It goes back to Dirichlet (1834) and was famously used by Cantor in his diagonal argument. In combinatorics, it is a cornerstone: many seemingly unrelated problems reduce to a PHP argument.

Key Insight: The principle is not about the specific distribution of items, only the count of items versus containers. Thus it is a purely combinatorial inevitability.


<a name="2"></a>

2. Basic Form of the Pigeonhole Principle

2.1. Formal Statement

Let (A) be a finite set of pigeons with (|A| = n), and let (B) be a finite set of pigeonholes with (|B| = m). Suppose we have a function
[ f : A \to B. ] If (n > m), then there exist distinct (x, y \in A) such that (f(x) = f(y)).
Equivalently, some pigeonhole contains at least two pigeons.

2.2. Elementary Proofs

Proof 1 (Contradiction).
Assume every pigeonhole receives at most one pigeon. Then the total number of pigeons is at most (|B| = m), contradicting (|A| = n > m).

Proof 2 (Counting).
Define for each (b \in B) the preimage (f^{-1}(b)).
Since the preimages form a partition of (A), we have [ n = \sum_{b \in B} |f^{-1}(b)|. ] If each (|f^{-1}(b)| \le 1), the sum is at most (m), again a contradiction.

Proof 3 (Pigeonhole Matrix).
Represent the mapping by an (n \times m) 0‑1 matrix where entry ((i,j)) is 1 iff pigeon (i) goes to hole (j). The row sum of each row is 1, so the total number of 1’s is (n). If every column sum is at most 1, the total is at most (m), contradiction.

2.3. Illustrative Examples

  1. Birthday Paradox (simplified).
    Among 366 people, two must share a birth date (ignoring leap day).
  2. Red–Blue Strings.
    Any binary string of length 5 contains a substring of length 2 with more 0’s than 1’s.
  3. Graph Degree.
    In any graph with (n) vertices, at least one vertex has degree at most (n-1

Your note

Page 1

Doubt hai is topic me?

Free AI teacher se poocho — 24/7, step by step.