Maclaurin series

Maclaurin series

Spec 6.1–2 · Edexcel International A Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • f(x)=f(0)+xf′(0)+x22!f′′(0)+⋯+xnn!f(n)(0)+…f(x)=f(0)+xf'(0)+\dfrac{x^2}{2!}f''(0)+\dots+\dfrac{x^n}{n!}f^{(n)}(0)+\dots
  • Standard series: exe^x, sin⁡x\sin x, cos⁡x\cos x (all xx) and ln⁡(1+x)\ln(1+x) (for −1<x≤1-1<x\le1).
  • Build other series by substituting, multiplying or differentiating and integrating term by term.
  • The series is a good approximation only for small ∣x∣|x|.
  • For limits, replace each function by its series and cancel the leading power.

Higher derivatives

Differentiate repeatedly with the product, quotient and chain rules, and look for a pattern. For e3xe^{3x}, f(n)(x)=3ne3xf^{(n)}(x)=3^ne^{3x}.

The third and higher order derivatives are written f′′′(x)f'''(x), f(4)(x)f^{(4)}(x), …\dots, f(n)(x)f^{(n)}(x).

For a function such as y=tan⁡xy=\tan x it is quicker to use a relationship. Since y′=1+y2y'=1+y^2, differentiating gives y′′=2yy′y''=2yy', then y′′′=2y′2+2yy′′y'''=2y'^2+2yy'', with every derivative expressed in terms of lower ones.

−3−2−1123−4−224xyf = cos 2xf' = −2 sin 2xf'' = −4 cos 2x
f(x) = cos 2x and its first two derivatives: each differentiation multiplies the amplitude by 2 and shifts the wave.

cos⁡2x\cos2x

f′f':
−2sin⁡2x-2\sin2x
f′′f'':
−4cos⁡2x-4\cos2x
f′′′f''':
8sin⁡2x8\sin2x
f(4)f^{(4)}:
16cos⁡2x16\cos2x

ln⁡(1+x)\ln(1+x)

f′f':
(1+x)−1(1+x)^{-1}
f′′f'':
−(1+x)−2-(1+x)^{-2}
f′′′f''':
2(1+x)−32(1+x)^{-3}
f(4)f^{(4)}:
−6(1+x)−4-6(1+x)^{-4}

Worked example

Find y(0)y(0), y′(0)y'(0), y′′(0)y''(0), y′′′(0)y'''(0) for y=tan⁡xy=\tan x using y′=1+y2y'=1+y^2.

What is f(n)(x)f^{(n)}(x) for f(x)=e2xf(x)=e^{2x}?

The Maclaurin series

A function with derivatives of all orders at 00 can be written as a power series with coefficients f(n)(0)n!\frac{f^{(n)}(0)}{n!}.

Suppose f(x)=a0+a1x+a2x2+…f(x)=a_0+a_1x+a_2x^2+\dots Putting x=0x=0 gives a0=f(0)a_0=f(0). Differentiating and putting x=0x=0 gives a1=f′(0)a_1=f'(0), then 2a2=f′′(0)2a_2=f''(0), and in general n! an=f(n)(0)n!\,a_n=f^{(n)}(0). This is the Maclaurin series.

Using the first few terms gives a polynomial approximation that is accurate for small ∣x∣|x|. Taking more terms improves it.

−2−1.5−1−0.50.511.522468xy(0, 1)y = eˣ1 + x + x²/2 + x³/6
y = eˣ (solid) and the first four terms of its Maclaurin series (dashed). They agree closely near x = 0.
  • f(x)f(x)f(0)+xf′(0)+x22!f′′(0)+x33!f′′′(0)+…f(0)+xf'(0)+\dfrac{x^2}{2!}f''(0)+\dfrac{x^3}{3!}f'''(0)+\dots

Worked example

Find the Maclaurin series of f(x)=e3xf(x)=e^{3x} up to x3x^3.

If f′′(0)=8f''(0)=8, what is the coefficient of x2x^2 in the Maclaurin series?

Standard series

exe^x, sin⁡x\sin x, cos⁡x\cos x and ln⁡(1+x)\ln(1+x) come from the formula by spotting the pattern of derivatives at 00.

For sin⁡x\sin x the derivatives at 00 run 0,1,0,−1,…0,1,0,-1,\dots and for cos⁡x\cos x they run 1,0,−1,0,…1,0,-1,0,\dots; the whole series follows. For ln⁡(1+x)\ln(1+x), f(0)=0f(0)=0 and f(n)(0)=(−1)n−1(n−1)!f^{(n)}(0)=(-1)^{n-1}(n-1)!.

