TheoremComplete

Taylor's Theorem with Remainder

Taylor's theorem quantifies the error in approximating a function by its Taylor polynomial, providing the rigorous foundation for power series representations.


The Theorem

Theorem7.4Taylor's Theorem (Lagrange Form)

Let f:[a,b]Rf : [a, b] \to \mathbb{R} be (n+1)(n+1) times differentiable on (a,b)(a, b) with f(n+1)f^{(n+1)} continuous on [a,b][a, b]. Then for any x[a,b]x \in [a, b] and any point a0[a,b]a_0 \in [a, b], f(x)=k=0nf(k)(a0)k!(xa0)k+Rn(x)f(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a_0)}{k!}(x - a_0)^k + R_n(x) where the Lagrange remainder is Rn(x)=f(n+1)(c)(n+1)!(xa0)n+1R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x - a_0)^{n+1} for some cc strictly between a0a_0 and xx.

Theorem7.5Taylor's Theorem (Integral Form)

Under the same hypotheses, the remainder can be expressed as Rn(x)=1n!a0xf(n+1)(t)(xt)ndtR_n(x) = \frac{1}{n!}\int_{a_0}^{x} f^{(n+1)}(t)(x - t)^n \, dt This form is often more useful for obtaining sharp error bounds.


Error Estimation

ExampleApproximating $e$

Using the Maclaurin series for exe^x at x=1x = 1 with nn terms: e=k=0n1k!+Rn,Rn=ec(n+1)!3(n+1)!e = \sum_{k=0}^{n} \frac{1}{k!} + R_n, \quad |R_n| = \frac{e^c}{(n+1)!} \leq \frac{3}{(n+1)!} since ec<e<3e^c < e < 3 for c(0,1)c \in (0, 1). With n=9n = 9: R9<310!8.3×107|R_9| < \frac{3}{10!} \approx 8.3 \times 10^{-7}, giving e2.718282e \approx 2.718282 accurate to six decimal places.

ExampleApproximating $\sin(0.1)$

sin(0.1)=0.1(0.1)33!+R3\sin(0.1) = 0.1 - \frac{(0.1)^3}{3!} + R_3 The bound R3(0.1)55!=1051208.3×108|R_3| \leq \frac{(0.1)^5}{5!} = \frac{10^{-5}}{120} \approx 8.3 \times 10^{-8} shows that even two terms give accuracy to seven decimal places: sin(0.1)0.0998333\sin(0.1) \approx 0.0998333.


Convergence Criteria

RemarkWhen does the Taylor series converge to $f$?

The Taylor series of ff converges to f(x)f(x) if and only if Rn(x)0R_n(x) \to 0 as nn \to \infty. A sufficient condition is the existence of a constant MM such that f(n)(x)Mn|f^{(n)}(x)| \leq M^n for all nn in a neighborhood of a0a_0. This holds for exe^x, sinx\sin x, cosx\cos x (where derivatives are bounded by 11 or the function itself), but fails for functions like f(x)=e1/x2f(x) = e^{-1/x^2}.