Math 2.0

Combinatorics Proof

Proof of the generalized pigeonhole principle

Builds on Cardinality of a finite setRule of sum

Proof

We argue by contradiction.

  1. Let AA and BB be finite sets, let f:A→Bf : A \to B be a function, and let nn be a natural number with ∣B∣⋅n<∣A∣|B| \cdot n < |A|.
  2. For b∈Bb \in B, write Ab=f−1(b)={a∈A:f(a)=b}A_b = f^{-1}(b) = \set{a \in A : f(a) = b}. Each AbA_b is a subset of the finite set AA, so it is finite.
  3. Suppose, for a contradiction, that ∣Ab∣≤n|A_b| \le n for every b∈Bb \in B.
  4. The sets AbA_b for b∈Bb \in B are pairwise disjoint. Indeed, if a∈Ab∩Ab′a \in A_b \cap A_{b'}, then b=f(a)=b′b = f(a) = b'.
  5. Their union is AA, because each a∈Aa \in A lies in Af(a)A_{f(a)}.
  6. By the rule of sum, applied to the ∣B∣|B| pairwise disjoint finite sets AbA_b, we get ∣A∣=∑b∈B∣Ab∣|A| = \sum_{b \in B} |A_b|.
  7. By step 3, each term of this sum is at most nn, and there are ∣B∣|B| terms. So ∣A∣≤∣B∣⋅n|A| \le |B| \cdot n.
  8. This contradicts the hypothesis ∣B∣⋅n<∣A∣|B| \cdot n < |A| of step 1.
  9. Hence some b∈Bb \in B has ∣f−1(b)∣>n|f^{-1}(b)| > n, that is, its fibre has cardinality greater than nn.

Idea

The fibres of ff split AA into ∣B∣|B| disjoint pieces, so their sizes add up to ∣A∣|A|. If every piece had at most nn elements, the total would be at most ∣B∣⋅n|B| \cdot n, which is too small.

Reading path

To understand this page from the ground up, read these 25 pages in order. The foundations come first. The path takes the proof Proof of the rule of sum.

Show the path as a graph
Cardinality of a finite set, definition, no evidence levelCardinality of a fini…definitionElement, definition, no evidence levelElementdefinitionProposition, concept, no evidence levelPropositionconceptSet, definition, no evidence levelSetdefinitionConjunction, definition, no evidence levelConjunctiondefinitionImplication, definition, no evidence levelImplicationdefinitionPredicate, definition, no evidence levelPredicatedefinitionEmpty set, object, no evidence levelEmpty setobjectOrdered pair, definition, no evidence levelOrdered pairdefinitionIntersection, definition, no evidence levelIntersectiondefinitionExistential quantifier, definition, no evidence levelExistential quantifierdefinitionUniversal quantifier, definition, no evidence levelUniversal quantifierdefinitionCartesian product, definition, no evidence levelCartesian productdefinitionDisjoint sets, definition, no evidence levelDisjoint setsdefinitionSubset, definition, no evidence levelSubsetdefinitionUniqueness quantifier, definition, no evidence levelUniqueness quantifierdefinitionBinary relation, definition, no evidence levelBinary relationdefinitionFunction, definition, no evidence levelFunctiondefinitionCodomain, definition, no evidence levelCodomaindefinitionInjective function, definition, no evidence levelInjective functiondefinitionSurjective function, definition, no evidence levelSurjective functiondefinitionBijective function, definition, no evidence levelBijective functiondefinitionProof of the rule of sum, proof, no evidence levelProof of the rule of …proofRule of sum, statement, no evidence levelRule of sumstatementProof of the generalized pigeonhole principle, proof, no evidence levelProof of the generali…proof
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Cardinality of a finite set definition
  2. Element definition
  3. Proposition concept
  4. Set definition
  5. Conjunction definition
  6. Implication definition
  7. Predicate definition
  8. Empty set object
  9. Ordered pair definition
  10. Intersection definition
  11. Existential quantifier definition
  12. Universal quantifier definition
  13. Cartesian product definition
  14. Disjoint sets definition
  15. Subset definition
  16. Uniqueness quantifier definition
  17. Binary relation definition
  18. Function definition
  19. Codomain definition
  20. Injective function definition
  21. Surjective function definition
  22. Bijective function definition
  23. Proof of the rule of sum proof
  24. Rule of sum statement
  25. Proof of the generalized pigeonhole principle proof

Where this leads

2 pages build on this one.

Further reading

  1. Web https://proofwiki.org/wiki/Dirichlet's_Box_Principle
About this page
TagV64DJESEA6
URIm2://V64DJESEA6
Kindproof
WritingW0 stub
MSC05A05
ProvesGeneralized pigeonhole principle
UsesCardinality of a finite set, Rule of sum
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.