If $A\in\Bbb \{\pm1,0\}^{n\times n}$ is symmetric of rank $<n$, does $A-I$ have rank $n$?

91 Views Asked by At

Supposing we have a symmetric matrix $A\in\Bbb \{\pm1,0\}^{n\times n}$ of rank $m<n$ with all $+1$ or all $-1$ or all $0$ as diagonals and no $0$ on non-diagonals, when do we have $A-I$ to be full rank?