MathLabs

Problem 6

Let A=(aij)A=(a_{ij}) (i,j=1,2,…,ni,j=1,2,\ldots,n) be a square matrix whose elements are nonnegative integers. Suppose that whenever aij=0a_{ij}=0, the sum of the elements in the iith row and the jjth column is at least nn. Prove that the sum of all elements of the matrix is at least n2/2n^2/2.
Step 5 of 7: Force positive entries across the blocks
aij+aji≥1(i≤k<j)  ⟹  Y≥k(n−k)a_{ij}+a_{ji}\ge1\quad(i\le k<j)\implies Y\ge k(n-k)
Detailed analysis

For i≤k<ji\le k<j, both aija_{ij} and ajia_{ji} cannot be zero: swapping columns ii and jj would then create a diagonal zero at position jj in addition to the existing kk, contradicting maximality of kk. Since entries are nonnegative integers, aij+aji≥1a_{ij}+a_{ji}\ge1. Summing over the k(n−k)k(n-k) pairs gives Y≥k(n−k)Y\ge k(n-k).