Maths Olympiad Prep

Library / /31 of 32

Geometry Difficulty 7.7 National Olympiad, round 2 Prove it Estonia

Let nn be a positive integer, n3n \ge 3. In a regular nn-gon, one draws a maximal set of diagonals, no two of which intersect in the interior of the nn-gon. Every diagonal is labelled with the number of sides of the nn-gon between the endpoints of the diagonal along the shortest path. Find the maximum value of the sum of the labels.

Answer: n294\frac{n^2-9}{4} for odd nn, n284\frac{n^2-8}{4} for even nn.

Solution

Consider an arbitrary set of diagonals satisfying the conditions. Label the sides of the nn-gon with number 1. The diagonals partition the nn-gon into triangles; let Δ\Delta be a triangle that contains the centroid of the nn-gon. Let s,t,us, t, u be the labels of the sides of Δ\Delta (Fig. 26). The triangle Δ\Delta divides the interior of the nn-gon outside Δ\Delta into three regions each bounded by one side of Δ\Delta and the respective sides of the nn-gon (if a side of the nn-gon coincides with a side of Δ\Delta then the respective region contains 0 triangles).

Figure 1
Fig. 26

As all triangles that are cut out are on the same side of the centroid of the polygon, the label of the longest side of each triangle equals the sum of labels on the two shorter sides. Cutting out a triangle removes two sides from the boundary of the region and introduces a new side labeled with the sum of the removed sides. Therefore, the sum of the labels on the boundary of the region is constant during the process. Let mim_i be the greatest number on the boundary of the region after ii triangles have been removed. As the boundary is initially labeled with ss ones and in every step the number of sides is reduced by one then after ii steps there are sis-i sides remaining. Therefore smi+(si1)s \ge m_i + (s-i-1) from which mii+1m_i \le i+1. On the other hand, the label of the diagonal did_i along which the cut is made on the ii-th step satisfies dimid_i \le m_i. Hence the sum of all labels of the diagonals in this region (including the side of Δ\Delta labeled with ss) is not greater than 2+3+...+s2+3+...+s.
As the same is valid for the remaining two regions, the total sum of labels does not exceed (2+3+...+s)+(2+3+...+t)+(2+3+...+u)(2+3+...+s) + (2+3+...+t) + (2+3+...+u). We know s+t+u=ns+t+u=n; w.l.o.g., n2stu1\frac{n}{2} \ge s \ge t \ge u \ge 1. If u>1u>1 then t<n2t < \lfloor \frac{n}{2} \rfloor, whence a new triple (s,t,u)(s', t', u') with u=u1u' = u-1 also satisfies conditions: Replace tt with t+1t+1 and change the order of ss and t+1t+1 if needed. The total sum increases since t+1>ut+1 > u. In the case of u=1u=1, the only possibility is s=t=n12s=t=\frac{n-1}{2} if nn is odd and s=n2,t=n21s=\frac{n}{2}, t=\frac{n}{2}-1 if nn is even. Hence the total sum of labels does not exceed 2(2+3+...+n12)=n2942 \cdot \left(2+3+...+\frac{n-1}{2}\right) = \frac{n^2-9}{4} for odd nn and (2+3+...+(n21))+(2+3+...+n2)=n284\left(2+3+...+\left(\frac{n}{2}-1\right)\right) + \left(2+3+...+\frac{n}{2}\right) = \frac{n^2-8}{4} for even nn. These sums can be achieved by drawing all diagonals connecting a fixed vertex with all non-neighboring vertices.

Solution 2:

Call the minimal number of sides of the nn-gon between the endpoints of a given diagonal its length. The parts of the nn-gon that a diagonal divides it into are called short flank and long flank (if the parts contain the same number of sides then both may be called short and long flank).

For every positive integer kk, let aka_k be the number of drawn diagonals whose length is at least kk. Note that the sum of lengths of all drawn diagonals is a1+a2++an2a_1 + a_2 + \dots + a_{\lfloor \frac{n}{2} \rfloor}. Indeed, represent all lengths of diagonals in the form 1+1++11+1+\dots+1; aligning the sums left, the kkth column from the left contains exactly aka_k ones and there are n2\lfloor \frac{n}{2} \rfloor non-empty columns in total.
We prove that, for every k2k \ge 2, akn2k+1a_k \le n - 2k + 1. The claim holds for k=n2k = \frac{n}{2} since all diagonals of length n2\frac{n}{2} intersect in the centroid of the nn-gon. Assume in the rest that k<n2k < \frac{n}{2}. Let MM be an arbitrary set of non-intersecting diagonals with length at least kk which cannot be extended by any other such diagonal without introducing an intersection. Let dd be the longest diagonal in MM. Clearly MM contains a diagonal of length kk in the long flank of dd, otherwise one could add a new diagonal of length kk to the short flank of the shortest diagonal in the long flank of dd. If the length of dd is greater than kk then MM contains a diagonal of length kk also in the short flank of dd. Hence MM contains at least 2 diagonals of length kk. In the short flanks of these diagonals, there are 2(k1)2(k-1) vertices not connected by any diagonals of MM. The remaining n2k+2n - 2k + 2 vertices can be joined by at most n2k+1n - 2k + 1 non-intersecting diagonals, implying akn2k+1a_k \le n - 2k + 1.
As a1=n3=(n1)2a_1 = n - 3 = (n - 1) - 2, the sum of the lengths of all drawn diagonals is at most ((n1)+(n3)++(n2n2+1))2((n - 1) + (n - 3) + \dots + (n - 2 \lfloor \frac{n}{2} \rfloor + 1)) - 2. This simplifies to n284\frac{n^2-8}{4} in the case of even nn and to n294\frac{n^2-9}{4} in the case of odd nn. If one draws all diagonals from a fixed vertex to the non-neighboring vertices then ak=n2k+1a_k = n - 2k + 1 for every k=2,3,,n2k = 2, 3, \dots, \lfloor \frac{n}{2} \rfloor. Hence the bounds found above are achieved.

Solution 3:

Define the notions length, short flank and long flank as in Solution 2. We show by induction that the sum of lengths of any diagonal dd and all diagonals in the short flank of dd does not exceed 2+3++s2+3+\dots+s, where ss is the length of dd. The claim holds for s=2s=2 since there are no diagonals in the short flank of a diagonal of length 2. Assume now that the claim holds for diagonals shorter than dd. Let dd' of length ss' be the longest diagonal drawn in the short flank of dd. By the induction hypothesis, the sum of lengths of the diagonal dd' and all diagonals in the short flank of dd' does not exceed 2+3++s2+3+\dots+s'. As there are exactly s2s-2 diagonals drawn in the short flank of dd and exactly s2s'-2 of them are in the short flank of dd', the number of diagonals that lie in the short flank of dd and also in the long flank of dd' must be ss1s-s'-1. By the choice of dd', the sum of lengths of these diagonals is at most s(ss1)s'(s-s'-1) which does not exceed (s+1)++(s1)(s'+1)+\dots+(s-1) (the equality holds in the case s=s1s'=s-1). Consequently, the sum of lengths of diagonal dd and all diagonals in the short side of dd does not exceed 2+3++s2+3+\dots+s. This completes the proof of the claim.
Now let dd of length ss be the longest drawn diagonal. Let dd' of length ss' be the longest diagonal in the long flank of dd. By the claim proven above, the sum of lengths of the diagonal dd and all diagonals in the short flank of dd does not exceed 2+3+...+s2+3+...+s and the sum of lengths of the diagonal dd' and all diagonals in the short flank of dd' does not exceed 2+3+...+s2+3+...+s'. The total number of these diagonals is (s1)+(s1)(s-1)+(s'-1). As n3n-3 diagonals are drawn, the number of diagonals lying in the long flank of both dd and dd' is nss1n-s-s'-1. By the choice of dd and dd', the sum of lengths of these diagonals is at most s(nss1)s'(n-s-s'-1) that does not exceed ((s+1)+...+n2)+((s+1)+...+n12)((s+1)+...+\lfloor\frac{n}{2}\rfloor)+((s'+1)+...+\lfloor\frac{n-1}{2}\rfloor). Thus the sum of lengths of all drawn diagonals is (2+3+...+n2)+(2+3+...+n12)(2+3+...+\lfloor\frac{n}{2}\rfloor)+(2+3+...+\lfloor\frac{n-1}{2}\rfloor) which simplifies to n284\frac{n^2-8}{4} in the case of even nn and n294\frac{n^2-9}{4} in the case of odd nn. These bounds are achieved as the sum of lengths of diagonals drawn from a fixed vertex to all non-neighboring vertices equals (2+3+...+n2)+(2+3+...+n12)(2+3+...+\lfloor\frac{n}{2}\rfloor)+(2+3+...+\lfloor\frac{n-1}{2}\rfloor).

