Tutorials › AP Calculus › Using Taylor Series to Approximate Function Values
← All AP Calculus Tutorials
AP Calculus AB & BC Intermediate

Using Taylor Series to Approximate Function Values

How to turn a Taylor or Maclaurin polynomial into a numerical approximation of a function value—and how to know whether your approximation is accurate enough.

Why Use a Taylor Polynomial to Approximate a Function?

Some function values are difficult or inconvenient to calculate exactly. For example, evaluating by hand is not especially useful if your goal is a decimal approximation. A Taylor polynomial gives us another approach: replace the complicated function with a polynomial that behaves very similarly near a chosen center.

Polynomials are easy to evaluate. If we can find a Taylor polynomial for a function, we can use that polynomial to estimate the original function at nearby values.

The key idea is simple:

The approximation becomes better as we use more terms—provided the point we're evaluating is within a region where the Taylor series converges to the function.

The Taylor Polynomial

The Taylor polynomial of degree centered at is:

When , this becomes a Maclaurin polynomial:

For approximation problems, you usually do not need to derive the entire polynomial from scratch. Very often, the problem gives you a Taylor polynomial, gives you a known series, or asks you to construct the first few terms.

The Basic Approximation Process

  1. Identify the Taylor polynomial. Determine the center and degree you are supposed to use.
  2. Substitute the target value into the polynomial.
  3. Calculate the resulting number. This is your approximation to the original function.
  4. Check the error requirement. If the problem asks for a certain accuracy, use an error bound to justify the approximation.

Think of the Taylor polynomial as a calculator replacement. Instead of evaluating the original function directly, you evaluate a polynomial that closely imitates it near the center.

Worked Examples

Example 1: Direct Taylor Approximation

Suppose that the degree-3 Maclaurin polynomial for is:

Use this polynomial to approximate .

Step 1: The target value is , so substitute into the polynomial.
Step 2:
Step 3: Evaluate the terms:
Result:

So the Taylor polynomial gives an approximation of 0.877604. The important point is that we never had to evaluate the original cosine function directly.

Example 2: Approximating an Exponential Function

Use the degree-4 Maclaurin polynomial for to approximate .

Step 1: The Maclaurin polynomial for through degree 4 is:
Step 2: Substitute :
Step 3: Evaluate:
Result:

The actual value is approximately 1.648721, so the degree-4 polynomial is already extremely close.

Example 3: Using a Taylor Polynomial Centered Away from Zero

Suppose has the Taylor polynomial centered at :

Use it to approximate .

Step 1: Notice that the polynomial is written in powers of , not simply powers of .
Step 2: Since the target is , we have .
Step 3: Substitute:
Step 4: Simplify:
Result:

How the Degree Affects Accuracy

Suppose you have several Taylor polynomials for the same function:

Higher-degree polynomials contain more information about the function. Near the center, the additional terms generally make the approximation more accurate.

For example, consider the Maclaurin series for :

If we approximate using only , the approximation is:

Adding the next term gives:

The second approximation is much closer because we included more of the series.

Choosing a Good Center

A Taylor polynomial is usually most accurate near its center. If the polynomial is centered at , then it is naturally designed to approximate the function well when is close to .

This is why the center matters so much.

As the distance between and increases, more terms may be needed to obtain the same level of accuracy.

Using a Known Series to Build an Approximation

AP Calculus BC problems often give you a known Taylor series and ask you to manipulate it. You may need to substitute, multiply, differentiate, or integrate a known series before using it for approximation.

For example, start with the Maclaurin series:

To approximate , substitute for :

Therefore, a polynomial approximation can be obtained without calculating a completely new set of derivatives.

Approximation Error

An approximation is useful only if we understand how close it is to the actual value. The error is the difference between the exact function value and the approximation:

For a Taylor polynomial, the error is represented by the remainder:

In many AP Calculus problems, you are not asked to calculate the exact remainder. Instead, you are asked to find an upper bound for the error.

The Lagrange Error Bound

If is the Taylor polynomial of degree centered at , then the Lagrange error bound is:

Here:

The bound tells you that the actual error cannot be larger than the number you calculate.

Worked Error-Bound Example

Example 4: Guaranteeing Accuracy

Suppose you approximate using the degree-3 Maclaurin polynomial. Find an upper bound for the error when .

Step 1: Identify the degree and center: .
Step 2: The fourth derivative is .
Step 3: On the interval from to , we can use as an upper bound for the fourth derivative.
Step 4: Apply the Lagrange error bound:
Result: The error is guaranteed to be less than .

How to Decide How Many Terms You Need

Sometimes the question does not tell you which degree to use. Instead, it asks you to approximate a value within a specified error.

The strategy is:

  1. Start with the Taylor polynomial of a reasonable degree.
  2. Use the Lagrange error bound to estimate the maximum possible error.
  3. If the error bound is too large, increase the degree.
  4. Repeat until the error bound is below the required tolerance.

For example, if the problem says the approximation must be accurate to within , you need to find a degree for which:

Be careful with language. "Within " means the absolute error must be no greater than , not that the answer simply needs to be rounded to a certain number of decimal places.

Common AP Calculus Mistakes

Using the wrong point in the polynomial

If the problem asks you to approximate , you substitute into the Taylor polynomial. Do not substitute the center unless the question specifically asks for the function value at the center.

Forgetting that the polynomial is centered at a

A Taylor polynomial centered at uses powers of . Don't accidentally treat it like a Maclaurin polynomial with powers of .

Confusing the approximation with the error bound

The Taylor polynomial gives the approximation. The Lagrange formula gives an upper bound on the error. They answer different questions.

Using n instead of n + 1 in the error bound

For a degree- Taylor polynomial, the Lagrange error bound uses the derivative. The factorial is also , not .

Assuming a higher degree automatically fixes everything

A higher-degree polynomial generally improves the approximation near the center, but you still need to consider convergence and the distance between the center and the target value. A Taylor polynomial is a local approximation, not automatically a perfect global replacement.

A Reliable AP Exam Strategy

When you see a Taylor-series approximation problem on the AP exam, use this checklist:

  1. Find the center. Look for in the polynomial.
  2. Find the target. Identify the value where the function is being approximated.
  3. Substitute the target into the polynomial.
  4. Calculate the approximation.
  5. Check whether an error bound is required.
  6. If an error bound is needed, use the next derivative. A degree- polynomial requires the derivative in the Lagrange bound.
  7. State what the bound means. For example: "The approximation differs from the actual value by less than..."

Practice Problems

Question 1

Use the degree-4 Maclaurin polynomial for to approximate .

Show answer
Question 2

Use the degree-3 Maclaurin polynomial for to approximate .

Show answer
Question 3

Suppose is the degree-2 Taylor polynomial for centered at . Use it to approximate .

Show answer
Question 4 (Error Bound)

A degree-2 Maclaurin polynomial is used to approximate at . If on the interval, find a Lagrange error bound.

Show answer

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon