Taylor Series#
Definition: Taylor Polynomial
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function which is \(m\)-times differentiable at \(p \in \mathcal{D}\).
The \(m\)-th Taylor polynomial of \(f\) at \(p\) is the following function:
Notation
The Taylor polynomial \(T_m(p, x)\) has the following polynomial expansion:
Taylor's Theorem
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function, let \((a,b) \subseteq \mathcal{D}\) and let \(p \in (a,b)\). Let \(R_{m+1}(p;x)\) denote the remainder of \(f\) and its \(m\)-th Taylor polynomial at \(p\):
If \(f\) is \((m+1)\)-times continuously differentiable on \((a,b)\), then \(R_{m+1}(p;x)\) can be obtained by the following integral from \(p\) to \(x\) :
Moreover, for each \(x \in (a, b)\), there exists some \(\xi_x \in (p, x)\) or \(\xi_x \in (x,p)\) such that
Notation
Sometimes, we substitute \(h = x - p\):
Example: \(\mathrm{e}^x\)
For the exponential function \(f(x) = \mathrm{e}^x\) we have \(f^{(m)}(x) = \mathrm{e}^x\). For its \(m\)-th Taylor polynomial at \(0\):
The theorem tells us that there is some \(\xi_x \in (0, x)\) with
Proof
TODO
Theorem: Remainder and Bachmann-Landau
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function, let \((a,b) \subseteq \mathcal{D}\) and let \(p \in (a,b)\). Let \(R_{m+1}(p;p + h)\) denote the remainder of \(f\) and its \(m\)-th Taylor polynomial at \(p\):
If \(f\) is \(m\)-times differentiable at \(p\), then \(R_{m+1}(p; p+h)\) is little O of \(h^m\):
If \(f\) is \((m+1)\)-times differentiable at \(p\), then \(R_{m+1}(p; p+h)\) is big O of \(h^{m+1}\):
Proof
TODO
Definition: Taylor Series
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function which is infinitely differentiable at \(p \in \mathcal{D}\).
The Taylor series of \(f\) at \(p\) is the following power series
Notation
The Taylor series of a function \(f\) is useful because it can sometimes allow us to express \(f\) as a power series.
Theorem: Taylor Series-Function Equality
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function which is infinitely differentiable at \(p \in \mathcal{D}\) and let \(x \in \mathcal{D}\).
The Taylor series \(T_{f}(p; x)\) converges to \(f(x)\) if and only if the sequence of the remainders of its Taylor polynomials at \(p\) converges to \(0\).
Proof
TODO
Theorem: Taylor Series-Function Equality via Derivatives
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function, let \(p, x \in \mathcal{D}\) and let \(I \subset \mathcal{D}\) be the compact interval whose endpoints are \(p\) and \(x\).
If \(f\) is infinitely differentiable on an open interval containing \(I\) and there exist \(A, B \in \mathbb{R}\) such that
for all \(n \in \mathbb{N}\) and all \(t \in I\), then \(f(x)\) is equal to the Taylor series \(T_{f}(p; x)\):
Proof
From Taylor's theorem, we know that there exists some \(\xi_x\) in the open interval whose endpoints are \(x\) and \(p\) such that
We have
for all \(n \in \mathbb{N}\). Since \(\frac{AB^n}{n!}|x-p|^n\) [converges](./Limits%20(Real%20Functions.md) to \(0\) for \(n \to \infty\) and since
the [sandwich theorem](./Limits%20(Real%20Functions.md) tells us that
and so