Maths Olympiad Prep

Track / Stage 7 / 286 of 300 #2166 of 2444

Problem 2166

National Olympiad second round; IMO P1/P4
Geometry Difficulty 7.9 Prove it Middle European Mathematical Olympiad · Middle European Mathematical Olympiad (MEMO)

Let n3n \geqslant 3 be an integer. John and Mary play the following game: First John labels the sides of a regular nn-gon with the numbers 1,2,,n1,2, \ldots, n in whatever order he wants, using each number exactly once. Then Mary divides this nn-gon into triangles by drawing n3n-3 diagonals which do not intersect each other inside the nn-gon. All these diagonals are labeled with number 1. Into each of the triangles the product of the numbers on its sides is written. Let SS be the sum of those n2n-2 products.
Determine the value of SS if Mary wants the number SS to be as small as possible and John wants SS to be as large as possible and if they both make the best possible choices.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

Solution:

For n=3n=3 the answer is 66. Suppose n4n \geqslant 4. It is obvious that in each triangulation there are at least two triangles that share two sides with the polygon. We will prove that it is always best for Mary to choose a triangulation for which there is no more than two triangles of this kind.

We call a triangle in a triangulation bad if all of its sides are diagonals of the polygon. First we prove that Mary can choose an optimal triangulation that contains no bad triangles. Assume on the contrary that every optimal triangulation contains a bad triangle. For an optimal triangulation T\mathcal{T} let d(T)d(\mathcal{T}) be the length of the smallest side of all bad triangles in T\mathcal{T}. Among all optimal triangulations with minimal number of bad triangles let T0\mathcal{T}_0 be such that d(T0)d\left(\mathcal{T}_0\right) is minimal.

Consider a bad triangle ABCABC in T0\mathcal{T}_0 such that AB=d(T0)|AB|=d\left(\mathcal{T}_0\right). Let ABDABD be the other triangle of T0\mathcal{T}_0 that contains AB\overline{AB} as one of its sides. Since DD lies on the arc AB\text{AB} of the circumcircle of ABCABC that does not contain CC and ACB\angle ACB is acute, we have AD<AB|AD|<|AB| and BD<AB|BD|<|AB|.

Let T1\mathcal{T}_1 be the triangulation obtained from T0\mathcal{T}_0 by replacing AB\overline{AB} with CD\overline{CD}. If the sides AD\overline{AD} and BD\overline{BD} have labels aa and bb respectively, then
S(T1)S(T0)=a+bab1=(a1)(b1)0 S\left(\mathcal{T}_1\right)-S\left(\mathcal{T}_0\right)=a+b-ab-1=-(a-1)(b-1) \leqslant 0
Because T0\mathcal{T}_0 is optimal triangulation, we conclude that T1\mathcal{T}_1 is also optimal. Since T0\mathcal{T}_0 has the minimal number of bad triangles at least one of the segments AD\overline{AD} and BD\overline{BD} should be a diagonal, but then d(T1)d\left(\mathcal{T}_1\right) is less than d(T0)d\left(\mathcal{T}_0\right) what is a contradiction.

Now that we know that Mary can choose an optimal triangulation that contains no bad triangles, we easily conclude that in such a triangulation there are exactly two triangles that share two sides with the polygon. If we denote by x1x_1 (respectively x2x_2) the number of triangles that have exactly one (respectively two) of their sides being the sides of the polygon, then x1+x2=n2x_1+x_2=n-2 and x1+2x2=nx_1+2x_2=n, so x2=2x_2=2.

Mary's strategy is to choose these two triangles so that the side of the polygon labeled with 11 is contained in one of these triangles and the side labeled with 22 is contained in the other.

By this strategy Mary makes sure that
S n(n+1) 2 -(1+2+n+n-1)+1 n+2 (n-1), n(n+1) 2 -(1+2+n+n-1)+1 (n-1)+2 n = n 2+3n-6 2\text{S n(n+1) 2 -(1+2+n+n-1)+1 n+2 (n-1), n(n+1) 2 -(1+2+n+n-1)+1 (n-1)+2 n = n 2+3n-6 2}

On the other hand, John can force Mary to achieve exactly this bound by labeling the sides of the polygon in the following order
1,n1,4,n3,5,,n2,3,n,2 1, n-1, 4, n-3, 5, \ldots, n-2, 3, n, 2

Thus, the answer to our problem is S=n2+3n62S=\frac{n^2+3n-6}{2}, for each n3n \geqslant 3.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.