NLA-lib Explorer

Matrix.IsHermitian.rayleighQuotient_cfc_mulVec_eq_integral_div

Library · theorem

The Rayleigh quotient of a filtered vector as a ratio of spectral integrals: for Hermitian \mathbf{A} and every g : \mathbb{R} \to \mathbb{R}, \rho_{\mathbf{A}}(g(\mathbf{A})\mathbf{b}) = \frac{\int \mathbf{x} g(\mathbf{x})^2\,d\mu_{\mathbf{A},\mathbf{b}}}{\int g^2\,d\mu_{\mathbf{A},\mathbf{b}}}\,, \rho_{\mathbf{A}} the Rayleigh quotient; both sides are 0 when g(\mathbf{A})\mathbf{b} = \mathbf{0}.

Matrix.IsHermitian.rayleighQuotient_cfc_mulVec_eq_integral_div.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) (g : ℝ → ℝ)
  (b : n → 𝕜) :
  rayleighQuotient A (cfc g A *ᵥ b) =
    (∫ (x : ℝ), x * g x ^ 2 ∂spectralMeasure A b) / ∫ (x : ℝ), g x ^ 2 ∂spectralMeasure A b

Full source on GitHub

Import NLAlib.Matrix.Spectral.SpectralMeasure.