HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the pigeonhole principle states that if items are put into containers, with , then at least one container must contain more than one item. For example, if one has three gloves (and none is ambidextrous/reversible), then there must be at least two right-handed gloves, or at least two left-handed gloves, because there are three objects, but only two categories of handedness to put them into. This seemingly obvious statement, a type of counting argument, can be used to demonstrate possibly unexpected results. For example, given that the population of London is greater than the maximum number of hairs that can be present on a human's head, then the pigeonhole principle requires that there must be at least two people in London who have the same number of hairs on their heads. Although the pigeonhole principle appears as early as 1624 in a book attributed to
Jean Leurechon Jean Leurechon (c. 1591 – 17 January 1670) was a French Jesuit priest, astronomer, and mathematician, known for inventing the pigeonhole principle and naming the thermometer. Life Leurechon was born in Bar-le-Duc where his father, also named J ...
, it is commonly called Dirichlet's box principle or Dirichlet's drawer principle after an 1834 treatment of the principle by
Peter Gustav Lejeune Dirichlet Johann Peter Gustav Lejeune Dirichlet (; 13 February 1805 – 5 May 1859) was a German mathematician who made deep contributions to number theory (including creating the field of analytic number theory), and to the theory of Fourier series and ...
under the name ("drawer principle" or "shelf principle"). The principle has several generalizations and can be stated in various ways. In a more quantified version: for
natural number In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country"). Numbers used for counting are called '' cardinal ...
s and , if objects are distributed among sets, then the pigeonhole principle asserts that at least one of the sets will contain at least objects. For arbitrary and , this generalizes to k + 1 = \lfloor(n - 1)/m \rfloor + 1 = \lceil n/m\rceil, where \lfloor\cdots\rfloor and \lceil\cdots\rceil denote the
floor A floor is the bottom surface of a room or vehicle. Floors vary from simple dirt in a cave to many layered surfaces made with modern technology. Floors may be stone, wood, bamboo, metal or any other material that can support the expected load ...
and
ceiling function In mathematics and computer science, the floor function is the function that takes as input a real number , and gives as output the greatest integer less than or equal to , denoted or . Similarly, the ceiling function maps to the least int ...
s, respectively. Though the most straightforward application is to
finite set In mathematics, particularly set theory, a finite set is a set that has a finite number of elements. Informally, a finite set is a set which one could in principle count and finish counting. For example, :\ is a finite set with five elements. T ...
s (such as pigeons and boxes), it is also used with infinite sets that cannot be put into
one-to-one correspondence In mathematics, a bijection, also known as a bijective function, one-to-one correspondence, or invertible function, is a function between the elements of two sets, where each element of one set is paired with exactly one element of the other ...
. To do so requires the formal statement of the pigeonhole principle, which is ''"there does not exist an
injective function In mathematics, an injective function (also known as injection, or one-to-one function) is a function that maps distinct elements of its domain to distinct elements; that is, implies . (Equivalently, implies in the equivalent contrapositi ...
whose
codomain In mathematics, the codomain or set of destination of a function is the set into which all of the output of the function is constrained to fall. It is the set in the notation . The term range is sometimes ambiguously used to refer to either th ...
is smaller than its
domain Domain may refer to: Mathematics *Domain of a function, the set of input values for which the (total) function is defined ** Domain of definition of a partial function ** Natural domain of a partial function **Domain of holomorphy of a function * ...
"''. Advanced mathematical proofs like Siegel's lemma build upon this more general concept.


Etymology

Dirichlet published his works in both French and German, using either the German or the French . The strict original meaning of these terms corresponds to the English '' drawer'', that is, an ''open-topped box that can be slid in and out of the cabinet that contains it''. (Dirichlet wrote about distributing pearls among drawers.) These terms were morphed to the word '' pigeonhole'' in the sense of a ''small open space in a desk, cabinet, or wall for keeping letters or papers'', metaphorically rooted in structures that house pigeons. Because furniture with pigeonholes is commonly used for storing or sorting things into many categories (such as letters in a post office or room keys in a hotel), the translation ''pigeonhole'' may be a better rendering of Dirichlet's original drawer metaphor. That understanding of the term ''pigeonhole'', referring to some furniture features, is fading—especially among those who do not speak English natively but as a
lingua franca A lingua franca (; ; for plurals see ), also known as a bridge language, common language, trade language, auxiliary language, vehicular language, or link language, is a language systematically used to make communication possible between groups ...
in the scientific world—in favour of the more pictorial interpretation, literally involving pigeons and holes. The suggestive (though not misleading) interpretation of "pigeonhole" as "
dovecote A dovecote or dovecot , doocot ( Scots) or columbarium is a structure intended to house pigeons or doves. Dovecotes may be free-standing structures in a variety of shapes, or built into the end of a house or barn. They generally contain pige ...
" has lately found its way back to a German back-translation of the "pigeonhole principle" as the "". Besides the original terms "" in German and "" in French, other literal translations are still in use in
Arabic Arabic (, ' ; , ' or ) is a Semitic language spoken primarily across the Arab world.Semitic languages: an international handbook / edited by Stefan Weninger; in collaboration with Geoffrey Khan, Michael P. Streck, Janet C. E.Watson; Walter ...
(), Bulgarian (""), Chinese (""), Danish (""),
Dutch Dutch commonly refers to: * Something of, from, or related to the Netherlands * Dutch people () * Dutch language () Dutch may also refer to: Places * Dutch, West Virginia, a community in the United States * Pennsylvania Dutch Country People E ...
(""), Hungarian (""), Italian (""), Japanese (""), Persian (""), Polish (""), Portuguese (""), Swedish (""), Turkish ("") and Vietnamese ("").


Examples


Sock picking

Assume a drawer contains a mixture of black socks and blue socks, each of which can be worn on either foot, and that you are pulling a number of socks from the drawer without looking. What is the minimum number of pulled socks required to guarantee a pair of the same color? Using the pigeonhole principle socks, using one pigeonhole per color), you need to pull only three socks from the drawer items). Either you have ''three'' of one color, or you have ''two'' of one color and ''one'' of the other.


