NLA-lib Explorer

NLAlib.HasOrthonormalCols.spectralMeasure_eq_sum

Library · theorem

The spectral measure in an eigenbasis: if \mathbf{A} = \mathbf{U}\operatorname{diag}(\mathbf{d})\mathbf{U}^{\mathsf{H}} with \mathbf{U} having orthonormal columns, as many as rows, and \mathbf{d} real, then \mu_{\mathbf{A},\mathbf{b}} = \sum_i \lvert(\mathbf{U}^{\mathsf{H}}\mathbf{b})_i\rvert^2\, \delta_{\mathbf{d}_i}\,; a repeated eigenvalue gives atoms at the same point, which add up. [GolubMeurant2010, Ch. 7]; there with the eigenbasis of a real symmetric matrix.

NLAlib.HasOrthonormalCols.spectralMeasure_eq_sum.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} {r : Type u_3} [Fintype n] [DecidableEq n] [Fintype r] [DecidableEq r]
  {U : Matrix n r 𝕜} (hU : HasOrthonormalCols U) (hr : Fintype.card r = Fintype.card n)
  {A : Matrix n n 𝕜} {d : r → ℝ} (hA : A = (U * diagonal fun i ↦ ↑(d i)) * Uᴴ) (b : n → 𝕜) :
  spectralMeasure A b = ∑ i, ENNReal.ofReal (‖(Uᴴ *ᵥ b) i‖ ^ 2) • Measure.dirac (d i)

Full source on GitHub

Import NLAlib.Matrix.Spectral.SpectralMeasure.