Notice that sin⁡x\sin x is odd (only odd powers) and cos⁡x\cos x is even (only even powers).

exe^x

Series:
1+x+x22!+x33!+…1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\dots
Valid for:
All xx

sin⁡x\sin x

Series:
x−x33!+x55!−…x-\frac{x^3}{3!}+\frac{x^5}{5!}-\dots
Valid for:
All xx

cos⁡x\cos x

Series:
1−x22!+x44!−…1-\frac{x^2}{2!}+\frac{x^4}{4!}-\dots
Valid for:
All xx

ln⁡(1+x)\ln(1+x)

Series:
x−x22+x33−…x-\frac{x^2}{2}+\frac{x^3}{3}-\dots
Valid for:
−1<x≤1-1<x\le1
−4−3−2−11234−2−1.5−1−0.50.511.52xy(0, 0)y = sin xx − x³/6 + x⁵/120
y = sin x (solid) and x − x³/6 + x⁵/120 (dashed). The polynomial follows the sine curve closely for small |x|.

Which series has only even powers of xx?

Other simple functions

Substitute into a known series, multiply series together, or differentiate or integrate term by term.

Series for other functions come from the formula, by substituting into a known series, or by combining series.

Replace xx in exe^x by 2x2x to get e2x=1+2x+2x2+43x3+…e^{2x}=1+2x+2x^2+\frac43x^3+\dots. Replace xx by −x-x in ln⁡(1+x)\ln(1+x) to get ln⁡(1−x)=−x−x22−x33−…\ln(1-x)=-x-\frac{x^2}{2}-\frac{x^3}{3}-\dots Also sin⁡2x=1−cos⁡2x2=x2−x43+…\sin^2x=\frac{1-\cos2x}{2}=x^2-\frac{x^4}{3}+\dots

−1−0.8−0.6−0.4−0.200.20.40.60.8−3−2.5−2−1.5−1−0.50.51xyln(1 − x)three-term series
ln(1 − x) (solid) with its three-term series −x − x²/2 − x³/3 (dashed): close to x = 0, then they part.

Substitute

  • e2xe^{2x} from exe^x

Multiply

  • exsin⁡xe^x\sin x
  • Keep terms up to the power needed

Term by term

  • Integrate tan⁡x=x+x33+2x515+…\tan x=x+\frac{x^3}{3}+\frac{2x^5}{15}+\dots
  • ln⁡(cos⁡x)=−x22−x412−…\ln(\cos x)=-\frac{x^2}{2}-\frac{x^4}{12}-\dots

Worked example

Find the series for exsin⁡xe^x\sin x up to x3x^3.

What is the series for ln⁡(1−x)\ln(1-x) up to x2x^2?

Using Maclaurin series

Approximate values, find limits, and build series for functions defined by relationships.

Approximations: substitute a small xx. Using ln⁡1+x1−x=2x+23x3+…\ln\frac{1+x}{1-x}=2x+\frac23x^3+\dots with x=13x=\frac13 gives ln⁡2≈23+281=0.691\ln2\approx\frac23+\frac{2}{81}=0.691.

Limits: replace each function by its series and cancel the leading power.

Relationships: if yy satisfies an equation such as y′=1+y2y'=1+y^2, use it to find y(n)(0)y^{(n)}(0) in turn. State the highest power you work to.

−0.8−0.6−0.4−0.200.20.40.60.8−3−2−1123xyx = 1/3: ln 2ln((1+x)/(1−x))2x + 2x³/3
ln((1 + x)/(1 − x)) and its series 2x + 2x³/3: at x = 1/3 the value is ln 2 ≈ 0.693.

Approximation

  • Substitute a small xx
  • Give accuracy asked for

Limit

  • Replace functions by series
  • Cancel the leading power

Relationship

  • Differentiate the equation
  • Evaluate y(n)(0)y^{(n)}(0)

Worked example

Find lim⁡x→0ex−1−xx2\lim_{x\to0}\frac{e^x-1-x}{x^2}.

lim⁡x→0sin⁡xx\lim_{x\to0}\frac{\sin x}{x} using the series is which value?

Try an exam question

Find the Maclaurin series of f(x)=cos⁡2xf(x)=\cos2x up to and including the term in x4x^4.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the value of f′′′(0)f'''(0).

1 mark, marked against the mark scheme

Revision notes