Maths Olympiad Prep

Library / /111 of 120

, 2012

Algebra Difficulty 6.4 National olympiad Prove it Saudi Arabia

In an n×nn \times n board, the numbers 00 through n21n^2 - 1 are written so that the number in row ii and column jj is equal to
(i1)+n(j1) where 1i,jn. (i-1) + n(j-1) \text{ where } 1 \le i, j \le n.
Suppose we select nn different cells of the board, where no two cells are in the same row or column. Find the maximum possible product of the numbers in the nn cells.

Solution

The answer is n!(n1)nn! \cdot (n-1)^n. This is achievable by choosing the numbers n1,2(n1),3(n1),,n(n1)n-1, 2(n-1), 3(n-1), \dots, n(n-1), which are at positions (n,1),(n1,2),(n2,3),,(1,n)(n, 1), (n-1, 2), (n-2, 3), \dots, (1, n). To show this is the best possible, we begin with a lemma.

Lemma. If a<b<c<da < b < c < d are real numbers such that a+d=b+ca+d = b+c, then bc>adbc > ad.

Proof. We have (ba)(ca)>0(b-a)(c-a) > 0, which implies
bc+(abc)a>0. bc + (a - b - c)a > 0.
Since abc=da - b - c = -d, this simplifies to bc>adbc > ad as desired. \square

Let f(i,j)=(i1)+n(j1)f(i, j) = (i - 1) + n(j - 1) be the number in row ii and column jj. Suppose we have chosen the nn numbers f(1,j1),f(2,j2),,f(n,jn)f(1, j_1), f(2, j_2), \dots, f(n, j_n). If the jij_i sequence is strictly decreasing, then ji=n+1ij_i = n + 1 - i for all ii and we get a configuration in the first paragraph. Else there exists k,mk, m such that k<mk < m and jk<jmj_k < j_m. Notice that
f(k,jk)<f(m,jk)<f(k,jm)<f(m,jm). f(k, j_k) < f(m, j_k) < f(k, j_m) < f(m, j_m).
Moreover,
f(k,jk)+f(m,jm)=f(m,jk)+f(k,jm)=(k+m2)+n(jk+jm2). \begin{aligned} f(k, j_k) + f(m, j_m) &= f(m, j_k) + f(k, j_m) \\ &= (k + m - 2) + n(j_k + j_m - 2). \end{aligned}
So by the lemma, we have that
f(k,jk)f(m,jm)<f(k,jm)f(m,jk). f(k, j_k)f(m, j_m) < f(k, j_m)f(m, j_k).
Therefore we increase the product of the nn numbers by changing f(k,jk)f(k, j_k) and f(m,jm)f(m, j_m) to f(k,jm)f(k, j_m) and f(m,jk)f(m, j_k), so our original arrangement could not have been a maximum.

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.