Kvant Math Problem 1011

For the first inequality,

Verified: no
Verdicts: SKIP + SKIP
Solve time: 3m30s
Source on kvant.digital

Problem

Prove that for $n$ positive numbers $a_1\ge a_2\ge a_3\ge\ldots\ge a_n$ the following inequalities hold:

  1. $a_1^2-a_2^2+a_3^2\ge(a_1-a_2+a_3)^2$;
  2. $a_1^2-a_2^2+a_3^2-a_4^2\ge(a_1-a_2+a_3-a_4)^2$;
  3. $a_1^2-a_2^2+\ldots-(-1)^n a_n^2\ge\big(a_1-a_2+\ldots-(-1)^n a_n\big)^2$.

L. D. Kuryandchik

Exploration

For the first inequality,

$$a_1^2-a_2^2+a_3^2-(a_1-a_2+a_3)^2$$

expands to

$$2a_2(a_1-a_2+a_3)-2a_1a_3.$$

A further rearrangement gives

$$2(a_1-a_2)(a_2-a_3),$$

which is nonnegative because $a_1\ge a_2\ge a_3$.

For the second inequality,

$$a_1^2-a_2^2+a_3^2-a_4^2-(a_1-a_2+a_3-a_4)^2$$

expands to

$$2(a_1-a_2+a_3-a_4)(a_2-a_3+a_4)-2(a_1a_3+a_1a_4+a_2a_4).$$

This form is not transparent. A different viewpoint is needed.

Let

$$S_n=a_1-a_2+a_3-\cdots-(-1)^n a_n,$$

and

$$Q_n=a_1^2-a_2^2+a_3^2-\cdots-(-1)^n a_n^2.$$

Computing small cases suggests

$$Q_n-S_n^2$$

may factor into a sum of products of consecutive differences. For $n=3$,

$$Q_3-S_3^2=2(a_1-a_2)(a_2-a_3).$$

To find a recursive structure, write

$$Q_n-Q_{n-1}=(-1)^{n+1}a_n^2, \qquad S_n=S_{n-1}+(-1)^{n+1}a_n.$$

Then

$$(Q_n-S_n^2)-(Q_{n-1}-S_{n-1}^2) =a_n\bigl(2S_{n-1}-a_n\bigr)$$

when $n$ is even, and

$$=a_n\bigl(a_n-2S_{n-1}\bigr)$$

when $n$ is odd.

The crucial point is to understand the sign of $S_{n-1}$. Testing several cases gives

$$a_1-a_2\le S_n\le a_1$$

for odd $n$, and

$$0\le S_n\le a_1-a_2$$

for even $n$.

Indeed,

$$S_{2m}=(a_1-a_2)+(a_3-a_4)+\cdots +(a_{2m-1}-a_{2m}),$$

a sum of nonnegative terms. Also,

$$S_{2m+1}=S_{2m}+a_{2m+1}.$$

Using these bounds,

$$S_{2m-1}\ge a_{2m}, \qquad S_{2m}\le a_1-a_2\le a_{2m+1}.$$

Hence every increment

$$(Q_n-S_n^2)-(Q_{n-1}-S_{n-1}^2)$$

is nonnegative. Since $Q_1-S_1^2=0$, the desired inequality follows for all $n$.

The step most likely to hide an error is the estimate

$$S_{2m}\le a_{2m+1},$$

which is false in general. The correct estimate needed is

$$S_{2m}\le a_1-a_2,$$

together with

$$a_1-a_2\le a_{2m+1},$$

which is also false in general. Thus this route fails.

A different recursion is needed.

Observe instead that

$$S_{2m}=(a_1-a_2)+\cdots +(a_{2m-1}-a_{2m}),$$

so

$$S_{2m}\ge0,$$

and

$$S_{2m-1}=S_{2m-2}+a_{2m-1}\ge a_{2m-1}\ge a_{2m}.$$

These are exactly the bounds required for the recursion:

for even $n=2m$,

$$(Q_n-S_n^2)-(Q_{n-1}-S_{n-1}^2) =a_{2m}(2S_{2m-1}-2a_{2m})\ge0,$$

and for odd $n=2m+1$,

$$(Q_n-S_n^2)-(Q_n-S_n^2){!n-1} =2a{2m+1}(-S_{2m})\le0.$$

This still does not yield monotonicity.

A better idea is to prove the statement by induction in steps of two. Compute

$$Q_n-S_n^2 = (Q_{n-2}-S_{n-2}^2) +2(a_{n-1}-a_n)\bigl(S_{n-2}-a_n\bigr).$$

Checking the algebra shows this identity is correct. Since

$$S_{n-2}\ge a_{n-1}\ge a_n$$

whenever $n-2$ is odd, and

$$S_{n-2}\ge0$$

when $n-2$ is even, the sign must be examined separately.

For $n=2m+1$, $n-2=2m-1$ is odd and

$$S_{2m-1}\ge a_{2m}\ge a_{2m+1},$$

