NLA-lib Explorer

NLAlib.gaussQuadrature_eq_self_of_integral_orthogonalPolynomial_sq_eq_zero

Library · theorem

The terminating case: if the orthogonal polynomial \pi_k of a finite measure \mu supported in [a, \mathbf{b}] has norm 0 in L^2(\mu) (\mu has at most k support points), then the k-point Gauss rule of \mu is \mu itself.

NLAlib.gaussQuadrature_eq_self_of_integral_orthogonalPolynomial_sq_eq_zero {μ : Measure ℝ}
  [IsFiniteMeasure μ] {a b : ℝ} (hμ : ∀ᵐ (x : ℝ) ∂μ, x ∈ Set.Icc a b) {k : ℕ}
  (h : ∫ (x : ℝ), Polynomial.eval x (orthogonalPolynomial μ k) ^ 2 ∂μ = 0) : gaussQuadrature μ k = μ

Full source on GitHub

Import NLAlib.Polynomial.Orthogonal.Gauss.