NLA-lib Explorer

NLAlib.re_quadForm_mem_of_spectrum_subset

Library Β· theorem

The quadratic form of a Hermitian matrix at a unit vector lies in every convex set containing the spectrum: \operatorname{Re}(\mathbf{x}^{\mathsf{H}}\mathbf{A}\mathbf{x}) \in s for \|\mathbf{x}\| = 1, since it is a convex combination of the eigenvalues.

NLAlib.re_quadForm_mem_of_spectrum_subset.{u_1, u_3} {π•œ : Type u_1} [RCLike π•œ] {n : Type u_3}
  [Fintype n] [DecidableEq n] {s : Set ℝ} (hs : Convex ℝ s) {A : Matrix n n π•œ} (hA : A.IsHermitian)
  (hAs : spectrum ℝ A βŠ† s) {x : n β†’ π•œ} (hx : β€–WithLp.toLp 2 xβ€– = 1) : RCLike.re (quadForm A x) ∈ s

Full source on GitHub

Import NLAlib.Matrix.Functions.TraceFunctions.