Given a positive integer . Let be the set of points in the coordinate plane whose -coordinate and -coordinate are both nonnegative integers less than (so contains a total of points). Suppose is a set of quadrilaterals, where every vertex of each quadrilateral lies in , and every point in is a vertex of one of the quadrilaterals in . Find the maximum possible value of the sum of the areas of all quadrilaterals in .
, 2022
Solution
The maximum possible value of the sum of the areas is .
Below, let denote the area of the polygon . We first make some conventions. If all the vertices of a polygon belong to , we call it legal. Let be the center point of . If a legal square has center , we call that square centered. Finally, if a set of polygons satisfies the conditions of the problem, we call admissible, and denote the sum of its areas by .
Every point in is exactly the vertex of a unique centered square. So all the centered squares form an admissible set . Below we prove that
holds for every admissible , which thus answers the problem.
We use the following key lemma.
Lemma 1. Let be a polygon, and let be an arbitrary point in the plane. Then
and moreover, when is a square and is its center, the inequality in (2) becomes an equality.
Proof of Lemma. Let . For each , we have
Thus we obtain
which is exactly (2). Direct verification shows that when is a square and is its center, the inequality in (2) becomes an equality. This proves the lemma.
so the left-hand inequality of (1) holds.
Finally, we compute . From (2) we know
This completes the proof.