Freedom in the Spectral Decomposition
The spectral decomposition is not unique — there are several sources of freedom in how we write it. First, you can reorder the eigenvalues (and correspondingly reorder the columns of ). Second, for each eigenvalue, you can flip the sign of the corresponding eigenvector (since is also an eigenvector). Third, if an eigenvalue has multiplicity greater than 1 (repeated eigenvalue), you can choose any orthonormal basis for the corresponding eigenspace.
Despite this freedom, the set of eigenvalues is unique — it is a fundamental property of the matrix. The eigenvalues are also called the spectrum of the matrix (hence "spectral theorem"). The eigenvectors are unique up to the freedoms listed above.
Formal View
Why This Matters
Understanding the freedoms prevents confusion when different software packages return different-looking but equally valid decompositions.
- MATLAB and NumPy may return eigenvectors with different signs or orderings — all are correct.
- In PCA, the sign of a principal component is arbitrary; only its direction matters.
- Repeated eigenvalues occur in isotropic materials; any orthonormal basis for the eigenspace is physically valid.
Quiz
The eigenvalues of a symmetric matrix are uniquely determined (as a multiset), even though the eigenvectors are not.
If is an eigenvector of with eigenvalue , which of the following is also an eigenvector with eigenvalue ?
Common Mistakes
- Thinking there is a unique spectral decomposition — the eigenvalues are unique, but the eigenvectors have multiple valid choices.
- Assuming different software will return the same eigenvectors — they may differ by signs, ordering, or basis choice for repeated eigenvalues.