ConceptComplete

Taylor's Theorem

Taylor's Theorem approximates a smooth function near a point using a polynomial whose coefficients are determined by the function's derivatives. The remainder term quantifies the error. This is the foundation for numerical methods, asymptotic analysis, and series expansions in analysis.


Statement

Theorem5.1Taylor's Theorem with Lagrange Remainder

Let f:[a,b]Rf : [a, b] \to \mathbb{R} be n+1n+1 times differentiable. For x0[a,b]x_0 \in [a, b] and x[a,b]x \in [a, b], there exists cc between x0x_0 and xx such that

f(x)=k=0nf(k)(x0)k!(xx0)k+f(n+1)(c)(n+1)!(xx0)n+1.f(x) = \sum_{k=0}^n \frac{f^{(k)}(x_0)}{k!} (x - x_0)^k + \frac{f^{(n+1)}(c)}{(n+1)!} (x - x_0)^{n+1}.

The sum is the Taylor polynomial Tn(x)T_n(x), and the last term is the Lagrange remainder Rn(x)R_n(x).

RemarkSpecial cases
  • n=0n = 0: Mean Value Theorem.
  • n=1n = 1: Linear approximation f(x)f(x0)+f(x0)(xx0)f(x) \approx f(x_0) + f'(x_0)(x - x_0).
  • n=2n = 2: Quadratic approximation including second derivative.
ExampleTaylor series for e^x

For f(x)=exf(x) = e^x, all derivatives are f(k)(x)=exf^{(k)}(x) = e^x. At x0=0x_0 = 0, the Taylor polynomial is

Tn(x)=1+x+x22!++xnn!.T_n(x) = 1 + x + \frac{x^2}{2!} + \cdots + \frac{x^n}{n!}.

The remainder satisfies Rn(x)exxn+1(n+1)!0|R_n(x)| \leq \frac{e^{|x|}|x|^{n+1}}{(n+1)!} \to 0 as nn \to \infty for fixed xx, so ex=k=0xk/k!e^x = \sum_{k=0}^\infty x^k/k!.

ExampleTaylor series for sin(x)

For f(x)=sin(x)f(x) = \sin(x) at x0=0x_0 = 0, the derivatives cycle: sin,cos,sin,cos,\sin, \cos, -\sin, -\cos, \ldots At 00: 0,1,0,1,0,1,0, 1, 0, -1, 0, 1, \ldots Thus

sin(x)=xx33!+x55!x77!+=k=0(1)kx2k+1(2k+1)!.\sin(x) = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \cdots = \sum_{k=0}^\infty \frac{(-1)^k x^{2k+1}}{(2k+1)!}.


Applications

ExampleApproximating functions

To approximate 1+x\sqrt{1 + x} near x=0x = 0, use f(x)=(1+x)1/2f(x) = (1 + x)^{1/2}. Then f(0)=1f(0) = 1, f(0)=1/2f'(0) = 1/2, f(0)=1/4f''(0) = -1/4. The quadratic Taylor approximation is

1+x1+x2x28.\sqrt{1 + x} \approx 1 + \frac{x}{2} - \frac{x^2}{8}.

For x=0.1x = 0.1, this gives 1.11.04875\sqrt{1.1} \approx 1.04875, very close to the true value 1.048811.04881\ldots

ExampleComputing limits using Taylor series

limx0sin(x)xx3=limx0(xx3/6+O(x5))xx3=limx0x3/6+O(x5)x3=16.\lim_{x \to 0} \frac{\sin(x) - x}{x^3} = \lim_{x \to 0} \frac{(x - x^3/6 + O(x^5)) - x}{x^3} = \lim_{x \to 0} \frac{-x^3/6 + O(x^5)}{x^3} = -\frac{1}{6}.


Summary

Taylor's Theorem provides polynomial approximations to smooth functions:

  • The Taylor polynomial matches the function and its derivatives at a point.
  • The remainder term estimates the error.
  • Applications: numerical approximation, asymptotic analysis, evaluating limits.

See Taylor's Theorem proof and Series of Functions for more on convergence.