For , divide into cells of widths and midpoints . The composite midpoint quadrature rule is . Taylor's theorem around each midpoint givesThe 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.
Articles by others on the same topic
There are currently no matching articles.