Olympiad Maths Prep

Track / Stage 9 / 72 of 80 #1952 of 2000

Problem 1952

IMO P2/P5; hard shortlist
Combinatorics Difficulty 9.3 Prove it 48th International Mathematical Olympiad Vietnam 2007 Shortlisted Problems with Solutions · IMO · 2007

Let A0=(a1,,an)A_{0} = (a_{1}, \ldots, a_{n}) be a finite sequence of real numbers. For each k0k \geq 0, from the sequence Ak=(x1,,xn)A_{k} = (x_{1}, \ldots, x_{n}) we construct a new sequence Ak+1A_{k+1} in the following way.
1. We choose a partition {1,,n}=IJ\{1, \ldots, n\} = I \cup J, where II and JJ are two disjoint sets, such that the expression
iIxijJxj \left|\sum_{i \in I} x_{i} - \sum_{j \in J} x_{j}\right|
attains the smallest possible value. (We allow the sets II or JJ to be empty; in this case the corresponding sum is 00.) If there are several such partitions, one is chosen arbitrarily.
2. We set Ak+1=(y1,,yn)A_{k+1} = (y_{1}, \ldots, y_{n}), where yi=xi+1y_{i} = x_{i} + 1 if iIi \in I, and yi=xi1y_{i} = x_{i} - 1 if iJi \in J.
Prove that for some kk, the sequence AkA_{k} contains an element xx such that xn/2|x| \geq n / 2.

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

Lemma. Suppose that all terms of the sequence (x1,,xn)(x_{1}, \ldots, x_{n}) satisfy the inequality xi<a|x_{i}| < a. Then there exists a partition {1,2,,n}=IJ\{1,2, \ldots, n\} = I \cup J into two disjoint sets such that
iIxijJxj<a.(1) |\sum_{i \in I} x_{i} - \sum_{j \in J} x_{j}| < a. \tag{1}
Proof. Apply an induction on nn. The base case n=1n = 1 is trivial. For the induction step, consider a sequence (x1,,xn)(x_{1}, \ldots, x_{n}) (n>1n > 1). By the induction hypothesis there exists a splitting {1,,n1}=IJ\{1, \ldots, n-1\} = I' \cup J' such that
iIxijJxj<a |\sum_{i \in I'} x_{i} - \sum_{j \in J'} x_{j}| < a
For convenience, suppose that iIxijJxj\sum_{i \in I'} x_{i} \geq \sum_{j \in J'} x_{j}. If xn0x_{n} \geq 0 then choose I=II = I', J=J{n}J = J' \cup \{n\}; otherwise choose I=I{n}I = I' \cup \{n\}, J=JJ = J'. In both cases, we have iIxijJxj[0,a)\sum_{i \in I'} x_{i} - \sum_{j \in J'} x_{j} \in [0, a) and xn[0,a)|x_{n}| \in [0, a); hence
iIxijJxj=iIxijJxjxn(a,a), \sum_{i \in I} x_{i} - \sum_{j \in J} x_{j} = \sum_{i \in I'} x_{i} - \sum_{j \in J'} x_{j} - |x_{n}| \in (-a, a),
as desired.
Let us turn now to the problem. To the contrary, assume that for all kk, all the numbers in AkA_{k} lie in interval (n/2,n/2)(-n / 2, n / 2). Consider an arbitrary sequence Ak=(b1,,bn)A_{k} = (b_{1}, \ldots, b_{n}). To obtain the term bib_{i}, we increased and decreased number aia_{i} by one several times. Therefore biaib_{i} - a_{i} is always an integer, and there are not more than nn possible values for bib_{i}. So, there are not more than nnn^{n} distinct possible sequences AkA_{k}, and hence two of the sequences A1,A2,,Ann+1A_{1}, A_{2}, \ldots, A_{n^{n} + 1} should be identical, say Ap=AqA_{p} = A_{q} for some p<qp < q.
For any positive integer kk, let SkS_{k} be the sum of squares of elements in AkA_{k}. Consider two consecutive sequences Ak=(x1,,xn)A_{k} = (x_{1}, \ldots, x_{n}) and Ak+1=(y1,,yn)A_{k+1} = (y_{1}, \ldots, y_{n}). Let {1,2,,n}=IJ\{1,2, \ldots, n\} = I \cup J be the partition used in this step - that is, yi=xi+1y_{i} = x_{i} + 1 for all iIi \in I and yj=xj1y_{j} = x_{j} - 1 for all jJj \in J. Since the value of iIxijJxj|\sum_{i \in I} x_{i} - \sum_{j \in J} x_{j}| is the smallest possible, the Lemma implies that it is less than n/2n / 2. Then we have
Sk+1Sk=iI((xi+1)2xi2)+jJ((xj1)2xj2)=n+2(iIxijJxj)>n2n2=0S_{k+1} - S_{k} = \sum_{i \in I} ((x_{i} + 1)^{2} - x_{i}^{2}) + \sum_{j \in J} ((x_{j} - 1)^{2} - x_{j}^{2}) = n + 2(\sum_{i \in I} x_{i} - \sum_{j \in J} x_{j}) > n - 2 \cdot \frac{n}{2} = 0.
Thus we obtain Sq>Sq1>>SpS_{q} > S_{q-1} > \cdots > S_{p}. This is impossible since Ap=AqA_{p} = A_{q} and hence Sp=SqS_{p} = S_{q}.

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