2007 IMO Shortlist Problems/A1


(New Zealand) You are given a sequence $a_1,a_2,\dots ,a_n$ of numbers. For each $i$ ($1\leq i\leq n$) define

$d_i=\max\{a_j:1\leq j\leq i\}-\min\{a_j:i\leq j\leq n\}$

and let

$d=\max\{d_i:1\leq i\leq n\}$.

(a) Prove that for arbitrary real numbers $x_1\leq x_2\leq \dots \leq x_n$,

$\max\{|x_i-a_i|:1\leq i\leq n\}\geq \frac{d}{2}$.

(b) Show that there exists a sequence $x_1\leq x_2\leq \dots \leq x_n$ of real numbers such that we have equality in (a).


This problem needs a solution. If you have a solution for it, please help us out by adding it.


Invalid username
Login to AoPS