Two Existence Principles
If objects go into boxes, some box holds at least two; more generally some box holds at least of objects.
In plain terms. More items than boxes forces a box to double up. The trick is choosing boxes so that "two in a box" is exactly what you want.
Example. Among any people, two share a birth month: people, months, so some month repeats.
Consider the largest, smallest, or closest object; its extremal property forces structure.
In plain terms. Look at the most extreme case in the setup — the biggest, smallest, or nearest — and its special status usually breaks the problem open.
Example. Among finitely many points, the two closest ones can't have a third point strictly between them.
Pigeonhole: Choosing the Boxes
If more than objects are placed in boxes, some box holds at least . Equivalently, some box holds at least the average of objects, rounded up. The work in a problem is never the principle; it is the choice of boxes, made so that two objects in one box is exactly the conclusion you want.
If every box held at most objects there would be at most in all — that is the proof. So everything rests on design: boxes are the classes of an equivalence relation (same residue, same odd part, same small square), and the relation must be chosen so that “same class” implies the desired property. A good test before counting: take two objects in one box and check that the conclusion really follows. If it doesn't, the boxes are wrong, however the numbers come out.
Prove that among any numbers chosen from , one divides another. Show that numbers are not enough.
Step 1 — boxes: write each number as with odd, and put it in box . The odd parts are among : boxes.
Step 2 — numbers in boxes: two share an odd part, and with , and the first divides the second.
Step 3 — sharpness: has numbers and no divisibility, since the smallest proper multiple of is . (The same bound with boxes shows two chosen numbers are consecutive, hence coprime.)
How to find it. Divisibility inside a chain is automatic. So partition into such chains.
Prove that any integers contain a nonempty block of consecutive terms whose sum is divisible by .
Step 1 — the objects are the prefix sums ; the boxes are their residues mod , of which there are .
Step 2 — two prefix sums share a residue: with . Then , a nonempty block.
How to find it. Sums of consecutive terms are differences of prefix sums, and “difference divisible by ” is “same residue”. The empty prefix is what supplies the -st pigeon.
Prove that every sequence of distinct real numbers has an increasing subsequence of length or a decreasing subsequence of length . (Erdős–Szekeres, 1935.)
Step 1 — label each term with the pair : the length of the longest increasing, and of the longest decreasing, subsequence ending at .
Step 2 — the labels are distinct. For , if then appending to an increasing subsequence ending at gives ; if , likewise .
Step 3 — if every and every , there are at most possible labels for terms: two terms would share a label. So some or some . For () the labels are , and the label of the last term records the increasing subsequence .
How to find it. The boxes are not given; you manufacture them as labels. When a pigeonhole argument has no visible boxes, attach to each object the data you would like to be large and show that no two objects can carry the same data.
In Example 2 the tempting version uses the numbers themselves as pigeons: “ numbers, residues, so two numbers are congruent and ...” — first, pigeons in boxes force nothing: are pairwise incongruent mod . Second, two congruent terms give a difference divisible by , not a sum. The proof works only with the prefix sums, and it is the empty sum that tips the count.
Prove that among any integers there are two whose sum or difference is divisible by .
Show the answerHide the answer
Boxes by residue mod , merging with : , , , , , — six boxes for seven integers. Two share a box: if their residues are equal, the difference is divisible by ; if they are and , the sum is.
The Extremal Principle at Work
Among finitely many candidates — or any nonempty set of nonnegative integers — some one is largest or smallest. Assume the conclusion fails, take the extreme object, and use the failure to build a more extreme one. The contradiction proves the conclusion.
The logic is the well-ordering principle: a nonempty set of nonnegative integers has a least element, and a finite set of reals has a least and a greatest. Choosing the extreme object gives you a free inequality — nothing is smaller — which often is exactly the missing hypothesis. The two things to check in every extremal proof are that the extreme exists (finiteness, or integer values, or compactness) and that the new object is genuinely of the same kind as the old.
Each cell of the infinite square grid holds a positive integer equal to the average of its four neighbours. Prove that all the integers are equal.
Step 1 — the values are positive integers, so there is a smallest value , attained at some cell .
Step 2 — is the average of four numbers, each at least ; the average equals only if all four equal . So every neighbour of also holds .
Step 3 — repeating the argument at those neighbours, and so on, every cell reachable by steps between neighbours — that is, every cell — holds .
How to find it. “Each value is the average of its neighbours” is a statement that fails at a strict minimum. The integer hypothesis is there to make the minimum exist.
red and blue points lie in the plane, no three collinear. Prove that they can be matched in red-blue pairs by segments no two of which cross. (Putnam 1979.)
Step 1 — there are perfect red-blue matchings, finitely many; take one with the smallest total length.
Step 2 — suppose two of its segments and cross at . Replace them by and . By the triangle inequality, and (strict, since no three points are collinear), and the right sides add up to .
Step 3 — the new matching is shorter, contradicting minimality. So the minimal matching has no crossings.
How to find it. Crossing segments can always be uncrossed, but uncrossing may create new crossings elsewhere, so a step-by-step fix needs a measure that improves every time. Total length does, and the shortest matching is the fixed point.
In a tournament, player is a king if for every other player , either beat or beat someone who beat . Prove that a player with the most wins is a king, and that the players can be listed so that each beat the next. (Landau; Rédei.)
Step 1 — let have the most wins, and suppose some is not reached in two steps: did not beat , so beat , and no one beaten by beat , so beat everyone beat. Then beat all of 's victims and as well: more wins than . Contradiction.
Step 2 — for the listing, take a longest sequence in which each beat the next. If some is missing: if beat , put first; if beat , put last. Otherwise beat and beat ; let be the first index with beating (so ), then beat , and can be inserted. Every case lengthens the sequence, contradicting maximality, so everyone is listed.
How to find it. Both claims assert that something reaches everything. Take the object that reaches the most (most wins, longest path) and show any unreached player would let you reach more.
The extreme has to exist. Replace “positive integer” by “real number” in Example 1 and the claim is false: is the average of its four neighbours , , at every cell, and it is not constant. The proof broke at
Step 1 — the values have no minimum. Any extremal argument over an infinite set must name the reason the extreme is attained.
In a tournament on players, player beat ; player beat ; player beat ; player beat ; player beat ; player beat . Find a player who is a king and a listing in which each player beat the next.
Show the answerHide the answer
Wins: has , has , has , has , has , has . Player has the most wins, so it is a king: it beat directly, and reaches and through (who beat both). A Hamiltonian listing: works directly — beat , beat , beat , beat , beat .