Maclaurin Series Equation Solver with Worked Examples

The Maclaurin series of is . Type “maclaurin series of e^x” and the solver gives the terms.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Maclaurin series means

A Maclaurin series writes a function as a polynomial in with infinitely many terms, whose coefficients come from the derivatives of at 0.

Truncating the series gives a polynomial approximation that is very accurate near .

The series converges to only for some values of , called the interval of convergence. The shifted form is the Taylor series about x = a, standard results are series: e to the power x, series: sin x and series: cos x, and convergence is tested in geometric series convergence.

This page is part of Series and convergence in Calculus. Topics that work alongside it: Taylor series about x = a, Series: e^x, Series: sin x, Method of differences, Series: cos x and Series: ln(1 + x).

What is it used for?

The Maclaurin series expresses a function as a power series about x = 0 using its derivatives at that point.

How to use maclaurin series

  1. Find the derivatives of .
  2. Evaluate each at 0.
  3. Divide by the factorials.
  4. Write the terms in order.

Graph

eˣ and its first Maclaurin approximations-2-1.5-1-0.500.511.5202468eˣ and its first Maclaurin approximationsxyeˣ1 + x + x²/2… + x³/6Graph with x from -2 to 2 and y from -1 to 8. Shows the curve eˣ; the curve 1 + x + x²/2; the curve … + x³/6.

Adding more terms makes the polynomial hug the curve for a wider range around x = 0.

Worked examples

The examples marked with a button were worked out by the solver on this page. You can try each one yourself.

Example 1: the series for eˣ

Find the first terms of the Maclaurin series of .

Maclaurin series Answer checked
Answer
ex≈1+x+12x2+16x3+124x4+1120x5+⋯e^{x} \approx 1 + x + \dfrac{1}{2}x^{2} + \dfrac{1}{6}x^{3} + \dfrac{1}{24}x^{4} + \dfrac{1}{120}x^{5} + \cdots
  1. Maclaurin series: f(x) = f(0) + f’(0)x + f’’(0)x²/2! + …
  2. Differentiate repeatedly and put x = 0
  3. Divide each by k! and assemble
  4. Check: compare with the real value at x = 0.1

Example 2: the series for sin x

Find the first terms of the Maclaurin series of .

Maclaurin series Answer checked
Answer
sin⁡(x)≈x−16x3+1120x5+⋯\sin\left(x\right) \approx x - \dfrac{1}{6}x^{3} + \dfrac{1}{120}x^{5} + \cdots
  1. Maclaurin series: f(x) = f(0) + f’(0)x + f’’(0)x²/2! + …
  2. Differentiate repeatedly and put x = 0
  3. Divide each by k! and assemble
  4. Check: compare with the real value at x = 0.1

Example 3: cos x

Find the Maclaurin series of cos x.

Maclaurin series Answer checked
Answer
cos⁡(x)≈1−12x2+124x4+⋯\cos\left(x\right) \approx 1 - \dfrac{1}{2}x^{2} + \dfrac{1}{24}x^{4} + \cdots
  1. Maclaurin series: f(x) = f(0) + f’(0)x + f’’(0)x²/2! + …
  2. Differentiate repeatedly and put x = 0
  3. Divide each by k! and assemble
  4. Check: compare with the real value at x = 0.1

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

eˣ

1 + x + x²/2! + x³/3! + …

All derivatives equal 1 at 0.

sin x

x − x³/3! + x⁵/5! − …

Odd powers only.

cos x

1 − x²/2! + x⁴/4! − …

Even powers only.

The formula

f(x) = f(0) + f′(0)x + f″(0)x²/2! + …

Powers of x with derivative coefficients.

Word problems

The Maclaurin series of f is f(0) + f′(0)x + f″(0)x²/2! + f‴(0)x³/3! + …

eˣ

Use four terms of the Maclaurin series of eˣ to estimate e^0.5.

  1. Terms1 + 0.5 + 0.125 + 0.0208
  2. Sum1.6458
  3. Check: e^0.5 = 1.6487 ✓1.6458.

sin x

Use three terms of the series for sin x to estimate sin 0.5.

  1. Terms0.5 − 0.020833 + 0.000260
  2. Sum0.47943
  3. Check: sin 0.5 = 0.47943 ✓0.47943.

cos x Higher

Use three terms of the series for cos x to estimate cos 1.

  1. Terms1 − 0.5 + 0.041667
  2. Sum0.54167
  3. Check: cos 1 = 0.54030 ✓0.54167.

Finding the coefficients Higher

For f(x) = eˣ find f(0), f′(0), f″(0).

  1. All derivativeseˣ
  2. At 01, 1, 1
  3. Check: coefficients 1/n! ✓1, 1, 1.

Common mistakes

Forgetting the factorials

x³ not x³/6 ✗

x³/3! ✓

Divide by n!.

Wrong signs in sin and cos

sin x = x + x³/6 + … ✗

x − x³/6 + … ✓

Signs alternate.

Using degrees

wrong mode ✗

radians ✓

Series use radians.

Starting at the wrong term

cos x starts at x ✗

cos x starts at 1 ✓

cos 0 = 1.

Exam tips

  1. Coefficient = f⁽ⁿ⁾(0) ÷ n!.
  2. Radians.
  3. Alternate signs for sin, cos.
  4. More terms = better.
  5. Small x works best.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Estimate e^0.1 using 1 + x + x²/2 Foundation

1.105

2. Estimate sin 0.1 using x − x³/6 to 6 decimal places Foundation

0.099833

3. Estimate cos 0.2 using 1 − x²/2 to 4 decimal places Foundation

0.9800

4. Estimate e using 1 + 1 + 1/2 + 1/6 + 1/24 to 4 decimal places Higher

2.7083

5. Estimate sin 1 using x − x³/6 + x⁵/120 to 5 decimal places Higher

0.84147

6. Estimate cos 1 using 1 − x²/2 + x⁴/24 − x⁶/720 to 5 decimal places Higher

0.54030

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Maclaurin series
Taylor series about 0.
Factorial
n! = n × (n − 1) × … × 1.
Coefficient
f⁽ⁿ⁾(0) ÷ n!.
Truncate
Stop after a few terms.
Radius of convergence
Where the series works.
Derivative
Gradient function.

Frequently asked questions

What is a Maclaurin series?

A power series for f about x = 0.

What is the formula?

f(0) + f′(0)x + f″(0)x²/2! + …

When is it accurate?

For small x with enough terms.

What is the series for eˣ?

1 + x + x²/2! + …

Which page covers sin x?

series for sin x.

Which page covers ln(1 + x)?

series for ln(1 + x).

More in Calculus and the formula sheets.