Let $A=(a_{ij})$ and an $n\times n$ real matrix such that $$a_{ii}=0~(1\le i\le n),\quad a_{ij}+a_{ji}=1~(1\le i<j\le n).$$ Then prove that ${\rm rank}(A)\ge n-1 $.
This is a problem I saw in an exercise book. It is clear that $A+A^{\rm T}$ is a matrix with all diagonal entries $0$ and off-diagonal entries $1$. Can we get the ${\rm rank}(A)$ from it? Or how can we prove it in other ways? Thanks.
Claim: If a real matrix $A$ satisfies $ A + A^T + kI = J$, where $J$ is the all ones matrix and $k\neq 0$ is a constant, then the rank of $A$ is $\geq n-1$.
Corollary: Applying this to the problem at hand, with $k = 1$, we get that the matrix $A$ has rank at least $n-1$. Equality is possible, like if the first (any) column is all 0's.
Proof of claim: Observe that