Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›5 Calculus
  4. ›5.19 Maclaurin series

IB Mathematics: Analysis and Approaches · Topic 5 · Calculus

5.19 Maclaurin series

Find Maclaurin series for standard functions, use them to approximate values, and recognise the patterns in their terms.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
  • HL only
Start a Quick 5 on this topic→Jump to the 10 questions
1/5Near zero, a polynomial can imitate a function
  1. 1Near zero, a polynomial can imitate a function
  2. 2Each coefficient comes from a derivative at zero
  3. 3Standard series follow clear and repeating patterns
  4. 4A few terms give a good estimate near zero
  5. 5New series come from substituting and multiplying
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: Near zero, a polynomial can imitate a function

A straight line can copy a curve near one point. It matches the function value at that point and also the slope. Close to x=0x=0x=0, the curve and that line are hard to tell apart.

Adding an x2x^2x2 term lets the new curve match how fast the slope changes. Adding an x3x^3x3 term copies still more detail. Each extra term usually keeps the approximation accurate over a wider range. Near zero, even a few terms can be very close.

The plan is to build a polynomial whose value and first few derivatives at x=0x=0x=0 equal those of f(x)f(x)f(x).

Key term

function value

A function value is the output assigned to a particular input, written as f(a)f(a)f(a).

Part 1 done

2

Part 2 of 5: Each coefficient comes from a derivative at zero

Matching the value and the derivatives at zero fixes every coefficient. The result is the Maclaurin series of f(x)f(x)f(x). It applies when the function and all its derivatives exist at zero. The first term is the function value at zero, and the next is the straight-line approximation.

f(x)=f(0)+f′(0)x+f′′(0)2!x2+f′′′(0)3!x3+⋯f(x)=f(0)+f'(0)x+\frac{f''(0)}{2!}x^2+\frac{f'''(0)}{3!}x^3+\cdotsf(x)=f(0)+f′(0)x+2!f′′(0)​x2+3!f′′′(0)​x3+⋯

The symbol n!n!n! is a factorial. It means n(n−1)(n−2)⋯1n(n-1)(n-2)\cdots1n(n−1)(n−2)⋯1, so 4!=244!=244!=24. Factorials cancel the extra factors that appear when a power of xxx is differentiated several times.

Worked example

Building a series from derivatives

Find the first three non-zero terms of the Maclaurin series of f(x)=ln⁡(1+x)f(x)=\ln(1+x)f(x)=ln(1+x).
  1. 1
    Differentiate: f′(x)=11+xf'(x)=\frac{1}{1+x}f′(x)=1+x1​, f′′(x)=−1(1+x)2f''(x)=-\frac{1}{(1+x)^2}f′′(x)=−(1+x)21​, f′′′(x)=2(1+x)3f'''(x)=\frac{2}{(1+x)^3}f′′′(x)=(1+x)32​.
  2. 2
    Evaluate at zero: f(0)=0f(0)=0f(0)=0, f′(0)=1f'(0)=1f′(0)=1, f′′(0)=−1f''(0)=-1f′′(0)=−1, f′′′(0)=2f'''(0)=2f′′′(0)=2.
  3. 3
    Substitute: f(x)=0+x−x22!+2x33!f(x)=0+x-\frac{x^2}{2!}+\frac{2x^3}{3!}f(x)=0+x−2!x2​+3!2x3​.
  4. 4
    Simplify, using 23!=13\frac{2}{3!}=\frac133!2​=31​.

Answer: ln⁡(1+x)≈x−x22+x33\ln(1+x)\approx x-\frac{x^2}{2}+\frac{x^3}{3}ln(1+x)≈x−2x2​+3x3​.

Notice the pattern in this answer. The signs alternate, and the coefficient of xnx^nxn is 1n\frac1nn1​ in magnitude.

Key terms · tap one for its definition

Maclaurin series

The Maclaurin series of f(x)f(x)f(x) is f(0)+f′(0)x+f′′(0)2!x2+⋯f(0)+f'(0)x+\frac{f''(0)}{2!}x^2+\cdotsf(0)+f′(0)x+2!f′′(0)​x2+⋯, a power series built from derivatives at zero.

