I have the following question with me:
"Rooks are placed on the $n * n$ chess board satisfying the following condition:
If the square $(i,j)$ is free then there are at least n rooks on the $i^{th}$ row and $j^{th}$ column together. "
Show that there are at least $n^2/2$ rooks present on the board
I consider the row/column which has the minimum number of rooks, say $k$. If $k\geq n/2$ it is easy to show that
But I am unable to prove the statement for $k < n/2$. Can somebody please explan how to proceed?
Let $c_j$ be the number of rooks placed on $j$-th column and $r_i$ be the number of rooks placed on $i$-th row. The condition can be phrased as $$ (i,j) \text{ is free} \Rightarrow r_i + c_j \geq n. $$ Now, let $F $ be the family of free pairs $(i,j)$. Then, we have $$ \sum_{i=1}^n r_i = \sum_{j=1}^n c_j =n^2 -|F|, $$ and $$ n|F| \le \sum_{(i,j)\in F} (r_i + c_j).\tag{*} $$On the other hand, the RHS of $(*)$ can be computed as $$ \sum_{(i,j)\in F} (r_i + c_j) = \sum_{i=1}^n r_i(n-r_i) + \sum_{j=1}^n c_j(n-c_j) = 2n(n^2-|F|) -\sum_{i=1}^n r_i^2-\sum_{j=1}^n c_j^2. $$ since for each $i$-th row, the number of $j$ for which $(i,j)$ is free is $n-r_i$ and for each $j$-th column, it is $n-c_j$. By Cauchy-Schwarz, we have $$ \sum_{i=1}^n r_i^2\ge \frac{(\sum_{i=1}^nr_i)^2}{n} = \frac{(n^2-|F|)^2}{n} $$ and similarly for $\sum_{j=1}^n c_j^2$. Therefore, we get the bound $$ n|F| \leq 2n(n^2-|F|)-2\frac{(n^2-|F|)^2}{n}. $$ Multiply $n$ on both sides and we have $$ 2|F|^2 \le n^2 |F|. $$ This proves $|F|\le \frac{n^2}{2}$ as desired.