Taylor Polynomials and Remainders
Approximate a smooth function near a center and justify accuracy using an explicit remainder bound.
Builds on Differentiating and Integrating Power Series
The bigger question: How can a polynomial stand in for a complicated function?
On this page
Match derivatives at a center
The degree- Taylor polynomial of about is
It matches the function and its first derivatives at the center. Centering at zero gives a Maclaurin polynomial. Matching derivatives is a local construction; to control the error away from the center, a remainder theorem is needed.
If has the required continuous derivatives between and , and there, Taylor's theorem gives
Worked example: exponential approximation
Every derivative of at zero is , so . At , this gives . On , the fourth derivative is at most ; the error is at most .
The exact error is smaller than this bound. A bound is a guarantee, not an estimate that must equal the observed discrepancy. Moving farther from the center usually needs more terms for comparable accuracy.
Explore
Try this. Start at degree 1 and x = 2, then increase the degree. Move the probe to 0: every polynomial agrees there. Compare the error at −2 and 2.
Compare the polynomial with on . Change both the degree and the probe point. The readout measures actual error at the probe; it is not the Taylor-theorem upper bound.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
Each coefficient is a derivative at zero divided by a factorial.
Hint 2 · Take the next step
All derivatives of eˣ at zero equal 1, and 2!=2.
Show the reasoning
Answer: 1+x+x²/2
The degree-two approximation is 1+x+x²/2; an error estimate requires the remainder.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Worked example: sine and a warning
For sine, . Since the fourth derivative has magnitude at most , the degree-three remainder is bounded by . Using the degree-four Taylor polynomial, whose fourth-degree coefficient is zero, improves the bound to .
An infinitely differentiable function need not equal its Taylor series. The function for , with , has all derivatives zero at zero but is positive elsewhere. Equality with an infinite Taylor series requires the remainder to tend to zero.
Practice
- Find for centered at zero.
- Find the linear Taylor polynomial of centered at .
- Bound the error of for at using the degree-three polynomial.
Show worked solutions
- .
- , since and .
- The cubic coefficient is zero and the fourth derivative is bounded by , so error is at most .
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.