Olympiad Maths Prep

Track / Stage 7 / 235 of 300 #1635 of 2000

Problem 1635

National olympiad second round; IMO P1/P4
Combinatorics Difficulty 7.5 Prove it THE 2002 VIETNAMESE MATHEMATICAL OLYMPIAD · Vietnam · 2002

Let be given two positive integers mm, nn with m<2001m < 2001, n<2002n < 2002; and let be given 2001×20022001 \times 2002 distinct real numbers. Put these numbers into the little squares of a rectangular board of size 2001×20022001 \times 2002 (the board consists of 20012001 rows and 20022002 columns) so that each number is putting in a little square and each little square is filling with a number. We call a little square "bad" if the number put in it is less than at least mm numbers put in the same column as the considered little square and simultaneously this number is less than at least nn numbers put in the same row as the considered little square. For each such filling, let ss be the number of "bad" little squares. Find the least value of ss.

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

We enlarge the problem by replacing 20012001 by pp, 20022002 by qq (mp,nqm \le p, n \le q) and prove by induction on p+qp+q that s(pm)(qn)s \ge (p-m)(q-n) (1).
It is easily seen that the assertion (1) is true for p+q=2,3,4p+q=2, 3, 4. Suppose that it is true for p+q=kp+q=k.
Consider a (p,q)(p, q)-board with p+q=k+1p+q=k+1. It is easy to see that (1) is true if m=pm=p or n=qn=q. Consider the case where m<pm<p and n<qn<q. We call a little square of the board is bad by row or row-bad (resp. bad by column or column-bad) if the number written in this little square is less than at least nn numbers (resp. mm numbers) written on the same row (resp. column) as the considered little square.
If in the (p,q)(p, q)-board, each row-bad little square is also a column-bad one and each column-bad little square is also a row-bad little square one then it is easily seen that s=(pm)(qn)s = (p-m)(q-n), thus (1) is true. Suppose that in the (p,q)(p, q)-board there are little squares that are bad only by row or bad only by column. Let aa be the least number written in these little squares. Suppose w. l. o. g. that the little square filling by aa is row-bad. Then all (pm)(p-m) column-bad little squares lying on the same column as aa are bad little squares of the board. By erasing the column containing the little square filling by aa, we obtain a (p,q1)(p, q-1)-board such that a little square of which is bad if and only if it is bad in the previous (p,q)(p, q)-board. Because p+(q1)=kp+(q-1)=k, by induction, we deduce that the number of bad little squares in the (p,q1)(p, q-1)-board is not less than (pm)(q1n)(p-m)(q-1-n). Therefore, the number of bad little squares in the (p,q)(p, q)-board is not less than
(pm)(q1n)+(pm)=(pm)(qn). (p - m)(q - 1 - n) + (p - m) = (p - m)(q - n).
Thus the assertion (1) is proved.
Now we indicate a filling in the (p,q)(p, q)-board such that the number of bad little squares equals (pm)(qn)(p-m)(q-n): arrange p×qp \times q given numbers in increasing order and put them one after another into the little squares of the board downwards and from left to right.
Thus smin=(pm)(qn) and the answer to the given problem is (2001m)(2002n) \text{Thus } s_{\min} = (p - m)(q - n) \text{ and the answer to the given problem is } (2001 - m)(2002 - n)

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