ConceptComplete

Taylor and Maclaurin Series

Taylor series provide the canonical power series representation of a smooth function, where the coefficients are determined by the function's derivatives at a single point.


Taylor Series

Definition

If ff is infinitely differentiable at x=ax = a, the Taylor series of ff centered at aa is βˆ‘n=0∞f(n)(a)n!(xβˆ’a)n=f(a)+fβ€²(a)(xβˆ’a)+fβ€²β€²(a)2!(xβˆ’a)2+β‹―\sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!}(x - a)^n = f(a) + f'(a)(x-a) + \frac{f''(a)}{2!}(x-a)^2 + \cdots When a=0a = 0, this is called the Maclaurin series: βˆ‘n=0∞f(n)(0)n!xn\sum_{n=0}^{\infty} \frac{f^{(n)}(0)}{n!} x^n

The Taylor polynomial Tn(x)=βˆ‘k=0nf(k)(a)k!(xβˆ’a)kT_n(x) = \sum_{k=0}^n \frac{f^{(k)}(a)}{k!}(x-a)^k is the unique polynomial of degree ≀n\leq n that matches ff and its first nn derivatives at x=ax = a.

Definition

The Taylor remainder (or error term) is Rn(x)=f(x)βˆ’Tn(x)R_n(x) = f(x) - T_n(x). The Taylor series of ff converges to f(x)f(x) if and only if Rn(x)β†’0R_n(x) \to 0 as nβ†’βˆžn \to \infty. The Lagrange form of the remainder is Rn(x)=f(n+1)(c)(n+1)!(xβˆ’a)n+1R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x - a)^{n+1} for some cc between aa and xx.


Essential Maclaurin Series

ExampleFundamental Maclaurin series

ex=βˆ‘n=0∞xnn!,R=∞e^x = \sum_{n=0}^\infty \frac{x^n}{n!}, \quad R = \infty sin⁑x=βˆ‘n=0∞(βˆ’1)nx2n+1(2n+1)!,R=∞\sin x = \sum_{n=0}^\infty \frac{(-1)^n x^{2n+1}}{(2n+1)!}, \quad R = \infty cos⁑x=βˆ‘n=0∞(βˆ’1)nx2n(2n)!,R=∞\cos x = \sum_{n=0}^\infty \frac{(-1)^n x^{2n}}{(2n)!}, \quad R = \infty ln⁑(1+x)=βˆ‘n=1∞(βˆ’1)nβˆ’1xnn,R=1\ln(1+x) = \sum_{n=1}^\infty \frac{(-1)^{n-1} x^n}{n}, \quad R = 1 (1+x)Ξ±=βˆ‘n=0∞(Ξ±n)xn,R=1Β (forΒ non-integerΒ Ξ±)(1+x)^\alpha = \sum_{n=0}^\infty \binom{\alpha}{n} x^n, \quad R = 1 \text{ (for non-integer } \alpha\text{)} 11βˆ’x=βˆ‘n=0∞xn,R=1\frac{1}{1-x} = \sum_{n=0}^\infty x^n, \quad R = 1


Convergence to the Function

RemarkNot all smooth functions equal their Taylor series

There exist C∞C^\infty functions whose Taylor series converges everywhere but does not equal the function. The classic example is f(x)=eβˆ’1/x2f(x) = e^{-1/x^2} for xβ‰ 0x \neq 0, f(0)=0f(0) = 0. One can show f(n)(0)=0f^{(n)}(0) = 0 for all nn, so the Maclaurin series is identically 00, yet f(x)>0f(x) > 0 for xβ‰ 0x \neq 0. Functions equal to their Taylor series are called analytic (or real-analytic).

Taylor series provide the systematic bridge between differential calculus and the algebra of power series, enabling computations in analysis, physics, and numerical methods.