All AP Courses AP Calculus BCAP Calc BC

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

AP Calculus BC 10.11: Finding Taylor Polynomial Approximations of Functions

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

What you'll be able to do

  • Write the Taylor polynomial of a given degree for a function centered at x=a, from a formula for the function or from its derivatives at a, using the coefficient f(n)(a)n!.
  • Use a Taylor polynomial to approximate a value of a function near the center, and explain why a higher degree often gives a closer approximation there.

Key vocabulary

TermWhat it meansThe exam trap
Taylor polynomialFor a function f and a center x=a, the polynomial ∑k=0nf(k)(a)k!(x−a)k, whose value and first n derivatives at a equal those of f.Every term depends on the center; changing the center changes every coefficient, not only the first.
CenterThe input x=a at which a Taylor polynomial is built, also called the point it is centered at or about.The center shows up inside every power as (x−a), so read its sign carefully when a is negative.
DegreeFor a Taylor polynomial Pn, the n of its highest power (x−a)n, as this lesson counts it.Some coefficients can be 0, so the count of nonzero terms is not always the degree plus 1.
Maclaurin polynomialA Taylor polynomial centered at x=0.It is still a Taylor polynomial; the same coefficient formula applies with a=0.
Two views of the graph of y = e^x and its tangent line y = 1 + x at the point (0, 1). 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
From Topic 4.6: the tangent line to y=ex at x=0. That line is the Taylor polynomial of degree 1 for ex about x=0, and this lesson adds higher-degree terms to it.

Part 1 Think first Which formula would a game engine use?

Make a guess before the lesson starts. Committing to an answer, even a wrong one, helps the right one stick.

Predict first

An old game console can only add and multiply, so its programmers replace cos⁡x for small angles x (in radians) with a polynomial. They try two. P(x)=1 has the same value as cos⁡x at x=0. Q(x)=1−x22 has the same value, the same slope and the same second derivative as cos⁡x at x=0. At x=0.3, which one is closer to cos⁡0.3?

In short. A Taylor polynomial for f centered at x=a is the polynomial whose value and first n derivatives at a match those of f, and it is used to approximate f near a.

  • The coefficient of (x−a)n is f(n)(a)n!; the factorial undoes what n derivatives of (x−a)n multiply in.
  • The degree 1 Taylor polynomial is the tangent line, so a Taylor polynomial extends the local linear approximation.
  • Near a, the values of a Taylor polynomial approximate f, and in many cases raising the degree brings the polynomial closer to f over some interval around a.

Part 2 Learn it Polynomials that copy a function at a point

11a. Match the derivatives at the center

In Topic 4.6 the tangent line f(a)+f′(a)(x−a) matched a function's value and slope at x=a. A Taylor polynomial keeps going: it matches the second derivative, the third, and so on. The Taylor polynomial of degree n for f centered at x=a (also said "about x=a") is

Pn(x)=f(a)+f′(a)(x−a)+f′′(a)2!(x−a)2+⋯+f(n)(a)n!(x−a)n.

So the coefficient of the nth degree term is f(n)(a)n!. This lesson calls Pn "degree n" because it runs through the (x−a)n term, even if that coefficient happens to be 0.

Why the factorial? Differentiate (x−a)3 three times and you get 3⋅2⋅1=3!. Dividing by 3! cancels that, so the third derivative of P3 at a comes out to exactly f′′′(a).

Example, f(x)=ln⁡x about x=1. The derivatives are 1x, −1x2, 2x3, so at 1 the values are f=0, f′=1, f′′=−1, f′′′=2. Divide each by its factorial:

P3(x)=(x−1)−12(x−1)2+13(x−1)3.

Quick check · Calculate

No calculator. A function f has derivatives of all orders, and f(4)(−1)=48. What is the coefficient of (x+1)4 in the Taylor polynomial of degree 4 for f centered at x=−1?

11b. Build one from a formula

When you are given a formula for f, the work is a short table: differentiate, evaluate at the center, divide by the factorial.

Take f(x)=1x centered at x=2, degree 2. The table below does the three steps for each k from 0 to 2.