factorial

The factorial n!n!n! is the product of all positive integers up to nnn, with 0!=10!=10!=1.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the coefficient of x2x^2x2 in the Maclaurin series of f(x)f(x)f(x).
Show answer and explanation

Answer: C · Worked explanation

Each coefficient is the derivative at zero divided by the factorial of its order. For x2x^2x2 that is f′′(0)2!\frac{f''(0)}{2!}2!f′′(0)​. Using f′′(0)f''(0)f′′(0) alone leaves out the factorial. The factorial is needed because differentiating x2x^2x2 twice gives 2, which must be divided out.
3

Part 3 of 5: Standard series follow clear and repeating patterns

Now look at the functions met most often. Their series are worth knowing well. The table lists four of them.

Standard Maclaurin series

FunctionSeriesValid for
exe^xex1+x+x22!+x33!+⋯1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\cdots1+x+2!x2​+3!x3​+⋯all real xxx
sin⁡x\sin xsinxx−x33!+x55!−⋯x-\frac{x^3}{3!}+\frac{x^5}{5!}-\cdotsx−3!x3​+5!x5​−⋯all real xxx
cos⁡x\cos xcosx1−x22!+x44!−⋯1-\frac{x^2}{2!}+\frac{x^4}{4!}-\cdots1−2!x2​+4!x4​−⋯all real xxx
ln⁡(1+x)\ln(1+x)ln(1+x)x−x22+x33−⋯x-\frac{x^2}{2}+\frac{x^3}{3}-\cdotsx−2x2​+3x3​−⋯−1<x≤1-1<x\le1−1<x≤1
Function
exe^xex
Series
1+x+x22!+x33!+⋯1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\cdots1+x+2!x2​+3!x3​+⋯
Valid for
all real xxx
Function
sin⁡x\sin xsinx
Series
x−x33!+x55!−⋯x-\frac{x^3}{3!}+\frac{x^5}{5!}-\cdotsx−3!x3​+5!x5​−⋯
Valid for
all real xxx
Function
cos⁡x\cos xcosx
Series
1−x22!+x44!−⋯1-\frac{x^2}{2!}+\frac{x^4}{4!}-\cdots1−2!x2​+4!x4​−⋯
Valid for
all real xxx
Function
ln⁡(1+x)\ln(1+x)ln(1+x)
Series
x−x22+x33−⋯x-\frac{x^2}{2}+\frac{x^3}{3}-\cdotsx−2x2​+3x3​−⋯
Valid for
−1<x≤1-1<x\le1−1<x≤1

Notice the patterns. Every derivative of exe^xex equals 1 at zero, so all its terms are positive. The derivatives of sin⁡x\sin xsinx at zero cycle through 0,1,0,−10,1,0,-10,1,0,−1. This leaves only odd powers, and cosine has only even powers.

The set of xxx values where a series equals its function is the interval of validity. For exe^xex, sin⁡x\sin xsinx and cos⁡x\cos xcosx it is every real number.

Common mistake

Do not use the series for ln⁡(1+x)\ln(1+x)ln(1+x) outside −1<x≤1-1<x\le1−1<x≤1. At x=2x=2x=2 the terms grow, so the series gives no useful estimate of ln⁡3\ln3ln3.

Key term

interval of validity

The interval of validity is the set of xxx values for which the series converges to the value of the function.

Part 3 done

4

Part 4 of 5: A few terms give a good estimate near zero

Now put a series to work. Keeping only the first few terms gives a truncated series. It is a polynomial, so it is easy to evaluate by hand. The more terms you keep, the closer it stays to the function.

Worked example

Estimating a value

