DP Math AA · HL · Calculus

AHL 5.19—Maclaurin series

Get started
Notes Quiz

What is a Maclaurin Series?

A Maclaurin series is a way of representing a function as an infinite polynomial centred at x=0. The motivation is simple: polynomials are among the easiest functions to differentiate, integrate, and evaluate , so if we can express a complicated function like sinx or ex as a polynomial, we gain a powerful computational tool.

Maclaurin Series: The Maclaurin series of a function f(x) is the infinite polynomial expansion:
f(x)=f(0)+f′(0)x+2!f′′(0)​x2+3!f′′′(0)​x3+⋯=∑n=0∞​n!f(n)(0)​xn
where f(n)(0) denotes the nth derivative of f evaluated at x=0.

The key requirement is that the polynomial P(x) must agree with f(x) at x=0 in every derivative , meaning P(0)=f(0), P′(0)=f′(0), P′′(0)=f′′(0), and so on for all orders.

Analogy

Think of it like sculpting a function from clay. Each derivative you match at x=0 is like pressing the clay into a finer and finer mould , the more derivatives you match, the closer your polynomial hugs the original function near x=0.

Deriving the Coefficients

Suppose we want to find a polynomial P(x)=a0​+a1​x+a2​x2+a3​x3+⋯ that matches every derivative of f(x) at x=0. We determine the coefficients an​ one at a time by substituting x=0 after each differentiation.

Step 1: Set x=0 in P(x):
P(0)=a0​⟹a0​=f(0)

Step 2: Differentiate and set x=0:
P′(x)=a1​+2a2​x+3a3​x2+⋯⟹P′(0)=a1​=f′(0)

Step 3: Differentiate again and set x=0:
P′′(x)=2a2​+6a3​x+12a4​x2+⋯⟹P′′(0)=2a2​=f′′(0)⟹a2​=2!f′′(0)​

Step 4: Differentiate once more and set x=0:
P′′′(x)=6a3​+24a4​x+⋯⟹P′′′(0)=6a3​=f′′′(0)⟹a3​=3!f′′′(0)​

The pattern is clear. In general:
an​=n!f(n)(0)​

Substituting back gives the Maclaurin series formula:
f(x)=∑n=0∞​n!f(n)(0)​xn

Note

The denominator n! arises naturally from repeated differentiation of xn. The nth derivative of xn is n!, which is what we divide by to isolate each coefficient.

Free preview

10 more sections in this topic

← Previous topicAHL 5.18—1st order DE’s – Euler method, variables separable, integrating factor, homogeneous DE using sub y=vx
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.