Professional Documents
Culture Documents
1 Examples
1.1 Sock-picking
Assume you have a mixture of black socks and blue socks,
what is the minimum number of socks needed before a
pair of the same color can be guaranteed? Using the pigeonhole principle, to have at least one pair of the same
color (m = 2 holes, one per color) using one pigeonhole
per color, you need only three socks (n = 3 items).
1.2 Hand-shaking
If there are n people who can shake hands with one another (where n > 1), the pigeonhole principle shows that
there is always a pair of people who will shake hands with
the same number of people. As the 'holes, or m, correspond to number of hands shaken, and each person can
shake hands with anybody from 0 to n 1 other people,
this creates n 1 possible holes. This is because either
the '0' or the 'n 1' hole must be empty (if one person
shakes hands with everybody, its not possible to have another person who shakes hands with nobody; likewise, if
one person shakes hands with no one there cannot be a
person who shakes hands with everybody). This leaves
n people to be placed in at most n 1 non-empty holes,
guaranteeing duplication.
Hair-counting
ALTERNATE FORMULATIONS
on a persons head, and assign 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, n > m). For the
average case (m = 150,000) 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 we get to 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).
1.4
1.5
Softball team
3 Alternate formulations
(n 1)
(7 1)
6
+1 =
+1 =
+1 = 1+1 = 2 The following are alternate formulations of the pigeonm
4
4
hole principle.
1.6
Subset sum
3
receives no object, then each place receives exactly 93.45%. If the number of holes stays xed, there is alone object.[6]
ways a greater probability of a pair when you add more
pigeons. This problem is treated at much greater length
in the birthday paradox.
Strong form
A further probabilistic generalisation is that when a realvalued random variable X has a nite mean E(X), then
the probability is nonzero that X is greater than or equal
Let q1 , q2 , ..., qn be positive integers. If
to E(X), and similarly the probability is nonzero that X
is less than or equal to E(X). To see that this implies the
standard pigeonhole principle, take any xed arrangement
q1 + q2 + + qn n + 1
of n pigeons into m holes and let X be the number of
objects are distributed into n boxes, then either the rst pigeons in a hole chosen uniformly at random. The mean
box contains at least q1 objects, or the second box con- of X is n/m, so if there are more pigeons than holes the
tains at least q2 objects, ..., or the nth box contains at least mean is greater than one. Therefore, X is sometimes at
qn objects.[7]
least 2.
The simple form is obtained from this by taking q1 = q2
= ... = qn = 2, which gives n + 1 objects. Taking q1 =
q2 = ... = qn = r gives the more quantied version of the 6 Innite sets
principle, namely:
Let n and r be positive integers. If n(r - 1) + 1 objects The pigeonhole principle can be extended to innite sets
are distributed into n boxes, then at least one of the boxes by phrasing it in terms of cardinal numbers: if the carcontains r or more of the objects.[8]
dinality of set A is greater than the cardinality of set B,
This can also be stated as, if k discrete objects are to be then there is no injection from A to B. However in this
allocated to n containers, then at least one container must form the principle is tautological, since the meaning of
hold at least k/n objects, where x is the ceiling func- the statement that the cardinality of set A is greater than
tion, denoting the smallest integer larger than or equal to the cardinality of set B is exactly that there is no injective
x. Similarly, at least one container must hold no more map from A to B. What makes the situation of nite sets
than k/n objects, where x is the oor function, de- interesting is that adding at least one element to a set is
sucient to ensure that the cardinality increases.
noting the largest integer smaller than or equal to x.
10
Combinatorial proof
Dedekind-innite set
Hilberts paradox of the Grand Hotel
Pochhammer symbol
Notes
10 External links
Multinomial theorem
EXTERNAL LINKS
References
Brualdi, Richard A. (2010), Introductory Combinatorics (5th ed.), Pentice Hall, ISBN 978-0-13602040-0
Fletcher, Peter; Patty, C.Wayne (1987), Foundations of Higher Mathematics, PWS-Kent, ISBN 087150-164-3
Grimaldi, Ralph P. (1994), Discrete and Combinatorial Mathematics: An Applied Introduction (3rd ed.),
ISBN 978-0-201-54983-6
Herstein, I. N. (1964), Topics In Algebra, Waltham:
Blaisdell Publishing Company, ISBN 9781114541016
11
11.1
Pigeonhole principle Source: http://en.wikipedia.org/wiki/Pigeonhole%20principle?oldid=653803658 Contributors: TwoOneTwo, Zundark, FvdP, David spector, Tomo, Michael Hardy, Pwlfong, Darkwind, Charles Matthews, Dcoetzee, Dysprosia, Greenrd, Furrykef,
Wellington, Sabbut, McKay, .mau., Robbot, Peak, Wereon, Jleedev, Superm401, Tosha, Giftlite, BenFrantzDale, Tom harrison, Dratman,
Andris, Dmmaus, Jonathan Grynspan, Jackcsk, MarkSweep, Icairns, B.d.mills, Askewchan, Zro, Discospinster, Rich Farmbrough, Zaslav,
Calair, Army1987, Fbd, Grutness, Waeguy4, Hippopha, Sligocki, Noosphere, RainbowOfLight, WojciechSwiderski, Jibbley, Ryan Reich, Btyner, Que, Salix alba, Netan'el, ElKevbo, Mathbot, Nihiltres, Chobot, Metaeducation, YurikBot, Daverocks, Antidrugue, Int 80h,
Crasshopper, Hacksoncode, Nevsan, Pred, Kle0012, Cmglee, JJL, SmackBot, RDBury, Eskimbot, Afa86, Bh3u4m, Bluebot, Thumperward, Tsca.bot, Cybercobra, Ggpauly, Andeggs, Jaapkroe, Lajm, Dr.K., Hu12, Shoeofdeath, Pokemonaofei, WolfgangFaber, NickW557,
Reywas92, Thijs!bot, MichaelMaggs, Urdutext, Wang ty87916, JAnDbot, Demonkey36, Hydrostatics, Je560, .anacondabot, Shreck,
Nyttend, Tom Herbert, Mister B., Comperr, Memorygap, Leon math, Maurice Carbonaro, Senu, Lantonov, Idunno271828, Policron,
Cmichael, VolkovBot, Bandanna, Enderminh, Tomer T, TXiKiBoT, Ipi31415, Anonymous Dissident, BL5965, Ccwelt, Aaron Rotenberg,
BotKung, Dookama, Doug, Tomaxer, Monty845, Praefectorian, Hotpanda, GirasoleDE, SieBot, Thehotelambush, Manway, WikiLaurent,
ClueBot, Plastikspork, Abhinav, Lord Bruyanovich Bruyanov, Rudinreader, Johnuniq, Marc van Leeuwen, Gonzonoir, Trout Ice Cream,
Addbot, Protonk, Tide rolls, Loupeter, Zorrobot, Legobot, Luckas-bot, Cargowiki, Hairhorn, Unara, Xqbot, Jmundo, Talouv, Petropoxy
(Lithoderm Proxy), GrouchoBot, RibotBOT, SassoBot, Constructive editor, Xlr8jj, Louperibot, Greentower, Edinwiki, Raiden09, JohnnieDanger, Therosecrusher, EmausBot, Chaosthingy, Szalakta, ChuispastonBot, Llightex, Anita5192, ClueBot NG, Wcherowi, Aredsani,
Ramzysamman, The1337gamer, Ram ganguly, Ashokgurumurthy, FoCuSandLeArN, Bfdill, Hmainsbot1, AlexHeylin, Bomasd, La paloma
medialuna, Energy110, Epicgenius, Tanlongzhi, Tegangwer, SinglePurposePartier, Fourleggedwalrus, Ashishrawatadien and Anonymous:
161
11.2
Images
File:TooManyPigeons.jpg Source: http://upload.wikimedia.org/wikipedia/commons/5/5c/TooManyPigeons.jpg License: CC-BY-SA3.0 Contributors: Transferred from en.wikipedia; Original text : Edited from Image:Pigeons-in-holes.jpg Original artist: Pigeons-in-holes.jpg
by en:User:BenFrantzDale; this image by en:User:McKay
11.3
Content license