Numerical integration

from Wikipedia, the free encyclopedia
Racine carrée bleue.svg
This item has been on the quality assurance side of the portal mathematics entered. This is done in order to bring the quality of the mathematics articles to an acceptable level .

Please help fix the shortcomings in this article and please join the discussion !  ( Enter article )

The numerical integration seeks the simplest possible approximation for the area

In numerical mathematics , numerical integration (traditionally also referred to as numerical quadrature ) denotes the approximate calculation of integrals .

Often integrals cannot be solved in closed form because no antiderivative can be given for the integrand or it is only given by discrete values, such as measurements. Then one tries to determine approximate values.

For this purpose, the integral of a function is represented over the interval as the sum of the value of an approximation formula (also called quadrature formula) and an error value :

Quadrature method

Graphic process

With graphic methods, the graph of the integrand is drawn in a coordinate system with linear axes and the area between the graph and the abscissa is determined.

Counting method

A particularly simple method is to record the graph on graph paper and then to determine the number of "square millimeter boxes" (surface elements) covered by the area S. Here, surface elements through which the graph passes are only half counted. The approximation then results from the number of square millimeters and the scale divisions and to:

Measurement

Another graphic method is the measurement of the area using a planimeter .

Calculation using the quadrature formula

Support points in the interval

A quadrature formula generally consists of a weighted sum of function values

The places are called support points and the numbers are weights.

There are different approaches as to how support points and weights can be selected so that the quadrature error is as small as possible.

A quadrature formula has the degree of accuracy (or degree of exactness) if it integrates all polynomial functions exactly up to the highest degree 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 results from the idea of approximating the function using an interpolation polynomial of degree and then integrating this. The weights then result as the integrals of the Lagrange polynomials for the given support points. According to construction, these quadrature formulas have at least the degree of accuracy . So the quadrature formula is

with the weights

and the Lagrange polynomials

If the integration limits are support points, one speaks of closed quadrature formulas, otherwise of open. If the support points are chosen to be equidistant, the Newton-Cotes formulas result, among other things . Among the closed Newton-Cotes formulas include the tendons trapezoidal rule and Simpson's rule to the open part of the tangent trapezoidal rule . The Newton-Cotes formulas for straight lines even have the degree of accuracy . The open quadrature formulas also include the Gaussian quadrature formulas .

Error estimation

The smallest interval that contains the support points and the interval is designated by. Furthermore, let -time be continuously differentiable on . According to the interpolation quality of the interpolation polynomial there is a such that:

The error formula for the numerical quadrature is obtained through integration

.

If applies to all , the quadrature error is equal to 0. Since this is the case for all polynomials up to degree, the degree of accuracy of these quadrature formulas is at least .

The error estimate follows from this error formula

.

If the function does not change its sign in the interval , i. H. if there is no support point in the interval , the following representation for the remainder can be derived with the aid of the mean value theorem of integral calculus :

.

with an intermediate point .

Similar formulas for the quadrature error are also obtained with special distributions of the support points in the interval , for example for the Newton-Cotes formulas or the Gaussian quadrature formulas.

If the function is only continuous, the above statements do not apply, the error can be very large.

More quadrature formulas

The attempt to minimize the error order of the quadrature formula leads to Gaussian quadrature . These use the theory of orthogonal polynomials to obtain formulas that have the degree of accuracy , where is the number of function evaluations used.

The Romberg extrapolation method is often used to minimize the number of function evaluations and, at the same time, to control errors . The integral values ​​of ever smaller 'stripes' are extrapolated to a vanishing stripe width.

Summed quadrature formulas

To approximate the integral even better, the interval is divided into several sub-intervals that do not have to be of the same length. With one of the above quadrature formulas, one calculates the integral approximately in each sub-interval and adds the results. Of particular interest here are adaptive formulas that subdivide an interval further if the estimated error in this interval is above a given limit.

Monte Carlo integration

One method that does not attempt to use an approximate formula for the function to be integrated is Monte Carlo integration . To put it clearly, the integral is determined by generating random points that are uniformly distributed in the integration interval (horizontally). Then an approximation of the integral results as the average of the function values ​​of these places

The advantage is the comparatively simple implementation and the relatively simple expandability to multiple integrals. Here classic integration algorithms are strongly affected by the curse of dimensionality and can no longer be used for high-dimensional problems. However, especially high-dimensional integrands are mostly strongly localized. In these cases, MCMC methods in particular allow the generation of samples with a distribution that allows such high-dimensional integrals to be calculated efficiently.

literature

  • Hans R. Schwarz, Norbert Köckler: Numerical Mathematics. 6th edition, Teubner, Stuttgart 2006, ISBN 3-519-42960-8
  • Helmut Braß: Quadrature method , Vandenhoeck & Ruprecht, Göttingen 1977, ISBN 978-3525401422
  • H. Braß, K. Petras: Quadrature Theory (Mathematical Surveys and Monographs) , Published by American Mathematical Society (2011), ISBN 9780821853610

Web links

Commons : Graphs for numerical integration  - collection of images, videos and audio files

Individual evidence

  1. David MacKay : Chapter 4.4 Typicality & Chapter 29.1 . In: Information Theory, Inference and Learning Algorithms . Cambridge University Press, 2003, ISBN 978-0-521-64298-9 .