Maths Olympiad Prep

Library / /92 of 100

Algebra Difficulty 6.3 National olympiad Prove it China

Let 20062006 be expressed as the sum of five positive integers x1,x2,x3,x4,x5x_1, x_2, x_3, x_4, x_5, and S=1i<j5xixjS = \sum_{1 \le i < j \le 5} x_i x_j. We ask:
(1) What value of x1,x2,x3,x4,x5x_1, x_2, x_3, x_4, x_5 will make SS the maximum?
(2) Further, if xixj2|x_i - x_j| \le 2 for any 1i,j51 \le i, j \le 5, then what value of x1,x2,x3,x4,x5x_1, x_2, x_3, x_4, x_5 will make SS the minimum? You should prove your answer.

Solution

(1) Obviously the number of the values of SS is finite, so the maximum and minimum exist. Suppose x1+x2+x3+x4+x5=2006x_1 + x_2 + x_3 + x_4 + x_5 = 2006 such that S=1i<j5xixjS = \sum_{1 \le i < j \le 5} x_i x_j reaches the maximum, we must have
xixj1,(1i,j5). |x_i - x_j| \le 1, \quad (1 \le i, j \le 5).
Otherwise, assume that this does not hold. Without loss of generality, suppose x1x22x_1 - x_2 \ge 2. Let x1=x11x_1' = x_1 - 1, x2=x2+1x_2' = x_2 + 1, xi=xix_i' = x_i (i=3,4,5i = 3, 4, 5). We have
x1+x2+x3+x4+x5=x1+x2+x3+x4+x5=2006, \begin{aligned} x_1' + x_2' + x_3' + x_4' + x_5' &= x_1 + x_2 + x_3 + x_4 + x_5 \\ &= 2006, \end{aligned}
S=1i<j5xixj=x1x2+(x1+x2)(x3+x4+x5)+x3x4+x3x5+x4x5, S = \sum_{1 \le i < j \le 5} x_i x_j = x_1 x_2 + (x_1 + x_2)(x_3 + x_4 + x_5) + x_3 x_4 + x_3 x_5 + x_4 x_5,
S=x1x2+(x1+x2)(x3+x4+x5)+x3x4+x3x5+x4x5. S' = x_1' x_2' + (x_1' + x_2')(x_3 + x_4 + x_5) + x_3 x_4 + x_3 x_5 + x_4 x_5.
So
SS=x1x2x1x2>0. S' - S = x_1' x_2' - x_1 x_2 > 0.
This contradicts the assumption that SS is the maximum.
Therefore xixj1|x_i - x_j| \le 1 for 1i,j51 \le i, j \le 5. And it is easy to check that SS reaches the maximum when
x1=402,x2=x3=x4=x5=401. x_1 = 402, \quad x_2 = x_3 = x_4 = x_5 = 401.

(2) If we neglect the order in x1,x2,x3,x4,x5x_1, x_2, x_3, x_4, x_5, there could only be three cases:
(a) 402,402,402,400,400402, 402, 402, 400, 400;
(b) 402,402,401,401,400402, 402, 401, 401, 400;
(c) 402,401,401,401,401402, 401, 401, 401, 401.
That satisfy x1+x2+x3+x4+x5=2006x_1 + x_2 + x_3 + x_4 + x_5 = 2006 and xixj2|x_i - x_j| \le 2.
Cases (b) and (c) can be obtained from Case (a) by setting xi=xi1x_i' = x_i - 1, xj=xj+1x_j' = x_j + 1. What we have done in (1) tells us that each step like this will make S=1i<j5xixjS' = \sum_{1 \le i < j \le 5} x_i' x_j' greater. So SS is the minimum in Case (a), i.e. x1=x2=x3=402x_1 = x_2 = x_3 = 402, x4=x5=400x_4 = x_5 = 400.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.