Hand shaking

If there are people who can shake hands with one another (where ), the pigeonhole principle shows that there is always a pair of people who will shake hands with the same number of people. In this application of the principle, the 'hole' to which a person is assigned is the number of hands shaken by that person. Since each person shakes hands with some number of people from 0 to , there are possible holes. On the other hand, either the '0' hole or the hole or both must be empty, for it is impossible (if ) for some person to shake hands with everybody else while some person shakes hands with nobody. This leaves people to be placed into at most non-empty holes, so that the principle applies. This hand-shaking example is equivalent to the statement that in any graph with more than one
vertex Vertex, vertices or vertexes may refer to: Science and technology Mathematics and computer science *Vertex (geometry), a point where two or more curves, lines, or edges meet *Vertex (computer graphics), a data structure that describes the position ...
, there is at least one pair of vertices that share the same degree. This can be seen by associating each person with a vertex and each
edge Edge or EDGE may refer to: Technology Computing * Edge computing, a network load-balancing system * Edge device, an entry point to a computer network * Adobe Edge, a graphical development application * Microsoft Edge, a web browser developed ...
with a handshake.


Hair counting

One can demonstrate there must be at least two people in
London London is the capital and List of urban areas in the United Kingdom, largest city of England and the United Kingdom, with a population of just under 9 million. It stands on the River Thames in south-east England at the head of a estuary dow ...
with the same number of hairs on their heads as follows. Since a typical human head has an
average In ordinary language, an average is a single number taken as representative of a list of numbers, usually the sum of the numbers divided by how many numbers are in the list (the arithmetic mean). For example, the average of the numbers 2, 3, 4, 7 ...
of around 150,000 hairs, it is reasonable to assume (as an upper bound) that no one has more than 1,000,000 hairs on their head holes). There are more than 1,000,000 people in London ( is bigger than 1 million items). Assigning a pigeonhole to each number of hairs on a person's head, and assigning people to pigeonholes according to the number of hairs on their head, there must be at least two people assigned to the same pigeonhole by the 1,000,001st assignment (because they have the same number of hairs on their heads) (or, ). Assuming London has 9.002 million people, one can even state that at least ten Londoners have the same number of hairs, as having nine Londoners in each of the 1 million pigeonholes accounts for only 9 million people. For the average case () with the constraint: fewest overlaps, there will be at most one person assigned to every pigeonhole and the 150,001st person assigned to the same pigeonhole as someone else. In the absence of this constraint, there may be empty pigeonholes because the "collision" happens before the 150,001st person. The principle just proves the existence of an overlap; it says nothing of the number of overlaps (which falls under the subject of
probability distribution In probability theory and statistics, a probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment. It is a mathematical description of a random phenomenon ...
). There is a passing, satirical, allusion in English to this version of the principle in ''A History of the Athenian Society'', prefixed to "A Supplement to the Athenian Oracle: Being a Collection of the Remaining Questions and Answers in the Old Athenian Mercuries", (Printed for Andrew Bell, London, 1710). It seems that the question ''whether there were any two persons in the World that have an equal number of hairs on their head?'' had been raised in ''The Athenian Mercury'' before 1704. Perhaps the first written reference to the pigeonhole principle appears in 1622 in a short sentence of the Latin work ''Selectæ Propositiones'', by the French Jesuit
Jean Leurechon Jean Leurechon (c. 1591 – 17 January 1670) was a French Jesuit priest, astronomer, and mathematician, known for inventing the pigeonhole principle and naming the thermometer. Life Leurechon was born in Bar-le-Duc where his father, also named J ...
, where he wrote "It is necessary that two men have the same number of hairs, écus, or other things, as each other." The full principle was spelled out two years later, with additional examples, in another book that has often been attributed to Leurechon, but may have been written by one of his students.


