For , the one-panel trapezoidal rule is
It integrates the linear interpolation between the two endpoint samples. Indeed the affine function
has definite integral . The two quadrature nodes are and both quadrature weights are .
It suffices to assume . The polynomial interpolation error for the endpoint linear interpolant gives, for every interior , some with
Let , which exists by continuity of the second derivative and the extreme value theorem. Since ,
Integrating this pointwise inequality and using the triangle inequality for an integral yields
Thus
This derivation does not require choosing as a continuous function of ; the pointwise upper bound is sufficient.
The constant is sharp. Take the quadratic polynomial and write . Its exact integral is , its trapezoidal rule value is , and . Consequently
Equality holds, so no smaller universal constant than works under these assumptions. This is the sharp one-panel trapezoidal error bound.
The trapezoidal rule is exact for every affine function , equivalently every polynomial of polynomial degree at most one: the linear interpolant is the function itself. These functions have , so the preceding upper bound is also zero. There is no contradiction: zero error is precisely what the bound predicts.
The degree of precision of a quadrature rule is one, since the quadratic polynomial in part (i) is not integrated exactly. This does not exclude exactness for particular higher-degree or nonpolynomial functions. For example , , has zero integral and opposite endpoint values, so the trapezoidal rule also gives zero. Its second derivative is generally nonzero, making the upper bound positive; an upper bound need not be attained. Signed quadrature error can cancel.
On a partition of an interval , apply the trapezoidal rule separately to each panel and add:
For uniform spacing , this composite trapezoidal rule becomes
Each interior sample occurs in two panels; their half-quadrature weights combine to . The endpoint quadrature weights are .
Use the nonpolynomial function on . Its exact integral is
because the sine is an odd function.
For every uniform partition of an interval with panels, the quadrature nodes satisfy . Their composite trapezoidal rule quadrature weights agree, so the two sampled sine values cancel. If there is a node at zero its sine value is already zero. The constant term is integrated exactly, giving
This is symmetric trapezoidal exactness for odd functions, applied after adding a constant function so that the resulting definite integral is nonzero. It is exactness for this particular integrand, rather than a claim that every nonpolynomial function is integrated exactly.
Write for the supplied approximation. The asymptotic expansion is
where is Big O notation. At the refined parameter ,
Multiply this identity by nine and subtract the first one. The unknown leading truncation error coefficient cancels:
Thus the Richardson extrapolation estimate is
The two supplied values give
The correction to the finer approximation is . Neglecting the higher-order remainder would also give .
The conclusion is asymptotic: the leading error order improves from two to at least three when both parameter values are in the range of the stated asymptotic expansion. With no bound on the remainder constant, the two finite observations alone do not guarantee that is closer to . Indeed, for any proposed value , the polynomial model
satisfies , and the required asymptotic expansion with true limit . This is why finite observations do not certify Richardson extrapolation accuracy: asymptotic cancellation provides an improved-order estimator, while a numerical error certificate needs quantitative remainder information.

Articles by others on the same topic (0)

There are currently no matching articles.