For , divide into cells of widths and midpoints . The composite midpoint quadrature rule is . Taylor's theorem around each midpoint gives
The odd linear term integrates to zero; integrating gives . Consequently, with ,
Thus each cell has a cubic quadrature error, while the composite error is second order in the largest cell width. For the constant is attained, since the second-order Taylor expansion is exact. Endpoint singularities that make unbounded require a separate estimate or a smoothing change of variables.
If with smooth near zero, the substitution gives
The transformed integrand is smooth, so an ordinary second-order midpoint rule recovers its usual convergence rate.

Articles by others on the same topic (0)

There are currently no matching articles.