All AP Courses AP Calculus BCAP Calc BC

Unit 10 · Topic 10.14 · about 30 minutes · 7 parts · 10 scored checks, 2 of them multiple choice, plus 2 from earlier lessons

AP Calculus BC 10.14: Finding Taylor or Maclaurin Series for a Function

Unit 10: 15 to 20% of the multiple-choice section

What you'll be able to do

  • Represent a function as a Taylor series or a Maclaurin series, from its derivatives or by building on a series you already know.
  • Interpret a Taylor or Maclaurin series: its partial sums, its coefficients and the values it adds up to.

Key vocabulary

TermWhat it meansThe exam trap
Taylor seriesThe series ∑n=0∞f(n)(a)n!(x−a)n, built from every derivative of f at one point x=a, called its center.A Taylor series about x=a is written in powers of (x−a), so keep the center in every term unless a=0.
Maclaurin seriesThe Taylor series of a function about x=0.Maclaurin names the center, not a different method: the coefficients are still derivatives at 0 divided by factorials.
Taylor polynomialA partial sum of a Taylor series: the terms through one chosen power of (x−a).A question may ask for a polynomial of a given degree or for a number of nonzero terms, and these are different requests, so read which one it asks.
General termA formula in n that gives each term of a series in turn as n=0,1,2,….Check a general term by putting in the first few values of n and comparing with the terms you already wrote.
Two views of the graph of y = e^x and its tangent line y = 1 + x at the point (0, 1), which is the Taylor polynomial of degree 1 for e^x about x = 0. On the left, for x from -1.5 to 1.5, the curve and the line separate away from (0, 1), with a gap of 0.718 at x = 1. On the right, zoomed in to x from -0.1 to 0.1, they are hard to tell apart, with a gap of 0.005 at x = 0.1.Tap to open the picture full size

Part 1 Think first A polynomial that never stops

Guess before you learn. A wrong guess still makes the answer stick.

Predict first

A calculator chip can only add and multiply, so it handles f(x)=11−x with a polynomial. At x=0, f(0)=1, f′(0)=1, f′′(0)=2 and f′′′(0)=6. In a Taylor polynomial about x=0, the coefficient of xk is f(k)(0)k!. What are the coefficients of 1, x, x2 and x3?

In short. The Taylor series for f about x=a is ∑n=0∞f(n)(a)n!(x−a)n, and the Taylor series about x=0 is called the Maclaurin series.

  • Each Taylor polynomial for f is a partial sum of its Taylor series: the terms through one power of (x−a).
  • The Maclaurin series for 11−x is the geometric series 1+x+x2+x3+⋯, which converges to 11−x when |x|<1.
  • The Maclaurin series for ex, sin⁡x and cos⁡x are the starting point for many others, built by substituting, multiplying and adding.

Part 2 Learn it Taylor series, and the series that build the rest

14a. From Taylor polynomials to a Taylor series

In Topic 10.11 you built Taylor polynomials one degree at a time. Keep adding terms and never stop, and the polynomial becomes a series. The Taylor series for f about x=a is

f(a)+f′(a)(x−a)+f′′(a)2!(x−a)2+⋯=∑n=0∞f(n)(a)n!(x−a)n.

The Taylor series about x=0 is called the Maclaurin series.

A Taylor polynomial is a piece of this series. The Taylor polynomial of degree n is the partial sum of every term through the (x−a)n term. Degree counts the highest power, so a term whose coefficient is 0 still counts as a place, even though nothing is written there.

Think first found the Maclaurin series for 11−x: every coefficient is 1, so it is 1+x+x2+x3+⋯=∑n=0∞xn. That is a geometric series with first term 1 and common ratio x. By Topic 10.2 it converges to 11−x exactly when |x|<1. At x=12, the partial sums are 1, 1.5, 1.75, 1.875, and so on, closing in on 11−0.5=2, as the chart shows.

Partial sums of 1 + x + x^2 + ... at x = 1/2

00.511.52Partial sum0246Highest power n in the partial sum

Each dot adds one more term of the series for 1/(1 - x) at x = 1/2. The sums climb toward 2, the value of 1/(1 - x) there.

Quick check · Multiple choice

No calculator. The Taylor series for a function f about x=2 is ∑n=0∞(−1)n(n+1)3n(x−2)n. Which is the Taylor polynomial of degree 2 for f about x=2?

14b. Three series to know by heart

Three Maclaurin series are the base for most others, so learn them well enough to write without stopping.

