01 / 20

Taylor Polynomial
Approximations

Learn how to approximate any function using polynomials built from derivatives at a single point: one of the most powerful tools in calculus.

AP Calculus

What Is a Taylor Polynomial?

A Taylor polynomial is a polynomial that approximates a function \( f(x) \) near a specific point \( x = a \). It is constructed so that the polynomial and the function share the same value and same derivatives at that point, up to a chosen degree \( n \).

Visual Intuition: Zooming In

Why Do Taylor Polynomials Matter?

Computation
Calculators use Taylor polynomials to evaluate \( \sin x \), \( e^x \), \( \ln x \), and other transcendental functions.
Physics
Many physical models use small-angle or linearized approximations, which are Taylor polynomials of degree 1.
Error Bounds
The Taylor remainder theorem lets you guarantee how close the approximation is, providing rigorous error control.

The General Formula

$$ P_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}\,(x - a)^k $$

Each term matches one more derivative of \( f \) at \( x = a \). The center \( a \) is the point around which we build the polynomial. When \( a = 0 \), the polynomial is called a Maclaurin polynomial.

Anatomy of Each Term

1
\( f^{(k)}(a) \): the \( k \)-th derivative of \( f \) evaluated at the center \( a \).
2
\( k! \): factorial in the denominator normalizes the coefficient so each derivative matches exactly.
3
\( (x - a)^k \): ensures the polynomial is centered at \( a \) and each term vanishes at \( x = a \) (except the constant).

Taylor vs. Maclaurin

Taylor Polynomial Maclaurin Polynomial
Center Any point \( a \) \( a = 0 \) only
Formula \( \sum \frac{f^{(k)}(a)}{k!}(x-a)^k \) \( \sum \frac{f^{(k)}(0)}{k!}\,x^k \)
When to use Approximating near any chosen \( a \) Approximating near \( x = 0 \)
Example \( \ln x \) centered at \( a = 1 \) \( e^x \) centered at \( a = 0 \)

How to Build a Taylor Polynomial

1
Choose the function and center. Identify \( f(x) \) and the point \( a \) where you want to approximate.
2
Choose the degree \( n \). More terms = better accuracy but more work.
3
Compute derivatives. Find \( f(a), f'(a), f''(a), \ldots, f^{(n)}(a) \).
4
Plug into the formula. Build \( P_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x-a)^k \).
5
Simplify. Combine like terms if possible and write the final polynomial.

Example 1: \( e^x \) about \( a = 0 \)

Since every derivative of \( e^x \) is \( e^x \), and \( e^0 = 1 \), every coefficient is \( \frac{1}{k!} \):

$$ P_4(x) = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \frac{x^4}{4!} = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \frac{x^4}{24} $$

Example 2: \( \sin x \) about \( a = 0 \)

The derivatives of \( \sin x \) cycle: \( \sin, \cos, -\sin, -\cos, \ldots \). At \( x = 0 \): values cycle \( 0, 1, 0, -1, \ldots \). Only odd-degree terms survive:

$$ P_5(x) = x - \frac{x^3}{3!} + \frac{x^5}{5!} = x - \frac{x^3}{6} + \frac{x^5}{120} $$

Example 3: \( \ln x \) about \( a = 1 \)

Here the center is \( a = 1 \), not 0. The derivatives of \( \ln x \) at \( x = 1 \) are: \( f(1) = 0 \), \( f'(1) = 1 \), \( f''(1) = -1 \), \( f'''(1) = 2 \), \( f^{(4)}(1) = -6 \).

$$ P_4(x) = (x-1) - \frac{(x-1)^2}{2} + \frac{(x-1)^3}{3} - \frac{(x-1)^4}{4} $$

The Remainder Term

The Taylor remainder (Lagrange form) tells us the maximum error when using \( P_n(x) \) instead of \( f(x) \):

$$ R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1} $$

for some \( c \) between \( a \) and \( x \). To bound the error, find the maximum of \( |f^{(n+1)}(c)| \) on the interval.

Key Series to Memorize

Function Maclaurin Series Converges for
\( e^x \) \( \sum_{k=0}^{\infty} \frac{x^k}{k!} \) All \( x \)
\( \sin x \) \( \sum_{k=0}^{\infty} \frac{(-1)^k x^{2k+1}}{(2k+1)!} \) All \( x \)
\( \cos x \) \( \sum_{k=0}^{\infty} \frac{(-1)^k x^{2k}}{(2k)!} \) All \( x \)
\( \frac{1}{1-x} \) \( \sum_{k=0}^{\infty} x^k \) \( |x| < 1 \)
\( \ln(1+x) \) \( \sum_{k=1}^{\infty} \frac{(-1)^{k+1} x^k}{k} \) \( -1 < x \leq 1 \)

How Degree Affects Accuracy

Common Mistakes to Avoid

✕ Forgetting the Factorial
Each term has \( k! \) in the denominator. Writing \( f''(a)(x-a)^2 \) instead of \( \frac{f''(a)}{2!}(x-a)^2 \) gives the wrong coefficient.
✕ Wrong Center
If \( a = 1 \), the terms use \( (x-1)^k \), not \( x^k \). Using the wrong base shifts the entire polynomial.
✕ Evaluating Derivatives at \( x \) Instead of \( a \)
Derivatives must be evaluated at the center \( a \), not at a general \( x \). The coefficients are constants, not functions of \( x \).

Question 1 of 5

What is the third-degree Maclaurin polynomial for \( e^x \)?

Question 2 of 5

The second-degree Taylor polynomial of \( \sin x \) centered at \( a = 0 \) is:

Question 3 of 5

What is the coefficient of \( (x-1)^3 \) in the Taylor polynomial of \( \ln x \) centered at \( a = 1 \)?

Question 4 of 5

Using the Lagrange remainder, the error \( |R_n(x)| \) when approximating \( f(x) \) by \( P_n(x) \) is bounded by:

Question 5 of 5

The fourth-degree Maclaurin polynomial for \( \cos x \) is: