Browse · MathNet
Print48th International Mathematical Olympiad Vietnam 2007 Shortlisted Problems with Solutions
2007 counting and probability
Problem
Let be a finite sequence of real numbers. For each , from the sequence we construct a new sequence in the following way. 1. We choose a partition , where and are two disjoint sets, such that the expression attains the smallest possible value. (We allow the sets or to be empty; in this case the corresponding sum is .) If there are several such partitions, one is chosen arbitrarily. 2. We set , where if , and if . Prove that for some , the sequence contains an element such that .
Solution
Lemma. Suppose that all terms of the sequence satisfy the inequality . Then there exists a partition into two disjoint sets such that Proof. Apply an induction on . The base case is trivial. For the induction step, consider a sequence (). By the induction hypothesis there exists a splitting such that For convenience, suppose that . If then choose , ; otherwise choose , . In both cases, we have and ; hence as desired. Let us turn now to the problem. To the contrary, assume that for all , all the numbers in lie in interval . Consider an arbitrary sequence . To obtain the term , we increased and decreased number by one several times. Therefore is always an integer, and there are not more than possible values for . So, there are not more than distinct possible sequences , and hence two of the sequences should be identical, say for some . For any positive integer , let be the sum of squares of elements in . Consider two consecutive sequences and . Let be the partition used in this step - that is, for all and for all . Since the value of is the smallest possible, the Lemma implies that it is less than . Then we have . Thus we obtain . This is impossible since and hence .
Techniques
Invariants / monovariantsPigeonhole principleInduction / smoothingGames / greedy algorithms