MathLabs

Problem 1

Prove that the following assertion is true for n=3n=3 and n=5n=5, and false for every other natural number n>2n>2: for arbitrary real numbers a1,a2,…,ana_1,a_2,\ldots,a_n, (a1−a2)(a1−a3)⋯(a1−an)+(a2−a1)(a2−a3)⋯(a2−an)+⋯+(an−a1)(an−a2)⋯(an−an−1)≥0(a_1-a_2)(a_1-a_3)\cdots(a_1-a_n)+(a_2-a_1)(a_2-a_3)\cdots(a_2-a_n)+\cdots+(a_n-a_1)(a_n-a_2)\cdots(a_n-a_{n-1})\ge0.
Step 6 of 6: Group the last two terms and conclude
(a4−a5)[(a1−a5)(a2−a5)(a3−a5)−(a1−a4)(a2−a4)(a3−a4)]≥0(a_4-a_5)[(a_1-a_5)(a_2-a_5)(a_3-a_5)-(a_1-a_4)(a_2-a_4)(a_3-a_4)]\ge0
Detailed analysis

The last two terms equal the displayed expression. Here a4−a5≥0a_4-a_5\ge0, and each factor in the first triple product is at least its counterpart in the second, so this sum is nonnegative. Together with the preceding groups, E5≥0E_5\ge0. Thus the assertion holds exactly for n=3n=3 and n=5n=5.