The birthday problem

The birthday problem asks, for a set of randomly chosen people, what is the probability that some pair of them will have the same birthday? The problem itself is mainly concerned with counterintuitive probabilities; however, we can also tell by the pigeonhole principle that, if there are 367 people in the room, there is at least one pair of people who share the same birthday with 100% probability, as there are only 366 possible birthdays to choose from (including February 29, if present).


Team tournament

Imagine seven people who want to play in a tournament of teams items), with a limitation of only four teams holes) to choose from. The pigeonhole principle tells us that they cannot all play for different teams; there must be at least one team featuring at least two of the seven players: : \left\lfloor \frac \right\rfloor + 1 = \left\lfloor \frac \right\rfloor + 1 = \left\lfloor \frac64 \right\rfloor + 1 = 1 + 1 = 2


Subset sum

Any subset of size six from the set = must contain two elements whose sum is 10. The pigeonholes will be labelled by the two element subsets , , , and the singleton , five pigeonholes in all. When the six "pigeons" (elements of the size six subset) are placed into these pigeonholes, each pigeon going into the pigeonhole that has it contained in its label, at least one of the pigeonholes labelled with a two-element subset will have two pigeons in it.


Uses and applications

The principle can be used to prove that any
lossless compression Lossless compression is a class of data compression that allows the original data to be perfectly reconstructed from the compressed data with no loss of information. Lossless compression is possible because most real-world data exhibits statisti ...
algorithm, provided it makes some inputs smaller (as the name compression suggests), will also make some other inputs larger. Otherwise, the set of all input sequences up to a given length could be mapped to the (much) smaller set of all sequences of length less than without collisions (because the compression is lossless), a possibility which the pigeonhole principle excludes. A notable problem in
mathematical analysis Analysis is the branch of mathematics dealing with continuous functions, limits, and related theories, such as differentiation, integration, measure, infinite sequences, series, and analytic functions. These theories are usually studied ...
is, for a fixed
irrational number In mathematics, the irrational numbers (from in- prefix assimilated to ir- (negative prefix, privative) + rational) are all the real numbers that are not rational numbers. That is, irrational numbers cannot be expressed as the ratio of two inte ...
, to show that the set of
fractional part The fractional part or decimal part of a non‐negative real number x is the excess beyond that number's integer part. If the latter is defined as the largest integer not greater than , called floor of or \lfloor x\rfloor, its fractional part ca ...
s is dense in , 1 One finds that it is not easy to explicitly find integers such that , where is a small positive number and is some arbitrary irrational number. But if one takes such that , by the pigeonhole principle there must be such that and are in the same integer subdivision of size (there are only such subdivisions between consecutive integers). In particular, one can find such that is in , and is in , for some integers and in . One can then easily verify that is in . This implies that , where or . This shows that 0 is a limit point of . One can then use this fact to prove the case for in : find such that ; then if ], the proof is complete. Otherwise ], and by setting , one obtains . Variants occur in a number of proofs. In the proof of the pumping lemma for regular languages, a version that mixes finite and infinite sets is used: If infinitely many objects are placed into finitely many boxes, then there exist two objects that share a box. In Fisk's solution of the Art gallery problem a sort of converse is used: If ''n'' objects are placed into ''k'' boxes, then there is a box containing at most ''n''/''k'' objects.


Alternative formulations

