Diagonal matrix/Eigenvalues/Example
We consider the linear mapping
given by the diagonal matrix
The diagonal entries are the eigenvalues of , and the -th standard vector is a corresponding eigenvector. The eigenspaces are
These spaces are not if and only if equals one of the diagonal entries. The dimension of the eigenspace is given by the number how often the value occurs in the diagonal. The sum of all these dimension gives .