NLA-lib Explorer

NLAlib.abs_derivative_eval_le_of_forall_abs_eval_le

Library · theorem

Interval derivative bound for a bounded polynomial: if a<\mathbf{b}, \mathbf{M}\ge0 and a real polynomial p of degree at most n satisfies \lvert p(\mathbf{x})\rvert\le \mathbf{M} on [a,\mathbf{b}], then the bound is <!-- value polynomialDerivativeFactor n --> \lvert p'(\mathbf{x})\rvert\le \frac{4n^2\mathbf{M}}{\mathbf{b}-a},\qquad \mathbf{x}\in[a,\mathbf{b}]. A factor two relaxation of Markov's inequality, obtained from Mathlib's Chebyshev endpoint extremal theorem. No printed source for this relaxation.

NLAlib.abs_derivative_eval_le_of_forall_abs_eval_le {p : Polynomial ℝ} {n : ℕ} {a b M x : ℝ}
  (hp : p.degree ≤ ↑n) (hab : a < b) (hM : 0 ≤ M)
  (hbound : ∀ t ∈ Set.Icc a b, |Polynomial.eval t p| ≤ M) (hx : x ∈ Set.Icc a b) :
  |Polynomial.eval x (Polynomial.derivative p)| ≤ polynomialDerivativeFactor n * M / (b - a)

Full source on GitHub

Import NLAlib.Polynomial.Approximation.Markov.