Problem

Source: JBMO Shortlist 2014 A9

Tags: algebra, minimum, inequalities, positive real



Let $n$ a positive integer and let $x_1, \ldots, x_n, y_1, \ldots, y_n$ real positive numbers such that $x_1+\ldots+x_n=y_1+\ldots+y_n=1$. Prove that: $$|x_1-y_1|+\ldots+|x_n-y_n|\leq 2-\underset{1\leq i\leq n}{min} \;\dfrac{x_i}{y_i}-\underset{1\leq i\leq n}{min} \;\dfrac{y_i}{x_i}$$