The math To compute the eigenvalues: 1.Compute the covariance matrix.