Solution 4:

Define the notions length, short flank and long flank as in Solution 2. Consider any set of diagonals with the maximal sum of lengths.
Suppose initially that, in the partition of the nn-gon into triangles, there exists a triangle ABCABC whose all sides are diagonals of the nn-gon; let the lengths of BCBC, CACA and ABAB be a,b,ca, b, c, respectively. W.l.o.g., abca \le b \le c. Then ABAB and ACAC lie in the long flank of BCBC (otherwise a=b+ca = b+c). Let BCDBCD be the triangle of the partition in the short flank of BCBC (Fig. 27) and let the length of ADAD be dd. Among the diagonals ABAB and ACAC, the one that lies in the short side of ADAD is shorter than ADAD, implying that d>bd > b or d>cd > c. In either

Figure 2
Fig. 27

case, d>ad > a. Thus replacing BCBC with ADAD in the partition leads to a larger sum of lengths. This contradicts the assumption.
Consequently, each triangle of the partition has at least one side that is a side of the nn-gon. This means that, starting from any drawn diagonal d1d_1 of length 2, we can find a diagonal d2d_2 with a common endpoint with d1d_1, then a new diagonal d3d_3 with a common endpoint with d2d_2 etc., in such a way that the lengths of the diagonals increase with step 1 until n2\lfloor\frac{n}{2}\rfloor and after that decrease with step 1. Hence the sum of lengths of all diagonals is at most 2(2+3+...+n12)=n2942 \cdot (2+3+...+\frac{n-1}{2}) = \frac{n^2-9}{4} for odd nn and at most 2(2+3+...+(n21))+n2=n2842 \cdot (2+3+...+(\frac{n}{2}-1)) + \frac{n}{2} = \frac{n^2-8}{4} for even nn. The proof immediately gives a construction that achieves the bounds.

