I have a $n$ x $n$ symmetric positive definite matrix $C$, and a symmetric idempotent matrix $M$, given by $I-\frac{1}{n}J_n$ where $J_n$ is a $n$ x $n$ matrix of all ones. Additionally, all the elements along the diagonal of $C$ are ones.
Let's call $\lambda$ the diagonal matrix storing the eigenvalues of $C$, and U the eigenvector matrix of $C$.
I'd like to know if there is a smart way of computing the eigenvalues of the matrix:
$\lambda^\frac{1}{2}U^TMU\lambda^\frac{1}{2}$
Also, is there a proof of the fact that one of the eigenvalues is $0$ (at least this is what I'm expecting to happen)?