Olympiad Maths Prep

Track / Stage 10 / 13 of 40 #1973 of 2000

Problem 1973

Hardest shortlist tier
Geometry Difficulty 9.2 Prove it China National Team Selection Test · China

Suppose there are beetles on a chessboard consisting of 2012×20122012 \times 2012 unit squares. Each unit square can accommodate at most one beetle. At a moment, all beetles fly and land on the chessboard again. For a beetle, we call the vector from its flying unit to its landing unit the beetle's "displacement vector". We call the sum of all beetle's "displacement vectors" the "total displacement vectors".
Find the maximum length of "total displacement vector" considering the number of beetles and all possible positions of flying and landing. (posed by Qu Zhenhua)

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

Set up a coordinate system with origin at the center of chessboard OO and the grid line as the coordinate line. Denote the set of the centers of squares by SS, and the set where the beetles initially stand on by M1SM_1 \subseteq S, and the set that the beetles land on by M2SM_2 \subseteq S. Let f:M1M2f: M_1 \to M_2 be the one-to-one mapping defined by a beetle's position vv at the beginning to the position u=f(v)u = f(v) of first landing. Thus, the total displacement vector is given by
V=vM1(f(v)v)=uM2uvM1v.1 V = \sum_{v \in M_1} (f(v) - v) = \sum_{u \in M_2} u - \sum_{v \in M_1} v. \qquad \textcircled{1}
Note that the right-hand side of ① is independent of ff. We need only to find the maximum of V=uM2uvM1v|V| = |\sum_{u \in M_2} u - \sum_{v \in M_1} v| for all M1,M2SM_1, M_2 \subseteq S, M1=M2|M_1| = |M_2|. We may suppose that M1M2=M_1 \cap M_2 = \emptyset, since element of M1M2M_1 \cap M_2 does not change V|V|. Suppose that V|V| attains its maximum at (M1,M2)(M_1, M_2), obviously V0V \neq 0. Let line lVl \perp V be at point OO.

Lemma 1. Line ll does not pass any point of SS. M1M_1 is the set of SS on one side of ll, and M2M_2 is the set of SS on the other side of ll.

Proof of Lemma 1. First, M1M2=SM_1 \cup M_2 = S. Otherwise, since S|S| is even, there are at least two points aa and bb which are not in M1M2M_1 \cup M_2. Suppose that the angle between aba-b and VV does not exceed 9090^\circ, then V+(ab)>V|V + (a-b)| > |V|. So add aa into M2M_2, add bb into M1M_1, then V|V| will increase, which is a contradiction.

Second, M2=M1M_2 = -M_1. Otherwise, there exist a,bSa, b \in S, such that a,aM1a, -a \in M_1 and b,bM2b, -b \in M_2. Suppose that the angle between aba-b and VV does not exceed 9090^\circ. Put aa into M2M_2, and bb into M1M_1, VV changes to V+2(ab)V+2(a-b), and V+2(ab)>V|V+2(a-b)| > |V|, which is a contradiction.

Third, ll does not pass any point of SS. Otherwise, let ll pass a,aM1,aM2a, a \in M_1, -a \in M_2, then change aa into M2,aM_2, -a into M1M_1, VV changes to V+4aV+4a. Notice that aVa \perp V, so V+4a>V|V+4a| > |V|, which is a contradiction.

Fourth, we show that M2M_2 is the set of SS on one side of ll (the side that VV is pointing to), and M1M_1 is the set of SS on the other side of ll. Otherwise, there is aM1a \in M_1 at the side that VV is pointing to. And there is a bM2b \in M_2 on the other side. Then the angle between aba-b and VV is less than 9090^\circ. Change aa into M2M_2 and bb into M1M_1, then VV changes into V+2(ab)V+2(a-b), the length of which is greater, which is a contradiction. Lemma 1 is now proved.

Lemma 2. Let Sk={(x,y)Sx=k12 or y=k12},k=1,2,,1006,lS_k = \{(x, y) \in S \mid |x| = k - \frac{1}{2} \text{ or } |y| = k - \frac{1}{2}\}, k = 1, 2, \dots, 1006, l be a line passing OO and does not pass points of SkS_k. Denote all points of SkS_k on one side of ll by AkA_k, all points of SkS_k on the other side by BkB_k. Denote Vk=uAkuvBkvV_k = \sum_{u \in A_k} u - \sum_{v \in B_k} v, then the maximum of Vk|V_k| is obtained when ll is horizontal (or vertical), and VkV_k is vertical (or horizontal).

Proof of Lemma 2. SkS_k is located at the boundary of a square with 2k2k points on each side. Let the four vertices of the square be A(k12,k12)A(k - \frac{1}{2}, k - \frac{1}{2}), B(k+12,k12)B(-k + \frac{1}{2}, k - \frac{1}{2}), C(k+12,k+12)C(-k + \frac{1}{2}, -k + \frac{1}{2}) and D(k12,k+12)D(k - \frac{1}{2}, -k + \frac{1}{2}). By
Figure 1
Fig. 6.1
symmetricity, we may suppose that ll intersects ADAD at point PP with non-negative slope. Let PP be located between the tt (1tk1 \le t \le k)th (from top to bottom) of SkS_k on ADAD and the (t+1)(t+1)th of SkS_k on ADAD (see Fig. 6.1, in case of k=6,t=3k = 6, t = 3). Thus,
Vk=(2k2)(2k1)j+(2kt)((2k1)i+tj)+t((2k1)i+(2kt)j)=2(2k1)(kt)i+2((kt)2+3k23k+1)j, \begin{aligned} V_k &= (2k-2)(2k-1)\vec{j} + (2k-t)(-(2k-1)\vec{i} + t\vec{j}) + \\ &\quad t((2k-1)\vec{i} + (2k-t)\vec{j}) \\ &= -2(2k-1)(k-t)\vec{i} + 2(-(k-t)^2 + 3k^2 - 3k + 1)\vec{j}, \end{aligned}
where i\vec{i} and j\vec{j} are horizontal and vertical unit vectors, respectively. Denote (kt)2=u(k-t)^2 = u, 0u(k1)20 \le u \le (k-1)^2, then
14Vk2=(2k1)2u+u22(3k23k+1)u+(3k23k+1)2=u2(2k22k+1)u+(3k23k+1)2. \begin{aligned} \frac{1}{4} |V_k|^2 &= (2k-1)^2 u + u^2 - 2(3k^2 - 3k + 1)u + (3k^2 - 3k + 1)^2 \\ &= u^2 - (2k^2 - 2k + 1)u + (3k^2 - 3k + 1)^2. \end{aligned}
As a quadratic function of uu, u=k2k+12u = k^2 - k + \frac{1}{2} is the symmetric axis. It is easy to know that Vk2|V_k|^2 takes its maximum at u=0u = 0. So t=kt = k, that is, ll is horizontal, so VkV_k is vertical. Lemma 2 is proved.

Turn to the original problem. By symmetricity, we need to only consider that the slope of ll is non-negative and less than 1. Let M1,M2M_1, M_2 be located on two sides of ll. Denote M2Sk=Ak,M1Sk=Bk,Vk=uAkuvBkvM_2 \cap S_k = A_k, M_1 \cap S_k = B_k, V_k = \sum_{u \in A_k} u - \sum_{v \in B_k} v, then
V=k=11006Vkk=11006Vk.2 |V| = \left| \sum_{k=1}^{1006} V_k \right| \le \sum_{k=1}^{1006} |V_k|. \qquad \textcircled{2}
So, Vmaxk=11006Vkmax|V|_{\max} \le \sum_{k=1}^{1006} |V_k|_{\max}. If ll is horizontal, M2M_2 is all the points of SS on the upper half-plane, M1M_1 is all points of SS on the lower half-plane; each Vk|V_k| takes its maximum, and all VkV_k point upward. And the equality of ② holds. So V|V| indeed takes the maximum Vmax=2×10063|V|_{\max} = 2 \times 1006^3.

2×10063\boxed{2 \times 1006^3}

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.