NLA-lib Explorer

NLAlib.re_quadForm_eq_rayleighQuotient_mul

Library · theorem

The real part of the quadratic form is the Rayleigh quotient times the squared norm \|\mathbf{x}\|^2, also at \mathbf{x} = \mathbf{0}.

NLAlib.re_quadForm_eq_rayleighQuotient_mul.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3}
  [Fintype n] (A : Matrix n n 𝕜) (x : n → 𝕜) :
  RCLike.re (quadForm A x) = rayleighQuotient A x * ‖WithLp.toLp 2 x‖ ^ 2

Full source on GitHub

Import NLAlib.Matrix.Basic.QuadForm.