Computers cannot directly evaluate or ; they use Taylor series to approximate smooth functions with polynomials built from derivatives.
The Taylor series of about point is:
| Term | What it matches |
|---|---|
| Constant | Value at |
| Linear | Slope at |
| Quadratic | Curvature at |
Truncating this gives a Taylor polynomial that hugs the function near . Setting yields a Maclaurin series, such as .
Accuracy and Pitfalls
To compute efficiently, we replace a hard function by an easy polynomial matching it locally. The linear approximation is the simplest case and underpins numerical algorithms.
| Feature | Taylor Polynomial |
|---|---|
| Best Region | Near |
| Error Behavior | Grows as increases |
Common Pitfall: Expecting a truncated polynomial to work far from . More terms extend the valid region, but finite polynomials remain strictly local approximations.