Taylor Series & Local Approximation
A Taylor polynomial is the unique polynomial that matches a function’s derivatives at a chosen center, and its remainder turns local approximation into a quantitative contract. This chapter derives the coefficients, distinguishes finite approximations from infinite series and asymptotic expansions, and shows how to choose, bound, and evaluate an approximation safely.
Taylor approximation replaces a smooth function near a chosen center by a polynomial whose value, slope, curvature, and higher derivative data agree there. The coefficients are forced by that matching requirement; the real work is deciding how far the approximation is valid and how large the omitted remainder can be. An infinite Taylor series is a separate claim and must not be inferred merely from the existence of every derivative.
Why replace a nonlinear function by a polynomial #
A nonlinear model may be difficult to solve or evaluate repeatedly. Near a known operating point, a Taylor polynomial replaces it with additions and multiplications while the remainder records what accuracy was lost. The replacement is local: moving farther from the center eventually invalidates the promised error.
Deriving the polynomial from derivative matching #
Seek a degree- polynomial centered at :
Demand that it match the first derivatives of at the center:
At , all terms in the derivative of order vanish except the one originally proportional to . That term contributes , so
Therefore the unique matching polynomial is
If , this is a Maclaurin polynomial. Centered form matters: the small parameter is , not necessarily itself.
The first two nontrivial orders have direct geometric meanings:
is the tangent-line model, while
also matches local curvature.
The remainder is the approximation contract #
Define
Taylor’s theorem with the Lagrange remainder says that if has the required derivatives on an interval containing and , then for some between them,
If
throughout that interval, then
The bound has three levers: move the center closer, increase the degree, or prove a tighter derivative bound. The unknown is not normally solved for; it certifies that a bound over the whole interval is sufficient.
Worked approximation with a certified error #
Approximate with the cubic Maclaurin polynomial. Every derivative of is , so
At ,
On , the fourth derivative is at most . Therefore
The actual error is about , consistent with the certificate. A reported decimal without a bound says what a computation produced; the bound says what accuracy the mathematics guarantees.
For a tolerance , choose the smallest for which an available bound satisfies
Because can itself depend on the interval and , this is a proof obligation, not merely a factorial-growth heuristic.
Standard local models and their domains #
Frequently used Maclaurin expansions include
all convergent to their functions for every real . By contrast,
requires , and integrating this identity gives
for , with separate endpoint analysis: it converges at but not at , where the logarithm is singular.
Never use a memorized series without translating to its center and checking its interval. For example,
requires for the real logarithm, and the geometric-series derivation applies when .
Finite polynomial, power series, and function are different objects #
The Taylor polynomial is finite and needs only finitely many derivatives. The formal Taylor series is
Three separate questions follow:
- Does this numerical series converge for the chosen ?
- If it converges, what value does it approach?
- Does that value equal ?
Equality to holds exactly where . Smoothness alone does not guarantee it. A standard counterexample is
This function is infinitely differentiable at zero and every derivative there is zero. Its Taylor series at zero is therefore the zero series, yet for . The function is smooth but not analytic at the center.
Radius of convergence and endpoint work #
For a power series
there is a radius such that it converges absolutely for and diverges for . When , the endpoints and must be tested separately; the radius alone decides neither endpoint.
Inside the open interval of convergence, power series may be differentiated and integrated term by term. This is a theorem about convergence, not a license to manipulate an arbitrary formal series at its endpoints.
For
the ratio test gives , hence candidate interval . At the series becomes alternating harmonic and converges; at it becomes harmonic and diverges. The interval is , while the radius remains .
Taylor and asymptotic expansions are not the same promise #
An asymptotic expansion records progressively smaller scales. As ,
means that after truncation at any fixed , the remainder is smaller than the last retained scale in the prescribed sense. The infinite series need not converge for a fixed nonzero distance from ; some useful asymptotic series eventually become worse if too many terms are retained.
A convergent Taylor series that equals is stronger: its partial sums approach as degree grows for each in its convergence region. Keep the limiting operation explicit:
- local approximation: with fixed degree;
- series convergence: with fixed ;
- asymptotic expansion: a scale parameter tends to its limit, with truncation interpreted term by term.
Conflating these processes is a common source of false error claims.
Choosing a useful approximation #
- Choose a nearby center with easy derivatives. For near , center at , not zero.
- Define the perturbation . Most bookkeeping errors disappear when every term is expressed in .
- State the real domain and interval connecting to . The derivative bound must hold throughout it.
- Select an order based on a tolerance. Do not choose a cubic merely because it is familiar.
- Bound the remainder with a theorem suited to the series. Lagrange and alternating-series bounds answer different situations.
- Evaluate the polynomial stably. Use nested form
to reduce operations and avoid separately forming large powers.
- Compare truncation and roundoff. Increasing degree can reduce analytic error while increasing floating-point work or cancellation.
Taylor approximation is most valuable when it carries its own scope: center, degree, domain, interval, and a defensible remainder. Without those, a polynomial may look plausible while giving no reason to trust it.
Sources
- bookDifferential and Integral Calculus of a Function of One Variable: Lecture Notes and Practicumpdfnotes
- bookOpenStax Calculus Volume 2 — Taylor and Maclaurin Series
- bookOpenStax Calculus Volume 2 — Power Series and Functions
- docsMIT OpenCourseWare 18.01SC — Introduction to Taylor Series
- docsNIST Digital Library of Mathematical Functions, Section 2.1: Definitions and Elementary Properties
- docsMIT 18.100A problem-set solutions — smooth non-analytic function
- bookOpenStax University Physics Volume 1 — Pendulums