Optimization and Taylor Approximation
A tangent predicts a nearby value, but can you bound the error or improve the prediction? This chapter builds Taylor polynomials and uses curvature to classify scalar critical points.
- Taylor approximation: A polynomial approximation built from derivatives at a chosen point.
Add the curvature term
If has continuous derivatives on an interval containing and , Taylor's theorem gives
where bounds on that interval. The bound depends on the interval and smoothness; it is not an automatic property of any fitted polynomial.
For at zero, the quadratic prediction at is . On , use to get an error at most . The actual error is about .
Classify a critical point
If and , the quadratic term gives a strict local minimum. A negative second derivative gives a strict local maximum. If , the test is inconclusive: , , and have different behavior at zero despite identical first two derivatives there.
For , the stationary point is a strict global minimum. On a compact interval compare all interior candidates with endpoints. On an unbounded domain, a local test alone cannot establish a global optimum.
Separate finite polynomials from infinite series
A Taylor polynomial is a finite local approximation with a remainder. A Taylor series is an infinite sequence of such approximations; whether it converges to the function needs a further argument. A smooth function need not equal its Taylor series. That distinction returns in the series chapters.
Basic practice
Prepare
Reuse the tangent remainder table. Prepare q(x) = (x - 1)² + 1 and the quadratic Taylor model for e^x at zero.
Record assumed inputs, predictions, and exact calculations separately. If you use software, label rounded outputs; no physical measurement is implied.
Predict
Will a zero second derivative decide whether a stationary point is an extremum?
Execute
- Compute the quadratic Taylor prediction for e^0.1 and its stated error bound.
- Minimize q on [0, 3] by comparing the critical point and endpoints.
- Compare x⁴, -x⁴, and x³ near zero.
Observe and record
| Case or quantity | Prediction | Exact result or argument | Error or software check |
|---|---|---|---|
| e^0.1: prediction and bound | |||
| q: candidate and endpoint values | |||
| Zero-curvature examples |
Check after working: The prediction is 1.105 with error below 0.000185. The q values at 0, 1, 3 are 2, 1, 5. The final three examples give a minimum, maximum, and neither.
Optional extension
Use a cubic Taylor polynomial for e^0.1 and compare its guaranteed error with the quadratic bound.
Keep and continue
Keep Taylor bounds and the scalar curvature test. Next, solve an equation by repeatedly correcting a local linear model.
Previous: What Derivatives Tell You
Next: Newton’s Method