Use the first four terms of the series for exe^xex to estimate e0.2e^{0.2}e0.2.
  1. 1
    Take x=0.2x=0.2x=0.2 in 1+x+x22!+x33!1+x+\frac{x^2}{2!}+\frac{x^3}{3!}1+x+2!x2​+3!x3​.
  2. 2
    Evaluate the terms: 1+0.2+0.02+0.00133331+0.2+0.02+0.00133331+0.2+0.02+0.0013333.
  3. 3
    Add them: 1.2213333.

Answer: e0.2≈1.2213e^{0.2}\approx1.2213e0.2≈1.2213. A calculator gives 1.2214 to four decimal places.

The error is the difference between the estimate and the true value. Here it is about 0.00007.

The estimate improves as more terms are added. It is also better when ∣x∣|x|∣x∣ is small, because higher powers of xxx are then tiny.

Figure 1. Each extra term keeps the polynomial close to the sine curve over a wider range around x=0x=0x=0.

Exam tip

State how many terms you used and round only at the end. Small values of ∣x∣|x|∣x∣ give the most accurate estimates.

Key term

truncated series

A truncated series is a Maclaurin series cut off after a fixed number of terms, leaving a polynomial approximation.

Part 4 done

Quick check

One question on the part you just read

Easy

State the value of 4!4!4!.
Show answer and explanation

Answer: A · Worked explanation

The factorial 4!4!4! is 4×3×2×1=244\times3\times2\times1=244×3×2×1=24. The value 10 comes from adding the numbers instead of multiplying them, and 16 comes from squaring 4. Factorials grow very fast, so 5!5!5! is already 120. This is why Maclaurin coefficients shrink quickly. Check each product carefully.
5

Part 5 of 5: New series come from substituting and multiplying

You do not always need derivatives. Replace xxx in a known series with another expression to get a new series. For e−xe^{-x}e−x, replacing xxx with −x-x−x gives 1−x+x22!−x33!+⋯1-x+\frac{x^2}{2!}-\frac{x^3}{3!}+\cdots1−x+2!x2​−3!x3​+⋯.

Series can also be multiplied. Keep only the terms up to the power you need. Higher powers cannot change the lower ones. To reach x3x^3x3 in a product, include every pair of terms whose powers add to 3 or less.

Worked example

Multiplying two series

Find the series for exsin⁡xe^x\sin xexsinx up to the term in x3x^3x3.
  1. 1
    Write both series: ex=1+x+x22+⋯e^x=1+x+\frac{x^2}{2}+\cdotsex=1+x+2x2​+⋯ and sin⁡x=x−x36+⋯\sin x=x-\frac{x^3}{6}+\cdotssinx=x−6x3​+⋯.
  2. 2
    Multiply: (1+x+x22)(x−x36)\left(1+x+\frac{x^2}{2}\right)\left(x-\frac{x^3}{6}\right)(1+x+2x2​)(x−6x3​).
  3. 3
    Collect terms: x+x2+x32−x36x+x^2+\frac{x^3}{2}-\frac{x^3}{6}x+x2+2x3​−6x3​.
  4. 4
    Combine the x3x^3x3 terms: 12−16=13\frac12-\frac16=\frac1321​−61​=31​.

Answer: exsin⁡x≈x+x2+x33e^x\sin x\approx x+x^2+\frac{x^3}{3}exsinx≈x+x2+3x3​.

Series also help with limits. Since ex−1=x+x22+⋯e^x-1=x+\frac{x^2}{2}+\cdotsex−1=x+2x2​+⋯, the ratio ex−1x\frac{e^x-1}{x}xex−1​ tends to 1 as xxx tends to 0.

Go deeperThe binomial series

For any real number ppp, the Maclaurin series of (1+x)p(1+x)^p(1+x)p is 1+px+p(p−1)2!x2+p(p−1)(p−2)3!x3+⋯1+px+\frac{p(p-1)}{2!}x^2+\frac{p(p-1)(p-2)}{3!}x^3+\cdots1+px+2!p(p−1)​x2+3!p(p−1)(p−2)​x3+⋯. It is valid for ∣x∣<1|x|<1∣x∣<1.

When ppp is a positive integer, the series stops after the term in xpx^pxp. It then equals the usual binomial expansion.

