If the rank of a real symmetric matrix be $1$, show that the diagonal elements of the matrix can not be all zero.
Since the rank is $1$, the determinant of the entire matrix is $0$, so it is singular, it is not row-equivalent to $I$, so it can't be reduced to identity matrix of the same order (though it is not mentioned whether it is a square matrix or not, but if not, then we can't really get a diagonal).
If all the diagonal elements were zero, then, applying some Gaussian eliminations, we could get the the first element non-zero, and all the elements zero, which follows the conclusion of rank $1$.
I really don't understand what reasoning causes some of diagonal element become non-zero. Am I missing something serious?
If the matrix size is $1\times 1$, then it has only one entry, it is in the main diagonal and it is not zero if and only if the rank is $1$. So from now, let's suppose that the size of the matrix is $2\times 2$ or greater.
Since the rank is $1$, is not the zero matrix. But every $2\times2$ minor is zero.
Since it is not the zero matrix, it has one entry that it is not zero. Suppose that $a_{ij}\neq0$. Since the matrix is symmetric, $a_{ji}$ is not zero either.
If $i=j$, the statement is proved. So, suppose that $i\neq j$. Under our assumption, the minor $$\left|\begin{matrix}a_{ii}&a_{ij}\\a_{ji}&a_{jj}\end{matrix}\right|=-a_{ij}^2+a_{ii}a_{jj}$$ is zero. This implies $a_{ii}a_{jj}\neq 0$