Composite midpoint quadrature rule

ID: composite-midpoint-quadrature-rule

Apply the midpoint quadrature rule on each of equal panels of a partition of an interval, with :
Each quadrature node is a panel midpoint and each quadrature weight is . For , put . Summing the panel quadrature errors gives
for some . Each panel contributes at most ; there are panels, explaining the composite midpoint rule error of order in big O notation. On a nonuniform partition of an interval with panel widths and largest width , the corresponding bound is .
For on , summing the sampled polynomial exactly yields
Doubling divides the absolute error by exactly four. For a general function, halving divides the displayed error bound by four, but the actual absolute error need not follow that ratio: cancellation can make it smaller or zero. Continuous functions still give convergence as the largest panel width tends to zero, by uniform continuity; without the bounded second derivative, the second-order rate is not guaranteed. Noise sensitivity of a quadrature rule explains a separate limitation when samples are inexact.

New to topics? Read the docs here!