Maclaurin series

Maclaurin series

Spec 4.5–6 · Edexcel A-Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • The Maclaurin series is f(0)+xf′(0)+x22!f′′(0)+⋯\mathrm{f}(0)+x\mathrm{f}'(0)+\frac{x^2}{2!}\mathrm{f}''(0)+\cdots.
  • Divide each derivative by r!r!: the coefficient of xrx^r is f(r)(0)r!\frac{\mathrm{f}^{(r)}(0)}{r!}.
  • Know the standard series for ex\mathrm{e}^x, sin⁡x\sin x, cos⁡x\cos x, ln⁡(1+x)\ln(1+x) and (1+x)n(1+x)^n, with their validity.
  • Build new series by substitution, multiplication or adding; the validity changes with it.

Finding a Maclaurin series

Differentiate repeatedly, evaluate each derivative at x=0x=0 and divide by r!r!.

The Maclaurin series writes f(x)\mathrm{f}(x) as an infinite polynomial:

f(x)=f(0)+xf′(0)+x22!f′′(0)+⋯+xrr!f(r)(0)+⋯\mathrm{f}(x)=\mathrm{f}(0)+x\mathrm{f}'(0)+\frac{x^2}{2!}\mathrm{f}''(0)+\cdots+\frac{x^r}{r!}\mathrm{f}^{(r)}(0)+\cdots

For e2x\mathrm{e}^{2x}, f(r)(0)=2r\mathrm{f}^{(r)}(0)=2^r, so the general term is 2rxrr!\frac{2^rx^r}{r!} and the series begins 1+2x+2x2+43x31+2x+2x^2+\frac43x^3.

The function must be defined and differentiable at 00. ln⁡x\ln x is not, but ln⁡(1+x)\ln(1+x) is.

  • Coefficient of xrx^rf(r)(0)r!\dfrac{\mathrm{f}^{(r)}(0)}{r!}

Worked example

Find the first two non-zero terms of the Maclaurin series of tan⁡x\tan x.

What is the coefficient of x3x^3 in the Maclaurin series of e2x\mathrm{e}^{2x}?

Standard series and validity

ex\mathrm{e}^x, sin⁡x\sin x and cos⁡x\cos x hold for all xx; the others only for a limited range.

These are in the formulae booklet. Only ex\mathrm{e}^x, sin⁡x\sin x and cos⁡x\cos x have validity for all xx.

The binomial series (1+x)n=1+nx+n(n−1)2!x2+⋯(1+x)^n=1+nx+\frac{n(n-1)}{2!}x^2+\cdots is valid for ∣x∣<1|x|<1 when nn is negative or not an integer.

A truncated series is a polynomial that hugs the function near x=0x=0; keeping more terms extends the match.

−3−2−1123−2246810xy(0, 1)y = eˣ1 + x + x²/21 + x + x²/2 + x³/6
e^x and its first two Maclaurin polynomials. Adding terms improves the fit.

Valid for all xx

  • ex=1+x+x22!+⋯\mathrm{e}^x=1+x+\frac{x^2}{2!}+\cdots
  • sin⁡x=x−x33!+x55!−⋯\sin x=x-\frac{x^3}{3!}+\frac{x^5}{5!}-\cdots
  • cos⁡x=1−x22!+x44!−⋯\cos x=1-\frac{x^2}{2!}+\frac{x^4}{4!}-\cdots

Limited range

  • ln⁡(1+x)=x−x22+x33−⋯\ln(1+x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\cdots, −1<x≤1-1<x\le1
  • (1+x)n(1+x)^n, ∣x∣<1|x|<1

Which series is valid for all real xx?

Compound functions

Substitute, multiply or add standard series rather than differentiating from scratch.

Build new series from the standard ones. For a compound function use:

Substitution. ln⁡(1+3x)=3x−9x22+9x3−⋯\ln(1+3x)=3x-\frac{9x^2}{2}+9x^3-\cdots. The validity changes too: −13<x≤13-\frac13<x\le\frac13.

Multiplication. exsin⁡x=(1+x+x22+⋯ )(x−x36)=x+x2+x33+⋯\mathrm{e}^x\sin x=\left(1+x+\frac{x^2}2+\cdots\right)\left(x-\frac{x^3}6\right)=x+x^2+\frac{x^3}{3}+\cdots.

Adding. ln⁡1+x1−x=2x+23x3+⋯\ln\frac{1+x}{1-x}=2x+\frac23x^3+\cdots, valid for −1<x<1-1<x<1.

−4−3−2−11234−3−2−1123xy(0, 0)y = sin xy = x − x³/6
sin x and x − x³/6 agree closely near the origin.

Worked example

Find the series for ln⁡(1+sin⁡x)\ln(1+\sin x) up to the term in x3x^3.

For what values of xx is the series for ln⁡(1+2x)\ln(1+2x) valid?

Using a series

Estimate values, integrate term by term and approximate logarithms.

A truncated series is an approximation, accurate near x=0x=0.

  • Estimates: e0.1≈1+0.1+0.005+0.000167=1.10517\mathrm{e}^{0.1}\approx1+0.1+0.005+0.000167=1.10517 using e2x\mathrm{e}^{2x} with x=0.05x=0.05.
  • Integration: integrate term by term. ∫00.5exsin⁡x dx≈[x22+x33+x412]00.5=0.172\int_0^{0.5}\mathrm{e}^x\sin x\,\mathrm{d}x\approx\left[\frac{x^2}2+\frac{x^3}3+\frac{x^4}{12}\right]_0^{0.5}=0.172.
  • Logarithms: with x=13x=\frac13, ln⁡2≈2x+23x3=0.691\ln2\approx2x+\frac23x^3=0.691.

Keep xx small and inside the range of validity.

  1. 1

    Pick the series

    a standard series, or build one

  2. 2

    Check validity

    xx must be in range

  3. 3

    Substitute

    a small value of xx for accuracy

  4. 4

    Compare

    with a calculator

Using a truncated series

Use sin⁡x≈x−x36\sin x\approx x-\frac{x^3}{6} to estimate sin⁡0.2\sin0.2.

Try an exam question

Use standard series to find the Maclaurin series of e2xcos⁡x\mathrm{e}^{2x}\cos x up to and including the term in x3x^3.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the coefficient of x3x^3 in the series.

1 mark, marked against the mark scheme

Revision notes