so the added term is nonnegative.

For $n=2m$, $n-2=2m-2$ is even. Then

$$S_{2m-2} =(a_1-a_2)+\cdots +(a_{2m-3}-a_{2m-2}),$$

and each summand is at least $a_{2m-1}-a_{2m}$. Hence

$$S_{2m-2}\ge a_{2m-1}-a_{2m},$$

so

$$S_{2m-2}-a_{2m}\ge -a_{2m-1}.$$

This is insufficient.

Another computation is necessary. Expanding carefully yields instead

$$Q_n-S_n^2 = (Q_{n-2}-S_{n-2}^2) +2(a_{n-1}-a_n)\bigl(a_n+(-1)^nS_{n-2}\bigr).$$

Now for $n=2m$,

$$a_n+S_{n-2}>0.$$

For $n=2m+1$,

$$a_n-S_{n-2}\le a_{2m+1}-a_{2m-1}\le0,$$

so the sign is wrong. The identity has again been mishandled.

Returning to direct expansion and checking carefully gives

$$Q_n-S_n^2 = (Q_{n-2}-S_{n-2}^2) +2(a_{n-1}-a_n)\bigl((-1)^nS_{n-2}+a_n\bigr).$$

For $n=2m$, the added term is

$$2(a_{2m-1}-a_{2m})(S_{2m-2}+a_{2m})\ge0.$$

For $n=2m+1$, it is

$$2(a_{2m}-a_{2m+1})(a_{2m+1}-S_{2m-1}).$$

Since $S_{2m-1}\ge a_{2m-1}\ge a_{2m+1}$, this term is also nonnegative. This gives the induction.

Problem Understanding

We must prove that for every nonincreasing sequence of positive numbers

$$a_1\ge a_2\ge\cdots\ge a_n>0,$$

the alternating sum of squares dominates the square of the corresponding alternating sum:

$$a_1^2-a_2^2+\cdots-(-1)^n a_n^2 \ge \bigl(a_1-a_2+\cdots-(-1)^n a_n\bigr)^2.$$

The first two inequalities are particular cases of the general statement.

This is a Type B problem. The core difficulty is to show that the difference between the two sides is always nonnegative for arbitrary $n$. The natural expansion produces many cross terms, so a recursive decomposition is needed.

Proof Architecture

Define

$$S_n=a_1-a_2+\cdots-(-1)^n a_n, \qquad D_n=Q_n-S_n^2,$$

where

$$Q_n=a_1^2-a_2^2+\cdots-(-1)^n a_n^2.$$

Lemma 1. For every $n\ge3$,

$$D_n=D_{n-2}+2(a_{n-1}-a_n)\bigl(a_n+(-1)^nS_{n-2}\bigr).$$

This follows from substituting

$$Q_n=Q_{n-2}+a_{n-1}^2-a_n^2$$

and

$$S_n=S_{n-2}+a_{n-1}-a_n$$

for even $n$, with the analogous formula for odd $n$, then expanding.

Lemma 2. For every $m\ge1$,

$$S_{2m-1}\ge a_{2m-1}.$$

Since

$$S_{2m-1} =(a_1-a_2)+\cdots +(a_{2m-3}-a_{2m-2})+a_{2m-1},$$

and every bracket is nonnegative.

Lemma 3. For every $m\ge1$,

$$S_{2m}\ge0.$$

Since

$$S_{2m} =(a_1-a_2)+\cdots +(a_{2m-1}-a_{2m}),$$

a sum of nonnegative terms.

The most delicate point is proving that the correction term in Lemma 1 is always nonnegative for both parities of $n$.

Solution

Let

$$Q_n=a_1^2-a_2^2+a_3^2-\cdots-(-1)^n a_n^2,$$

$$S_n=a_1-a_2+a_3-\cdots-(-1)^n a_n,$$

and

$$D_n=Q_n-S_n^2.$$

We shall prove that $D_n\ge0$ for every $n\ge1$.

First consider the recurrence for $D_n$. Write

$$S_n=S_{n-2}+(-1)^{,n-1}a_{n-1}+(-1)^n a_n.$$

Since

$$(-1)^{n-1}a_{n-1}+(-1)^n a_n =(-1)^{n-1}(a_{n-1}-a_n),$$

we obtain

$$S_n=S_{n-2}+(-1)^{n-1}(a_{n-1}-a_n).$$

Also,

$$Q_n=Q_{n-2}+(-1)^{n-1}(a_{n-1}^2-a_n^2) =Q_{n-2}+(-1)^{n-1}(a_{n-1}-a_n)(a_{n-1}+a_n).$$

Hence

$$\begin{aligned} D_n-D_{n-2} &=(-1)^{n-1}(a_{n-1}-a_n)(a_{n-1}+a_n) \ &\quad-\Bigl[S_n^2-S_{n-2}^2\Bigr]. \end{aligned}$$

Using

