Tuesday, April 25, 2017

USAMO 2009 Problem 3


I found a different solution to the second part of this problem.


We define a chessboard polygon to be a polygon whose edges are situated along lines of the form \(x = a\) or \(y = b\), where \(a\) and \(b\) are integers. These lines divide the interior into unit squares, which are shaded alternately grey and white so that adjacent squares have different colors. To tile a chessboard polygon by dominoes is to exactly cover the polygon by non-overlapping \(1\times 2\) rectangles. Finally, a tasteful tiling is one which avoids the two configurations of dominoes shown on the left below. Two tilings of a \(3\times 4\) rectangle are shown; the first one is tasteful, while the second is not, due to the vertical dominoes in the upper right corner.



a) Prove that if a chessboard polygon can be tiled by dominoes, then it can be done so tastefully.
b) Prove that such a tasteful tiling is unique.

===============================================

Sol:

a)
There must be an upper right corner of the polygon \(P\). If it's white, cover it with a vertical domino and then tile the rest by induction. Otherwise cover it with a horizontal. It is clear that this domino doesn't form distasteful tiling with the rest.

b)
Suppose there are two different tasteful tilings, then they form a chain surrounding a non-empty chessboard polygon \(R\) with a tasteful tiling because of induction. We show that walking counterclockwise along the perimeter of such surrounded \(R\) we can always find a domino with B following W, which we call bad domino, and making one of the tilings distasteful. This is proved by induction. Given any surrounded tasteful tiling with at least a bad domino, we will prove that adding any other domino does not decrease the number of bad dominoes. Suppose the bad domino is W above B somewhere locally rightmost in \(R\). The new domino covers either W or B to its right, but not both as that'd be distasteful. However no matter what the new domino will be bad, which concludes the proof.

Thursday, April 20, 2017

USAMO 2017 Problem 2


Let \(m_1, m_2, \ldots, m_n\) be a collection of \(n\) positive integers, not necessarily distinct. For any sequence of integers \(A = (a_1, \ldots, a_n)\) and any permutation \(w = w_1, \ldots, w_n\) of \(m_1, \ldots, m_n\), define an \(A\)-inversion of \(w\) to be a pair of entries \(w_i, w_j\) with \(i < j\) for which one of the following conditions holds:

\(a_i \ge w_i > w_j\),
\(w_j > a_i \ge w_i\),
\(w_i > w_j > a_i\).

Show that, for any two sequences of integers \(A = (a_1, \ldots, a_n)\) and \(B = (b_1, \ldots, b_n)\), and for any positive integer \(k\), the number of permutations of \(m_1, \ldots, m_n\) having exactly \(k\) \(A\)-inversions is equal to the number of permutations of \(m_1, \ldots, m_n\) having exactly \(k\) \(B\)-inversions.

==========================================================

Proof:

It suffices to show that swapping any \(a_i\) with \(a_{i+1}\) does not alter the distribution of number of \(A\)-inversions, as then any sequence \(A\) could be transformed to any other sequence \(B\) with a combination of such swapping and update of the last element \(a_n\).

USAMO 2008 Problem 3

The problem is rephrased.

USAMO 2017 Problem 4


Let \(P_1, P_2, \dots, P_{2n}\) be \(2n\) distinct points on the unit circle \(x^2+y^2=1\), other than \((1,0)\). Each point is colored either red or blue, with exactly \(n\) red points and \(n\) blue points. Let \(R_1, R_2, \dots, R_n\) be any ordering of the red points. Let \(B_1\) be the nearest blue point to \(R_1\) traveling counterclockwise around the circle starting from \(R_1\). Then let \(B_2\) be the nearest of the remaining blue points to \(R_2\) traveling counterclockwise around the circle from \(R_2\), and so on, until we have labeled all of the blue points \(B_1, \dots, B_n\). Show that the number of counterclockwise arcs of the form \(R_i \to B_i\) that contain the point \((1,0)\) is independent of the way we chose the ordering \(R_1, \dots, R_n\) of the red points.

==================================================================

Solution:

Show that swapping \(R_i\) and \(R_{i+1}\) does not change the number of arcs crossing \((1,0)\).