Pigeonhole and Inclusion-Exclusion - Key Properties
The pigeonhole principle and inclusion-exclusion principle have numerous sophisticated applications that extend far beyond their basic formulations. Understanding these extensions enables us to tackle complex problems in combinatorics, number theory, and graph theory.
If objects are distributed among boxes, then for some (where ), the -th box contains at least objects.
When , this reduces to: if objects are placed in boxes, at least one box contains at least objects.
This strengthening of the pigeonhole principle provides more precise control over the distribution of objects and is particularly useful in optimization problems.
Among any 101 integers, there exist two whose difference is divisible by 100.
Proof: Consider the remainders when each integer is divided by 100. There are only 100 possible remainders (0 through 99). By the pigeonhole principle, among 101 integers, at least two must have the same remainder modulo 100. The difference between these two integers is divisible by 100.
The pigeonhole principle is the simplest case of Ramsey theory, which studies conditions under which order must appear. For example, in any group of 6 people, either 3 are mutual friends or 3 are mutual strangers. This is denoted in Ramsey notation.
The number of surjective (onto) functions from a set of size to a set of size is:
where is a Stirling number of the second kind. Using inclusion-exclusion, this can also be computed as:
This formula counts functions where every element in the codomain has at least one preimage, using inclusion-exclusion to subtract functions that miss elements.
The number of permutations of objects where no object is in its original position is:
This is derived using inclusion-exclusion: let be the set of permutations where object is in position . We want , which equals , and we apply inclusion-exclusion to the union.
The inclusion-exclusion principle extends to probability theory through the formula:
This probabilistic version is known as Bonferroni's inequality when truncated at various terms, providing both upper and lower bounds for the probability of a union of events. The connection between combinatorics and probability through inclusion-exclusion is fundamental to probabilistic method in discrete mathematics.
These advanced applications demonstrate how simple principles can yield powerful results across diverse mathematical domains.