NLA-lib Explorer

Matrix.IsHermitian.star_dotProduct_mulVec_sub_rayleighQuotient_smul

Library · theorem

For Hermitian \mathbf{A}, the residual at the Rayleigh quotient \rho of \mathbf{x} is orthogonal to \mathbf{x}: \mathbf{x}^{\mathsf{H}}(\mathbf{A}\mathbf{x} - \rho\mathbf{x}) = 0.

Matrix.IsHermitian.star_dotProduct_mulVec_sub_rayleighQuotient_smul.{u_1, u_2} {𝕜 : Type u_1}
  [RCLike 𝕜] {n : Type u_2} [Fintype n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) (x : n → 𝕜) :
  star x ⬝ᵥ (A *ᵥ x - rayleighQuotient A x • x) = 0

Full source on GitHub

Import NLAlib.Matrix.Perturbation.Residual.