Taylor's theorem

Database › Mathematics › Pure mathematics › Analysis

ANA-0001TheoremUndergraduate

A smooth function equals its Taylor polynomial plus a remainder that can be bounded by the next derivative; this underlies approximations and the evaluation of limits.

$$f(x)=\sum_{k=0}^{n-1}\frac{f^{(k)}(a)}{k!}(x-a)^k+R_n,\qquad R_n=\frac{f^{(n)}(\xi)}{n!}(x-a)^n\ \ (a<\xi<x)$$

Explanation

The Lagrange form of the remainder follows from the mean-value theorem. If $R_n\to0$ as $n\to\infty$, the Taylor series converges to $f$; this can fail even for infinitely differentiable functions ($e^{-1/x^2}$ at 0 has all derivatives zero).

Standard series: $e^x=\sum x^n/n!$, $\sin x=x-x^3/3!+\cdots$, $\ln(1+x)=x-x^2/2+x^3/3-\cdots$ ($|x|<1$), $(1+x)^\alpha=\sum\binom{\alpha}{n}x^n$. In several variables, $f(\mathbf x+\mathbf h)=f(\mathbf x)+\mathbf h\cdot\nabla f+\frac12h_ih_j\partial_i\partial_jf+\cdots$; the Hessian matrix classifies stationary points.

Example 1

Approximate $\ln1.2$ with three terms of the series and bound the error.

Solution

$0.2-\frac{0.04}{2}+\frac{0.008}{3}\approx0.18267$. The series alternates with decreasing terms, so the error is below the next term $0.2^4/4=4\times10^{-4}$. (True value $0.18232$, error $3.5\times10^{-4}$.)

Example 2

Evaluate $\lim_{x\to0}\frac{\tan x-x}{x^3}$.

Solution

$\tan x=x+\frac{x^3}{3}+O(x^5)$, so the limit is $\frac13$.

Related entries