Building P_2 for f(x) = 1/x about x = 2
kf(k)(x)f(k)(2)Coefficient f(k)(2)k!
0x−11212
1−x−2−14−14
22x−31418

So P2(x)=12−14(x−2)+18(x−2)2.

Two habits keep this clean. Evaluate each derivative at the center before you divide, and keep the powers as powers of (x−2). Do not multiply them out: the form with (x−a) shows the center, and it is the form the coefficient formula gives.

Quick check · Multiple choice

No calculator. Which is the Taylor polynomial of degree 2 for f(x)=x centered at x=9?

11c. Approximate near the center

A Taylor polynomial is built to agree with f at the center, so its values approximate f near the center. For f(x)=1x above, P2(2.1)=12−14(0.1)+18(0.01)=0.47625, and 12.1=0.47619…, a miss of about 0.00006.

What happens as the degree goes up? The table uses the Taylor polynomials for ln⁡x about x=1 from the first part, at two inputs.

Taylor polynomials for ln x about x = 1
Degree nPn(1.5)Miss at 1.5Pn(2.5)Miss at 2.5
10.50.09451.50.5837
20.3750.03050.3750.5413
30.41670.01121.50.5837
40.4010.00440.23440.6819
50.40730.00181.75310.8368
60.40470.0008-0.14531.0616

At 1.5, each added degree cuts the miss, and the values close in on ln⁡1.5≈0.4055. At 2.5 they jump around and get worse. That is the pattern in many cases: as the degree increases, the polynomial approaches the function over some interval around the center, and outside that interval more terms need not help. A higher degree is not a promise at every input.

Quick check · Decide and justify

No calculator. For f(x)=11−x, the Taylor polynomial of degree n centered at x=0 is Pn(x)=1+x+x2+⋯+xn. A classmate says, "P8 matches more derivatives of f at 0 than P2 does, so P8(2) is closer to f(2) than P2(2) is." Is the classmate right?

Which reason supports your answer?

Part 3 Watch it done From a table of derivatives to an estimate

Watch each step, then finish the last one yourself.

A function h has derivatives of all orders, with h(2)=3, h′(2)=−2, h′′(2)=5 and h′′′(2)=12. Write the Taylor polynomial of degree 3 for h centered at x=2, and use it to approximate h(1.9).

  1. Step 1 · Find each coefficient

    Divide each derivative by its factorial: 30!=3, −21!=−2, 52!=52, 123!=2.

  2. Step 2 · Write the polynomial

    P3(x)=3−2(x−2)+52(x−2)2+2(x−2)3.

  3. Step 3 · Set up the estimate

    At x=1.9, x−2=−0.1. So h(1.9)≈P3(1.9)=3−2(−0.1)+52(−0.1)2+2(−0.1)3.

  4. Why this step?

    Why is P3(1.9) a reasonable estimate of h(1.9), when all we know about h is what happens at x=2?

    The polynomial has the same value and the same first three derivatives as h at 2, so near 2 it rises, bends and changes its bending the way h does. 1.9 is only 0.1 from the center.

  5. Your step · Calculate

    No calculator. Finish it. Evaluate P3(1.9)=3−2(−0.1)+52(−0.1)2+2(−0.1)3 to approximate h(1.9). Give an exact decimal.

Part 4 Try it Build, then match

Try it · Calculate

No calculator. Use the Taylor polynomial of degree 2 for f(x)=ln⁡(1+3x) centered at x=0 to approximate ln⁡1.3. Give an exact decimal.

Try it · Match

No calculator. Each function has the Taylor polynomial of degree 2 centered at x=0 shown on the right. Tap a function, then its polynomial.

Part 5 Explain it Answer it as a free-response question

Free response is handwritten on the exam, so work this one on paper first. Nothing you type here leaves the 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. A function f has derivatives of all orders for all real numbers, with f(0)=2, f′(0)=−3, f′′(0)=4, f′′′(0)=−12 and f(4)(0)=72.

(a) Write the third-degree Taylor polynomial for f about x=0.

(b) Use the polynomial from part (a) to approximate f(0.2).

(c) Write the fourth-degree Taylor polynomial for f about x=0, and use it to approximate f(0.2).

