All revision notes topics

5.19 Maclaurin seriesIB Maths: Analysis and Approaches HL: Revision notes

Section 1

What is a Maclaurin series?

A Maclaurin series writes a function as an infinite polynomial built from its derivatives at x=0x=0: f(x)=f(0)+xf′(0)+x22!f′′(0)+x33!f′′′(0)+…f(x)=f(0)+xf'(0)+\frac{x^{2}}{2!}f''(0)+\frac{x^{3}}{3!}f'''(0)+\dots The general term is f(n)(0)n!xn\frac{f^{(n)}(0)}{n!}x^{n}. Truncating after a few terms gives a polynomial approximation that is very good close to x=0x=0 and usually gets worse further away.

The formula is in the formula booklet; what is tested is finding the derivatives accurately and using the series.

Key termsMaclaurin seriestruncate
Common mistake

Forgetting the factorials: the x3x^{3} coefficient is f′′′(0)3!\frac{f'''(0)}{3!}, not f′′′(0)f'''(0).

Section 2

The standard series

These are given in the formula booklet, but you must be fluent with them:

  • ex=1+x+x22!+x33!+…e^{x}=1+x+\frac{x^{2}}{2!}+\frac{x^{3}}{3!}+\dots (all xx)
  • sin⁡x=x−x33!+x55!−…\sin x=x-\frac{x^{3}}{3!}+\frac{x^{5}}{5!}-\dots (all xx)
  • cos⁡x=1−x22!+x44!−…\cos x=1-\frac{x^{2}}{2!}+\frac{x^{4}}{4!}-\dots (all xx)
  • ln⁡(1+x)=x−x22+x33−…\ln(1+x)=x-\frac{x^{2}}{2}+\frac{x^{3}}{3}-\dots (valid for −1<x≤1-1<x\le1), with no factorials
  • (1+x)p=1+px+p(p−1)2!x2+…(1+x)^{p}=1+px+\frac{p(p-1)}{2!}x^{2}+\dots, p∈Qp\in\mathbb{Q} (valid for ∣x∣<1|x|<1)

Example: 1+x=1+x2−x28+…\sqrt{1+x}=1+\frac x2-\frac{x^{2}}{8}+\dots

Key termsstandard seriesinterval of validity
Common mistake

Using factorials in the ln⁡(1+x)\ln(1+x) series. Its denominators are 1,2,3,…1,2,3,\dots, not 1!,2!,3!,…1!,2!,3!,\dots

Exam tip

sin⁡x\sin x is odd, so only odd powers appear; cos⁡x\cos x is even, so only even powers appear.

Section 3

New series by substitution

Replace xx in a standard series by an expression, and simplify every power carefully:

  • e2x=1+2x+(2x)22!+(2x)33!+⋯=1+2x+2x2+43x3+…e^{2x}=1+2x+\frac{(2x)^{2}}{2!}+\frac{(2x)^{3}}{3!}+\dots=1+2x+2x^{2}+\frac43x^{3}+\dots
  • ex2=1+x2+x42!+…e^{x^{2}}=1+x^{2}+\frac{x^{4}}{2!}+\dots
  • ln⁡(1+3x)=3x−92x2+9x3−…\ln(1+3x)=3x-\frac92x^{2}+9x^{3}-\dots, valid for −13<x≤13-\frac13<x\le\frac13

The interval of validity changes too: substituting 3x3x for xx in −1<x≤1-1<x\le1 gives −13<x≤13-\frac13<x\le\frac13.

Key termssubstitution
Common mistake

Writing 2x33!\frac{2x^{3}}{3!} for (2x)33!\frac{(2x)^{3}}{3!}. The brackets matter: (2x)3=8x3(2x)^{3}=8x^{3}.

Section 4

Products, differentiation and integration

Products: multiply two series and collect terms up to the power you need. For exsin⁡xe^{x}\sin x: (1+x+x22+x36)(x−x36)=x+x2+13x3+…\left(1+x+\tfrac{x^{2}}{2}+\tfrac{x^{3}}{6}\right)\left(x-\tfrac{x^{3}}{6}\right)=x+x^{2}+\tfrac13x^{3}+\dots Differentiation: differentiate a series term by term. From ln⁡(1+3x)=3x−92x2+9x3−…\ln(1+3x)=3x-\frac92x^{2}+9x^{3}-\dots we get 31+3x=3−9x+27x2−…\frac{3}{1+3x}=3-9x+27x^{2}-\dots

Integration: integrate term by term. This gives approximations to integrals that cannot be done exactly, e.g. ∫00.5e−x2 dx≈∫00.5(1−x2+x42)dx\int_0^{0.5}e^{-x^{2}}\,dx\approx\int_0^{0.5}\left(1-x^{2}+\frac{x^{4}}{2}\right)dx.

Key termsterm by term
Exam tip

When multiplying, list only the pairs of terms whose powers add to at most the power you need. Ignore the rest.

Example

∫00.2exsin⁡x dx≈[x22+x33+x412]00.2=0.0228\int_0^{0.2}e^{x}\sin x\,dx\approx\left[\frac{x^{2}}{2}+\frac{x^{3}}{3}+\frac{x^{4}}{12}\right]_0^{0.2}=0.0228; the exact value is 0.022 800.022\,80 to 4 s.f.

Section 5

Maclaurin series from differential equations

If yy is defined by a differential equation and an initial value, you can find its series without solving the equation:

  1. Use the equation to find y′(0)y'(0).
  2. Differentiate the equation implicitly to get y′′y'', then again for y′′′y'''.
  3. Substitute x=0x=0 and the known values at each stage.
  4. Put the values into y(0)+y′(0)x+y′′(0)2!x2+…y(0)+y'(0)x+\frac{y''(0)}{2!}x^{2}+\dots

Example: y′=x+y2y'=x+y^{2}, y(0)=1y(0)=1. Then y′′=1+2yy′y''=1+2yy' and y′′′=2(y′)2+2yy′′y'''=2(y')^{2}+2yy'', so y′(0)=1y'(0)=1, y′′(0)=3y''(0)=3, y′′′(0)=8y'''(0)=8 and y≈1+x+32x2+43x3y\approx1+x+\frac32x^{2}+\frac43x^{3}.

Key termsimplicit differentiation
Common mistake

Differentiating y2y^{2} as 2y2y. It is 2ydydx2y\frac{dy}{dx}.

Common mistake

Forgetting the product rule on 2ydydx2y\frac{dy}{dx}: its derivative is 2(dydx)2+2yd2ydx22\left(\frac{dy}{dx}\right)^{2}+2y\frac{d^{2}y}{dx^{2}}.

Section 6

Using series: approximations and limits

Approximations: substitute a small value of xx, e.g. ln⁡1.3≈0.264\ln1.3\approx0.264 from three terms of ln⁡(1+3x)\ln(1+3x) with x=0.1x=0.1 (true value 0.26240.2624). Accuracy falls as xx moves away from 0, because the neglected terms are no longer small.

Limits: replace each function by its series, cancel the lowest power of xx, then let x→0x\to0: lim⁡x→0e2x−1−2xx2=lim⁡x→0(2+43x+… )=2.\lim_{x\to0}\frac{e^{2x}-1-2x}{x^{2}}=\lim_{x\to0}\left(2+\tfrac43x+\dots\right)=2.

Key termsapproximationlimit
Exam tip

If a question says 'use the Maclaurin series', a limit found only by l'Hôpital's rule will not earn the marks.

Must know

  • f(x)=∑f(n)(0)n!xnf(x)=\sum\frac{f^{(n)}(0)}{n!}x^{n}; include the factorials.
  • Know the five standard series and their intervals of validity.
  • New series by substitution (bracket every power), products, differentiation and integration.
  • From a differential equation: differentiate implicitly, evaluate at x=0x=0, build the series.
  • Series approximations are best near x=0x=0; use series to evaluate limits.

That's the notes covered.

Carry on to the next subtopic.