Definition (Hermitian spectral decomposition). A Hermitian matrix satisfies \mathbf{A}^{\mathsf{H}}=\mathbf{A}. Its spectral decomposition has the form \mathbf{A}=\mathbf{U}\mathbf\Lambda\mathbf{U}^{\mathsf{H}}, with unitary \mathbf{U} and real diagonal \mathbf\Lambda. Variational principles characterize the ordered eigenvalues through subspaces; interlacing compares them with eigenvalues of compressions.
Spectral theory
Spectral theory connects a matrix to its eigenvalues, eigenvectors, and invariant subspaces. Hermitian structure makes this connection especially strong: the eigenvalues are real and an orthonormal eigenbasis is available.
Results
Theorem (Poincaré separation, upper).
For Hermitian \mathbf{A} and \mathbf{Q} with orthonormal columns indexed by p, the k-th eigenvalue of the compression \mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q} is at most the k-th eigenvalue of \mathbf{A}: \lambda_k(\mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q}) \le \lambda_k(\mathbf{A}) for k < \lvert p \rvert. [HornJohnson2013, Corollary 4.3.37].
General form: sizes are index types
Lean statement and details
Matrix.IsHermitian.eigenvalue_conjTranspose_mul_mul_le.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
{n : Type u_2} {p : Type u_3} [Fintype n] [Fintype p] [DecidableEq p] {A : Matrix n n 𝕜}
(hA : A.IsHermitian) {Q : Matrix n p 𝕜} (hQ : HasOrthonormalCols Q) {k : ℕ}
(hk : k < Fintype.card p) : eigenvalue (Qᴴ * A * Q) k ≤ eigenvalue A kTheorem (Courant–Fischer, min–max form).
For Hermitian \mathbf{A} and k < \lvert n \rvert, \lambda_k(\mathbf{A}) = \inf_{\dim W + k = \lvert n \rvert} \; \sup_{\mathbf{x} \in W, \, \|\mathbf{x}\| = 1} \operatorname{Re}(\mathbf{x}^{\mathsf{H}}\mathbf{A}\mathbf{x}), the infimum over subspaces W of codimension k. [HornJohnson2013, Theorem 4.2.6].
General form: sizes are index types
Lean statement and details
Matrix.IsHermitian.eigenvalue_eq_iInf_iSup.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
[Fintype n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) {k : ℕ} (hk : k < Fintype.card n) :
eigenvalue A k = ⨅ W, ⨆ x, RCLike.re (quadForm A ↑x)Theorem (Diagonalizability by multiplicities).
Over an algebraically closed field, a matrix \mathbf{A} is diagonalisable exactly when \dim E_\mu(\mathbf{A}) equals the multiplicity of \mu in its characteristic polynomial for every scalar \mu. Empty matrices and scalars outside the spectrum are included. [HornJohnson2013, §§1.3–1.4]; generalized from complex scalars. Formal source: tchen-research/NLAlib, commit 77514ce42a0e437d837797a063ac161f41022730, NLAlib.isDiagonalizable_iff_finrank_eigenspace_eq_rootMultiplicity.
Lean statement and details
NLAlib.isDiagonalizable_iff_forall_finrank_eigenspace_eq_rootMultiplicity.{u_1, u_4} {K : Type u_1}
[Field K] {n : Type u_4} [Fintype n] [DecidableEq n] [IsAlgClosed K] (A : Matrix n n K) :
IsDiagonalizable A ↔
∀ (μ : K),
Module.finrank K ↥(Module.End.eigenspace (toLin' A) μ) =
Polynomial.rootMultiplicity μ A.charpolyTheorem (Strict subspace test from above).
If the Rayleigh quotient of a Hermitian matrix is strictly below c on the nonzero vectors of a subspace of codimension at most k, then \lambda_k(\mathbf{A})<c for k in range. [HornJohnson2013, Theorem 4.2.10].
General form: sizes are index types
Lean statement and details
Matrix.IsHermitian.eigenvalue_lt_of_forall_mem.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
[Fintype n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) {k : ℕ} (hk : k < Fintype.card n)
(W : Submodule 𝕜 (n → 𝕜)) (hW : Fintype.card n ≤ Module.finrank 𝕜 ↥W + k) {c : ℝ}
(h : ∀ x ∈ W, x ≠ 0 → RCLike.re (quadForm A x) < c * ‖WithLp.toLp 2 x‖ ^ 2) : eigenvalue A k < cTheorem (The Hoffman–Wielandt theorem for normal matrices).
The eigenvalues of two normal matrices can be matched so that the sum of squared distances is at most the squared Frobenius distance: if \mathbf{a} and \mathbf{b} list the eigenvalues of \mathbf{A} and \mathbf{B}, there is a permutation \pi with \sum_i \lvert \mathbf{a}_i - \mathbf{b}_{\pi(i)} \rvert^2 \le \|\mathbf{A} - \mathbf{B}\|_{\mathsf{F}}^2. [HornJohnson2013, Theorem 6.3.5]; [Bhatia1997, Theorem VI.4.1].
Lean statement and details
IsStarNormal.exists_perm_sum_norm_sub_sq_le_frobNorm_sq.{u_1, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜]
{n : Type u_3} [Fintype n] [DecidableEq n] {A B : Matrix n n 𝕜} (hA : IsStarNormal A)
(hB : IsStarNormal B) {ι : Type u_4} [Fintype ι] {a b : ι → 𝕜} (ha : IsEigenvalueListing A a)
(hb : IsEigenvalueListing B b) : ∃ σ, ∑ i, ‖a i - b (σ i)‖ ^ 2 ≤ frobNorm (A - B) ^ 2Theorem (The Jacobi iteration converges for strictly diagonally dominant matrices).
if \sum_{j \ne i} \lvert \mathbf{A}_{i,j} \rvert < \lvert \mathbf{A}_{i,i} \rvert for every i, the iteration matrix \mathbf{I} - \mathbf{D}^{-1}\mathbf{A}, with \mathbf{D} the diagonal of \mathbf{A}, has spectral radius less than one. [GolubVanLoan2013, Theorem 11.2.2]; [Saad2003, Theorem 4.9].
Lean statement and details
NLAlib.specRadius_one_sub_inv_diagonal_mul_lt_one.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
{n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜}
(h : ∀ (i : n), gershgorinRadius A i < ‖A i i‖) :
specRadius (1 - (diagonal fun i ↦ A i i)⁻¹ * A) < 1Theorem (The spectral theorem for normal matrices).
a complex matrix is normal exactly when it is unitarily diagonalisable, \mathbf{A} = \mathbf{U} \operatorname{diag}(\mathbf{d}) \mathbf{U}^{\mathsf{H}} for a unitary \mathbf{U} and a complex \mathbf{d}. [HornJohnson2013, Theorem 2.5.3].
Lean statement and details
NLAlib.isStarNormal_iff_exists_eq_mul_diagonal_mul_conjTranspose.{u_3} {n : Type u_3} [Fintype n]
[DecidableEq n] {A : Matrix n n ℂ} :
IsStarNormal A ↔ ∃ U d, HasOrthonormalCols U ∧ A = U * diagonal d * UᴴTheorem (Principal-submatrix eigenvalue survival).
Over any field, if the geometric multiplicity of \mu for \mathbf{A} exceeds the number of deleted coordinates, then \mu remains an eigenvalue of \mathbf{A}_{s,s}. The matrix need not be diagonalisable. [HornJohnson2013, Theorem 1.4.10]; generalized to arbitrary fields and finite index types. Formal source: tchen-research/NLAlib, commit 77514ce42a0e437d837797a063ac161f41022730, NLAlib.mem_spectrum_principal_submatrix_of_finrank_eigenspace_gt; the additive dimension condition avoids truncated subtraction.
General form: sizes are index types
Lean statement and details
NLAlib.mem_spectrum_submatrix_of_card_lt_add_finrank_eigenspace.{u_1, u_4} {K : Type u_1} [Field K]
{n : Type u_4} [Fintype n] [DecidableEq n] (A : Matrix n n K) (μ : K) (s : Finset n)
(h : Fintype.card n < s.card + Module.finrank K ↥(Module.End.eigenspace (toLin' A) μ)) :
μ ∈ spectrum K (A.submatrix (fun j ↦ ↑j) fun j ↦ ↑j)Theorem (A quadratic probe detects the spectral norm).
For a positive semidefinite matrix on a nonempty index space there is one unit vector \mathbf{v} such that every \mathbf{z} satisfies \|\mathbf{A}\|_2 |\mathbf{v}^{\mathsf{H}}\mathbf{z}|^2 \le \operatorname{Re}(\mathbf{z}^{\mathsf{H}}\mathbf{A}\mathbf{z}). The first vector in an ordered orthonormal eigenbasis supplies the direction. No printed source.
General form: sizes are index types
Lean statement and details
Matrix.PosSemidef.exists_norm_eq_one_and_specNorm_mul_norm_dotProduct_sq_le.{u_1, u_2}
{𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n] [Nonempty n] {A : Matrix n n 𝕜}
(hA : A.PosSemidef) :
∃ v,
‖WithLp.toLp 2 v‖ = 1 ∧ ∀ (z : n → 𝕜), specNorm A * ‖star v ⬝ᵥ z‖ ^ 2 ≤ RCLike.re (quadForm A z)Theorem (Rayleigh–Ritz theorem, smallest eigenvalue).
The smallest eigenvalue of a Hermitian matrix is the infimum of its quadratic form over unit vectors: \lambda_k(\mathbf{A}) = \inf_{\|\mathbf{x}\| = 1} \operatorname{Re}(\mathbf{x}^{\mathsf{H}}\mathbf{A}\mathbf{x}) for k + 1 = \lvert n \rvert. [HornJohnson2013, Theorem 4.2.2].
General form: sizes are index types
Lean statement and details
Matrix.IsHermitian.eigenvalue_last_eq_iInf.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
[Fintype n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) {k : ℕ} (hk : k + 1 = Fintype.card n) :
eigenvalue A k = ⨅ x, RCLike.re (quadForm A ↑x)Theorem (Real orthogonal canonical form).
A real orthogonal matrix is orthogonally similar to scalar signs \pm1 and blocks \begin{bmatrix}a&b\\-b&a\end{bmatrix} with a^2+b^2=1. The real Schur pattern, singleton signs, and unit-circle equation hold for any supplied enumeration of a finite index type, including the empty type. [HornJohnson2013, Corollary 2.5.11(c)]; signed block coefficients are allowed here, without choosing the printed positive-angle convention. Adapted from tchen-research/NLAlib at 77514ce42a0e437d837797a063ac161f41022730, exists_orthogonal_real_orthogonal_normal_form.
Lean statement and details
NLAlib.HasOrthonormalCols.exists_isRealSchurForm.{u_2} {k : ℕ} {n : Type u_2} [Fintype n]
[DecidableEq n] {A : Matrix n n ℝ} (hA : HasOrthonormalCols A) (order : Fin k ≃ n) :
∃ Q T,
HasOrthonormalCols Q ∧
A = Q * T * Qᴴ ∧
IsRealSchurForm (T.submatrix ⇑order ⇑order) ∧
(∀ (i j : n), i ≠ j → T i j = -T j i) ∧
(∀ (i : n), (∀ (j : n), j ≠ i → T j i = 0) → T i i = -1 ∨ T i i = 1) ∧
∀ (i j : Fin k),
↑j + 1 = ↑i →
T (order i) (order j) ≠ 0 →
T (order j) (order j) ^ 2 + T (order i) (order j) ^ 2 = 1Theorem (Schur triangularisation with a prescribed diagonal).
If \mathbf{d} lists the eigenvalues of \mathbf{A}, there is a unitary \mathbf{U} with \mathbf{U}^{\mathsf{H}}\mathbf{A}\mathbf{U} upper triangular with diagonal \mathbf{d}, in the given order: (\mathbf{U}^{\mathsf{H}}\mathbf{A}\mathbf{U})_{i,i} = \mathbf{d}_i. Over \mathbb{R} this is orthogonal triangularisation of a matrix with real eigenvalues. [HornJohnson2013, Theorem 2.3.1].
Lean statement and details
NLAlib.IsEigenvalueListing.exists_hasOrthonormalCols_isUpperTriangular.{u_1, u_4} {𝕜 : Type u_1}
[RCLike 𝕜] {n : Type u_4} [Fintype n] [DecidableEq n] [LinearOrder n] {A : Matrix n n 𝕜}
{d : n → 𝕜} (hd : IsEigenvalueListing A d) :
∃ U, HasOrthonormalCols U ∧ (Uᴴ * A * U).IsUpperTriangular ∧ ∀ (i : n), (Uᴴ * A * U) i i = d iTheorem (Spectral theorem).
a Hermitian matrix is \mathbf{A} = \mathbf{U} \operatorname{diag}\bigl(\lambda_0(\mathbf{A}), \dots, \lambda_{\lvert n \rvert - 1}(\mathbf{A})\bigr) \mathbf{U}^{\mathsf{H}} for a matrix \mathbf{U} with orthonormal columns indexed by Fin (Fintype.card n). [HornJohnson2013, Theorem 2.5.6].
Lean statement and details
Matrix.IsHermitian.exists_eq_mul_diagonal_mul_conjTranspose.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
{n : Type u_2} [Fintype n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) :
∃ U, HasOrthonormalCols U ∧ A = (U * diagonal fun i ↦ ↑(eigenvalue A ↑i)) * UᴴTheorem (Sylvester's criterion).
A Hermitian matrix is positive definite exactly when its leading principal minors are positive: \operatorname{Re} \det \mathbf{A}_{s_i,s_i} > 0 for every i, where s_i = \{j : j \le i\} and \mathbf{A}_{s,s} is the principal submatrix on s (the minor is real; principalMinor). [HornJohnson2013, Theorem 7.2.5].
Lean statement and details
Matrix.IsHermitian.posDef_iff_forall_re_principalMinor_Iic_pos.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
{n : Type u_2} [DecidableEq n] [Finite n] [LinearOrder n] [LocallyFiniteOrderBot n]
{A : Matrix n n 𝕜} (hA : A.IsHermitian) :
A.PosDef ↔ ∀ (i : n), 0 < RCLike.re (principalMinor A (Finset.Iic i))Formal definitions
Used by algorithms
17 algorithms using this topic or its subtopics
Conjugate gradient (CG)
Solve a symmetric positive-definite system \mathbf{A}\mathbf{x}=\mathbf{b} using a short Krylov recurrence.
Lanczos process
Build a Krylov basis and a tridiagonal compression of a symmetric operator.
Preconditioned CG (PCG)
Apply conjugate gradients to a symmetrically preconditioned positive-definite system.
Lanczos quadrature
Use the Lanczos compression to approximate a quadratic form \mathbf{b}^{\mathsf{T}}f(\mathbf{A})\mathbf{b}.
MINRES
Minimize the residual over a Krylov space for a symmetric system.
Cholesky factorization
Construct a triangular factor of a positive-definite matrix.
Hermitian spectral bisection (Shah)
Use a spectral split to separate invariant subspaces.
Randomized subspace extraction (deflation)
Project a random sample through a matrix and extract a basis using QR.
Hessenberg reduction
Reduce a square matrix by Householder similarities before a QR eigensolve.
Hessenberg shifted QR (BGS)
The shifted QR algorithm of Banks, Garza-Vargas and Srivastava on Hessenberg matrices, with exact-arithmetic and finite-precision programs and BGS + Dense Schur (end-to-end).
Inverse iteration
Use shifted linear solves to target an eigenvector near a chosen shift.
Jacobi eigenvalue method
Apply plane rotations to diagonalize a Hermitian matrix.
Pivoted Cholesky
Factor a positive-semidefinite matrix by selecting residual diagonal pivots.
Power iteration
Repeatedly apply an operator to approximate a dominant eigenvector.
Preconditioned MINRES
Minimize a preconditioned residual norm for a Hermitian system.
Probe spectral estimation
Estimate a Hermitian matrix spectral measure with isotropic random probes.
Richardson iteration
Update an iterate with a preconditioned residual.