Note read

Check your recall[15 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Write down[2 marks]

    Write down the Maclaurin series of f(x)f(x)f(x) up to and including the term in x3x^3x3.

    Show mark schemeHide mark scheme

    Model answer

    f(x)=f(0)+f′(0)x+f′′(0)2!x2+f′′′(0)3!x3f(x)=f(0)+f'(0)x+\frac{f''(0)}{2!}x^2+\frac{f'''(0)}{3!}x^3f(x)=f(0)+f′(0)x+2!f′′(0)​x2+3!f′′′(0)​x3.

    • 1 mark for writing f(0)+f′(0)xf(0)+f'(0)xf(0)+f′(0)x
    • 1 mark for writing the x2x^2x2 and x3x^3x3 terms with 2!2!2! and 3!3!3! in the denominators
  2. 2.Determine[3 marks]

    Determine the Maclaurin series of e2xe^{2x}e2x up to and including the term in x3x^3x3.

    Show mark schemeHide mark scheme

    Model answer

    Replace xxx by 2x2x2x in the series for exe^xex. This gives 1+2x+(2x)22!+(2x)33!=1+2x+2x2+4x331+2x+\frac{(2x)^2}{2!}+\frac{(2x)^3}{3!}=1+2x+2x^2+\frac{4x^3}{3}1+2x+2!(2x)2​+3!(2x)3​=1+2x+2x2+34x3​.

    • 1 mark for replacing xxx by 2x2x2x in the series for exe^xex
    • 1 mark for obtaining the x2x^2x2 term 2x22x^22x2
    • 1 mark for obtaining the x3x^3x3 term 4x33\frac{4x^3}{3}34x3​
  3. 3.Calculate[3 marks]

    Calculate an estimate of sin⁡0.4\sin0.4sin0.4 using the first two non-zero terms of its series. Give the answer to 4 decimal places.

    Show mark schemeHide mark scheme

    Model answer

    sin⁡x≈x−x33!\sin x\approx x-\frac{x^3}{3!}sinx≈x−3!x3​. So sin⁡0.4≈0.4−0.0646=0.389333…≈0.3893\sin0.4\approx0.4-\frac{0.064}{6}=0.389333\ldots\approx0.3893sin0.4≈0.4−60.064​=0.389333…≈0.3893.

    • 1 mark for using x−x33!x-\frac{x^3}{3!}x−3!x3​
    • 1 mark for substituting x=0.4x=0.4x=0.4 correctly
    • 1 mark for obtaining 0.3893
  4. 4.Distinguish[2 marks]

    Distinguish between the Maclaurin series of sin⁡x\sin xsinx and of cos⁡x\cos xcosx.

    Show mark schemeHide mark scheme

    Model answer

    The series for sin⁡x\sin xsinx has only odd powers of xxx, starting with xxx. The series for cos⁡x\cos xcosx has only even powers, starting with 1. In both, the signs alternate.

    • 1 mark for stating that sin⁡x\sin xsinx has only odd powers and cos⁡x\cos xcosx only even powers
    • 1 mark for stating that cos⁡x\cos xcosx begins with 1 and sin⁡x\sin xsinx begins with xxx, or that both alternate in sign
  5. 5.Explain[2 marks]

    Explain why a truncated series is usually more accurate for small values of ∣x∣|x|∣x∣.

    Show mark schemeHide mark scheme

    Model answer

    The omitted terms contain higher powers of xxx. When ∣x∣|x|∣x∣ is small these powers are very small, so the omitted terms add little to the value.

    • 1 mark for stating that the omitted terms contain higher powers of xxx
    • 1 mark for explaining that these are very small when ∣x∣|x|∣x∣ is small, so the error is small
  6. 6.Deduce[3 marks]

    Deduce the first three non-zero terms of the Maclaurin series of cos⁡2x\cos2xcos2x.

    Show mark schemeHide mark scheme

    Model answer

    Replace xxx by 2x2x2x in 1−x22!+x44!1-\frac{x^2}{2!}+\frac{x^4}{4!}1−2!x2​+4!x4​. This gives 1−(2x)22+(2x)424=1−2x2+2x431-\frac{(2x)^2}{2}+\frac{(2x)^4}{24}=1-2x^2+\frac{2x^4}{3}1−2(2x)2​+24(2x)4​=1−2x2+32x4​.

    • 1 mark for replacing xxx by 2x2x2x in the series for cos⁡x\cos xcosx
    • 1 mark for obtaining −2x2-2x^2−2x2
    • 1 mark for obtaining 2x43\frac{2x^4}{3}32x4​

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify the function whose Maclaurin series contains only odd powers of xxx.
Show answer and explanation

