Browse · MathNet
PrintIMO 2006 Shortlisted Problems
2006 counting and probability
Problem
A cake has the form of an square composed of unit squares. Strawberries lie on some of the unit squares so that each row or column contains exactly one strawberry; call this arrangement . Let be another such arrangement. Suppose that every grid rectangle with one vertex at the top left corner of the cake contains no fewer strawberries of arrangement than of arrangement . Prove that arrangement can be obtained from by performing a number of switches, defined as follows: A switch consists in selecting a grid rectangle with only two strawberries, situated at its top right corner and bottom left corner, and moving these two strawberries to the other two corners of that rectangle.
Solution
We use capital letters to denote unit squares; is the top left corner square. For any two squares and let be the smallest grid rectangle containing these two squares. Strawberries lie on some squares in arrangement . Put a plum on each square of the target configuration . For a square denote by and respectively the number of strawberries and the number of plums in . By hypothesis for each , with strict inequality for some (otherwise the two arrangements coincide and there is nothing to prove). The idea is to show that by a legitimate switch one can obtain an arrangement such that (with defined analogously to ; the sums range over all unit squares ). This will be enough because the same reasoning then applies to , giving rise to a new arrangement , and so on (induction). Since and all these sums do not exceed , we eventually obtain a sum with all summands equal to the respective s; all strawberries will meet with plums. Consider the uppermost row in which the plum and the strawberry lie on different squares and (respectively); clearly must be situated left to . In the column passing through , let be the top square and the bottom square. The strawberry in that column lies below the plum (because there is no plum in that column above , and the positions of strawberries and plums coincide everywhere above the row of ). Hence there is at least one strawberry in the region below . Let be the position of the uppermost strawberry in that region.
Denote by the square at the intersection of the row through with the column through and let be the square vertex-adjacent to up-left. We claim that This is so because if then the portion of left to column contains at least as many plums as strawberries (the hypothesis of the problem); in the portion above the row through and we have perfect balance; and in the remaining portion, i.e. rectangle we have a plum on square and no strawberry at all. Now we are able to perform the required switch. Let be the square at the intersection of the row through with the column through (some of can coincide). We move strawberries from squares and to squares and . Then And since the rectangle is contained in , we still have for all , in view of (2); conditions (1) are satisfied and the proof is complete.
| I | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| I | ||||||||||||
| 1 | ||||||||||||
| 1 | 1 | |||||||||||
| 1 | ||||||||||||
| - | - | - | - | - | - | - - | ||||||
Techniques
Invariants / monovariantsInduction / smoothingColoring schemes, extremal arguments