Numerical integration (quadrature): methods, errors, and applications
Overview of numerical integration (quadrature): common algorithms, historical notes, error behavior, multidimensional extensions and practical guidance for approximating definite integrals.
Numerical integration, often called quadrature, denotes a collection of techniques for approximating the value of a definite integral when an exact antiderivative is unavailable or impractical to obtain. In many practical problems the integrand is known only through measurements or evaluations at a finite set of points, so analytic integration is impossible; in those situations one replaces the true integral by a computable approximation plus an estimate of the error. For general introductions and examples see reference 1 and reference 2.
Image gallery
1 ImageCommon methods
Several families of rules are widely used, each with different tradeoffs between accuracy, cost and robustness. Newton–Cotes formulas (including the trapezoidal and Simpson's rules) approximate the integrand by low-degree polynomials on subintervals and then integrate those polynomials exactly; older introductions are documented at reference 3. Gaussian quadrature chooses both evaluation points and weights to make the rule exact for polynomials up to as high a degree as possible for a given number of points; historical and computational notes are available at reference 4.
Other useful approaches include adaptive composite rules, which subdivide the interval until a tolerance is met; Romberg integration, which applies Richardson extrapolation to the trapezoidal rule; and stochastic methods such as Monte Carlo integration, suitable for high-dimensional or noisy problems. Interpolation-based schemes typically use polynomials or splines to represent the integrand between known sample points — a topic described in more detail at reference 5 and reference 6.
Error, convergence and practical considerations
Understanding the error behavior of a quadrature rule is central to choosing and tuning a method. Error estimates often depend on derivatives of the integrand: for example, the error term for simple Newton–Cotes rules involves higher-order derivatives evaluated somewhere in the interval. The Euler–Maclaurin formula connects sums and integrals and explains how endpoint corrections improve accuracy; see reference 7. Gaussian rules achieve high algebraic accuracy for smooth functions but require computation of orthogonal polynomials and their roots.
In practice, integrands may be singular, highly oscillatory, or defined by discrete data; each case favors different strategies. Adaptive subdivision helps with localized irregularities, variable transformations can tame endpoint singularities, and Monte Carlo or quasi-Monte Carlo methods are often preferable in many dimensions. Algorithmic references and implementations can be found at reference 8, reference 9, and reference 10.
Historically, names attached to key formulas reflect their development: Newton and Cotes for polynomial-based composite rules, Gauss for optimal node selection, and Euler and Maclaurin for the asymptotic connection between sums and integrals — historical discussions are available at reference 11 and reference 12. Distinctions worth noting include quadrature (one-dimensional numerical integration) versus cubature (higher-dimensional integration) and deterministic versus stochastic methods. Together these tools make numerical integration an essential component in scientific computing, engineering simulation and data analysis.
Quadrature Procedure
Graphical methods
In graphical methods, the graph of the integrand is plotted in a coordinate system with linear axes and the area between the graph and the abscissa is determined.
Counting method
A particularly simple procedure is to plot the graph on graph paper and then determine the number of "square millimetre boxes" (area elements) covered by the area S. In this case, only half of the area elements through which the graph passes are counted. Here, area elements through which the graph passes are only counted by half. The approximation then results with the number of square millimeters and the scale parts Δ
and Δ
to:
Measurement
Another graphical method is the measurement of the area by means of a planimeter.
quadrature formula calculation
In general, a quadrature formula consists of a weighted sum of function values
The places called supporting places and the numbers
weights. The weights here depend on the distances of a grid point to the neighboring grid points. There are different approaches how to choose grid points and weights in a way that the quadrature error as small as possible.
A quadrature formula has the degree of precision (or exactness) if it integrates all polynomial functions up to the maximum degree
exactly, and is
the largest possible natural number with this property.
Like the integral, quadrature formulas are linear operators.
Interpolatory quadrature formula
An important class of quadrature formulas arises from the idea of approximating the function by an interpolation polynomial
of degree
and then integrating it. The weights are then obtained as the integrals of the Lagrange polynomials to the given support points. By construction, these quadrature formulas have at least degree of accuracy
. The quadrature formula is therefore
with the weights
and the Lagrange polynomials
If the integration limits are support points, one speaks of closed quadrature formulas, otherwise of open ones. If the support points are chosen equidistantly, the Newton-Cotes formulas result among others. Among the closed Newton-Cotes formulas are the chordal trapezoid rule and Simpson's rule, among the open ones is the tangent trapezoid rule. The Newton-Cotes formulas for even even have the degree of precision
. The open quadrature formulas also include the Gauss quadrature formulas.
Error estimation
Let denote the smallest interval
containing the interpolation points
and the interval Furthermore, let
-times continuously differentiable on
. According to the interpolation quality of the interpolation polynomial, there exists a ξ
, such that holds:
By integration, the error formula for numerical quadrature is obtained
.
If for all
, the quadrature error is 0. Since this is the case for all polynomials up to degree
, the degree of accuracy of these quadrature formulas is at least
.
From this error formula follows the error estimate
.
If the function in the interval not change
its sign, i.e., if no support point
lies in the interval , one can derive the following representation for the remainder element using the mean value theorem of integral calculus:
.
With an intermediate .
Similar formulas for the quadrature error are also obtained for special distributions of the grid points in the interval for example for the Newton-Cotes formulas or the Gauss quadrature formulas.
If the function is only continuous, the above statements do not hold, the error can become very large.
Related articles
Author
AlegsaOnline.com Numerical integration (quadrature): methods, errors, and applications Leandro Alegsa
URL: https://en.alegsaonline.com/art/71435
Sources
- mathworld.wolfram.com : mathworld.wolfram.com/GaussianQuadrature.html
- mathworld.wolfram.com : mathworld.wolfram.com/Newton-CotesFormulas.html
- mathworld.wolfram.com : mathworld.wolfram.com/Euler-MaclaurinIntegrationFormulas.html
- commons.wikimedia.org : Numerical integration
- wikidata.org : wikidata.org/wiki/Q753445
- id.ndl.go.jp : 00571772

