Olympiad Maths Prep

Track / Stage 8 / 66 of 180 #1766 of 2000

Problem 1766

IMO Shortlist mid-range; USAMO P2/P5
Algebra Difficulty 8.2 Prove it

Let a1,a2,,ana_1,a_2,\ldots,a_n are real numbers, prove that;
i=1nai2i=1naiai+1n2(Mm)2.\sum_{i=1}^na_i^2-\sum_{i=1}^n a_i a_{i+1} \le \left\lfloor \frac{n}{2}\right\rfloor(M-m)^2.
where an+1=a1,M=max1inai,m=min1inaia_{n+1}=a_1,M=\max_{1\le i\le n} a_i,m=\min_{1\le i\le n} a_i.

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

To prove the inequality
i=1nai2i=1naiai+1n2(Mm)2, \sum_{i=1}^n a_i^2 - \sum_{i=1}^n a_i a_{i+1} \le \left\lfloor \frac{n}{2} \right\rfloor (M - m)^2,
where an+1=a1a_{n+1} = a_1, M=max1inaiM = \max_{1 \le i \le n} a_i, and m=min1inaim = \min_{1 \le i \le n} a_i, we will use mathematical induction.

1. Base Case:
- For n=1n = 1:
i=11ai2i=11aiai+1=a12a1a1=0. \sum_{i=1}^1 a_i^2 - \sum_{i=1}^1 a_i a_{i+1} = a_1^2 - a_1 a_1 = 0.
Since 12=0\left\lfloor \frac{1}{2} \right\rfloor = 0, the inequality holds as 000 \le 0.

- For n=2n = 2:
i=12ai2i=12aiai+1=a12+a22(a1a2+a2a1)=a12+a222a1a2=(a1a2)2. \sum_{i=1}^2 a_i^2 - \sum_{i=1}^2 a_i a_{i+1} = a_1^2 + a_2^2 - (a_1 a_2 + a_2 a_1) = a_1^2 + a_2^2 - 2a_1 a_2 = (a_1 - a_2)^2.
Since 22=1\left\lfloor \frac{2}{2} \right\rfloor = 1, the inequality holds as (a1a2)2(Mm)2(a_1 - a_2)^2 \le (M - m)^2.

2. Inductive Step:
- Assume the statement is true for n=2m1n = 2m - 1, i.e.,
i=12m1ai2i=12m1aiai+1(m1)(Mm)2. \sum_{i=1}^{2m-1} a_i^2 - \sum_{i=1}^{2m-1} a_i a_{i+1} \le (m-1)(M - m)^2.
- We need to show it holds for n=2mn = 2m:
i=12mai2i=12maiai+1. \sum_{i=1}^{2m} a_i^2 - \sum_{i=1}^{2m} a_i a_{i+1}.
Consider the expression:
i=12mai2i=12maiai+1=i=12m1ai2+a2m2(i=12m1aiai+1+a2ma1). \sum_{i=1}^{2m} a_i^2 - \sum_{i=1}^{2m} a_i a_{i+1} = \sum_{i=1}^{2m-1} a_i^2 + a_{2m}^2 - \left( \sum_{i=1}^{2m-1} a_i a_{i+1} + a_{2m} a_1 \right).
This can be rewritten as:
(i=12m1ai2i=12m1aiai+1)+a2m2a2ma1. \left( \sum_{i=1}^{2m-1} a_i^2 - \sum_{i=1}^{2m-1} a_i a_{i+1} \right) + a_{2m}^2 - a_{2m} a_1.
By the inductive hypothesis:
i=12m1ai2i=12m1aiai+1(m1)(Mm)2. \sum_{i=1}^{2m-1} a_i^2 - \sum_{i=1}^{2m-1} a_i a_{i+1} \le (m-1)(M - m)^2.
Therefore:
i=12mai2i=12maiai+1(m1)(Mm)2+a2m2a2ma1. \sum_{i=1}^{2m} a_i^2 - \sum_{i=1}^{2m} a_i a_{i+1} \le (m-1)(M - m)^2 + a_{2m}^2 - a_{2m} a_1.
Since a2m[m,M]a_{2m} \in [m, M], we have:
a2m2a2ma1(Mm)2. a_{2m}^2 - a_{2m} a_1 \le (M - m)^2.
Thus:
i=12mai2i=12maiai+1(m1)(Mm)2+(Mm)2=m(Mm)2. \sum_{i=1}^{2m} a_i^2 - \sum_{i=1}^{2m} a_i a_{i+1} \le (m-1)(M - m)^2 + (M - m)^2 = m(M - m)^2.
Hence, the statement holds for n=2mn = 2m.

3. **Inductive Step for Odd nn:**
- Assume the statement is true for n=2mn = 2m, i.e.,
i=12mai2i=12maiai+1m(Mm)2. \sum_{i=1}^{2m} a_i^2 - \sum_{i=1}^{2m} a_i a_{i+1} \le m(M - m)^2.
- We need to show it holds for n=2m+1n = 2m + 1:
i=12m+1ai2i=12m+1aiai+1. \sum_{i=1}^{2m+1} a_i^2 - \sum_{i=1}^{2m+1} a_i a_{i+1}.
Consider the expression:
i=12m+1ai2i=12m+1aiai+1=i=12mai2+a2m+12(i=12maiai+1+a2m+1a1). \sum_{i=1}^{2m+1} a_i^2 - \sum_{i=1}^{2m+1} a_i a_{i+1} = \sum_{i=1}^{2m} a_i^2 + a_{2m+1}^2 - \left( \sum_{i=1}^{2m} a_i a_{i+1} + a_{2m+1} a_1 \right).
This can be rewritten as:
(i=12mai2i=12maiai+1)+a2m+12a2m+1a1. \left( \sum_{i=1}^{2m} a_i^2 - \sum_{i=1}^{2m} a_i a_{i+1} \right) + a_{2m+1}^2 - a_{2m+1} a_1.
By the inductive hypothesis:
i=12mai2i=12maiai+1m(Mm)2. \sum_{i=1}^{2m} a_i^2 - \sum_{i=1}^{2m} a_i a_{i+1} \le m(M - m)^2.
Therefore:
i=12m+1ai2i=12m+1aiai+1m(Mm)2+a2m+12a2m+1a1. \sum_{i=1}^{2m+1} a_i^2 - \sum_{i=1}^{2m+1} a_i a_{i+1} \le m(M - m)^2 + a_{2m+1}^2 - a_{2m+1} a_1.
Since a2m+1[m,M]a_{2m+1} \in [m, M], we have:
a2m+12a2m+1a1(Mm)2. a_{2m+1}^2 - a_{2m+1} a_1 \le (M - m)^2.
Thus:
i=12m+1ai2i=12m+1aiai+1m(Mm)2+(Mm)2=(m+1)(Mm)2. \sum_{i=1}^{2m+1} a_i^2 - \sum_{i=1}^{2m+1} a_i a_{i+1} \le m(M - m)^2 + (M - m)^2 = (m+1)(M - m)^2.
Hence, the statement holds for n=2m+1n = 2m + 1.

By mathematical induction, the statement is true for all n1n \ge 1.

\blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.