For ex, every derivative is ex, and e0=1, so the coefficient of xn is 1n!:

ex=1+x+x22!+x33!+⋯=∑n=0∞xnn!

For sin⁡x, the derivatives at 0 cycle through 0,1,0,−1. Only odd powers survive, and their signs alternate:

sin⁡x=x−x33!+x55!−⋯=∑n=0∞(−1)nx2n+1(2n+1)!

For cos⁡x, the derivatives at 0 cycle through 1,0,−1,0. Only even powers survive:

cos⁡x=1−x22!+x44!−⋯=∑n=0∞(−1)nx2n(2n)!

Each of these three converges to its function for every real x. So you can read a series backward: a sum with the shape of one of them equals that function at the input that was put in. For example, 1+1+12!+13!+⋯ is the series for ex at x=1, so it equals e.

Quick check · Calculate

No calculator. Find the sum of the series 1−π22!+π44!−π66!+⋯.

14c. Build new series from known ones

Most series you need come from the four you know, with no derivatives at all.

Substitute. Replace x with an expression everywhere it appears. Putting −x2 into the series for ex:

e−x2=1+(−x2)+(−x2)22!+(−x2)33!+⋯=1−x2+x42!−x63!+⋯

Keep the parentheses until you simplify, because the power and the sign belong to the whole expression.

Multiply by a constant or a power of x, and every term is multiplied: x2cos⁡x=x2−x42!+x64!−⋯.

Add or subtract two series by collecting like powers of x.

A series built this way is the Maclaurin series of the new function, so each coefficient still equals f(n)(0)n!. That lets you read a derivative off the series. For f(x)=e−x2, the coefficient of x4 is 12!, so f(4)(0)=4!⋅12=12. A power that never appears has coefficient 0, so that derivative at 0 is 0.

Quick check · Match

No calculator. Tap a function, then the first three nonzero terms of its Maclaurin series.

Part 3 Watch it done A series by substitution, then a derivative from it

Watch each step, then do the last one yourself.

Let f(x)=xcos⁡(3x). Find the first four nonzero terms of the Maclaurin series for f, and use them to find f(5)(0).

  1. Step 1 · Start from a series you know

    cos⁡u=1−u22!+u44!−u66!+⋯

  2. Step 2 · Substitute u=3x

    cos⁡(3x)=1−(3x)22!+(3x)44!−(3x)66!+⋯=1−92x2+278x4−8180x6+⋯

  3. Why this step?

    Why does 3x go in parentheses before it is raised to a power?

    The whole input 3x replaces u, so (3x)4=81x4, and 8124=278. Writing 3x4 would raise only x to the fourth power and give the coefficient 324=18, which is wrong.

  4. Step 3 · Multiply every term by x

    xcos⁡(3x)=x−92x3+278x5−8180x7+⋯

  5. Your step · Calculate

    No calculator. Finish it. The Maclaurin series for f(x)=xcos⁡(3x) begins x−92x3+278x5−8180x7+⋯. What is f(5)(0)?

Part 4 Try it Which powers appear, and a limit from a series

Try it · Sort it

No calculator. Sort each function by the powers of x in its Maclaurin series. Tap a card, then a bin.

Even powers only

Odd powers only

Both even and odd powers

Try it · Calculate

No calculator. Use the Maclaurin series for sin⁡x to find limx→0⁡sin⁡(3x)−3xx3.

Part 5 Explain it Write it as a free-response answer

On the exam free response is handwritten, so work this on paper first. Nothing you type here leaves this page. Then open the model answer and score yourself against each point.

Free response is 50% of the exam score. This one is shaped like Question 6, from free-response Part B (calculator not permitted).

Free-response practice · Question 6 style

No calculator. Let f be the function given by f(x)=xsin⁡(x2).

(a) Write the first four nonzero terms and the general term of the Maclaurin series for f.

(b) Use your answer to part (a) to find f(7)(0) and f(8)(0).

(c) Write the Taylor polynomial of degree 8 for f about x=0. Explain how it is related to the series in part (a).

Model answer

(a) sin⁡u=u−u33!+u55!−u77!+⋯. With u=x2, sin⁡(x2)=x2−x63!+x105!−x147!+⋯. Multiplying by x, f(x)=x3−x73!+x115!−x157!+⋯+(−1)nx4n+3(2n+1)!+⋯.

