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)=excosxf(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)=excosx    f(0)=1f(x) = e^x \cos x \implies f(0) = 1 f(x)=excosxexsinx=ex(cosxsinx)    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(cosxsinx)+ex(sinxcosx)=2exsinx    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)=2exsinx2excosx=2ex(sinx+cosx)    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:

excosx=1+x+02!x2+23!x3+=1+xx33+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+sinx)\ln(1 + \sin x) up to and including the term in x3x^3.

Use the standard series sinx=xx36+\sin x = x - \dfrac{x^3}{6} + \cdots and ln(1+u)=uu22+u33\ln(1+u) = u - \dfrac{u^2}{2} + \dfrac{u^3}{3} - \cdots, substituting u=sinxu = \sin x. Keep only terms up to x3x^3:

u=xx36+u = x - \frac{x^3}{6} + \cdots u2=(xx36+)2=x2x43+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+sinx)=(xx36)x22+x33=xx22+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 1cos2xsin2x2\dfrac{1 - \cos 2x}{\sin^2 x} \approx 2.

Using cos2x1(2x)22=12x2\cos 2x \approx 1 - \dfrac{(2x)^2}{2} = 1 - 2x^2 and sinxx\sin x \approx x:

1cos2xsin2x1(12x2)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 →