Radford Mathematics IB Mathematics resources • AA HL

Radford Mathematics

Contact / enquiry

Send a question about tutoring, revision courses, website resources or anything else. Your message will be sent to info@radfordmathematics.com.

IB Mathematics: Analysis and Approaches HL — Topic 5 Calculus

Maclaurin Series

Build local polynomial models near \(x=0\), manipulate standard series efficiently, and use them for approximation, limits and differential equations.

AA HL · AHL 5.19

Learning goal

Build, manipulate and use Maclaurin series to approximate functions, derive related series, evaluate limits and solve differential equations near \(x=0\).

Syllabus link

AHL 5.19 Standard Maclaurin series plus substitution, products, differentiation, integration and differential-equation methods.

Big idea

Near \(x=0\), many functions can be replaced by a polynomial whose coefficients are determined by derivatives at zero.

Key relationship

\(\displaystyle f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(0)}{n!}x^n\).

1

Can a polynomial pretend to be a curve?

Maclaurin series replace a function by a polynomial near \(x=0\). For example,

\[\sin x\approx x-\frac{x^3}{3!}+\frac{x^5}{5!}.\]

This does not make \(\sin x\) a polynomial. It means that close to zero the polynomial can match the function’s value, gradient, curvature and higher-derivative behaviour extremely closely.

Local model

A Maclaurin polynomial is designed to be especially accurate near \(x=0\). Keeping more appropriate terms usually improves the local approximation.

Graph comparing sin x with x and x minus x cubed over 3 factorial plus x fifth over 5 factorial near zero.
The finalized handout’s comparison of \(\sin x\) with two local polynomial approximations.

Maclaurin series: how they work

A conceptual bridge between Taylor polynomials and Maclaurin polynomials.

Watch on YouTube →

2

The Maclaurin series formula and standard series

\[\boxed{f(x)=f(0)+f'(0)x+\frac{f''(0)}{2!}x^2+\frac{f'''(0)}{3!}x^3+\cdots+\frac{f^{(n)}(0)}{n!}x^n+\cdots}\]\[\boxed{f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(0)}{n!}x^n}.\]

Common trap

The coefficient of \(x^n\) is \(f^{(n)}(0)/n!\), not simply \(f^{(n)}(0)\). The factorial matters.

Maclaurin series formula

How the formula is built from successive derivatives evaluated at zero.

Watch on YouTube →

Worked example 1: build the series from derivatives

Find the Maclaurin series for \(f(x)=e^{2x}\) up to \(x^3\).

