NLA-lib Explorer

Rayleigh–Ritz theorem, smallest eigenvalue

Library · Result group

Theorem (Matrix.IsHermitian.eigenvalue_last_eq_iInf). 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].

Headline (provisional) 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)

Full source on GitHub

Copy link

Other forms

Theorem (Matrix.IsHermitian.eigenvalue_zero_eq_iSup). Rayleigh–Ritz theorem, largest eigenvalue. The largest eigenvalue of a Hermitian matrix on a nonempty index type is the supremum of its quadratic form over unit vectors: \lambda_0(\mathbf{A}) = \sup_{\|\mathbf{x}\| = 1} \operatorname{Re}(\mathbf{x}^{\mathsf{H}}\mathbf{A}\mathbf{x}). [HornJohnson2013, Theorem 4.2.2].

General form: sizes are index types

Lean statement and details
Matrix.IsHermitian.eigenvalue_zero_eq_iSup.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  [Fintype n] [Nonempty n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) :
  eigenvalue A 0 = ⨆ x, RCLike.re (quadForm A ↑x)

Full source on GitHub

Copy link

General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.