Finding the Invariant
For a process (a game, an operation repeated on a board or a set), compute a quantity after each move: the parity of a count, a sum modulo , a weighted sum, a determinant, a product of signs. If it never changes, states with different values are mutually unreachable.
The Putnam disguises invariants inside algebra: "the operation replaces by … show some value is never reached" is an invariant problem, and the invariant is often a symmetric function of the pair (here is not preserved, but maps to — try several candidates). The systematic search: write the move algebraically and test the elementary symmetric functions, discriminants and determinants.
A quantity that always DEcreases (or increases) and is bounded proves that a process terminates, and — if it is an integer — how many steps at most. Potential functions, total energy, number of inversions.
When the question is "show the process stops" rather than "show the state is unreachable", look for a monovariant. The classic: people around a table pass coins; the sum of squares of holdings strictly decreases with each legal move, so the process ends. Strict decrease of a non-negative integer is a proof of termination in one sentence.
If the problem is invariant under a transformation (swapping variables, , rotation of a configuration), the answer or the extremal configuration is often invariant too — or the transformation pairs up terms that cancel.
Symmetry arguments give integrals for free (King's rule), pair off terms in sums (roots of unity, ), and settle games (the second player mirrors). The failure mode is assuming the extremum is at the symmetric point without proof: symmetry says the symmetric point is a critical point, not that it is the maximum. Check.
An "invariant" that is preserved by most moves but not all — verify it on EVERY kind of move. And an invariant shows unreachability only; to show a state IS reachable you must construct the path.
On a board are the numbers . A move erases two numbers and writes . Show the last number has the same parity as .
Show the answerHide the answer
The parity of the sum of the numbers on the board is invariant: . The initial sum is , so the last number is congruent to mod . (Check : the numbers leave , odd.)
Invariants, Worked
Find a quantity with for EVERY allowed move. If , the target is unreachable. For tilings, colour the board so that every tile covers the same colours whatever its position; then the colour counts are the invariant.
The proof is an induction on the number of moves: if each move preserves , so does every sequence of moves, so every reachable state has . Finding is the whole problem. Write the move algebraically and test the natural candidates on it: the sum, the sum of squares, a product, a residue, a discriminant. For a tiling, the "move" is placing one tile, and the invariant is a weighting of the cells that every tile placement covers with the same total weight.
The numbers are on a board. A move erases two numbers and writes and in their place. Can the board ever show ten numbers each of absolute value less than ?
Step 1 — test the sum of squares on one move: . The other eight numbers are untouched, so the sum of squares of all ten numbers is invariant.
Step 2 — at the start it is .
Step 3 — ten numbers of absolute value less than have sum of squares less than . So the answer is no.
How to find it. The move is a rotation of the pair by (its matrix is orthogonal), and rotations preserve length: the sum of squares is the first thing to try.
A move replaces a quadratic by or by . Can be turned into ?
Step 1 — compute the moves on . First: . Second: .
Step 2 — discriminants: , and . Both moves preserve the discriminant.
Step 3 — has discriminant and has . Unreachable.
How to find it. Track the roots: if , the first new polynomial vanishes at and the second at . The discriminant is , and under the root difference is divided by exactly as the new leading coefficient multiplies it. Quantities built from root differences are the natural invariants of substitutions.
Show that a board cannot be tiled by rectangles (placed horizontally or vertically).
Step 1 — number rows and columns to and give cell the colour .
Step 2 — a horizontal tile covers , whose values of are four consecutive integers, one in each residue class mod ; the same holds for a vertical tile. So every tile covers exactly one cell of each colour.
Step 3 — a tiling uses tiles and would cover exactly cells of each colour.
Step 4 — count: the number of cells with is for and for . Colour gets : . No tiling exists. (The other colours get , , .)
How to find it. Area alone () is no obstruction, so the invariant must see position. A colouring adapted to the tile — period along both rows and columns — is the finest one every tile treats identically. The general theorem (de Bruijn): an board tiles by bars iff or .
For the board, the ordinary checkerboard colouring is the tempting first try: each tile covers two black and two white cells, the board has of each — and the conclusion "the colouring shows no obstruction, so a tiling probably exists" is wrong. A balanced count is consistent with a tiling; it proves nothing. Only a colouring in which every tile covers the SAME multiset of colours, and the board does not, proves impossibility — here that requires colours mod , not mod . And even a perfectly balanced adapted colouring never proves a tiling exists: that needs a construction.
Can a board be tiled by rectangles? (The area, , is divisible by .)
Show the answerHide the answer
No. Colour cell , , by ; every tile covers one cell of each colour, so a tiling by tiles needs of each. The number of cells with is for and for . Colour gets : . (The four counts are .) Consistent with de Bruijn: divides neither side.
Monovariants, Worked
If every move strictly increases (or decreases) a quantity , and can take only finitely many values — or values in a set with no infinite decreasing chain, such as the nonnegative integers — then the process stops. The number of values of bounds the number of moves.
A strictly monotone quantity never returns to an earlier value, so no state repeats. If there are finitely many possible values, the sequence of values, and hence of moves, is finite; with nonnegative integer values decreasing by at least , the starting value itself bounds the number of moves. The creative step is the choice of : a total, an energy, a count of "bad" pairs. Test it on the move and compute the change exactly; its sign should be forced by the very condition that makes the move legal.
In an table of real numbers you may change the sign of every entry of a row or column whose sum is negative. Show that any sequence of such moves is finite; deduce that the table can always be brought to a state where every row and column sum is nonnegative.
Step 1 — the monovariant is the total sum of the table. Flipping a line whose sum is changes that line's contribution from to and leaves everything else alone, so increases by .
Step 2 — each entry is always its original value, so there are at most possible tables, and takes at most values.
Step 3 — a strictly increasing sequence in a finite set is finite, so the process stops.
Step 4 — it stops exactly when no line has a negative sum, which proves the second claim (just keep flipping).
How to find it. The legal move is triggered by a negative sum, and flipping it turns a negative contribution into a positive one: the sum itself is the quantity the move improves. Finiteness of the state space replaces any need for integer values.
Show that the vertices of every finite graph can be coloured with two colours so that every vertex has at most half of its neighbours in its own colour.
Step 1 — start from any colouring, and let be the number of monochromatic edges (both ends the same colour).
Step 2 — call a vertex bad if more than half of its neighbours share its colour: say of them do and do not, with . Switch the colour of . Its monochromatic edges become bichromatic and its bichromatic edges become monochromatic; no other edge changes. So drops by .
Step 3 — is a nonnegative integer, so after at most switches no bad vertex remains, and that colouring has the property. (Equivalently: a colouring with the FEWEST monochromatic edges has no bad vertex — the extremal version of the same proof.)
How to find it. "Too many neighbours of my colour" is a local count of monochromatic edges, and fixing one vertex changes only the edges at that vertex. When a local fix improves a global count, that count is the monovariant.
An integer is written at each vertex of a regular pentagon, and the five integers have positive sum . If three consecutive vertices carry with , a move replaces them by , , . Show that the moves must stop after finitely many steps.
Step 1 — a move keeps the sum: . So throughout.
Step 2 — the obvious candidates fail: the sum is invariant, and the sum of absolute values can go up. Try (indices mod ), which compares each vertex with the two vertices not adjacent to it.
Step 3 — label the pentagon and apply the move at . Only the five terms involving , or change, and a direct expansion gives .
Step 4 — since , every move lowers by at least ; is a nonnegative integer, so at most moves can be made.
How to find it. Look for a quadratic quantity: the move is linear, so a quadratic changes by a linear expression in , and the only linear expression available with a known sign is . Among the symmetric quadratics, try , , in turn; the last one's change factors as .
"Every move lowers the quantity, so the process stops" is false without a floor. Repeatedly replacing by lowers forever and never stops; the monovariant takes infinitely many values in , where there are infinite decreasing chains. In the sign-flipping proof above, what makes it work is the observation that the table has only possible states. Without that finiteness (or integer values bounded below), strict monotonicity proves nothing.
Several positive integers are written on a board. A move picks two of them, and , neither dividing the other, and replaces them by and . Show that the process terminates.
Show the answerHide the answer
Every number on the board always divides , the lcm of the starting numbers (gcd and lcm of divisors of divide ), so there are finitely many possible boards. The product is invariant, since . The sum strictly increases: with and , the identity gives , and both factors are positive because and (if then ). So . A strictly increasing sum on a finite set of boards: the process stops.
Symmetry Arguments, Worked
A symmetry of the problem — swapping players, swapping heads and tails, reflecting through a point, — maps outcomes to outcomes. Use it to PAIR outcomes of equal probability, to CANCEL terms that map to their negatives, or to MIRROR an opponent's moves.
A symmetry is a bijection that preserves whatever the problem measures (probability, value of an integrand, legality of a move). If it maps the event onto the event , then ; if and also partition everything, both are . In games, if the second position is always the mirror image of the first, every reply is legal whenever the move it copies was legal, so the mirroring player is never the one stuck. The work in a symmetry proof is checking that the map really is a bijection preserving the right thing, including the fixed points.
flips fair coins and flips . What is the probability that gets more heads than ?
Step 1 — let and be the numbers of heads and tails. Since , it is impossible that both and (the sums would differ by at most ). So exactly one of " has more heads" and " has more tails" happens: if then , and if then .
Step 2 — swapping heads and tails on every coin is a probability-preserving bijection of outcomes that exchanges the two events.
Step 3 — two events of equal probability that partition the space: each has probability . The answer is for every .
How to find it. Small case : flips one coin, none, probability . The answer not depending on signals a symmetry; the extra coin is exactly what breaks ties, so the two events cover everything.
Two players take turns placing identical coins flat on a round table, without overlapping and without overhanging the edge. The player who cannot move loses. Who wins?
Step 1 — the first player wins: she puts her first coin exactly at the centre, and afterwards answers each coin of the opponent by a coin at its reflection through the centre.
Step 2 — the answer is always legal. Before the opponent's move the position is centrally symmetric (it holds the centre coin and mirror pairs). The opponent's coin is legal, so it lies on the table and overlaps nothing; its mirror image lies on the table too. overlaps no earlier coin, because such an overlap would mirror to an overlap of with an earlier coin. does not overlap itself: two coins symmetric about the centre overlap only if each covers the centre, which is already taken.
Step 3 — so the first player always has a move, and since the table fills up after finitely many coins, the second player is the one who eventually cannot move.
How to find it. A game on a symmetric board suggests copying; the only obstacle is the fixed point of the symmetry (a move cannot be answered by itself), and the first player removes it by occupying the centre.
Four points are chosen independently and uniformly on a sphere. Find the probability that the tetrahedron they span contains the centre of the sphere.
Step 1 — warm-up in the plane, three points on a circle. Choose three random diameters first, then an endpoint of each by a fair coin; this gives three independent uniform points. For fixed diameters, of the triangles exactly contain the centre (a triangle and its reflection), so the probability is .
Step 2 — in space, choose three random lines through the centre with unit direction vectors , and an independent uniform point ; the points are and with independent fair signs . Almost surely are independent, so uniquely, with every almost surely.
Step 3 — lies inside the tetrahedron iff with all and , i.e. ; by uniqueness this means has the sign of for each . Exactly one of the sign choices does.
Step 4 — so the probability is .
How to find it. Small dimension first: on a segment, two random points of straddle with probability ; on a circle . The pattern and the coin-flip structure suggest choosing the lines first and the signs last, which turns a geometric probability into counting sign patterns.
Rerun the coin argument with coins each: "Exactly one of more-heads and more-tails happens, and heads tails swaps them, so ." For the true value is : the outcomes are HH, HT, TH, TT for , and only HT has ahead. The broken step is "exactly one happens" — with equal numbers of coins, and can TIE, and then neither event occurs. The symmetry still gives , which is .
Evaluate .
Show the answerHide the answer
Let be the integral and substitute (King's rule): becomes , so . Adding the two forms, the integrands sum to : , so . The exponent is a decoy — any exponent gives .