Diagonalize and form the matrix , which rows are the eigenvectors associated with the largest eigenvalue of .
The linear entropy and von Neumann entropy are similar measures of the degree of mixing of a state, although the linear entropy is easier to calculate, as it does not require diagonalization of the density matrix.
The inverse problem of transforming an arbitray coordinate system into a diagonal system can be performed mathematically with the process of diagonalization.