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 3 of 7: Split the matrix into three blocks
X=∑i,j≤kaij,Y=∑i≤k<jaij+∑j≤k<iaij,Z=∑i,j>kaijX=\sum_{i,j\le k}a_{ij},\quad Y=\sum_{i\le k<j}a_{ij}+\sum_{j\le k<i}a_{ij},\quad Z=\sum_{i,j>k}a_{ij}
Detailed analysis

Assume k<nk<n. Define XX as the sum in the upper-left k×kk\times k block, YY as the sum in the two off-diagonal rectangular blocks, and ZZ as the sum in the lower-right (n−k)×(n−k)(n-k)\times(n-k) block. Then S=X+Y+ZS=X+Y+Z.