Documentation

CslibFrontier.Foundations.Analysis.Calculus.Taylor

Global Taylor bounds on the real line #

For a function f : ℝ → ℝ of class C^(n+1) whose (n+1)st derivative is bounded by C everywhere, the Lagrange form of the remainder bounds the error of the degree-n Taylor polynomial at any base point x and increment h by C |h| ^ (n + 1) / (n + 1)! (abs_sub_sum_iteratedDeriv_le). Mathlib's taylor_mean_remainder_bound works on an interval [a, b] with iteratedDerivWithin and the weaker denominator n!; here the derivatives are the global iteratedDeriv and the increment may be negative. Consequently f grows at most like a polynomial of degree n + 1 (ContDiff.exists_abs_le_mul_one_add_pow_of_abs_iteratedDeriv_le).

Main results #

theorem abs_sub_sum_iteratedDeriv_le {f : ℝ → ℝ} {n : ℕ} (hf : ContDiff ℝ (↑n + 1) f) {C : ℝ} (hC : ∀ (y : ℝ), |iteratedDeriv (n + 1) f y| ≤ C) (x h : ℝ) :
|f (x + h) - ∑ j ∈ Finset.range (n + 1), iteratedDeriv j f x * h ^ j / ↑j.factorial| ≤ C * |h| ^ (n + 1) / ↑(n + 1).factorial

Taylor's theorem with the Lagrange remainder, global form. If f : ℝ → ℝ is C^(n+1) and |f⁽ⁿ⁺¹⁾| ≤ C everywhere, then the degree-n Taylor polynomial of f at x approximates f (x + h) within C |h| ^ (n + 1) / (n + 1)!.

theorem ContDiff.exists_abs_le_mul_one_add_pow_of_abs_iteratedDeriv_le {f : ℝ → ℝ} {n : ℕ} (hf : ContDiff ℝ (↑n + 1) f) {C : ℝ} (hC : ∀ (y : ℝ), |iteratedDeriv (n + 1) f y| ≤ C) :
∃ (K : ℝ), ∀ (y : ℝ), |f y| ≤ K * (1 + |y| ^ (n + 1))

A C^(n+1) function f : ℝ → ℝ with bounded (n+1)st derivative grows at most like a polynomial of degree n + 1: |f y| ≤ K (1 + |y| ^ (n + 1)) for some constant K.