Olympiad Maths Prep

Track / Stage 7 / 170 of 300 #1570 of 2000

Problem 1570

National olympiad second round; IMO P1/P4
Combinatorics Difficulty 7.3 Prove it China Girls' Mathematical Olympiad · China

Let n4n \ge 4 be an even number. At the vertices of a regular nn-gon we write in an arbitrary way nn distinct real numbers. Starting from one edge, we name all the edges in a clockwise way by e1,e2,,ene_1, e_2, \dots, e_n. An edge is called "positive", if the difference of the numbers at its endpoint and its start point is positive. A set of two edges {ei,ej}\{e_i, e_j\} is called "crossing", if 2(i+j)2 \mid (i+j), and among the four, the numbers written at their vertices, the largest and the third largest ones belong to the same edge. Prove that the number of crossings and the number of positive edges have different parity.

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 solutions — 2

Solution 1

Without loss of generality, we may assume that the numbers written on the vertices are 1,2,,n1, 2, \dots, n. Let AA be the number of crossings, and BB be the number of positive edges. We will prove that the parity of SS remains the same if we exchange numbers ii and i+1i+1. We distinguish two cases.

Case 1. The numbers ii and i+1i+1 are written on adjacent vertices, i.e., the endpoints of edge eke_k. Once we exchange ii and i+1i+1, the number of positive edges is modified by 1, thus the parity of BB is changed. On the other hand, the only two-edge subset that will become a new crossing (or change from a crossing to a non-crossing) is {ek1,ek+1}\{e_{k-1}, e_{k+1}\} (the subindices are to be understood modulo nn), all the other two-edge subsets will not be affected. So the parity of AA will change.

Case II. The numbers ii and i+1i+1 are written on non-adjacent vertices. Assume that they are written on the (common) endpoints of eje_j, ej+1e_{j+1} and of eke_k, ek+1e_{k+1}, respectively. Once we exchange ii and i+1i+1, every positive edge will remain positive, so are non-positive ones. Therefore, BB is unchanged. Now, for number of crossings, if a two-edge subset does not involve at the same time ii and i+1i+1, then whether it is a crossing or not is not affected by the operation. So the only two-edge subsets to be considered are the two that have both ii and i+1i+1 written on their vertices and the sum of the edge number is even. They will both become crossing after the exchange if they are not before, and vice-versa. Hence, the parity of AA remains the same.

Now obviously, every pattern can be obtained from a finite number of such exchange if we start from writing 1,2,,n1, 2, \dots, n consecutively in a clockwise way, and in the initial situation, B=n1,A=0B = n-1, A = 0. So AA and BB have different parity.

Solution 2

Starting from one vertex, we denote the numbers written on the vertices by x1,x2,,xnx_1, x_2, \dots, x_n in a clockwise way. We may assume that the numbers written on the endpoints of edge eie_i are xi,xi+1x_i, x_{i+1}, i=1,2,,ni = 1, 2, \dots, n, where xn+1=x1x_{n+1} = x_1. Apparently eie_i is positive if and only if xi+1xi>0x_{i+1} - x_i > 0. Now, let AA be the number of positive edges, and BB be the number of crossings. Write
β=i=1n(xi+1xi). \beta = \prod_{i=1}^{n} (x_{i+1} - x_i).
As nn is even, the sign of β\beta is just (1)A(-1)^A.

On the other hand, {ei,ej}\{e_i, e_j\} is a crossing if and only if 2i+j2 \mid i + j and
(xjxi)(xj+1xi+1)(xj+1xi)(xj+1xi+1)<0. (x_j - x_i)(x_{j+1} - x_{i+1})(x_{j+1} - x_i)(x_{j+1} - x_{i+1}) < 0.
We denote by f(ei,ej)f(e_i, e_j) the left-hand side of the above inequality, obviously f(ei,ej)=f(ej,ei)f(e_i, e_j) = f(e_j, e_i). This quantity is negative if and only if the two-edge set is a crossing. Now, define
α=1i<jn2i+j(xjxi)(xjxi+1)(xj+1xi)(xj+1xi+1)=1i<jn2i+jf(ei,ej), \alpha = \prod_{\substack{1 \le i < j \le n \\ 2 \mid i+j}} (x_j - x_i)(x_j - x_{i+1})(x_{j+1} - x_i)(x_{j+1} - x_{i+1}) = \prod_{\substack{1 \le i < j \le n \\ 2 \mid i+j}} f(e_i, e_j),
then the sign of α\alpha is (1)B(-1)^B. Let us calculate the sign of αβ\alpha\beta. For 1i<jn1 \le i < j \le n, consider the times of appearance, and the sign of xjxix_j - x_i in α\alpha and β\beta, respectively. We distinguish several cases.

Case I. ji=1j - i = 1, xjxix_j - x_i appears once in β\beta with a positive sign, and once in α\alpha. If i>1i > 1, it appears in f(ei1,ei+1)f(e_{i-1}, e_{i+1}) with a positive sign. If i=1i = 1, x2x1x_2 - x_1 appears in f(e2,en)f(e_2, e_n) with a negative sign. The product of these numbers has a negative sign.

Case II. 2ji<n12 \le j - i < n - 1, then xjxix_j - x_i does not appear in β\beta, and appear in α\alpha twice. Among (i1,j1)(i-1, j-1) and (i1,j)(i-1, j), there is exactly one pair that is of the same parity, among (i,j1)(i, j-1) and (i,j)(i, j), there is also exactly one such pair. The sign of xjxix_j - x_i in each appearance is always positive. For i=1i = 1, its appearance in f(ej1,en)f(e_{j-1}, e_n) or f(ej,en)f(e_j, e_n) comes with a negative sign. Hence, there is a negative sign for each pair (i,j)(i, j) (i=1,j=3,4,,n1i = 1, j = 3, 4, \dots, n-1). This part of the product has the sign (1)n3=1(-1)^{n-3} = -1.

Case III. i=1,j=ni = 1, j = n, then xnx1x_n - x_1 appears once in β\beta with a negative sign, and once in α\alpha (in f(en1,e1)f(e_{n-1}, e_1)) with a positive sign. This part of the product has a negative sign.

In brief, the sign of αβ\alpha\beta is negative, i.e., A+BA + B is odd. \square

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