A real number is put inside each cell of an table. Each time we may add a real number to each of the cells of a single row or a single column, where the real number may vary at each time. Find the maximum for which it is always possible to make of the cells zeros simultaneously after a finite number of steps.
Solution
The maximum is .
Firstly, we show that . Suppose the first entry in a row is . By adding to this row, we make the first entry 0. Similarly, we do this for each row until the first entry of each row is 0. Next, suppose the first entry in a column is . By adding to this column, we make the first entry 0. Similarly, we do this for each column until the first entry of each column is 0. Note that we do nothing in the first column, and so all entries in the first row and the first column are 0.
Secondly, we show that . Let be the cell in row and column , and let be the entry inside . Suppose we can make entries 0 after a finite number of steps. We call the cells containing these entries special cells. We prove the following result.
Claim. There exists a sequence of indices such that
are distinct special cells.
Proof. Consider a graph as follows. Let the vertices be the special cells. For each row and each column, we draw an edge between any pair of adjacent vertices. If there are vertices in the rows, then the number of horizontal edges is at least
Similarly, there are at least vertical edges. Thus, we have edges in total. It is well-known that a graph with vertices and at least edges consists of a cycle.
This cycle in the graph corresponds to a 'cycle' of cells in the table. If this cycle consists of three consecutive cells in the same row, then we can remove to shorten the cycle. We can do the same thing for consecutive cells in the same column. Eventually, we obtain a cycle such that the cells alternately lie in the same row and in the same column, which is exactly our claim.
Now, we choose a cycle of special cells as given by the claim. Note that the value
is unchanged after any operation. Indeed, if we add to row , and there are indices among equal to , then the value is changed by . The same holds for column operations. Since all the entries involved eventually become 0, the initial value of (1) must be 0.
Consider the table consisting of the numbers in any order. Since each number is larger than the sum of all smaller numbers, the relation (1) cannot hold for any choice of the indices. This is a contradiction. Thus, it is impossible to have at least special cells.
Combining the two parts, we know that the maximum is .