Difference between revisions of "1971 IMO Problems/Problem 6"
m |
|||
Line 52: | Line 52: | ||
− | ==Solution 1 analysis== | + | ==Solution 1 analysis and correction== |
===The error in Solution 1=== | ===The error in Solution 1=== |
Revision as of 13:58, 6 March 2025
Contents
Problem
Let be a square matrix whose elements are non-negative integers. Suppose that whenever an element
, the sum of the elements in the
th row and the
th column is
. Prove that the sum of all the elements of the matrix is
.
Solution 1
Take the the row or column (without loss of generality, a row) with the minimum possible sum of its elements. Let
be the number of zeros in this row. We will assume
once the other case is obvious. Clearly
. The total sum
of all elements of the matrix is at least the number of zeros in this row multiplicated by
(because the sum of the elements of a row and a column meeting in a zero is
) plus the number of nonzero elements times
(that is the minimum possible sum), it is,
Note that, being
and
, we can put
instead of
and
instead of
until we get
, what makes the sum become smaller. So we have
by AM - QM inequality.
The above solution was posted and copyrighted by Renan. The original thread for this problem can be found here: [1]
Solution 2
Denote the
th line and column and
the sum of the elements on that row. Let
. For each permutation
, assign to it the number
Now pick a permutation
such that it generates
and its assigned number is minimal. Suppose wlog that
. If
, we are done as twice the sum of all elements is
So suppose
and look at a
such that
. By the maximality of
,
can have
only on the columns
. Note that if
has a
on
with
, i.e.
, by the minimality of the assigned number of
, we have that
. However, if the column
has a
on
, i.e.
, by the same argument we have
, hence
.
Suppose that appears exactly
times on
. This means that
. Suppose that the
s of
appear on the columns
. We have seen earlier that if
has a
on
we have that
. So suppose that it doesn't have
on these lines. However,
has
s only on the lines
by the maximality of
, hence
has at most
zeroes, so
. We thus infer that
so
. By the hypothesis this is also true for
so summing over all values of
we get that the sum is at least
.
The above solution was posted and copyrighted by Aiscrim. The original thread for this problem can be found here: [2]
Solution 3
If the main diagonal contains all zeroes, we can immediately deduce from the condition that the sum of the elements is at least
. This motivates us to consider the largest possible subset of elements, all zero, which are pairwise in different rows of columns - let the size of this subset be
. (If there is no such subset,
.)
Since the condition is invariant under the operation of switching rows or columns, we may rearrange the matrix such that these entries are on the main diagonal of the matrix, i.e.
. Let
,
and
. Then applying the condition to
, we get
.
If , then if
, then we may toss
out of our set and replace it with
and
, to form a larger feasible set of elements, contradiction. Consequently,
for
, which upon summation yields
. Finally,
, trivially. Therefore,
The above solution was posted and copyrighted by randomusername. The original thread for this problem can be found here: [3]
Remarks (added by pf02, March 2025)
Each of the three solutions above is incorrect.
Solution 1 is plainly wrong, but it can be salvaged.
Solution 2 is hopelessly incorrect. An attempt to salvage it would be along the lines of Solution 3, in the context of the unnecessarily complicated setup of Solution 2.
Solution 3 is based on a very good idea, and it is easy to make the necessary corrections to make it robust.
The discussion page https://artofproblemsolving.com/community/c6h60831s1_sum_of_all_the_elements_in_the_matrix_is_at_least_n22 contains a fourth solution, by Saucepan_man02, which I will add below.
Below I will point out the errors in the three solutions given
above, and when I can, the corrected solutions. Then I will
give some examples. The examples will show that the inequality
is optimal.
Solution 1 analysis and correction
The error in Solution 1
I will use the notation of the solution. At some point in the solution the author writes:
"Note that, being and
, we can put
instead of
and
instead of
until
we get
"
(To put this in context: we chose a row or column with minimal
sum of its elements (we can assume it was a row), was the
sum of the elements in this row, and
was the number of
zeros in it.)
This is wrong! If was chosen to represent a chosen quantity,
we can not change its value in the middle of the proof.
We could try to make sense of the proof by saying that we replace
the given matrix A by a matrix B, where the rows of B are equal
to the rows of A, except for the "minimal" row we chose, in which
we replace one of the zeros by a number (which would replace
by
). This does not work, because if we would show that
the sum of the elements of
is
, it would not
follow that the same is true for
.
Solution 1 corrected
As in the solution, choose a row or column such that the sum of its
elements is minimal. We can assume this is a row (either notice
that taking the transpose of changes neither the hypothesis,
nor the conclusion; or notice that if we do the proof in the case
of a row, the proof in the case of a column is analogous.) Let
be the sum of the elements of this row, and
be the number
of zeros in this row.
For an element of
, we denote
the row and
the column containing
. We denote
the sum of the entries of the matrix in row
and
respectively.
If , then each row
has its sum of elements
, so
.
So, let us assume . Let
be
the row we chose (now
is fixed). For each
consider the
sum of the elements of the column
containing
.
If
, we know that
(by
hypothesis), so
, so
.
We have
such columns.
If , we know that
because
was
minimal. We have
such columns.
So, .
Let . Here we split
in two parts:
represents the number of non-zeroes in
, and
represents
the sum of the "excess" amounts over
of the non-zero entries.
More explicitly,
.
(To clarify: if all non-zero entries of
would
, we
would have
, and
.) In general,
.
Then,
.
The last term is since
and we assumed we
are in the case
. It follows that
.
Note: The strict inequality is not true in general. We obtained
it assuming that . When
we have
.
TO BE CONTINUED. SAVING MID-WAY SO I DON'T LOSE TEXT WRITTEN SO FAR.
See Also
1971 IMO (Problems) • Resources | ||
Preceded by Problem 5 |
1 • 2 • 3 • 4 • 5 • 6 | Followed by Last Question |
All IMO Problems and Solutions |