Skip to content

Mathematics · Ch 7 — Applications of Differential Calculus

Series Expansions

7.4

Series Expansions

Taylor's series and Maclaurin's series expand a function that is infinitely differentiable as an infinite power series.

Theorem 7.5(a) — Taylor's Series. Let f(x)f(x) be a function infinitely differentiable at x=ax=a. Then f(x)f(x) can be expanded, in an interval (x−a,x+a)(x-a,x+a), as

f(x)=∑n=0∞f(n)(a)n!(x−a)n=f(a)+f′(a)1!(x−a)+⋯+f(n)(a)n!(x−a)n+⋯ .f(x)=\sum_{n=0}^{\infty}\frac{f^{(n)}(a)}{n!}(x-a)^n=f(a)+\frac{f'(a)}{1!}(x-a)+\cdots+\frac{f^{(n)}(a)}{n!}(x-a)^n+\cdots.

Theorem 7.5(b) — Maclaurin's Series. If a=0a=0, the expansion becomes

f(x)=∑n=0∞f(n)(0)n!xn=f(0)+f′(0)1!x+⋯+f(n)(0)n!xn+⋯ .f(x)=\sum_{n=0}^{\infty}\frac{f^{(n)}(0)}{n!}x^n=f(0)+\frac{f'(0)}{1!}x+\cdots+\frac{f^{(n)}(0)}{n!}x^n+\cdots.

Proof sketch (why the coefficients are An=f(n)(a)n!A_n=\dfrac{f^{(n)}(a)}{n!}). Write the series in powers of (x−a)(x-a) as f(x)=A0+∑n≥1An(x−a)nf(x)=A_0+\sum_{n\ge1}A_n(x-a)^n. Substituting x=ax=a isolates A0=f(a)A_0=f(a) (every other term carries a positive power of (x−a)(x-a) and vanishes). Differentiating once and substituting x=ax=a isolates A1=f′(a)A_1=f'(a). Differentiating a second time and substituting x=ax=a isolates 2!A2=f′′(a)2!A_2=f''(a), i.e. A2=f′′(a)2!A_2=\dfrac{f''(a)}{2!}. Continuing this process — differentiate kk times, substitute x=ax=a — isolates Ak=f(k)(a)k!A_k=\dfrac{f^{(k)}(a)}{k!} in general, which is exactly the stated coefficient.

Worked illustrations from the textbook (the pattern behind Exercise 7.4):

  • Maclaurin expansion of log⁡(1+x)\log(1+x): tabulate f,f′,f′′,…f,f',f'',\ldots at x=0x=0, substitute into the series, giving log⁡(1+x)=x−x22+x33−x44+⋯\log(1+x)=x-\dfrac{x^2}{2}+\dfrac{x^3}{3}-\dfrac{x^4}{4}+\cdots for −1<x≤1-1<x\le1.
  • Maclaurin expansion of tan⁡x\tan x: the same tabulation (derivatives of tan⁡x\tan x get progressively messier, but each is still evaluated at 00) gives tan⁡x=x+x33+2x515+⋯\tan x=x+\dfrac{x^3}{3}+\dfrac{2x^5}{15}+\cdots for −π2<x<π2-\tfrac{\pi}{2}<x<\tfrac{\pi}{2}.
  • Taylor expansion of 1x\dfrac1x about x=2x=2: tabulate the derivatives of 1x\dfrac1x at x=2x=2 and substitute into powers of (x−2)(x-2), giving 1x=12−x−24+(x−2)28−(x−2)316+⋯\dfrac1x=\dfrac12-\dfrac{x-2}{4}+\dfrac{(x-2)^2}{8}-\dfrac{(x-2)^3}{16}+\cdots. …