practicecalculus
Sequences and series

Taylor Series Practice Problems with Answers and Solutions

12 Taylor and Maclaurin series practice problems with answers: building series, Taylor polynomials, estimates with error bounds, limits and sums.

Sequences and series Updated 4 min read

At a glance

f(x) = \sum_{n=0}^{\infty}\frac{f^{(n)}(a)}{n!}(x - a)^n
Problems
12, with answers and full solutions
Level
Calculus 2 and AP Calculus BC, Unit 10
You need
Derivatives, factorials and power series
Main idea
Match the derivatives of f at one point, then use the series to approximate, take limits or sum
Practice with new numbers
Maclaurin series lesson
On this page
  1. Problems
  2. Answers
  3. Step-by-step solutions
  4. Common mistakes on these problems
  5. Keep practicing

These Taylor series practice problems cover building Maclaurin and Taylor series, Taylor polynomials, estimates with error bounds, and using series to find limits, derivatives and sums. Try each one first. The answers come first, then full solutions.

The formula:

f(x) = \sum_{n=0}^{\infty}\frac{f^{(n)}(a)}{n!}(x - a)^n = f(a) + f'(a)(x - a) + \frac{f''(a)}{2!}(x - a)^2 + \cdots

For the reasoning and more examples, read the Taylor series guide.

Problems

Building series

  1. Find the first four nonzero terms of the Maclaurin series for e^{2x}.
  2. Find the first three nonzero terms of the Maclaurin series for \cos(x^2).
  3. Find the first four nonzero terms of the Maclaurin series for x\,e^{-x}.
  4. Find the Taylor series for \ln x centered at a = 1.
  5. Find the degree 3 Taylor polynomial for \sqrt{x} centered at a = 4.
  6. Use the series for \frac{1}{1 + x^2} to find the Maclaurin series for \arctan x.

Estimates

  1. Use the degree 2 Taylor polynomial from problem 5 to estimate \sqrt{4.1}.
  2. Estimate \sin(0.5) with x - \frac{x^3}{6}, and bound the error.

Using series

  1. Find f^{(10)}(0) for f(x) = x^2\cos x.
  2. Find \displaystyle\lim_{x\to 0}\frac{\sin x - x}{x^3}.
  3. Find \displaystyle\lim_{x\to 0}\frac{e^x - 1 - x}{x^2}.
  4. Find the sum \displaystyle\sum_{n=0}^{\infty}\frac{(-1)^n\pi^{2n}}{(2n)!}.

Answers

Problem Answer
1 1 + 2x + 2x^2 + \frac{4}{3}x^3
2 1 - \frac{x^4}{2} + \frac{x^8}{24}
3 x - x^2 + \frac{x^3}{2} - \frac{x^4}{6}
4 \displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n+1}(x - 1)^n}{n}
5 2 + \frac{x - 4}{4} - \frac{(x - 4)^2}{64} + \frac{(x - 4)^3}{512}
6 x - \frac{x^3}{3} + \frac{x^5}{5} - \cdots
7 \approx 2.0248438
8 \approx 0.479167, error less than 0.00027
9 90
10 -\frac{1}{6}
11 \frac{1}{2}
12 -1

Step-by-step solutions

1. Replace x with 2x in e^x = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots:

1 + 2x + \frac{4x^2}{2} + \frac{8x^3}{6} = 1 + 2x + 2x^2 + \frac{4}{3}x^3

2. Replace x with x^2 in \cos x = 1 - \frac{x^2}{2} + \frac{x^4}{24} - \cdots:

1 - \frac{x^4}{2} + \frac{x^8}{24} - \cdots

3. e^{-x} = 1 - x + \frac{x^2}{2} - \frac{x^3}{6} + \cdots. Multiply each term by x.

4. For f(x) = \ln x: f(1) = 0, f'(1) = 1, f''(1) = -1, f'''(1) = 2, and in general f^{(n)}(1) = (-1)^{n+1}(n - 1)!. Divide by n! to get \frac{(-1)^{n+1}}{n}:

\ln x = (x - 1) - \frac{(x - 1)^2}{2} + \frac{(x - 1)^3}{3} - \cdots

