Taylor's theorem #
This file defines the Taylor polynomial of a real function f : โ โ E,
where E is a normed vector space over โ and proves Taylor's theorem,
which states that if f is sufficiently smooth, then
f can be approximated by the Taylor polynomial up to an explicit error term.
Main definitions #
taylorCoeffWithin: the Taylor coefficient usingiteratedDerivWithintaylorWithin: the Taylor polynomial usingiteratedDerivWithin
Main statements #
taylor_tendsto: Taylor's theorem as a limittaylor_isLittleO: Taylor's theorem using little-o notationtaylor_mean_remainder: Taylor's theorem with the general form of the remainder termtaylor_mean_remainder_lagrange: Taylor's theorem with the Lagrange remaindertaylor_mean_remainder_cauchy: Taylor's theorem with the Cauchy remainderexists_taylor_mean_remainder_bound: Taylor's theorem for vector-valued functions with a polynomial bound on the remainder
TODO #
- the integral form of the remainder
- Generalization to higher dimensions
Tags #
Taylor polynomial, Taylor's theorem
The kth coefficient of the Taylor polynomial.
Equations
Instances For
The Taylor polynomial with derivatives inside of a set s.
The Taylor polynomial is given by
$$โ_{k=0}^n \frac{(x - xโ)^k}{k!} f^{(k)}(xโ),$$
where $f^{(k)}(xโ)$ denotes the iterated derivative in the set s.
Equations
Instances For
The Taylor polynomial with derivatives inside of a set s considered as a function โ โ E
Equations
Instances For
The Taylor polynomial of order zero evaluates to f x.
Evaluating the Taylor polynomial at x = xโ yields f x.
If f is n times continuous differentiable on a set s, then the Taylor polynomial
taylorWithinEval f n s xโ x is continuous in xโ.
Helper lemma for calculating the derivative of the monomial that appears in Taylor expansions.
Calculate the derivative of the Taylor polynomial with respect to xโ.
Version for arbitrary sets
Calculate the derivative of the Taylor polynomial with respect to xโ.
Version for open intervals
Calculate the derivative of the Taylor polynomial with respect to xโ.
Version for closed intervals
Calculate the derivative of the Taylor polynomial with respect to x.
Taylor's theorem using little-o notation.
Taylor's theorem as a limit.
Taylor's theorem as a limit.
Taylor's theorem with mean value type remainder estimate #
Taylor's theorem with the general mean value form of the remainder.
We assume that f is n+1-times continuously differentiable in the closed set Icc xโ x and
n+1-times differentiable on the open set Ioo xโ x, and g is a differentiable function on
Ioo xโ x and continuous on Icc xโ x. Then there exists an x' โ Ioo xโ x such that
$$f(x) - (P_n f)(xโ, x) = \frac{(x - x')^n}{n!} \frac{g(x) - g(xโ)}{g' x'},$$
where $P_n f$ denotes the Taylor polynomial of degree $n$.
Taylor's theorem with the Lagrange form of the remainder.
We assume that f is n+1-times continuously differentiable in the closed set Icc xโ x and
n+1-times differentiable on the open set Ioo xโ x. Then there exists an x' โ Ioo xโ x such
that
$$f(x) - (P_n f)(xโ, x) = \frac{f^{(n+1)}(x') (x - xโ)^{n+1}}{(n+1)!},$$
where $P_n f$ denotes the Taylor polynomial of degree $n$ and $f^{(n+1)}$ is the $n+1$-th iterated
derivative.
A corollary of Taylor's theorem with the Lagrange form of the remainder.
Taylor's theorem with the Cauchy form of the remainder.
We assume that f is n+1-times continuously differentiable on the closed set Icc xโ x and
n+1-times differentiable on the open set Ioo xโ x. Then there exists an x' โ Ioo xโ x such
that
$$f(x) - (P_n f)(xโ, x) = \frac{f^{(n+1)}(x') (x - x')^n (x-xโ)}{n!},$$
where $P_n f$ denotes the Taylor polynomial of degree $n$ and $f^{(n+1)}$ is the $n+1$-th iterated
derivative.
Taylor's theorem with a polynomial bound on the remainder
We assume that f is n+1-times continuously differentiable on the closed set Icc a b.
The difference of f and its n-th Taylor polynomial can be estimated by
C * (x - a)^(n+1) / n! where C is a bound for the n+1-th iterated derivative of f.
Taylor's theorem with a polynomial bound on the remainder
We assume that f is n+1-times continuously differentiable on the closed set Icc a b.
There exists a constant C such that for all x โ Icc a b the difference of f and its n-th
Taylor polynomial can be estimated by C * (x - a)^(n+1).