For sufficiently differentiable on the interval between and , Taylor's theorem with its first terms reads
where lies between and . This is the Taylor theorem with Lagrange remainder. For example, on that interval gives . The finite formula does not assume that an infinite Taylor series converges to the function; that further conclusion requires the remainders to tend to zero.
Taylor's theorem gives a finite Taylor polynomial of degree , consisting of the first terms, and a remainder:
In the Taylor theorem with Lagrange remainder form, assuming the required derivatives exist on an interval containing and ,
for some strictly between and when ; at the remainder is zero. In particular, if on that segment, then . This is a finite expansion; it does not assume equality with an infinite Taylor series.
For and , the explicit midpoint method multiplies the current value by . Starting from one, induction gives
Let and . The Taylor theorem with Lagrange remainder for the exponential function gives
The difference of powers identity gives . Every summand lies between one and . Since , the global error therefore satisfies
The same inequalities hold at , where the error vanishes. At the fixed endpoint , the lower bound prevents any higher order of a numerical method, while the upper bound is . Thus the convergence order is exactly two.
Second-order pointwise bias bound for kernel density estimation Created 2026-10-05 Updated 2026-10-06
Let a nonnegative kernel for density estimation have integral one, zero first moment and finite second moment . If a probability density function has bounded second derivative, its kernel density estimator has pointwise bias at most . Apply the Taylor theorem with Lagrange remainder to and integrate: the first-order term vanishes and the remainder is bounded by . For , .
Taylor polynomial Created 2026-09-24 Updated 2026-10-14
A Taylor polynomial replaces a function near a chosen point by a polynomial with matching derivatives. If has derivatives through order at , define
The factorial denominator makes for . This determines a unique polynomial of degree of a polynomial at most . Order zero matches the value, order one also matches the tangent line, and order two also incorporates the second derivative. Matching more local information is useful because polynomials are easy to evaluate, differentiate, and integrate. The distinction between the finite Taylor polynomial and the infinite Taylor series is developed in OpenStax, Taylor and Maclaurin series.
For a computed example, let and expand at zero. Its first three derivatives give
At , the linear approximation is and the quadratic approximation is , compared with . The quadratic correction captures the downward bending of the square root and reduces the absolute difference from about to .
Figure 1.
Matching more derivatives improves a local square-root approximation, and the third derivative supplies an error bound
. Details.
The Taylor remainder turns this convenient approximation into a controlled calculation. On , is positive and at most . The Taylor theorem with Lagrange remainder therefore gives
Consequently follows without using the displayed decimal evaluation as evidence. The Taylor polynomial and the Taylor remainder play different roles: the former supplies an answer that is easy to compute, while the latter specifies what accuracy is justified. Farther from the expansion point, the same low-degree polynomial need not remain accurate.
Suppose a probability density function and its third derivative are bounded. A square-integrable unit-integral kernel for density estimation with first two moments zero and has bias of a kernel density estimator at most , by Taylor theorem with Lagrange remainder and moment cancellation. Independence gives variance at most . The Cauchy-Schwarz inequality bounds the expected centred absolute deviation by the square root of this variance. Adding the bias proves the inequality uniformly in . The choice gives expected absolute error .