Parametric equations
The degree- Taylor polynomial of a function at :
At , and have the same value and the same first derivatives. This page uses , , and . The classical expansions ():
Farther from the center, the higher-degree terms matter more. A finite is only a polynomial approximation. It does not equal along the whole real line.
Interaction
- sin x / cos x / e^x: switch the function and watch how its coefficients are arranged
- Center a: drag the center on the figure and watch the best-fit region move with it
- Degree n: raise and watch settle onto the faint graph of the original function
- Error band: show the gap , close near the center and wide farther away
- Terms: turn on Advanced, then lay out each term and see which degree starts to drive the correction
What to notice
- The Taylor polynomial is most accurate near . Farther from the center, the error at a finite degree usually grows.
- For and , odd and even powers of separate when is a multiple of (only even or only odd powers appear). At other centers both kinds appear. Every derivative of is , so the coefficients decrease in the most regular way.
- Raising improves the local fit, but it does not guarantee that the approximation gets steadily more accurate across the whole window, because a high-degree term can dominate far from the center.
Comments
Comment with a GitHub account.