NLA-lib Explorer

NLAlib.integral_gaussQuadrature_le_integral_of_iteratedDeriv_nonneg

Library · theorem

Gauss quadrature is a lower bound for f with nonnegative derivative of order 2k: for a finite measure \mu supported in [a, \mathbf{b}], a < \mathbf{b}, k > 0, and f continuous on [a, \mathbf{b}], C^{2k} on (a, \mathbf{b}) with f^{(2k)} \ge 0 there, \int f\,d\,\mathsf{gaussQuadrature}(\mu, k) \le \int f\,d\mu\,. [Gautschi2004, Theorem 1.48]; [GolubMeurant2010, Ch. 6] (locators to check).

NLAlib.integral_gaussQuadrature_le_integral_of_iteratedDeriv_nonneg {μ : Measure ℝ}
  [IsFiniteMeasure μ] {a b : ℝ} (hμ : ∀ᵐ (x : ℝ) ∂μ, x ∈ Set.Icc a b) (hab : a < b) {k : ℕ}
  (hk : 0 < k) {f : ℝ → ℝ} (hf : ContinuousOn f (Set.Icc a b))
  (hf' : ContDiffOn ℝ (↑(2 * k)) f (Set.Ioo a b))
  (hD : ∀ x ∈ Set.Ioo a b, 0 ≤ iteratedDeriv (2 * k) f x) :
  ∫ (x : ℝ), f x ∂gaussQuadrature μ k ≤ ∫ (x : ℝ), f x ∂μ

Full source on GitHub

Import NLAlib.Polynomial.Orthogonal.Gauss.