Answer: B · Worked explanation

The derivatives of sin⁡x\sin xsinx at zero cycle through 0,1,0,−10,1,0,-10,1,0,−1, so only odd powers remain. The series for cos⁡x\cos xcosx has only even powers, while exe^xex and ln⁡(1+x)\ln(1+x)ln(1+x) contain both. Every derivative of exe^xex at zero equals 1, which is why its series includes every power.
4.

Medium·Determine[2 marks]

Determine the coefficient of x3x^3x3 in the Maclaurin series of e3xe^{3x}e3x.
Show answer and explanation

Answer: A · Worked explanation

Replace xxx by 3x3x3x in x33!\frac{x^3}{3!}3!x3​. This gives (3x)36=27x36\frac{(3x)^3}{6}=\frac{27x^3}{6}6(3x)3​=627x3​, so the coefficient is 92\frac9229​. The value 27 forgets the factorial, and 32\frac3223​ comes from cubing incorrectly as 323^232. The method works because the series for exe^xex is valid for all real xxx, so any expression can replace xxx.
5.

Medium·Calculate[2 marks]

Calculate an estimate of cos⁡0.2\cos0.2cos0.2 using the first two non-zero terms of its series.
Show answer and explanation

Answer: D · Worked explanation

cos⁡x≈1−x22\cos x\approx1-\frac{x^2}{2}cosx≈1−2x2​, so cos⁡0.2≈1−0.042=0.980\cos0.2\approx1-\frac{0.04}{2}=0.980cos0.2≈1−20.04​=0.980. The value 0.960 forgets to divide by 2!2!2!, and 0.800 subtracts xxx itself instead of x22\frac{x^2}{2}2x2​. The true value is 0.98007 to 5 decimal places, so the estimate is already close. Always check that the first neglected term is small.
6.

Medium·Determine[2 marks]

Determine the coefficient of x3x^3x3 in the Maclaurin series of ln⁡(1+x)\ln(1+x)ln(1+x).
Show answer and explanation

Answer: C · Worked explanation

The third derivative at zero is 2, so the coefficient is 23!=13\frac{2}{3!}=\frac133!2​=31​. The value 2 forgets the factorial, and −13-\frac13−31​ has the wrong sign because the signs alternate starting with a positive xxx term. Writing out the first four terms helps: xxx, −x22-\frac{x^2}{2}−2x2​, x33\frac{x^3}{3}3x3​ and −x44-\frac{x^4}{4}−4x4​.
7.

Medium·Explain[2 marks]

A student uses the series for ln⁡(1+x)\ln(1+x)ln(1+x) with x=2x=2x=2 to estimate ln⁡3\ln3ln3. Explain why this is not reliable.
Show answer and explanation

Answer: B · Worked explanation

The series equals ln⁡(1+x)\ln(1+x)ln(1+x) only for −1<x≤1-1<x\le1−1<x≤1, and x=2x=2x=2 is outside this interval. The series does contain both odd and even powers, so the claim about only odd powers is false. Substituting x=2x=2x=2 gives terms 2, -2, 83\frac8338​ and so on, which grow rather than settle.
8.

Hard·Determine[2 marks]

Determine the coefficient of x3x^3x3 in the Maclaurin series of e−xcos⁡xe^{-x}\cos xe−xcosx.
Show answer and explanation

Answer: A · Worked explanation

