I am dealing with an exercise in (elementary) operator theory and I am trying to prove that if $\mathcal{A}$ is a maximal abelian, self-adjoint subalgebra of $M_n(\mathbb{C})$ (where $n>1$) then:
$\mathcal{A}$ contains a non-zero projection, different than the unit $I_n$.
I know that vN algebras are rich in projections and since we are in finite dimension, $\mathcal{A}$ is a vN algebra. The thing is I am sure that I can prove this with elementary arguments, but I can't get around it. Could somebody help me out?
Fix an element $a\in\mathcal{A}$. Then $a$ is normal, so by the spectral theorem we can conjugate by a unitary and assume $a$ is a diagonal matrix. If the diagonal entries of $a$ are not all the same, we can find a polynomial $p$ which sends some of those diagonal entries to $1$ and the others to $0$, and then $p(a)\in\mathcal{A}$ will be a nontrivial projection.
The only case not covered by this argument is if all the diagonal entries of $a$ are the same, and this is true for every $a\in\mathcal{A}$. But then $\mathcal{A}$ is just the multiples of the identity, and fails to be maximal since it can be enlarged to all the diagonal matrices.
(Note that essentially the same argument works for masas in $B(H)$ for any Hilbert space $H$, not necessarily finite dimensional; just instead of a polynomial $p$ you need to use the Borel functional calculus to get a nontrivial spectral projection from $a$ unless $a$ is a multiple of the identity.)