Infinite pigeonhole principle Created 2026-09-24 Updated 2026-10-14
The infinite pigeonhole principle says that if an infinite set has a partition of a set into finitely many parts, at least one part is an infinite set. Equivalently, assigning infinitely many objects to a finite number of boxes forces some box to contain infinitely many objects. For example, separating the natural numbers into their two residue classes modulo forces at least one class to be an infinite set; here both are, as the lists and show.
Proof outline. A union of finitely many finite sets is a finite set. If all the parts were finite sets, their union could not be the original infinite set.
The assumption of finitely many parts is essential. With one box labelled by each natural number, assigning to box puts exactly one object in every box. Infinitely many objects and infinitely many boxes therefore need not produce even a shared box. The infinite pigeonhole principle is useful whenever finitely many labels organize an endless collection: one label must keep occurring infinitely often, providing an infinite set on which that label is constant.
Use . First recall the Ramsey theorem for r-sets in its infinite form: every finite colouring of the -element subsets of an infinite countable set has an infinite homogeneous subset. Here is a proof, so the combinatorial input is explicit.
For , this is the infinite pigeonhole principle. Suppose it holds for . Given a colouring of -sets, choose a first point . Colour the -sets in the remaining tail by adjoining , and use the induction hypothesis to obtain an infinite tail on which that colouring is constant, with colour . Choose from that tail and repeat, always thinning the unused tail. This produces increasing , nested infinite reservoirs containing all later selected points, and colours such that every -set of selected points whose least point is has colour . Infinitely many are equal. Keeping the corresponding points gives an infinite homogeneous subset. This is a successive thinning proof of the infinite Ramsey theorem.
Now let be the given finite colouring of positive integers. Colour each unordered pair , with , by . Apply the proved theorem with , and enumerate its homogeneous set increasingly as . Then
for one fixed colour . This proves the requested monochromatic pattern without requiring the themselves to have that colour.
Write and let be the given finite coloring of the edges of the complete graph on the positive integers. Construct an increasing sequence and nested infinite sets as follows. Set . Having chosen , take , partition by the color of , and use the infinite pigeonhole principle to choose an infinite set on which this color is constant, say . Every element of exceeds .
The infinite pigeonhole principle applied again to gives an infinite set of indices and a color such that for all . For in , nesting gives , so . Thus the infinite set is a monochromatic complete graph:
This proves the required infinite case of Ramsey's theorem; finiteness of the color set is used at both applications of the infinite pigeonhole principle.
Ramsey's theorem for -sets says that every finite coloring of has an infinite monochromatic set. We prove it by mathematical induction on . The case is the infinite pigeonhole principle. Suppose the result holds for , and let . Choose , then use the induction hypothesis on the coloring to obtain an infinite set on which this color is constant, say . Inductively choose
so that for every . Some color occurs for infinitely many . If are the corresponding indices, every -set from has color : take its least-indexed element , after which its other elements lie in . This proves the theorem.
For finitely coloured -element subsets, choose successive least points and use the inductive -set theorem to thin the remaining reservoir after each choice. Every tuple with that least point then has one assigned colour. The infinite pigeonhole principle retains infinitely many least points with the same assigned colour, giving an infinite homogeneous set. The base case is the same pigeonhole principle. This proves the Ramsey theorem for r-sets for all finite .