Taylor's Theorem and Error Bounds
Taylor's Theorem states that a sufficiently differentiable function can be approximated near a point by a polynomial built from its derivatives, with an explicit, controllable error term (the remainder). The key result: , where is the degree- Taylor polynomial and is bounded by the size of the -th derivative. It applies wherever local polynomial approximation, error estimation, or series expansion is needed — numerical analysis, physics, engineering. Named for Brook Taylor (1715), with the remainder forms due to Lagrange, Cauchy, and Schlömilch (18th–19th c.).Taylor's Theorem is the rigorous foundation for approximating functions by polynomials. Given a function that is times differentiable on an interval containing a base point , the theorem guarantees that equals its -th degree Taylor polynomial plus a remainder whose exact form is given explicitly (Lagrange, Cauchy, or integral). This matters because it converts the vague idea "smooth functions look like polynomials nearby" into a precise inequality: it tells you how good the approximation is and how fast the error shrinks as . The surprising fact is that even a function having a complete Taylor series at every point need not equal that series anywhere except at the base point — smoothness alone does not guarantee a function is recoverable from its derivatives.
The Core Insight
The value, slope, curvature, and all higher derivatives of at a single point encode enough information to reconstruct approximately throughout a neighborhood. Matching the first derivatives at forces the approximating polynomial to "hug" the curve, and the leftover error is governed entirely by the next derivative — the one we did not match. The remainder is not a vague fudge factor; it is a genuine equality of the form for some unknown between and .
Formal Statement
Taylor Polynomial
Let be times differentiable at . The Taylor polynomial of degree of centered at is
Here is the -th derivative of at , is the factorial, and measures displacement from the base point . When this is called the Maclaurin polynomial. The remainder is defined by .
Taylor's Theorem with Lagrange Remainder
Let (or ) be such that are continuous on the closed interval and exists on the open interval. Then there exists a point strictly between and such that
The final term is the Lagrange form of the remainder, .
Other Forms of the Remainder
For continuous, the integral (exact) form is
The Cauchy form (for some , with ) is
Peano Remainder — Qualitative Form
If only exists (no -th derivative required), then
meaning . This is the weakest, purely local statement and underlies asymptotic analysis.
Why It Holds / Derivation
Lagrange Remainder via Auxiliary Function
Goal: Find between and with . Fix and treat (renamed ) as the variable.- Define an auxiliary function. For in the closed interval, set
- Differentiate . Each term's derivative telescopes by the product rule:
- Define a comparison function. Let , so , , and .
- Apply Cauchy's Mean Value Theorem to and on : there is between and with
- Substitute the endpoint values. The left side is . The right side simplifies:
- Conclude. Equating both sides gives the Lagrange remainder.
Brook Taylor | 1685–1731
An English mathematician and member of the Royal Society, Taylor published the formula bearing his name in his 1715 treatise Methodus Incrementorum Directa et Inversa. He derived it as a limit of Newton's interpolation formula and used it to study vibrating strings and the motion of projectiles — though without any notion of convergence or remainder. The crucial error term came a generation later from Joseph-Louis Lagrange (1797), and the rigorous treatment with explicit remainders is largely the work of Cauchy in the 1820s. Taylor also founded the mathematical theory of linear perspective and contributed to the calculus of finite differences.
Building Intuition
Think of building an approximation one derivative at a time. Start with a flat horizontal line at height — it gets the value right but ignores slope. Add a tilt — now the tangent line matches direction. Add curvature — now you bend the right way. Each new term corrects the highest unmatched derivative, and the error you have left is dominated by the first derivative you stopped matching, scaled by . Two forces fight in the remainder: the factorial in the denominator crushes the error (it grows astronomically), while explodes if . Near the base point, the factorial wins decisively, which is why Taylor polynomials are local tools — superb close to , often useless far away.
Degree-1, -2, and -3 Taylor approximations of a curve at base point $a$, with the error (remainder) shown as the vertical gap.
Worked Examples
Estimating $e^{0.1}$ with a Maclaurin Polynomial
Given: Approximate using the degree-2 Maclaurin polynomial of , and bound the error. Setup. Here , . Since , all derivatives at equal :How Many Terms for $\sin(0.5)$ to $10^{-6}$?
Given: Find the degree of the Maclaurin polynomial of needed to compute with error below . Setup. For , every derivative satisfies . The Lagrange bound is| | | |---|---| | 4 | | | 6 | | | 8 | |
So , i.e. , gives error . (Because has only odd-power terms, this means using terms up to .)
Compute.Common Misconceptions
"Infinitely differentiable" does NOT imply "equals its Taylor series." Many students assume that if all derivatives exist, the Taylor series converges to the function. Convergence of the series and the series summing to are separate questions — the remainder must tend to as , and this can fail even when the series converges to a different value. Also beware: the point in the Lagrange remainder is unknown — you do not get to choose it. You can only bound over the whole interval to get a usable error estimate.A Smooth Function Whose Taylor Series Is Useless
Consider
Connections
Taylor's Theorem sits at the junction of several core ideas. It generalizes the Mean Value Theorem — indeed the case of equation [2] is the Mean Value Theorem . Letting leads to Taylor Series and the theory of Power Series, where the radius of convergence governs validity. The integral remainder [3] is a direct consequence of Integration by Parts and the Fundamental Theorem of Calculus. In several variables it generalizes to expansions involving the Hessian Matrix and higher tensors, foundational to Optimization. The Peano form [5] is the bridge to Asymptotic Expansions and the theory of Big-O Notation used throughout numerical analysis.
Real-World Applications
- Numerical integration (Simpson's & trapezoidal rules): Error terms like for Simpson's rule come directly from Taylor expansion of the integrand.
- Newton's method for root-finding: Quadratic convergence is proved by expanding to second order around the root and bounding the remainder.
- Physics — small-oscillation / harmonic approximation: Expanding a potential to second order about equilibrium yields , the simple harmonic oscillator.
- Special relativity: The kinetic energy expanded for small recovers plus relativistic corrections of order .
- Computer math libraries (CORDIC, glibc): Functions like , , are evaluated via Taylor/Chebyshev polynomials with rigorously bounded remainders to guarantee last-bit accuracy.
- Finite-difference methods in PDE solvers: Truncation error of schemes (e.g. central differences) is read off from Taylor remainders.
- Engineering linearization: Control systems and circuit analysis linearize nonlinear devices around an operating point using the first-order Taylor term, with the remainder quantifying distortion.
Historical Development
- 1671 — James Gregory discovers special cases of Taylor series (for , , ) decades before Taylor, unpublished in full.
- 1715 — Brook Taylor publishes the general formula in Methodus Incrementorum, derived via finite differences, with no remainder or convergence theory.
- 1742 — Colin Maclaurin popularizes the special case in his Treatise of Fluxions; the name "Maclaurin series" sticks despite his crediting Taylor.
- 1772 — Lagrange begins promoting Taylor expansions as the foundation of calculus, hoping to eliminate limits and infinitesimals.
- 1797 — Lagrange introduces the explicit remainder term in Théorie des fonctions analytiques, giving the Lagrange form.
- 1821 — Augustin-Louis Cauchy, in Cours d'analyse and later works, supplies rigorous definitions of limits, derives the Cauchy form of the remainder, and exposes that the series need not equal the function.
- 1823 — Cauchy publishes the counterexample, demolishing Lagrange's program of founding calculus on Taylor series alone.
- 1880s — Oskar Schlömilch & Roché give the general (parametrized) remainder form unifying the Lagrange and Cauchy versions.
- 20th c. — Giuseppe Peano formalizes the qualitative remainder, central to modern asymptotic analysis.
Subtleties & Limits
The boundary between "has a Taylor series" and "equals its Taylor series" defines the class of real-analytic functions, and characterizing this class intrinsically is subtle. A deep result (Pringsheim, Borel) shows that for any prescribed sequence of real numbers — no matter how wildly it grows — there exists a function with (Borel's theorem). Thus the Taylor coefficients place essentially no constraint on a smooth function. Quantifying how a smooth-but-non-analytic function's remainder behaves leads to the theory of Gevrey classes and quasi-analytic functions (Denjoy–Carleman theorem), which gives sharp conditions on the growth of guaranteeing that a function is determined by its derivatives at a point. These questions remain active in PDE regularity theory and the study of divergent asymptotic series, where optimal truncation ("superasymptotics") squeezes useful accuracy out of series that never converge.