(b) The coefficient of x7 is −13!=f(7)(0)7!, so f(7)(0)=−7!3!=−840. The series has no x8 term, so f(8)(0)8!=0 and f(8)(0)=0.

(c) P8(x)=x3−x76. It is a partial sum of the Maclaurin series: every term through the x8 term. The x8 coefficient is 0, so the last term written is the x7 term.

Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.

Part 6 Check yourself A function known only by its series

The two case questions use the same series. Answer them from the table.

A function f has the Maclaurin series ∑n=0∞(−1)nx2n(n+1)!, which converges to f(x) for every real x. The table lists the first five terms of the series.

The first five terms of the Maclaurin series for f
nTerm
01
1−x22
2x46
3−x624
4x8120

Case question 1 · Multiple choice

No calculator. Which is the Taylor polynomial of degree 4 for f about x=0?

Case question 2 · Decide and justify

No calculator. A classmate says that f(x)=1−e−x2x2 for every x≠0. Is the classmate right?

Which reason supports your answer?

The rest stand on their own and do not use the case.

Check yourself · Spot the error

No calculator. A student finds the first four nonzero terms of the Maclaurin series for g(x)=xe−2x. Tap the first line with a mistake.

Check yourself · Fill the statement

No calculator. Tap a blank, then tap an answer.

The Maclaurin series for 11−x is 1+x+x2+x3+⋯, a series. At x=3 its common ratio is , so the series . The series adds up to 11−x only when .

Part 7 Keep it Bring back earlier ideas

A Taylor series starts from derivatives at one point, and its first two terms are the tangent line. Both come back here.

From 4.6 Approximating Values of a Function Using Local Linearity and Linearization · Calculate

No calculator. A function y=f(x) has f(1)=4, and at every point of its graph the slope is dydx=3x−2y. Use the line tangent to the graph of f at x=1 to approximate f(1.1). Give an exact decimal.

From 2.7 Derivatives of cos x, sin x, eˣ, and ln x · Multiple choice

No calculator. Let f(x)=3ex−5ln⁡x. What is f′(1)?

In three lines

  • The Taylor series for f about x=a is ∑f(n)(a)n!(x−a)n; each Taylor polynomial is a partial sum of it.
  • The Maclaurin series for 11−x is the geometric series ∑xn, which converges to 11−x when |x|<1.
  • From the series for ex, sin⁡x and cos⁡x, substitute, multiply and add to build others, and read f(n)(0) as n! times a coefficient.

Exam strategy for this topic

  • Section I Part A, Multiple Choice (calculator not permitted): 29 questions in 62 minutes.
  • Section I Part B, Multiple Choice (graphing calculator required): 13 questions in 38 minutes.
  • Section II Part A, Free Response (graphing calculator required): 2 questions in 30 minutes.
  • Section II Part B, Free Response (calculator not permitted): 4 questions in 60 minutes.

Show the known series you start from and the substitution, such as (3x)44!, before you simplify. For the first four nonzero terms, skip zero terms; for a Taylor polynomial of degree n, stop at the xn term. Check a general term against your first terms, and get a derivative at the center as n! times its coefficient.

Questions students ask

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

A Taylor polynomial stops after some power of (x−a); the series never stops. Every Taylor polynomial is a partial sum of the Taylor series, so adding more terms moves along the same series.

Do I have to take derivatives to find a Maclaurin series?

Only when no known series fits. For a function built from ex, sin⁡x, cos⁡x or 11−x by substituting, multiplying or adding, building the series from the known one is faster and less likely to go wrong.

Does a Taylor series always equal its function?

Not for every x. The series for 11−x equals 11−x only when |x|<1, while the series for ex, sin⁡x and cos⁡x equal their functions for every real x. Topic 10.13 shows how to find where a power series converges.

Why does the series for sin⁡x have only odd powers?

Its even-order derivatives are ±sin⁡x, which is 0 at x=0, so every even power has coefficient 0. For cos⁡x it is the odd-order derivatives that are 0 at 0.

How do I get a derivative value from a series?

The coefficient of (x−a)n is f(n)(a)n!, so multiply it by n!. A power missing from the series means that derivative at the center is 0.

Course alignment, for teachers

AP Calculus BC topic 10.14, Unit 10: Infinite Sequences and Series.

  • Skill 2.C: Identify a re-expression of mathematical information presented in a given representation.

This lesson maps all 3 essential knowledge statements of the topic to the part that teaches each one: 3 are checked by a scored question. The map is in the lesson file.