Solution 5:

Label each side of the nn-gon with number 1. If the polygon with at least 5 sides is partitioned into triangles using non-intersecting diagonals then at least two triangles have two sides on the boundary of the polygon. After removing two such triangles, we can repeat the procedure in the remaining polygon. After repeating the procedure kk times, the remaining polygon has exactly n2kn-2k sides since at each step a new side appears instead of two sides at two places. The sum of labels of the sides of the remaining polygon is nn or less since every cut replaces two sides with a diagonal with label not greater than the sum of the labels of the two sides.
Consider arbitrary 4 sides in the polygon remaining after kk steps. As the sum of labels of the other n2k4n-2k-4 sides is at least n2k4n-2k-4, the sum of labels of the chosen 4 sides is at most 2k+42k+4. Hence the labels of the diagonals along which the two cuts are made in the next step sum up to at most 2k+4=2(k+2)2k+4 = 2(k+2). Using this argument for k=0,1,,n122k=0,1,\dots, \frac{n-1}{2}-2 in the case of odd nn, we conclude that the sum of labels of the drawn diagonals, for odd nn, does not exceed 2(2+3++n12)=n2942 \cdot (2+3+\dots+\frac{n-1}{2}) = \frac{n^2-9}{4}. Similarly for even nn, the sum of labels of n4n-4 drawn diagonals does not exceed 2(2+3++(n21))=n24n222 \cdot (2+3+\dots+(\frac{n}{2}-1)) = \frac{n^2}{4} - \frac{n}{2} - 2. As the label of the last diagonal is at most n2\frac{n}{2}, the total sum of labels is at most n284\frac{n^2-8}{4}. The sums are achieved by drawing diagonals from a fixed vertex to all non-neighboring vertices.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

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