Use e−x=1−x+x22−x36e^{-x}=1-x+\frac{x^2}{2}-\frac{x^3}{6}e−x=1−x+2x2​−6x3​ and cos⁡x=1−x22\cos x=1-\frac{x^2}{2}cosx=1−2x2​. The x3x^3x3 terms are (−x)(−x22)=x32\left(-x\right)\left(-\frac{x^2}{2}\right)=\frac{x^3}{2}(−x)(−2x2​)=2x3​ and −x36-\frac{x^3}{6}−6x3​. These add to 13\frac1331​. The value −16-\frac16−61​ uses only the exponential term. Always multiply only the terms that can reach the required power. Terms beyond x3x^3x3 cannot affect the x3x^3x3 coefficient.
9.

Hard·Calculate[2 marks]

A function has f(0)=2f(0)=2f(0)=2, f′(0)=−1f'(0)=-1f′(0)=−1 and f′′(0)=6f''(0)=6f′′(0)=6. Calculate the estimate of f(0.1)f(0.1)f(0.1) from the first three terms of its Maclaurin series.
Show answer and explanation

Answer: A · Worked explanation

f(0.1)≈2+(−1)(0.1)+62!(0.1)2=2−0.1+0.03=1.93f(0.1)\approx2+(-1)(0.1)+\frac{6}{2!}(0.1)^2=2-0.1+0.03=1.93f(0.1)≈2+(−1)(0.1)+2!6​(0.1)2=2−0.1+0.03=1.93. The value 1.96 forgets to divide by 2!2!2!, and 1.90 stops before the x2x^2x2 term. A Maclaurin series uses f(0)f(0)f(0) as the first term, f′(0)xf'(0)xf′(0)x as the second and f′′(0)2!x2\frac{f''(0)}{2!}x^22!f′′(0)​x2 as the third. The estimate stays close to f(0)f(0)f(0) because x=0.1x=0.1x=0.1 is small.
10.

Hard·Determine[2 marks]

Use the Maclaurin series of cos⁡x\cos xcosx to determine the limit of 1−cos⁡xx2\frac{1-\cos x}{x^2}x21−cosx​ as xxx tends to 0.
Show answer and explanation

Answer: B · Worked explanation

Since cos⁡x=1−x22+⋯\cos x=1-\frac{x^2}{2}+\cdotscosx=1−2x2​+⋯, we have 1−cos⁡x=x22−⋯1-\cos x=\frac{x^2}{2}-\cdots1−cosx=2x2​−⋯. Dividing by x2x^2x2 leaves 12\frac1221​ as xxx tends to 0. The answer 0 comes from stopping at the first term and ignoring the x2x^2x2 term. Series make limits easy because the leading terms cancel. This matches the idea that near zero the cosine curve is close to the parabola 1−x221-\frac{x^2}{2}1−2x2​.

Keep going

Previous topic5.18 First-order differential equations

More in Topic 5 · Calculus

  1. 5.11Definite integrals and areasNotes · 10 questions
  2. 5.12First principles and continuityNotes · 9 questions· HL only
  3. 5.13Limits and L'Hôpital's ruleNotes · 10 questions· HL only
  4. 5.14Implicit differentiation and related ratesNotes · 10 questions· HL only
  5. 5.15Derivatives of further functionsNotes · 10 questions· HL only
  6. 5.16Integration by substitution and partsNotes · 10 questions· HL only
  7. 5.17Volumes of revolutionNotes · 10 questions· HL only
  8. 5.18First-order differential equationsNotes · 10 questions· HL only
  9. 5.19Maclaurin seriesNotes · 10 questions· HL only

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1Near zero, a polynomial can imitate a function
  2. 2Each coefficient comes from a derivative at zero
  3. 3Standard series follow clear and repeating patterns
  4. 4A few terms give a good estimate near zero
  5. 5New series come from substituting and multiplying
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

Approximating sine with a polynomial

y-4-2024-3-2-10123x (radians)
  • sin x
  • Two terms
  • Three terms