$a_1 + a_2 + a_3 + a_4 + a_5=0$ and $\displaystyle\max_{1\le i<j\le 5} |a_i - a_j|\le1 \implies a_1^2 + a_2^2 + a_3^2 + a_4^2 + a_5^2 \le 10$.

138 Views Asked by At

Let $a_1,a_2,a_3,a_4,a_5$ be real numbers such that $a_1 + a_2 + a_3 + a_4 + a_5=0$ and $\displaystyle\max_{1\le i<j\le 5} |a_i - a_j|\le1$. Prove that $a_1^2 + a_2^2 + a_3^2 + a_4^2 + a_5^2 \le 10$.

I am not able to understand what $\displaystyle\max_{1\le i<j\le 5} |a_i - a_j|\le1$ means or how to extract useful information from this expression, maybe because I am not mathematically mature enough. How should I approach this problem?

5

There are 5 best solutions below

7
On BEST ANSWER

The condition gives $$\sum_{1\leq i<j\leq5}(a_i-a_j)^2\leq10$$ or $$4\sum_{i=1}^5a_i^2-2\sum_{1\leq i<j\leq5}a_ia_j\leq10$$ or $$5\sum_{i=1}^5a_i^2-\left(\sum_{i=1}^5a_i\right)^2\leq10,$$ which gives $$\sum_{i=1}^5a_i^2\leq2<10.$$ Because since $(a-b)^2=a^2-2ab+b^2,$ we obtain $$\sum_{1\leq i<j\leq5}(a_i-a_j)^2=(a_1-a_2)^2+(a_1-a_3)^2+(a_1-a_4)^2+(a_1-a_5)^2+$$ $$+(a_2-a_3)^2+(a_2-a_4)^2+(a_2-a_5)^2+(a_3-a_4)^2+(a_3-a_5)^2+(a_4-a_5)^2=$$ $$=4(a_1^2+a_2^2+a_3^2+a_4^2+a_5^2)-$$ $$-2(a_1a_2+a_1a_3+a_1a_4+a_1a_5+a_2a_3+a_2a_4+a_2a_5+a_3a_4+a_3a_5+a_4a_5)=$$ $$=5(a_1^2+a_2^2+a_3^2+a_4^2+a_5^2)-(a_1^2+a_2^2+a_3^2+a_4^2+a_5^2+$$ $$+2(a_1a_2+a_1a_3+a_1a_4+a_1a_5+a_2a_3+a_2a_4+a_2a_5+a_3a_4+a_3a_5+a_4a_5))=$$ $$=5(a_1^2+a_2^2+a_3^2+a_4^2+a_5^2)-(a_1+a_2+a_3+a_4+a_5)^2=5(a_1^2+a_2^2+a_3^2+a_4^2+a_5^2).$$

4
On

What the question means is that absolute value of the difference between any two of those five numbers is less than or equal to $1$.

Since the sum of those five numbers is equal to zero, this should necessarily mean that all five numbers are in the interval $(-1, 1)$.

Hence the value of the sum of their square can never be more than $5$, which solves the problem.

Note - I believe that you may have mis-typed the question since the bound is too weak!

1
On

$\max_{1\le i<j\le 5} |a_i - a_j|\le1$

means

$|a_x - a_y|\leq\max_{1\le i<j\le 5}|a_i - a_j|\le1$

for any $x,y$ (by definition of the max function)

See if you can solve it from there

Hint:

Since one of the $a_i$s is not positive, and one is not negative (otherwise they can't sum to $0$), what is the largest any $a_i$ can be? What about the smallest value?

(Edit I think $a_1^2 + a_2^2 + a_3^2 + a_4^2 + a_5^2 \le 1.2$ is true as well - is that what you meant?)

I have a proof of the $\le1.2$ if you want it

Consider $$\sum_{i<j}(a_i-a_j)^2=\sum_{i<j}(a_i-a_j)^2+(\sum a_i)^2=5\sum a_i^2$$

Now assume $a_1\leq a_2\leq\ldots\leq a_5$. Note that $(c-a)^2\geq(c-b)^2+(b-a)^2$ if $c\geq b\geq a$ (think about this geometrically if that helps). Applying this to the LHS gives us $$\begin{align} 6\geq &(a_5-a_4)^2+(a_4-a_3)^2+(a_3-a_2)^2+(a_2-a_1)^2+\\ &(a_5-a_4)^2+(a_4-a_2)^2+(a_2-a_1)^2+\\ &(a_5-a_4)^2+(a_4-a_1)^2+\\ &(a_5-a_3)^2+(a_3-a_1)^2+\\ &(a_5-a_2)^2+(a_2-a_1)^2+\\ &(a_5-a_1)^2\geq\\ &\sum_{i<j}(a_i-a_j)^2 \end{align}$$

since each line is at most $1$. Therefore $6\geq5\sum a_i^2$ as required (also this is attainable, e.g $(0.4,0.4,0.4,-0.6,-0.6)$)

0
On

Because of symmetry we can assume that $x:=a_1\leq a_2\leq a_3\leq a_3\leq a_5$.

So $a_i-a_1 \leq 1 \implies a_i\leq x+1$ for each $i=2,3,4,5$.

Since $$5x\leq \underbrace{a_1+a_2+...a_5}_{=0}\leq 5x+4$$ we get $-{4\over 5}\leq x\leq 0$

Since $x\in[-{4\over 5},0]$ we have $a_2,a_3,a_4,a_5\leq 1$ so

Now we have $$a_1^2+...+a_5^2\leq 4+{16\over 25}<10$$

1
On

The following is a proof for a bound of 1.2: $$$$ Without loss of generality, let $$a_1\le a_2 \le ... \le a_5$$ let $$(i,j)= |a_i - a_j|$$ Now we have $$\sum_{i=1}^{5}{(i,i+1)} = \sum_{i=1}^{4}{(i,i+1)} + (5,1) = 2 \times (1,5) < 2 $$ where i is taken mod 5. Also, $$\sum_{i=1}^{5}{(i,i+2)} = (1,3)+(2,4)+(3,5)+(1,4)+(2,5) \le 4(1,5) \le 4 $$ (this is clear from drawing the 5 numbers on a number line and drawing segments. So now we have $$\sum_{1\le i < j \le 5} (i,j) \le 6$$ Note that $$0\le(i,j)\le 1 \implies (i,j)^2 \le (i,j),$$ so $$\sum_{1\le i < j \le 5} (i,j)^2 \le 6 \implies 4\sum_{i=1}^{5}{a_i}^2-2\sum_{1\le i < j \le 5}{a_i a_j} \le 6$$ By squaring the first condition, $$\sum_{i=1}^{5}{a_i}^2 = -2\sum_{1\le i < j \le 5}{a_i a_j}$$ So substituting this, we find that $$5\sum_{i=1}^{5}{a_i}^2\le 6$$ which gives the desired bound of 1.2. $$$$Careful analysis of the solution shows that $${0.4, 0.4, 0.4, -0.6, -0.6}$$ and $${0.2, 0.2, 0.2, 0.2, -0.8}$$ as well as negation of each term and permutations are the only equality cases.