Function/derivativeValue at 0
\(f=e^{2x}\)1
\(f'=2e^{2x}\)2
\(f''=4e^{2x}\)4
\(f'''=8e^{2x}\)8
\[e^{2x}=1+2x+\frac4{2!}x^2+\frac8{3!}x^3+\cdots=\boxed{1+2x+2x^2+\frac43x^3+\cdots}.\]

Standard Maclaurin series to know

FunctionMaclaurin seriesValidity note
\(e^x\)\(1+x+x^2/2!+x^3/3!+\cdots\)all real \(x\)
\(\sin x\)\(x-x^3/3!+x^5/5!-\cdots\)all real \(x\)
\(\cos x\)\(1-x^2/2!+x^4/4!-\cdots\)all real \(x\)
\(\ln(1+x)\)\(x-x^2/2+x^3/3-x^4/4+\cdots\)typically \(|x|<1\); also converges at \(x=1\)
\((1+x)^p\)\(1+px+\frac{p(p-1)}{2!}x^2+\frac{p(p-1)(p-2)}{3!}x^3+\cdots\)\(|x|<1\) for general rational \(p\); finite for non-negative integer \(p\)

Maclaurin expansion of (1+x)^n

Use the binomial series as a standard building block for approximation and series manipulation.

Watch on YouTube →

3

Using simple substitution

If a standard series is known for \(f(x)\), replace \(x\) by the required inner expression and then keep only the requested powers.

Worked example 2: \(e^{x^2}\)

Start with \(e^u=1+u+u^2/2!+u^3/3!+\cdots\) and let \(u=x^2\):

\[e^{x^2}=1+x^2+\frac{x^4}2+\frac{x^6}6+\cdots.\]

Worked example 3: rational binomial exponent

Expand \((1-3x)^{-1/2}\) to \(x^3\). Use \((1+u)^p\) with \(p=-1/2\), \(u=-3x\):

\[\begin{aligned}(1-3x)^{-1/2}&=1+\left(-\frac12\right)(-3x)+\frac{(-1/2)(-3/2)}{2!}(-3x)^2\\&\quad+\frac{(-1/2)(-3/2)(-5/2)}{3!}(-3x)^3+\cdots\\&=\boxed{1+\frac32x+\frac{27}8x^2+\frac{135}{16}x^3+\cdots}.\end{aligned}\]

Expansion of e^{sin x} using substitution

A composite-function example showing how to substitute one series into another efficiently.

Watch on YouTube →

4

Products of series: keep only the terms you need

Decide the highest required power before multiplying. Do not generate terms that cannot contribute to the requested order.

Worked example 4: \(e^x\sin x\) to \(x^4\)

\[e^x=1+x+\frac{x^2}2+\frac{x^3}6+\frac{x^4}{24}+\cdots,\qquad\sin x=x-\frac{x^3}6+\cdots.\]\[\begin{aligned}e^x\sin x&=x+x^2+\left(\frac12-\frac16\right)x^3+\left(\frac16-\frac16\right)x^4+\cdots\\&=\boxed{x+x^2+\frac13x^3+0x^4+\cdots}.\end{aligned}\]

Why write \(0x^4\)?

In an exam, the vanishing coefficient may be the point of the question. Writing it explicitly shows the cancellation.

5

Differentiating and integrating series

Within the relevant interval of convergence, a power series can be differentiated or integrated term by term.

Worked example 5: derive the series for \(\arctan x\)

Because \(\frac d{dx}(\arctan x)=1/(1+x^2)\), begin with

\[\frac1{1+x^2}=1-x^2+x^4-x^6+\cdots.\]

Integrate term by term:

\[\arctan x=x-\frac{x^3}3+\frac{x^5}5-\frac{x^7}7+C.\]

Since \(\arctan0=0\), \(C=0\):

\[\boxed{\arctan x=x-\frac{x^3}3+\frac{x^5}5-\frac{x^7}7+\cdots}.\]

Differentiating and integrating Maclaurin series

Create new series from known series by term-by-term differentiation and integration.

Watch on YouTube →

Deriving arctan x using integration

Connect the geometric series for 1/(1+x²) to the Maclaurin series for arctan x.

Watch on YouTube →

Worked example 6: differentiate a given series

If \(f(x)=1+3x-2x^2+5x^3-7x^4+\cdots\), then

\[f'(x)=3-4x+15x^2-28x^3+\cdots.\]

Up to \(x^2\): \(\boxed{f'(x)=3-4x+15x^2+\cdots}\).

6

Using Maclaurin series to evaluate limits

For indeterminate limits near zero, expand only far enough to identify the first non-zero term after cancellation.

Worked example 7: leading terms

Evaluate \(\displaystyle\lim_{x\to0}\frac{e^x-1-x}{x^2}\).

\[e^x-1-x=\frac{x^2}2+\frac{x^3}6+\cdots.\]\[\frac{e^x-1-x}{x^2}=\frac12+\frac x6+\cdots\quad\Longrightarrow\quad\boxed{\frac12}.\]

Evaluating limits with Maclaurin series

Use leading terms and cancellations to evaluate indeterminate limits as x approaches zero.

Watch on YouTube →

7

Maclaurin series from differential equations

Assume a series \(y=a_0+a_1x+a_2x^2+\cdots\), differentiate it, substitute into the differential equation and compare coefficients of like powers of \(x\).

Worked example 8: first-order differential equation

Find the series solution to \(x^4\) for \(y'=x^2+y\), \(y(0)=1\).

Let \(y=a_0+a_1x+a_2x^2+a_3x^3+a_4x^4+\cdots\). Since \(y(0)=1\), \(a_0=1\), and

\[y'=a_1+2a_2x+3a_3x^2+4a_4x^3+\cdots.\]

Substitution gives

\[a_1+2a_2x+3a_3x^2+4a_4x^3+\cdots=x^2+a_0+a_1x+a_2x^2+a_3x^3+\cdots.\]

Compare coefficients:

\[a_1=1,\qquad a_2=\frac12,\qquad a_3=\frac12,\qquad a_4=\frac18.\]

Therefore

\[\boxed{y=1+x+\frac12x^2+\frac12x^3+\frac18x^4+\cdots}.\]

Differential equation series solution 1

A first-order differential-equation example using Maclaurin coefficients.

Watch on YouTube →

Differential equation series solution 2

A second-order differential-equation example using Maclaurin series.

Watch on YouTube →

Non-linear first-order differential equation

A more advanced series-solution example for a non-linear first-order differential equation.

Watch on YouTube →

8

Related Radford Mathematics tutorial sequence

The finalized handout recommends this progression. The videos are also embedded at the relevant teaching points above.

  1. Maclaurin Series Formula
  2. How Maclaurin series work
  3. Differentiating and integrating Maclaurin series
  4. Expansion of \((1+x)^n\)
  5. Deriving \(\arctan x\)
  6. Expansion of \(e^{\sin x}\)
  7. Limits with Maclaurin series
  8. Differential equation series solution 1
  9. Differential equation series solution 2
  10. Non-linear first-order differential equation
9

Practice questions and answer key

  1. Use the Maclaurin formula to find \(\cos x\) up to \(x^4\).
  2. Find \(e^{-2x}\) up to \(x^3\).
  3. Expand \(\ln(1+3x)\) up to \(x^4\).
  4. Expand \((1-2x)^5\) exactly.
  5. Expand \((1+4x)^{-1}\) up to \(x^4\).
  6. Find \(\sin(x^2)\) up to \(x^{10}\).
  7. Find \(e^x\cos x\) up to \(x^3\).
  8. Use a series to evaluate \(\lim_{x\to0}(\sin x-x)/x^3\).
  9. Use integration to find \(\ln(1+x)\) up to \(x^5\), starting from \(1/(1+x)\).
  10. Find the series solution up to \(x^3\) for \(y'=2x+y\), \(y(0)=3\).
Answers 1–5
  1. \(\cos x=1-x^2/2+x^4/24+\cdots\).
  2. \(e^{-2x}=1-2x+2x^2-\frac43x^3+\cdots\).
  3. \(\ln(1+3x)=3x-\frac92x^2+9x^3-\frac{81}4x^4+\cdots\).
  4. \((1-2x)^5=1-10x+40x^2-80x^3+80x^4-32x^5\).
  5. \((1+4x)^{-1}=1-4x+16x^2-64x^3+256x^4+\cdots\).
Answers 6–10
  1. \(\sin(x^2)=x^2-x^6/6+x^{10}/120+\cdots\).
  2. \(e^x\cos x=1+x+0x^2-\frac13x^3+\cdots\).
  3. \(\boxed{-1/6}\).
  4. \(\ln(1+x)=x-x^2/2+x^3/3-x^4/4+x^5/5+\cdots\).
  5. Set \(y=a_0+a_1x+a_2x^2+a_3x^3+\cdots\). With \(a_0=3\), coefficient comparison gives \(a_1=3\), \(a_2=5/2\), \(a_3=5/6\). Thus \(\boxed{y=3+3x+\frac52x^2+\frac56x^3+\cdots}\).

Premium printable resource

This free web lesson follows the finalized Radford Mathematics AHL 5.19 teaching sequence. The polished printable handout and Topic 5 resource pack are premium resources; the protected PDF is not linked from this page.

Visit the Radford Mathematics Store →