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.
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?
The General Formula
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
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
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!} \):
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:
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 \).
The Remainder Term
The Taylor remainder (Lagrange form) tells us the maximum error when using \( P_n(x) \) instead of \( f(x) \):
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
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: