Olympiad Maths Prep

Track / Stage 10 / 1 of 40 #1961 of 2000

Problem 1961

Hardest shortlist tier
Geometry Difficulty 9.2 Prove it IMO 2021 Shortlisted Problems · IMO · 2021

Version 1. Let nn be a fixed positive integer, and let SS be the set of points (x,y)(x, y) on the Cartesian plane such that both coordinates xx and yy are nonnegative integers smaller than 2n2n (thus S=4n2|S| = 4n^2). Assume that F\mathcal{F} is a set consisting of n2n^2 quadrilaterals such that all their vertices lie in SS, and each point in SS is a vertex of exactly one of the quadrilaterals in F\mathcal{F}.
Determine the largest possible sum of areas of all n2n^2 quadrilaterals in F\mathcal{F}.

Version 2. Let nn be a fixed positive integer, and let SS be the set of points (x,y)(x, y) on the Cartesian plane such that both coordinates xx and yy are nonnegative integers smaller than 2n2n (thus S=4n2|S| = 4n^2). Assume that F\mathcal{F} is a set of polygons such that all vertices of polygons in F\mathcal{F} lie in SS, and each point in SS is a vertex of exactly one of the polygons in F\mathcal{F}.
Determine the largest possible sum of areas of all polygons in F\mathcal{F}.

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

Answer for both Versions: The largest possible sum of areas is Σ(n):=13n2(2n+1)(2n1)\Sigma(n) := \frac{1}{3} n^2 (2n+1)(2n-1).

Common remarks. Throughout all solutions, the area of a polygon PP will be denoted by [P][P].
We say that a polygon is legal if all its vertices belong to SS. Let O=(n12,n12)O = \left(n - \frac{1}{2}, n - \frac{1}{2}\right) be the centre of SS. We say that a legal square is central if its centre is situated at OO. Finally, say that a set F\mathcal{F} of polygons is acceptable if it satisfies the problem requirements, i.e. if all polygons in F\mathcal{F} are legal, and each point in SS is a vertex of exactly one polygon in F\mathcal{F}. For an acceptable set F\mathcal{F}, we denote by Σ(F)\Sigma(\mathcal{F}) the sum of areas of polygons in F\mathcal{F}.

Solution 1, for both Versions. Each point in SS is a vertex of a unique central square. Thus the set G\mathcal{G} of central squares is acceptable. We will show that
Σ(F)Σ(G)=Σ(n) \begin{equation*} \Sigma(\mathcal{F}) \leqslant \Sigma(\mathcal{G}) = \Sigma(n) \tag{1} \end{equation*}
thus establishing the answer.
We will use the following key lemma.

Lemma 1. Let P=A1A2AmP = A_1 A_2 \ldots A_m be a polygon, and let OO be an arbitrary point in the plane. Then
[P]12i=1mOAi2 \begin{equation*} [P] \leqslant \frac{1}{2} \sum_{i=1}^m OA_i^2 \tag{2} \end{equation*}
moreover, if PP is a square centred at OO, then the inequality (2) turns into an equality.

Proof. Put An+1=A1A_{n+1} = A_1. For each i=1,2,,mi = 1, 2, \ldots, m, we have
[OAiAi+1]OAiOAi+12OAi2+OAi+124. \left[OA_i A_{i+1}\right] \leqslant \frac{OA_i \cdot OA_{i+1}}{2} \leqslant \frac{OA_i^2 + OA_{i+1}^2}{4}.
Therefore,
[P]i=1m[OAiAi+1]14i=1m(OAi2+OAi+12)=12i=1mOAi2 [P] \leqslant \sum_{i=1}^m \left[OA_i A_{i+1}\right] \leqslant \frac{1}{4} \sum_{i=1}^m \left(OA_i^2 + OA_{i+1}^2\right) = \frac{1}{2} \sum_{i=1}^m OA_i^2
which proves (2). Finally, all the above inequalities turn into equalities when PP is a square centred at OO.

Back to the problem, consider an arbitrary acceptable set F\mathcal{F}. Applying Lemma 1 to each element in F\mathcal{F} and to each element in G\mathcal{G} (achieving equality in the latter case), we obtain
Σ(F)12ASOA2=Σ(G) \Sigma(\mathcal{F}) \leqslant \frac{1}{2} \sum_{A \in S} OA^2 = \Sigma(\mathcal{G})
which establishes the left inequality in (1).

It remains to compute Σ(G)\Sigma(\mathcal{G}). We have
Σ(G)=12ASOA2=12i=02n1j=02n1((n12i)2+(n12j)2)=1842ni=0n1(2n2i1)2=nj=0n1(2j+1)2=n(j=12nj2j=1n(2j)2)=n(2n(2n+1)(4n+1)64n(n+1)(2n+1)6)=n2(2n+1)(2n1)3=Σ(n) \begin{aligned} \Sigma(\mathcal{G}) = & \frac{1}{2} \sum_{A \in S} OA^2 = \frac{1}{2} \sum_{i=0}^{2n-1} \sum_{j=0}^{2n-1} \left(\left(n - \frac{1}{2} - i\right)^2 + \left(n - \frac{1}{2} - j\right)^2\right) \\ & = \frac{1}{8} \cdot 4 \cdot 2n \sum_{i=0}^{n-1} (2n - 2i - 1)^2 = n \sum_{j=0}^{n-1} (2j + 1)^2 = n \left(\sum_{j=1}^{2n} j^2 - \sum_{j=1}^n (2j)^2\right) \\ & = n \left(\frac{2n(2n+1)(4n+1)}{6} - 4 \cdot \frac{n(n+1)(2n+1)}{6}\right) = \frac{n^2 (2n+1)(2n-1)}{3} = \Sigma(n) \end{aligned}

Solution 2, for Version 1. Let F\mathcal{F} be an accessible set of quadrilaterals. For every quadrilateral ABCDABCD in F\mathcal{F} write
[ABCD]=ACBD2sinϕAC2+BD24 \begin{equation*} [ABCD] = \frac{AC \cdot BD}{2} \sin \phi \leqslant \frac{AC^2 + BD^2}{4} \tag{3} \end{equation*}
where ϕ\phi is the angle between ACAC and BDBD. Applying this estimate to all members in F\mathcal{F} we obtain
Σ(F)14i=12n2AiBi2 \Sigma(\mathcal{F}) \leqslant \frac{1}{4} \sum_{i=1}^{2n^2} A_i B_i^2
where A1,A2,,A2n2,B1,B2,,B2n2A_1, A_2, \ldots, A_{2n^2}, B_1, B_2, \ldots, B_{2n^2} is some permutation of SS. For brevity, denote
f((Ai),(Bi)):=i=12n2AiBi2 f\left(\left(A_i\right), \left(B_i\right)\right) := \sum_{i=1}^{2n^2} A_i B_i^2
The rest of the solution is based on the following lemma.

Lemma 2. The maximal value of f((Ai),(Bi))f\left(\left(A_i\right), \left(B_i\right)\right) over all permutations of SS equals 43n2(4n21)\frac{4}{3} n^2 (4n^2 - 1) and is achieved when AiA_i is symmetric to BiB_i with respect to OO, for every i=1,2,,2n2i = 1, 2, \ldots, 2n^2.

Proof. Let Ai=(pi,qi)A_i = (p_i, q_i) and Bi=(ri,si)B_i = (r_i, s_i), for i=1,2,,2n2i = 1, 2, \ldots, 2n^2. We have
f((Ai),(Bi))=i=12n2(piri)2+i=12n2(qisi)2 f\left(\left(A_i\right), \left(B_i\right)\right) = \sum_{i=1}^{2n^2} (p_i - r_i)^2 + \sum_{i=1}^{2n^2} (q_i - s_i)^2
it suffices to bound the first sum, the second is bounded similarly. This can be done, e.g., by means of the QM-AM inequality as follows:
i=12n2(piri)2=i=12n2(2pi2+2ri2(pi+ri)2)=4nj=02n1j2i=12n2(pi+ri)24nj=02n1j212n2(i=12n2(pi+ri))2=4nj=02n1j212n2(2nj=02n1j)2=4n2n(2n1)(4n1)62n2(2n1)2=2n2(2n1)(2n+1)3 \begin{aligned} \sum_{i=1}^{2n^2} (p_i - r_i)^2 & = \sum_{i=1}^{2n^2} (2p_i^2 + 2r_i^2 - (p_i + r_i)^2) = 4n \sum_{j=0}^{2n-1} j^2 - \sum_{i=1}^{2n^2} (p_i + r_i)^2 \\ \leqslant 4n \sum_{j=0}^{2n-1} j^2 & - \frac{1}{2n^2} \left(\sum_{i=1}^{2n^2} (p_i + r_i)\right)^2 = 4n \sum_{j=0}^{2n-1} j^2 - \frac{1}{2n^2} \left(2n \cdot \sum_{j=0}^{2n-1} j\right)^2 \\ & = 4n \cdot \frac{2n(2n-1)(4n-1)}{6} - 2n^2 (2n-1)^2 = \frac{2n^2 (2n-1)(2n+1)}{3} \end{aligned}
All the estimates are sharp if pi+ri=2n1p_i + r_i = 2n-1 for all ii. Thus,
f((Ai),(Bi))4n2(4n21)3 f\left(\left(A_i\right), \left(B_i\right)\right) \leqslant \frac{4n^2 (4n^2 - 1)}{3}
and the estimate is sharp when pi+ri=qi+si=2n1p_i + r_i = q_i + s_i = 2n-1 for all ii, i.e. when AiA_i and BiB_i are symmetric with respect to OO.

Lemma 2 yields
Σ(F)144n2(4n21)3=n2(2n1)(2n+1)3 \Sigma(\mathcal{F}) \leqslant \frac{1}{4} \cdot \frac{4n^2 (4n^2 - 1)}{3} = \frac{n^2 (2n-1)(2n+1)}{3}

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