The Extremal Principle
Among finitely many objects, choose the one maximizing or minimizing something — the largest number, the point farthest from a line, the longest chain, the polynomial of least degree. Its extremality forces a property, or a "more extreme" object contradicts the choice.
The extremal principle is existence-by-optimization. It proves that some pair of points is at minimum distance, that some vertex has minimum degree, that some solution has minimal — and then the argument works with that special object. On the Putnam it is often the whole proof: "let be the maximum of the ; then the equation at index gives ", and the inequality closes.
For an equation quadratic in each variable, take a solution with minimal ; Vieta gives a second root, producing a smaller solution unless the minimal one is a fixed base case. Classic: if is an integer, it is a perfect square.
Vieta jumping is the extremal principle applied to a family of solutions, with the quadratic formula supplying the "smaller solution". Write the equation as a quadratic in , note the other root is an integer, show , and descend until , which forces .
Start from what you want and ask what would suffice. " would follow if is multiplicative and …" Reduce the goal to a chain of sufficient conditions until one is something you can prove directly; then write it forwards.
Working backwards finds the proof; it is not the proof. The written solution must run from hypotheses to conclusion. The habit that makes it safe: at each backwards step, note whether the implication is reversible ("it suffices to show" is fine; "this is equivalent to" needs both directions).
Choosing an extremum that may not exist (a maximum over an infinite set) — say why it exists (finiteness, compactness, well-ordering). And in Vieta jumping, forgetting to prove the new root is non-negative and an integer.
Positive reals satisfy for all (indices mod ). Show all are equal.
Show the answerHide the answer
Let . Then with both terms , so both equal . Repeat around the cycle: every .
The Extremal Principle, Worked
Take the object that is largest or smallest in some measure — a minimum label, a closest pair, a point nearest a line. Extremality says every competitor is at least as large; apply the problem's condition AT the extreme object and compare.
The condition of a problem usually relates an object to its neighbours: an average, a distance, a count. At an ordinary object this relation says little, but at an extreme one it collides with extremality — a minimum that equals an average of values at least as large forces equality everywhere nearby, and a nearest configuration that produces a nearer one is a contradiction. The one obligation is existence: the extreme object must exist, which is automatic in a finite set or among positive integers and must be argued anywhere else.
Every point of the integer lattice is labelled with a positive integer, and each label is the average of the labels of its four neighbours. Show that all labels are equal.
Step 1 — the labels are positive integers, so a smallest label exists (well-ordering), attained at some point .
Step 2 — at : with each neighbour label . If any were the average would exceed . So all four neighbours have label .
Step 3 — each of those neighbours is again a minimum, so the argument repeats from them. Every lattice point is reached from by a finite chain of neighbour steps, so every label is .
How to find it. "Equal to the average of its neighbours" means "never strictly below all neighbours", which is only useful at a point below all of them — a minimum. Positivity and integrality are there to make the minimum exist.
Finitely many points in the plane are not all on one line. Show that some line passes through exactly two of them.
Step 1 — consider all pairs where is a line through at least two of the points and is one of the points not on . There are finitely many such pairs, and at least one (the points are not collinear). Choose the pair with the SMALLEST distance from to .
Step 2 — suppose contains three or more of the points. Let be the foot of the perpendicular from to . Two of the points on lie on the same side of (counting itself as either side); call them and with between and (possibly ).
Step 3 — the line passes through two of the points and does not contain . The distance from to line is less than the distance from to line (because lies on segment ), which is less than (a leg of the right triangle is longer than the altitude from — or, with , directly). So is a closer pair: contradiction.
Step 4 — therefore contains exactly two of the points.
How to find it. Sylvester's question waited 40 years for a proof; Kelly's is the extremal principle applied to the right set — not points or lines alone but point–line PAIRS, measured by distance. When the natural objects give nothing, extremize over pairs of them.
An odd number of people stand in a field, all pairwise distances distinct. At a signal each person shoots the nearest other person. Show that someone stays dry.
Step 1 — induct on the odd number , starting at ( is vacuous).
Step 2 — take the CLOSEST pair . Each is the other's nearest person, so they shoot each other.
Step 3 — if anyone else also shoots or , then and absorb at least of the shots, and the other people receive at most shots: someone among them is dry.
Step 4 — otherwise nobody else shoots at or , and shoot only each other; so the other people shoot only among themselves, exactly as if and were absent (each one's nearest person is not or ). By the induction hypothesis someone among them is dry. For , Step 4 cannot happen, since the third person must shoot or . (For an even number of people it fails: pair everyone up in far-apart couples.)
How to find it. Shooting the nearest person is a local minimum condition; the global minimum — the closest pair — is the one configuration whose behaviour is completely determined. Removing it leaves a smaller instance of the same problem.
Allow arbitrary real labels in the averaging problem and rerun the proof: "let be the smallest label." The labelling satisfies the condition, since , and it is not constant. The broken step is Step 1: this labelling has no smallest value. Positivity alone would not rescue the proof either, because positive reals can approach their infimum without attaining it. (For positive real labels the conclusion is still true — a discrete Liouville theorem — but it needs a different argument.) Before using "the smallest", say why it exists.
red and blue points lie in the plane, no three collinear. Show that they can be joined in red–blue pairs by segments no two of which cross.
Show the answerHide the answer
There are finitely many ways () to pair the reds with the blues; take one with the smallest total segment length. Suppose segments and cross at . Replace them by and . By the triangle inequality, and (strict, since no three points are collinear), and adding gives . The new pairing is shorter: contradiction. So the shortest pairing has no crossings.
Vieta Jumping, Worked
For an equation that is quadratic in each variable, fix all but one variable, say ; if is a root of the quadratic , so is . Starting from a solution with the smallest sum of variables, the jump produces a smaller solution unless a base case is reached.
Vieta's formulas give the second root in two forms, and each form carries information: shows is an integer when and are, and controls its sign and size. Replacing by keeps every equation of the problem true, so solutions come in chains, and the chain moves downward when is the larger root. A minimal solution therefore has no smaller neighbour, which pins it to a small base case — and every solution descends to one of the base cases. The two checks that make it rigorous: is a positive integer (or the case is handled), and .
Positive integers are such that is an integer. Show that is a perfect square.
Step 1 — fix and suppose it is not a square. Among all pairs of positive integers with , take one with minimal and .
Step 2 — as a quadratic in , has the root ; the other root is , an integer by the first form.
Step 3 — , since would mean . And : if , then and , impossible.
Step 4 — (using ). So is a solution in positive integers with : contradiction. Hence is a square. Example: gives , and the chain ends exactly at , .
How to find it. The expression is symmetric and quadratic in each variable, and the claim is about alone — so fix and study the solution set as a whole. Vieta produces a new solution from any old one; the only way the descent can stop is at , and is precisely .
Find all positive integers for which has a solution in positive integers.
Step 1 — take a solution with minimal and .
Step 2 — if : , so , forcing and .
Step 3 — if : the other root of is , a positive integer. Since , (the last step is ). Then is a positive solution with : contradiction with minimality.
Step 4 — so every that occurs has a minimal solution with , and then . Conversely works: . Answer: only.
How to find it. Try small by computer or by hand: has and nothing else appears. The descent explains why: every solution falls to the diagonal, and the diagonal forces .
A common broken version of the IMO 1988/6 proof: "the other root is smaller than , so we descend forever, which is impossible; hence there are no solutions unless…" The descent does not run forever — it stops the moment is no longer a positive integer. For , , the chain is : the last jump lands on . The step that must be checked is the SIGN of : ignoring the case loses exactly the solutions the problem is about, and ignoring leaves a gap.
Show that has infinitely many solutions in positive integers.
Show the answerHide the answer
Jump upward. If is a solution with , then is also one: is the other root of . And , so the new solution is strictly larger. Starting from : , , , , , … — the Fibonacci numbers in consecutive pairs. Each check is one line, e.g. .
Working Backwards, Worked
When a process or game ends in known states, classify every state by working backwards from them: in a game, a position is a loss for the player to move (a P-position) iff every move leads to a win for the opponent (an N-position), and a win iff SOME move leads to a P-position. For a process, ask which state could have come immediately before the one in hand.
Backward induction is ordinary strong induction on the distance to the end: terminal positions are classified by the rules, and each other position is classified from positions nearer the end, which are already known. Its power is that it replaces a search over whole sequences of moves by a local rule. When the backward step is FORCED — only one predecessor is possible — the process can be run in reverse, and questions about reachability become questions about where the reverse run ends, as in Euclid's algorithm.
A pile has coins. Players alternately remove , or coins; whoever takes the last coin wins. For which does the second player win?
Step 1 — work up from . Position is P (the player to move has lost). , , are N (take everything). is P (the only move goes to ). and are N (move to ). is P: its moves reach , , , all N. is N (move to ), is P: its moves reach , , , all N.
Step 2 — the pattern repeats with period : P exactly when or .
Step 3 — proof by strong induction: from the moves reach residues , and from they reach — never or . From every other residue some move reaches or : (take ), (take ) or (take ), (take ), (take ), (take ). So the second player wins exactly when or .
How to find it. Nothing about can be seen directly; everything about can. Compute until the pattern repeats, then prove the pattern by checking one period.
Start from the pair . A move replaces by or by . Which pairs of positive integers can be reached, and in how many ways?
Step 1 — forwards is a branching search; backwards is forced. If with was reached by a move, the move must have been , because the other option would have come from with a nonpositive entry. Likewise for . A pair other than has no predecessor at all.
Step 2 — so from any there is exactly one backward path: subtract the smaller entry from the larger — the subtractive Euclidean algorithm. It ends at with , because subtraction preserves the gcd.
Step 3 — the path reaches iff . So the reachable pairs are exactly the coprime pairs, each reached in exactly one way. Example: .
How to find it. Two forward choices per step make an exponentially branching tree; one backward choice per step makes a path. When the forward direction branches, check whether the backward direction is forced.
Several heaps of coins; a move removes any positive number of coins from one heap; whoever takes the last coin wins. With heaps , find all winning first moves, and prove the rule behind them.
Step 1 — write heap sizes in binary and let be their XOR (add the binary digits without carrying). Claim: the player to move loses iff .
Step 2 — the empty position has and is a loss for the player to move, matching the claim. From , any move changes one heap, hence changes : every move goes to . From , let be the highest binary digit of ; some heap has a in position , and (the digit turns off, higher digits are unchanged). Reducing to is a legal move and makes the new XOR .
Step 3 — by backward induction on the total number of coins, positions are losses and positions are wins.
Step 4 — heaps , , : . Every heap has its last digit , so there are three winning moves: , , (each takes one coin), and each leaves XOR : , , .
How to find it. Classify small positions backwards: one heap is a win, two equal heaps are a loss (copy the opponent), is a loss. The losses are exactly the positions whose heaps "cancel" in binary — and XOR is the operation that expresses cancelling.
Working backwards finds candidates; it does not prove them unless every backward step is reversible. Solve : "squaring gives , so and or ." But gives . Squaring is not reversible — implies , not conversely — so the backward chain of implications only shows that any solution is among and . The written solution must check them, and only survives.
Two players alternately add a whole number from to to a running total that starts at . The player who makes the total exactly wins. What should the first player say first?
Show the answerHide the answer
Work backwards. Whoever reaches wins, because from the opponent must say to and the next move can reach . By the same reasoning, reaching wins, then — every number . The first player says , and after the opponent adds she adds , landing on .