The following are alternative formulations of the pigeonhole principle. #If objects are distributed over places, and if , then some place receives at least two objects. #(equivalent formulation of 1) If objects are distributed over places in such a way that no place receives more than one object, then each place receives exactly one object. #If objects are distributed over places, and if , then some place receives no object. #(equivalent formulation of 3) If objects are distributed over places in such a way that no place receives no object, then each place receives exactly one object.


Strong form

Let be positive integers. If :q_1 + q_2 + \cdots + q_n - n + 1 objects are distributed into boxes, then either the first box contains at least objects, or the second box contains at least objects, ..., or the th box contains at least objects. The simple form is obtained from this by taking , which gives objects. Taking gives the more quantified version of the principle, namely: Let and be positive integers. If objects are distributed into boxes, then at least one of the boxes contains or more of the objects. This can also be stated as, if discrete objects are to be allocated to containers, then at least one container must hold at least \lceil k/n \rceil objects, where \lceil x\rceil is the
ceiling function In mathematics and computer science, the floor function is the function that takes as input a real number , and gives as output the greatest integer less than or equal to , denoted or . Similarly, the ceiling function maps to the least int ...
, denoting the smallest integer larger than or equal to . Similarly, at least one container must hold no more than \lfloor k/n \rfloor objects, where \lfloor x \rfloor is the
floor function In mathematics and computer science, the floor function is the function that takes as input a real number , and gives as output the greatest integer less than or equal to , denoted or . Similarly, the ceiling function maps to the least int ...
, denoting the largest integer smaller than or equal to .


Generalizations of the pigeonhole principle

A probabilistic generalization of the pigeonhole principle states that if pigeons are randomly put into pigeonholes with uniform probability , then at least one pigeonhole will hold more than one pigeon with probability :1 - \frac, where is the
falling factorial In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial :\begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) \,. \e ...
. For and for (and ), that probability is zero; in other words, if there is just one pigeon, there cannot be a conflict. For (more pigeons than pigeonholes) it is one, in which case it coincides with the ordinary pigeonhole principle. But even if the number of pigeons does not exceed the number of pigeonholes (), due to the random nature of the assignment of pigeons to pigeonholes there is often a substantial chance that clashes will occur. For example, if 2 pigeons are randomly assigned to 4 pigeonholes, there is a 25% chance that at least one pigeonhole will hold more than one pigeon; for 5 pigeons and 10 holes, that probability is 69.76%; and for 10 pigeons and 20 holes it is about 93.45%. If the number of holes stays fixed, there is always a greater probability of a pair when you add more pigeons. This problem is treated at much greater length in the birthday paradox. A further probabilistic generalization is that when a real-valued
random variable A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the po ...
has a finite
mean There are several kinds of mean in mathematics, especially in statistics. Each mean serves to summarize a given group of data, often to better understand the overall value ( magnitude and sign) of a given data set. For a data set, the '' ar ...
, then the probability is nonzero that is greater than or equal to , and similarly the probability is nonzero that is less than or equal to . To see that this implies the standard pigeonhole principle, take any fixed arrangement of pigeons into holes and let be the number of pigeons in a hole chosen uniformly at random. The mean of is , so if there are more pigeons than holes the mean is greater than one. Therefore, is sometimes at least 2.


Infinite sets

The pigeonhole principle can be extended to infinite sets by phrasing it in terms of
cardinal number In mathematics, cardinal numbers, or cardinals for short, are a generalization of the natural numbers used to measure the cardinality (size) of sets. The cardinality of a finite set is a natural number: the number of elements in the set. ...
s: if the cardinality of set is greater than the cardinality of set , then there is no injection from to . However, in this form the principle is tautological, since the meaning of the statement that the cardinality of set is greater than the cardinality of set is exactly that there is no injective map from to . However, adding at least one element to a finite set is sufficient to ensure that the cardinality increases. Another way to phrase the pigeonhole principle for finite sets is similar to the principle that finite sets are Dedekind finite: Let and be finite sets. If there is a surjection from to that is not injective, then no surjection from to is injective. In fact no function of any kind from to is injective. This is not true for infinite sets: Consider the function on the natural numbers that sends 1 and 2 to 1, 3 and 4 to 2, 5 and 6 to 3, and so on. There is a similar principle for infinite sets: If uncountably many pigeons are stuffed into countably many pigeonholes, there will exist at least one pigeonhole having uncountably many pigeons stuffed into it. This principle is not a generalization of the pigeonhole principle for finite sets however: It is in general false for finite sets. In technical terms it says that if and are finite sets such that any surjective function from to is not injective, then there exists an element of such that there exists a bijection between the preimage of and . This is a quite different statement, and is absurd for large finite cardinalities.


