NLA-lib Explorer

NLAlib.integral_le_integral_gaussQuadrature_of_iteratedDeriv_nonpos

Library · theorem

Gauss quadrature is an upper bound for f with nonpositive 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)} \le 0 there, \int f\,d\mu \le \int f\,d\,\mathsf{gaussQuadrature}(\mu, k)\,. [Gautschi2004, Theorem 1.48]; [GolubMeurant2010, Ch. 6] (locators to check).

NLAlib.integral_le_integral_gaussQuadrature_of_iteratedDeriv_nonpos {μ : 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, iteratedDeriv (2 * k) f x ≤ 0) :
  ∫ (x : ℝ), f x ∂μ ≤ ∫ (x : ℝ), f x ∂gaussQuadrature μ k

Full source on GitHub

Import NLAlib.Polynomial.Orthogonal.Gauss.