An eigenvalue of is a scalar for which a nonzero vector satisfies . Equivalently, , because the homogeneous linear system has a nontrivial solution exactly when its coefficient matrix is singular. This characteristic polynomial is the monic quadratic
A nonzero quadratic has at most two distinct roots, proving the eigenvalue bound. Eigenvalues and diagonalization are taken over , also for a matrix with real entries.
For the matrix commutator, the cyclic trace identity follows directly from its entries:
Hence . Factoring the characteristic polynomial as and comparing the coefficient of gives , with the eigenvalues counted with algebraic multiplicity. If both eigenvalues are zero, trace and determinant are zero. The Cayley-Hamilton theorem then gives ; no diagonalizability assumption is needed.
Now put . Since its trace is zero, its characteristic polynomial is and the scalar square of a traceless two-by-two matrix identity gives
This proves the scalar-square assertion for both real and complex entries. If , it gives . If , the two eigenvalues are the distinct nonzero numbers . Their eigenvectors are linearly independent: a nonzero vector cannot satisfy two different eigenvalue equations. They form a basis, making a diagonalizable matrix. Thus either the commutator is diagonalizable over or its square is zero. These alternatives need not be disjoint, since the zero matrix has both properties. Over the diagonalization assertion would require real eigenvalues; complex diagonalization is essential to the unrestricted statement.