Quantum mechanics

Yakir Aharonov Yakir Aharonov ( he, יקיר אהרונוב; born August 28, 1932) is an Israeli physicist specializing in quantum physics. He has been a Professor of Theoretical Physics and the James J. Farley Professor of Natural Philosophy at Chapman Univer ...
et al. have presented arguments that the pigeonhole principle may be violated in
quantum mechanics Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles. It is the foundation of all quantum physics including quantum chemistry, ...
, and proposed
interferometric Interferometry is a technique which uses the '' interference'' of superimposed waves to extract information. Interferometry typically uses electromagnetic waves and is an important investigative technique in the fields of astronomy, fiber o ...
experiments to test the pigeonhole principle in quantum mechanics. However, later research has called this conclusion into question. In a January 2015 arXiv preprint, researchers Alastair Rae and Ted Forgan at the University of Birmingham performed a theoretical
wave function A wave function in quantum physics is a mathematical description of the quantum state of an isolated quantum system. The wave function is a complex-valued probability amplitude, and the probabilities for the possible results of measurements ...
analysis, employing the standard pigeonhole principle, on the flight of electrons at various energies through an
interferometer Interferometry is a technique which uses the '' interference'' of superimposed waves to extract information. Interferometry typically uses electromagnetic waves and is an important investigative technique in the fields of astronomy, fiber o ...
. If the electrons had no interaction strength at all, they would each produce a single, perfectly circular peak. At high interaction strength, each electron produces four distinct peaks for a total of 12 peaks on the detector; these peaks are the result of the four possible interactions each electron could experience (alone, together with the first other particle only, together with the second other particle only, or all three together). If the interaction strength was fairly low, as would be the case in many real experiments, the deviation from a zero-interaction pattern would be nearly indiscernible, much smaller than the
lattice spacing A lattice constant or lattice parameter is one of the physical dimensions and angles that determine the geometry of the unit cells in a crystal lattice, and is proportional to the distance between atoms in the crystal. A simple cubic crystal has o ...
of atoms in solids, such as the detectors used for observing these patterns. This would make it very difficult or even impossible to distinguish a weak-but-nonzero interaction strength from no interaction whatsoever, and thus give an illusion of three electrons that did not interact despite all three passing through two paths.


See also

*
Axiom of choice In mathematics, the axiom of choice, or AC, is an axiom of set theory equivalent to the statement that ''a Cartesian product of a collection of non-empty sets is non-empty''. Informally put, the axiom of choice says that given any collection ...
*
Blichfeldt's theorem Blichfeldt's theorem is a mathematical theorem in the geometry of numbers, stating that whenever a bounded set in the Euclidean plane has area A, it can be translated so that it includes at least \lceil A\rceil points of the integer lattice. Eq ...
* Combinatorial principles * Combinatorial proof *
Dedekind-infinite set In mathematics, a set ''A'' is Dedekind-infinite (named after the German mathematician Richard Dedekind) if some proper subset ''B'' of ''A'' is equinumerous to ''A''. Explicitly, this means that there exists a bijective function from ''A'' onto ...
* Hilbert's paradox of the Grand Hotel *
Multinomial theorem In mathematics, the multinomial theorem describes how to expand a power of a sum in terms of powers of the terms in that sum. It is the generalization of the binomial theorem from binomials to multinomials. Theorem For any positive integer ...
*
Pochhammer symbol In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial :\begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) \,. \e ...
* Ramsey's theorem


Notes


References

* * * *


External links

* *
The strange case of The Pigeon-hole Principle
; Edsger Dijkstra investigates interpretations and reformulations of the principle. *
The Pigeon Hole Principle
; Elementary examples of the principle in use by Larry Cusick. *
Pigeonhole Principle from Interactive Mathematics Miscellany and Puzzles
; basic Pigeonhole Principle analysis and examples by
Alexander Bogomolny Alexander Bogomolny (January 4, 1948 July 7, 2018) was a Soviet-born Israeli-American mathematician. He was Professor Emeritus of Mathematics at the University of Iowa, and formerly research fellow at the Moscow Institute of Electronics and M ...
. *
16 fun applications of the pigeonhole principle
; Interesting facts derived by the principle. * {{DEFAULTSORT:Pigeonhole Principle Combinatorics Theorems in discrete mathematics Mathematical principles Ramsey theory