f(x)=f(0)+f′(0)x+2!f′′(0)x2+⋯+n!f(n)(0)xn+⋯
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 x with infinitely many terms, whose coefficients come from the derivatives of f at 0.
Truncating the series gives a polynomial approximation that is very accurate near x=0.
The series converges to f only for some values of x, 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.
- Approximating functions such as eˣ, sin x and ln(1 + x) near 0.
- Evaluating limits using series.
- Integrating functions that have no simple antiderivative.
How to use maclaurin series
- Find the derivatives of f.
- Evaluate each at 0.
- Divide by the factorials.
- Write the terms in order.
Graph
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 ex.
Maclaurin series Answer checked
Answer
ex≈1+x+21x2+61x3+241x4+1201x5+⋯Maclaurin series: f(x) = f(0) + f’(0)x + f’’(0)x²/2! + …
f(x)=k∑k!f(k)(0)xk
Differentiate repeatedly and put x = 0
f(0)(0)=1f(1)(0)=1f(2)(0)=1f(3)(0)=1f(4)(0)=1f(5)(0)=1
Divide each by k! and assemble
1+x+21x2+61x3+241x4+1201x5+⋯
Check: compare with the real value at x = 0.1
f(0.1)=1.1051709, series=1.1051709 ✓
Example 2: the series for sin x
Find the first terms of the Maclaurin series of sinx.
Maclaurin series Answer checked
Answer
sin(x)≈x−61x3+1201x5+⋯Maclaurin series: f(x) = f(0) + f’(0)x + f’’(0)x²/2! + …
f(x)=k∑k!f(k)(0)xk
Differentiate repeatedly and put x = 0
f(0)(0)=0f(1)(0)=1f(2)(0)=0f(3)(0)=−1f(4)(0)=0f(5)(0)=1
Divide each by k! and assemble
x−61x3+1201x5+⋯
Check: compare with the real value at x = 0.1
f(0.1)=0.099833417, series=0.099833417 ✓
Example 3: cos x
Find the Maclaurin series of cos x.
Maclaurin series Answer checked
Answer
cos(x)≈1−21x2+241x4+⋯Maclaurin series: f(x) = f(0) + f’(0)x + f’’(0)x²/2! + …
f(x)=k∑k!f(k)(0)xk
Differentiate repeatedly and put x = 0
f(0)(0)=1f(1)(0)=0f(2)(0)=−1f(3)(0)=0f(4)(0)=1f(5)(0)=0
Divide each by k! and assemble
1−21x2+241x4+⋯
Check: compare with the real value at x = 0.1
f(0.1)=0.99500417, series=0.99500417 ✓
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.
- Terms1 + 0.5 + 0.125 + 0.0208
- Sum1.6458
- Check: e^0.5 = 1.6487 ✓1.6458.
sin x
Use three terms of the series for sin x to estimate sin 0.5.
- Terms0.5 − 0.020833 + 0.000260
- Sum0.47943
- Check: sin 0.5 = 0.47943 ✓0.47943.
cos x Higher
Use three terms of the series for cos x to estimate cos 1.
- Terms1 − 0.5 + 0.041667
- Sum0.54167
- Check: cos 1 = 0.54030 ✓0.54167.
Finding the coefficients Higher
For f(x) = eˣ find f(0), f′(0), f″(0).
- All derivativeseˣ
- At 01, 1, 1
- 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
Coefficient = f⁽ⁿ⁾(0) ÷ n!.
Radians.
Alternate signs for sin, cos.
More terms = better.
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).