Skip to content

Taylor's Theorem

Theorem

Let k≥1k \geq 1 be an integer and assume that the function f ⁣:R→Rf\colon \mathbb{R}\to\mathbb{R} is kk-times differentiable (not necessarily real analytic) at x=a.x=a\text{.} There exists a function hk ⁣:R→R\displaystyle h_k \colon \mathbb{R} \to\mathbb{R} such that lim⁡x→ahk(x)=0\displaystyle \lim_{x\to a} h_k(x) = 0 and

f(x)=f(a)+f′(a)(x−a)+⋯+f(k)(a)k!(x−a)k+Rk(x)f(x) = f(a) + f'(a)(x-a) + \cdots + \frac{f^{(k)}(a)}{k !}(x-a)^k + R_k(x)

where Rk(x)=hk(x)(x−a)kR_k(x)= h_k(x)(x-a)^k is called the Peano form of the remainder.


Interpretation

Taylor's theorem says that a function which is kk times differentiable at aa is, near aa, a polynomial plus a small error. The polynomial is the Taylor polynomial of order kk, and the error Rk(x)=hk(x)(x−a)kR_k(x)=h_k(x)(x-a)^k is small even compared with the last term kept, because the factor hk(x)h_k(x) tends to 00 as x→ax\to a.

The exponential curve and its second-degree Taylor polynomial 1 + x + x squared over 2 around 0; at a point x the vertical gap between them is the remainder.

The figure takes f(x)=exf(x)=\mathrm{e}^x and a=0a=0, with the second-order Taylor polynomial P2(x)=1+x+x22P_2(x)=1+x+\tfrac{x^2}{2}. The two curves touch at 00; at the marked point xx the green arrow is the remainder R2(x)=f(x)−P2(x)R_2(x)=f(x)-P_2(x). As xx moves towards 00 this gap shrinks faster than x2x^2, which is the statement h2(x)=R2(x)/x2→0h_2(x)=R_2(x)/x^2\to0.

The right panel shows hk(x)=Rk(x)/(x−a)kh_k(x)=R_k(x)/(x-a)^k: it tends to 00 as x→ax\to a, which is the Peano form of the remainder.

The hypothesis is weak: only f(k)(a)f^{(k)}(a) has to exist, and ff need not be smooth or real analytic. In return, the conclusion only concerns the limit x→ax\to a, not the error at a fixed xx. The order of the expansion is limited by the number of derivatives: f(x)=x∣x∣f(x)=x|x| has f′(0)=0f'(0)=0 and f(x)=0+0⋅x+x∣x∣f(x)=0+0\cdot x+x|x| with h1(x)=∣x∣→0h_1(x)=|x|\to0, but f′′(0)f''(0) does not exist and x∣x∣x|x| has no expansion c0+c1x+c2x2+o(x2)c_0+c_1x+c_2x^2+o(x^2), since x∣x∣/x2=sgn⁡(x)x|x|/x^2=\operatorname{sgn}(x) has no limit at 00.

In little-oo notation, the theorem turns limits of quotients into a comparison of leading terms, an alternative to L'Hôpital's rule: from sin⁡x=x−x36+o(x3)\sin x=x-\tfrac{x^3}{6}+o(x^3) one reads off (x−sin⁡x)/x3→16(x-\sin x)/x^3\to\tfrac{1}{6} as x→0x\to0.

The theorem returns for functions of several variables in Math IV, in multivariate Taylor approximations.


Key Results

  • Using the little-oo notation, the statement in Taylor's theorem reads as Rk(x)=o((x−a)k),R_k(x)=o((x-a)^k)\text{,} as x→a.x\to a\text{.} In this case, we have the kk-th order Taylor expansion, whose polynomial part is the Taylor polynomial Pk(x)P_k(x):
f(x)=f(a)+f′(a)(x−a)+⋯+f(k)(a)k!(x−a)k+o((x−a)k).f(x) = f(a) + f'(a)(x-a) + \cdots + \frac{f^{(k)}(a)}{k !}(x-a)^{k} + o((x-a)^{k}).

Examples

  • ex=1+x+x22+h2(x)x2\mathrm{e}^x=1+x+\dfrac{x^2}{2}+h_2(x)x^2, where h2(x)=∑n=3∞xn−2n!\displaystyle h_2(x)=\sum_{n=3}^\infty \dfrac{x^{n-2}}{n!}.
  • 11−x=1+x+x2+h2(x)x2\dfrac{1}{1-x}=1+x+x^2+h_2(x) x^2, where h2(x)=∑n=3∞xn−2\displaystyle h_2(x)=\sum_{n=3}^\infty x^{n-2}, for ∣x∣<1|x|<1.

Prerequisites

Sources

Aliases: Taylor's formula, Taylor’s formula Keywords: k-th order Taylor expansion, remainder term Symbols: infinity, real numbers, sum

Last updated: 22 October 2026 19:04