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 spectrum of a matrix A
coincides with the spectrum of toEuclideanLin A
.
Alias of Matrix.spectrum_toEuclideanLin
.
The spectrum of a matrix A
coincides with the spectrum of toEuclideanLin A
.
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
Eigenvalues of a hermitian matrix A are in the β spectrum of A.
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
The eigenvalues of a Hermitian matrix A
are all zero iff A = 0
.
A nonzero Hermitian matrix has an eigenvector with nonzero eigenvalue.