logo

Proof that if all eigenvalues of a symmetric real matrix are either 0 or 1, it is an idempotent matrix 📂Matrix Algebra

Proof that if all eigenvalues of a symmetric real matrix are either 0 or 1, it is an idempotent matrix

Theorem

If all the eigenvalues of the symmetric matrix ARn×nA \in \mathbb{R}^{n \times n} are either 00 or 11, then AA is an idempotent matrix.

Explanation

This lemma is used in the proof of the equivalence conditions for the chi-square-ness of quadratic forms of normally distributed random vectors and the proof of Cochran’s theorem.

The converse does not hold.

Proof

Spectral Theory: If AA is a Hermitian matrix, then it can be unitarily diagonalized: A=A    A=QΛQ A = A^{\ast} \implies A = Q \Lambda Q^{\ast}

If the real matrix ARn×nA \in \mathbb{R}^{n \times n} is a symmetric matrix, then it is a Hermitian matrix and hence diagonalizable. Let Λ\Lambda be the diagonal matrix composed of the eigenvalues of AA, and Q=Q=QTQ = Q^{\ast} = Q^{T} be the unitary matrix, then we have A=QΛQTA = Q \Lambda Q^{T}, yielding: A2=(QΛQT)(QΛQT)=QΛ2QT A^{2} = \left( Q \Lambda Q^{T} \right) \left( Q \Lambda Q^{T} \right) = Q \Lambda^{2} Q^{T} However, since the diagonal matrix Λ\Lambda has only 00 and 11 as its principal diagonal elements, it follows that Λ2=Λ\Lambda^{2} = \Lambda, and thus AA is an idempotent matrix as shown below: A2=QΛ2QT=QΛQT=A A^{2} = Q \Lambda^{2} Q^{T} = Q \Lambda Q^{T} = A