Solution

ID: past-exam-of-the-mathematics-course-of-the-year-2-of-the-natural-sciences-course-of-the-university-of-cambridge/2012/paper-1/5/ii/c/solution

Applying to an eigenvector gives , so each eigenvalue is either zero or one. If all are one, the spectral theorem gives , hence and . Otherwise, if eigenvalues are one, with , then
Thus the trace of this orthogonal projection equals its rank, including for the zero matrix.

New to topics? Read the docs here!