Skip to main content
OlympiadHQ

Browse · MathNet

Print

Iranian Mathematical Olympiad

Iran algebra

Problem

Nonnegative real numbers and are given such that Among all matrices with nonnegative real entries for which sum of entries of the th row is and sum of entries of the th column is , find the maximum value that the trace of the matrix can have.
Solution
We use the notation for matrices and for the entry of row and column .

First, observe that , since the sum of the th row is and the entries are nonnegative. Similarly, . Thus, and it follows that . It remains to prove there is a matrix with the property that for every .

We proceed by induction on . The case is obvious, since . Assume the assertion holds for and consider the case . We can suppose without loss of generality. Let and for . We claim that there exist nonnegative real numbers for such that these conditions hold: To verify our claim, first we prove a lemma.

Lemma. Let be nonnegative real numbers such that . Then there exist nonnegative real numbers such that and for every .

---

Proof of lemma. We use induction on . For the lemma is obvious. If , we can set and , so suppose that . Let . Now, we must have . but and the assertion follows by the induction hypothesis.

We have Hence, by the lemma we can find nonnegative real numbers such that equation 1 holds. Let for . The remaining entries of should satisfy

for , for .

We have by equation 1, so . Hence, the rest of the matrix can be filled using the induction hypothesis.

---

Alternative solution.

We can change the order of and arbitrarily by changing corresponding rows and columns of the matrix. So we can suppose and . Let for . Also let if and either or . The remaining entries should satisfy:

for , for .

i.e. we should find a matrix with nonnegative entries for the given row sums and column sums. We can construct such a matrix using induction on the number of rows as follows.

By the lemma above, we can find such that their sum is and for each . Then, we delete the 'th row and replace by for each . We can proceed by using induction and the desired matrix will be constructed.
Final answer
min(p_1, q_1) + min(p_2, q_2) + ... + min(p_n, q_n)

Techniques

MatricesCombinatorial optimization