5. Take derivatives at x = 4:

Value at 4 Divide by n!
f = x^{1/2} 2 2
f' = \frac{1}{2}x^{-1/2} \frac{1}{4} \frac{1}{4}
f'' = -\frac{1}{4}x^{-3/2} -\frac{1}{32} -\frac{1}{64}
f''' = \frac{3}{8}x^{-5/2} \frac{3}{256} \frac{1}{512}

6. \frac{1}{1 + x^2} = 1 - x^2 + x^4 - \cdots for |x| < 1. Integrate term by term from 0 to x:

\arctan x = x - \frac{x^3}{3} + \frac{x^5}{5} - \cdots

7. With x - 4 = 0.1:

2 + \frac{0.1}{4} - \frac{0.01}{64} = 2 + 0.025 - 0.00015625 = 2.02484375

The true value is 2.0248457\ldots, so the estimate is off by about 0.000002.

8. 0.5 - \frac{0.125}{6} \approx 0.479167. The series alternates with decreasing terms, so the error is less than the next term, \frac{0.5^5}{120} \approx 0.00026. The true value is 0.479426, off by 0.000259.

9. x^2\cos x = x^2 - \frac{x^4}{2!} + \frac{x^6}{4!} - \frac{x^8}{6!} + \frac{x^{10}}{8!} - \cdots. The coefficient of x^{10} is \frac{1}{8!}, and it also equals \frac{f^{(10)}(0)}{10!}:

f^{(10)}(0) = \frac{10!}{8!} = 10\cdot 9 = 90

10. \sin x - x = -\frac{x^3}{6} + \frac{x^5}{120} - \cdots. Divide by x^3: -\frac{1}{6} + \frac{x^2}{120} - \cdots \to -\frac{1}{6}.

11. e^x - 1 - x = \frac{x^2}{2} + \frac{x^3}{6} + \cdots. Divide by x^2: \frac{1}{2} + \frac{x}{6} + \cdots \to \frac{1}{2}.

12. This is the cosine series \sum\frac{(-1)^n x^{2n}}{(2n)!} with x = \pi, so the sum is \cos\pi = -1.

Common mistakes on these problems

  • Forgetting the factorial. The coefficient is \frac{f^{(n)}(a)}{n!}, not f^{(n)}(a). In problem 5, f''(4) = -\frac{1}{32} but the coefficient is -\frac{1}{64}.
  • Taking derivatives when substitution works. Differentiating \cos(x^2) eight times is slow. Substitute into the known series.
  • Using x instead of x - a. A Taylor series at a = 4 uses powers of (x - 4).
  • Mixing up which coefficient gives which derivative. In problem 9, the x^{10} coefficient comes from the n = 4 term of cosine, and you multiply by 10!.

Keep practicing

For unlimited problems with instant feedback, try the Taylor polynomials lesson, the Maclaurin series lesson and the estimating with Taylor lesson. Then try the parametric and polar problems, which finish the same Calculus 2 unit.

Practice it now

Common Maclaurin series

Solve real problems on this topic with instant feedback, hints and a step-by-step walkthrough for every answer. Free, no sign-up needed to start.

Practice this lesson

Frequently asked questions

What is the difference between a Taylor series and a Maclaurin series?

A Maclaurin series is a Taylor series centered at a = 0. Taylor series can be centered at any point, as in problems 4 and 5 below.

Which Maclaurin series should I memorize?

e^x = \sum\frac{x^n}{n!}, \sin x = \sum\frac{(-1)^n x^{2n+1}}{(2n+1)!}, \cos x = \sum\frac{(-1)^n x^{2n}}{(2n)!} and \frac{1}{1 - x} = \sum x^n. Most other series on tests come from these by substitution, multiplication or integration.

How accurate is a Taylor polynomial?

For an alternating series, the error is at most the first term you left out. In general, the Lagrange error bound says the error is at most \frac{M}{(n+1)!}|x - a|^{n+1}, where M bounds |f^{(n+1)}| between a and x. See Taylor's theorem.

Written by the PracticeCalculus team

We build interactive calculus lessons and write every page to be clear and correct. Spotted something off? Tell us and we will fix it.