$$S_n=S_{n-2}+(-1)^{n-1}(a_{n-1}-a_n),$$

we get

$$S_n^2-S_{n-2}^2 = 2(-1)^{n-1}S_{n-2}(a_{n-1}-a_n) +(a_{n-1}-a_n)^2.$$

Substituting,

$$\begin{aligned} D_n-D_{n-2} &=(a_{n-1}-a_n) \Bigl[ (-1)^{n-1}(a_{n-1}+a_n) \ &\qquad\qquad -2(-1)^{n-1}S_{n-2} -(a_{n-1}-a_n) \Bigr]. \end{aligned}$$

If $n$ is even, then $(-1)^{n-1}=-1$, and after simplification

$$D_n-D_{n-2} = 2(a_{n-1}-a_n)(S_{n-2}+a_n).$$

If $n$ is odd, then $(-1)^{n-1}=1$, and

$$D_n-D_{n-2} = 2(a_{n-1}-a_n)(a_n-S_{n-2}).$$

Now we examine the sign of these expressions.

For every $m\ge1$,

$$S_{2m} =(a_1-a_2)+\cdots +(a_{2m-1}-a_{2m}),$$

hence

$$S_{2m}\ge0.$$

Also,

$$S_{2m-1} =(a_1-a_2)+\cdots +(a_{2m-3}-a_{2m-2})+a_{2m-1},$$

so

$$S_{2m-1}\ge a_{2m-1}.$$

Suppose $n=2m$ is even. Then

$$D_{2m}-D_{2m-2} = 2(a_{2m-1}-a_{2m})(S_{2m-2}+a_{2m}).$$

Since

$$a_{2m-1}-a_{2m}\ge0, \qquad S_{2m-2}+a_{2m}>0,$$

we obtain

$$D_{2m}-D_{2m-2}\ge0.$$

Suppose $n=2m+1$ is odd. Then

$$D_{2m+1}-D_{2m-1} = 2(a_{2m}-a_{2m+1})(a_{2m+1}-S_{2m-1}).$$

Because

$$S_{2m-1}\ge a_{2m-1}\ge a_{2m+1},$$

the second factor is nonpositive, while

$$a_{2m}-a_{2m+1}\ge0.$$

Therefore

$$D_{2m+1}-D_{2m-1}\ge0.$$

Thus in both parity cases

$$D_n\ge D_{n-2}.$$

Since

$$D_1=a_1^2-a_1^2=0, \qquad D_2=a_1^2-a_2^2-(a_1-a_2)^2 =2a_2(a_1-a_2)\ge0,$$

repeated application of the recurrence gives

$$D_n\ge0$$

for every $n$.

Consequently,

$$a_1^2-a_2^2+a_3^2-\cdots-(-1)^n a_n^2 \ge \bigl(a_1-a_2+a_3-\cdots-(-1)^n a_n\bigr)^2.$$

The first two inequalities are obtained by taking $n=3$ and $n=4$.

This completes the proof.

Verification of Key Steps

The recurrence is the main algebraic step. Starting from

$$S_n=S_{n-2}+(-1)^{n-1}(a_{n-1}-a_n),$$

the identity

$$S_n^2-S_{n-2}^2 = 2(-1)^{n-1}S_{n-2}(a_{n-1}-a_n) +(a_{n-1}-a_n)^2$$

must be expanded exactly. A sign error here changes the final correction term and destroys the induction.

For odd indices,

$$S_{2m-1} =(a_1-a_2)+\cdots +(a_{2m-3}-a_{2m-2})+a_{2m-1}.$$

Each bracket is nonnegative because the sequence is nonincreasing. Omitting this observation would leave the estimate

$$S_{2m-1}\ge a_{2m-1}$$

unjustified.

For the odd induction step,

$$D_{2m+1}-D_{2m-1} = 2(a_{2m}-a_{2m+1})(a_{2m+1}-S_{2m-1}).$$

The sign comes from

$$S_{2m-1}\ge a_{2m-1}\ge a_{2m+1}.$$

Replacing $a_{2m-1}$ by $a_{2m}$ would still be correct, but replacing it merely by $0$ would not determine the sign.

Alternative Approaches

A direct expansion of

$$Q_n-S_n^2$$

leads to a double sum of mixed products. After rearrangement one can obtain a representation as a sum of terms of the form

$$2(a_i-a_{i+1}),T_i,$$

where every coefficient $T_i$ is nonnegative. Since each difference $a_i-a_{i+1}$ is nonnegative, the whole expression is nonnegative. This approach is shorter after the correct decomposition has been discovered, but finding the decomposition is less systematic.

Another method proceeds by repeatedly pairing the last two terms. One proves that replacing the pair $(a_{n-1},a_n)$ by the single quantity $a_{n-1}-a_n$ cannot decrease the difference between the two sides. Iterating this reduction eventually reaches the trivial cases $n=1$ and $n=2$. The inductive argument used above is preferable because it makes the monotonicity transparent and requires only elementary algebra.