Spectral theory of hermitian matrices #
This file proves the spectral theorem for matrices. The proof of the spectral theorem is based on
the spectral theorem for linear maps (LinearMap.IsSymmetric.eigenvectorBasis_apply_self_apply
).
Tags #
spectral theorem, diagonalization theorem
The eigenvalues of a hermitian matrix, indexed by Fin (Fintype.card n)
where n
is the index
type of the matrix.
Equations
- hA.eigenvalues₀ = ⋯.eigenvalues ⋯
Instances For
The eigenvalues of a hermitian matrix, reusing the index n
of the matrix entries.
Equations
- hA.eigenvalues i = hA.eigenvalues₀ ((Fintype.equivOfCardEq ⋯).symm i)
Instances For
A choice of an orthonormal basis of eigenvectors of a hermitian matrix.
Equations
- hA.eigenvectorBasis = (⋯.eigenvectorBasis ⋯).reindex (Fintype.equivOfCardEq ⋯)
Instances For
Unitary matrix whose columns are Matrix.IsHermitian.eigenvectorBasis
.
Equations
- hA.eigenvectorUnitary = ⟨(EuclideanSpace.basisFun n 𝕜).toBasis.toMatrix ⇑hA.eigenvectorBasis.toBasis, ⋯⟩
Instances For
Unitary diagonalization of a Hermitian matrix.
Diagonalization theorem, spectral theorem for matrices; A hermitian matrix can be
diagonalized by a change of basis. For the spectral theorem on linear maps, see
LinearMap.IsSymmetric.eigenvectorBasis_apply_self_apply
.
The determinant of a hermitian matrix is the product of its eigenvalues.
rank of a hermitian matrix is the rank of after diagonalization by the eigenvector unitary
rank of a hermitian matrix is the number of nonzero eigenvalues of the hermitian matrix