Maclaurin Series

Pure Mathematics

A Maclaurin series expresses a function as an infinite power series centred at x=0x = 0. It lets you approximate complicated functions with polynomials — invaluable for limits, small-angle work, and integration in H2 Maths.

What you need to know

Worked example 1 — deriving a series by repeated differentiation

Find the Maclaurin series for f(x)=excos⁡xf(x) = e^x \cos x up to and including the term in x3x^3.

Compute successive derivatives and evaluate at x=0x = 0:

f(x)=excos⁡x  ⟹  f(0)=1f(x) = e^x \cos x \implies f(0) = 1 f′(x)=excos⁡x−exsin⁡x=ex(cos⁡x−sin⁡x)  ⟹  f′(0)=1f'(x) = e^x \cos x - e^x \sin x = e^x(\cos x - \sin x) \implies f'(0) = 1 f′′(x)=ex(cos⁡x−sin⁡x)+ex(−sin⁡x−cos⁡x)=−2exsin⁡x  ⟹  f′′(0)=0f''(x) = e^x(\cos x - \sin x) + e^x(-\sin x - \cos x) = -2e^x \sin x \implies f''(0) = 0 f′′′(x)=−2exsin⁡x−2excos⁡x=−2ex(sin⁡x+cos⁡x)  ⟹  f′′′(0)=−2f'''(x) = -2e^x \sin x - 2e^x \cos x = -2e^x(\sin x + \cos x) \implies f'''(0) = -2

Substituting into the Maclaurin formula:

excos⁡x=1+x+02!x2+−23!x3+⋯=1+x−x33+⋯e^x \cos x = 1 + x + \frac{0}{2!}x^2 + \frac{-2}{3!}x^3 + \cdots = 1 + x - \frac{x^3}{3} + \cdots

Worked example 2 — combining standard series

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

Use the standard series sin⁡x=x−x36+⋯\sin x = x - \dfrac{x^3}{6} + \cdots and ln⁡(1+u)=u−u22+u33−⋯\ln(1+u) = u - \dfrac{u^2}{2} + \dfrac{u^3}{3} - \cdots, substituting u=sin⁡xu = \sin x. Keep only terms up to x3x^3:

u=x−x36+⋯u = x - \frac{x^3}{6} + \cdots u2=(x−x36+⋯ )2=x2−x43+⋯≈x2(to x3)u^2 = \left(x - \frac{x^3}{6} + \cdots\right)^2 = x^2 - \frac{x^4}{3} + \cdots \approx x^2 \quad (\text{to } x^3) u3=x3+⋯u^3 = x^3 + \cdots

Substituting:

ln⁡(1+sin⁡x)=(x−x36)−x22+x33−⋯=x−x22+x36+⋯\ln(1 + \sin x) = \left(x - \frac{x^3}{6}\right) - \frac{x^2}{2} + \frac{x^3}{3} - \cdots = x - \frac{x^2}{2} + \frac{x^3}{6} + \cdots

Worked example 3 — small-angle approximation

Given that xx is small, show that 1−cos⁡2xsin⁡2x≈2\dfrac{1 - \cos 2x}{\sin^2 x} \approx 2.

Using cos⁡2x≈1−(2x)22=1−2x2\cos 2x \approx 1 - \dfrac{(2x)^2}{2} = 1 - 2x^2 and sin⁡x≈x\sin x \approx x:

1−cos⁡2xsin⁡2x≈1−(1−2x2)x2=2x2x2=2\frac{1 - \cos 2x}{\sin^2 x} \approx \frac{1 - (1 - 2x^2)}{x^2} = \frac{2x^2}{x^2} = 2

Common mistakes

Ask MathChat about Maclaurin Series →