Model answer

(a) P3(x)=2−3x+42!x2+−123!x3=2−3x+2x2−2x3.

(b) f(0.2)≈P3(0.2)=2−3(0.2)+2(0.2)2−2(0.2)3=2−0.6+0.08−0.016=1.464.

(c) The new coefficient is 724!=3, so P4(x)=2−3x+2x2−2x3+3x4, and f(0.2)≈P4(0.2)=1.464+3(0.2)4=1.464+0.0048=1.4688.

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

Part 6 Check yourself A cooling cup of coffee

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

A cup of coffee cools on a desk. Its temperature is T(t) degrees Celsius, t minutes after it is poured, and T has derivatives of all orders. The table gives T and its first three derivatives at t=0.

The coffee at t = 0
T(0)T′(0)T′′(0)T′′′(0)
60−81.5−0.3

Case question 1 · Calculate

No calculator. Use the Taylor polynomial of degree 3 for T centered at t=0 to approximate the temperature of the coffee, in degrees Celsius, at t=2.

Case question 2 · Multiple choice

No calculator. Which is the Taylor polynomial of degree 2 for T′, the rate at which the coffee's temperature changes, centered at t=0?

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

Check yourself · Spot the error

No calculator. A student writes the Taylor polynomial of degree 2 for f(x)=1x centered at x=4 and uses it to approximate f(4.4). Tap the first line with a mistake.

Check yourself · Fill the statement

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

The Taylor polynomial of degree 3 for g centered at x=3 is P(x)=5−2(x−3)+4(x−3)2−12(x−3)3. So g(3)= , g′′(3)= , and g′′′(3)= .

Part 7 Keep it Bring back earlier ideas

A Taylor polynomial of degree 1 is the tangent line from Topic 4.6, and the last lesson's error bound is a first tool for saying how good an approximation is. Pulling them back up is what makes them last.

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

No calculator. The number of fish in a lake t years after it was stocked is P(t). The population changes at the rate dPdt=0.3P(1−P500) fish per year, and P(0)=100. Use the line tangent to the graph of P at t=0 to estimate the number of fish half a year after stocking.

From 10.10 Alternating Series Error Bound · Calculate

No calculator. The series ∑n=1∞(−1)n+11n3 passes the alternating series test. What is the least number of terms whose sum the alternating series error bound guarantees is within 0.0001 of the sum of the series?

In three lines

  • The Taylor polynomial of degree n for f about x=a has coefficients f(k)(a)k! on powers of (x−a).
  • Its values approximate f near a; to estimate f(b), put b−a into each power.
  • In many cases a higher degree approaches the function over some interval around the center, but not at every input.

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 coefficients with their factorials before you simplify, as in f′′(a)2!(x−a)2, and keep the powers as powers of (x−a). When you approximate, write the polynomial evaluated at the input, then the number. If a question gives derivative values in a table, each one becomes one coefficient; if it gives a formula, make your own table of derivatives at the center first.

Questions students ask

Is the tangent line a Taylor polynomial?

Yes. The degree 1 Taylor polynomial f(a)+f′(a)(x−a) is exactly the tangent line at x=a. Higher degrees add terms that match how the graph bends.

Why divide by n! and not by n?

Differentiating (x−a)n n times gives n(n−1)⋯1=n!. Dividing by n! makes the polynomial's nth derivative at a equal f(n)(a).

Should I multiply out the powers of (x−a)?

No. The form in powers of (x−a) shows the center and is how the coefficients are defined. Multiplying out mixes the terms and makes the coefficients hard to read.

Does a higher degree always give a better approximation?

Not always. Near the center it often does, and in many cases the polynomials approach the function over some interval as the degree increases. Outside that interval, as with ln⁡x about 1 at x=2.5, more terms can make the approximation worse.

What if a derivative at the center is 0?

Then that coefficient is 0 and the term is missing. The polynomial is still called degree n if it is built through the (x−a)n term.

Course alignment, for teachers

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

  • Skill 2.C: Identify a re-expression of mathematical information presented in a given representation.
  • Skill 3.D: Apply an appropriate mathematical definition, theorem, or test.

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.