Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

 Open In Colab

Subdividing into Panel Approximations

The Newton-Cotes formulae approximate the integrand f(x)f(x) by replacing it with a low-degree polynomial over subdivided intervals.

For example, a function can be subdivided into a series of increasingly narrower rectangular panels.

Since we are performing a summation over subdivisions, there is no need for continuity between higher derivatives across panel edges; each element can be integrated separately and the results added up.

Error Convergence as h→0h \to 0

It is easy to see that as the step size h→0h \to 0, the number of boxes n→∞n \to \infty, and the approximation approaches the analytic integral.

Engineering Use Cases

These formulae are valid for both the cases where the function is given analytically and where only discrete sample points are available.

However, when analytical functions are known, adaptive step-size methods and Gaussian quadrature are typically far more computationally efficient than fixed-step Newton-Cotes rules.