Maclaurin series of eˣ, sin x, cos x and 1/(1 − x)

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Calculus BC (AP-aligned) › Taylor and Maclaurin series

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Maclaurin series of eˣ, sin x, cos x and 1/(1 − x)

Taylor and Maclaurin series.

Warm-up

Three quick questions from earlier lessons.

  1. Find the degree-2 Maclaurin polynomial of f(x)=e8xf(x) = e^{ 8x}.
  2. f(0)=−6f(0) = -6, f′(0)=−6f'(0) = -6 and f′′(0)=4f''(0) = 4. Write the degree-2 Maclaurin polynomial of ff.
  3. Find the degree-2 Taylor polynomial of f(x)=8ln⁡xf(x) = 8\ln x centered at x=1x = 1.

Discover

Every derivative of exe^x at 0 is 1. So its Maclaurin series is ∑xnn!\displaystyle\sum \dfrac{x^n}{n!}. What about sin⁡x\sin x, whose derivatives at 0 cycle 0,1,0,−10, 1, 0, -1?

  1. x−x33!+x55!−⋯x - \dfrac{x^3}{3!} + \dfrac{x^5}{5!} - \dotsb
  2. 1+x+x22!+⋯1 + x + \dfrac{x^2}{2!} + \dotsb

Key idea

Four series to know by heart.

ex=∑n≥0xnn!e^x = \displaystyle\sum_{n \ge 0} \dfrac{x^n}{n!}; sin⁡x=∑n≥0(−1)nx2n+1(2n+1)!\sin x = \displaystyle\sum_{n \ge 0} \dfrac{(-1)^n x^{2n+1}}{(2n+1)!}; cos⁡x=∑n≥0(−1)nx2n(2n)!\cos x = \displaystyle\sum_{n \ge 0} \dfrac{(-1)^n x^{2n}}{(2n)!} (all xx); 11−x=∑n≥0xn\dfrac{1}{1 - x} = \displaystyle\sum_{n \ge 0} x^n (∣x∣<1|x| < 1).

Worked example

The first terms of e−x2e^{-x^2}.

1+(−x2)+(−x2)22!+⋯1 + (-x^2) + \dfrac{(-x^2)^2}{2!} + \dotsb
Substitute u = −x² into eᵘ.
1−x2+x42−⋯1 - x^2 + \dfrac{x^4}{2} - \dotsb
Simplify.

Your turn, guided

Your turn: the coefficient of x2x^2 in cos⁡(3x)\cos(3x).

−92-\tfrac{9}{2}
−(3x)²/2!.

Practice ★

  1. Find the coefficient of x3x^3 in the Maclaurin series of e5xe^{ 5x}.
  2. Find the coefficient of x3x^3 in the Maclaurin series of e6xe^{ 6x}.
  1. ∑n=0∞(−1)n(1x)2n+1(2n+1)!\displaystyle\sum_{n=0}^{\infty} \dfrac{(-1)^n (1x)^{2n+1} }{(2n + 1)!} is the Maclaurin series of which function?
    1. sin⁡(1x)\sin(1x)
    2. cos⁡(1x)\cos(1x)
    3. e1xe^{ 1x}

Watch out!

Practice ★★

  1. Find the coefficient of x4x^4 in the Maclaurin series of cos⁡(2x)\cos(2x).
  2. Find the coefficient of x4x^4 in the Maclaurin series of cos⁡(5x)\cos(5x).

Exit ticket

Three questions to check you have got it.

  1. Find the coefficient of x3x^3 in the Maclaurin series of e5xe^{ 5x}.
  2. Find the coefficient of x3x^3 in the Maclaurin series of e6xe^{ 6x}.
  3. Find the coefficient of x3x^3 in the Maclaurin series of e4xe^{ 4x}.

Summary card

Known Maclaurin series

exe^x, sin⁡x\sin x (odd), cos⁡x\cos x (even), 11−x\dfrac{1}{1 - x}.

Watch out: signs alternate in sin and cos.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find the coefficient of x5x^5 in the Maclaurin series of sin⁡(4x)\sin(4x).
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits