HOME

TheInfoList



OR:

In
analysis Analysis (: analyses) is the process of breaking a complex topic or substance into smaller parts in order to gain a better understanding of it. The technique has been applied in the study of mathematics and logic since before Aristotle (38 ...
, numerical integration comprises a broad family of
algorithm In mathematics and computer science, an algorithm () is a finite sequence of Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
s for calculating the numerical value of a definite
integral In mathematics, an integral is the continuous analog of a Summation, sum, which is used to calculate area, areas, volume, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental oper ...
. The term numerical quadrature (often abbreviated to quadrature) is more or less a synonym for "numerical integration", especially as applied to one-dimensional integrals. Some authors refer to numerical integration over more than one dimension as cubature; others take "quadrature" to include higher-dimensional integration. The basic problem in numerical integration is to compute an approximate solution to a definite integral :\int_a^b f(x) \, dx to a given degree of accuracy. If is a smooth function integrated over a small number of dimensions, and the domain of integration is bounded, there are many methods for approximating the integral to the desired precision. Numerical integration has roots in the geometrical problem of finding a square with the same area as a given plane figure ('' quadrature'' or ''squaring''), as in the
quadrature of the circle Squaring the circle is a problem in geometry first proposed in Greek mathematics. It is the challenge of constructing a square (geometry), square with the area of a circle, area of a given circle by using only a finite number of steps with a ...
. The term is also sometimes used to describe the numerical solution of differential equations.


Motivation and need

There are several reasons for carrying out numerical integration, as opposed to analytical integration by finding the
antiderivative In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a continuous function is a differentiable function whose derivative is equal to the original function . This can be stated ...
: # The integrand may be known only at certain points, such as obtained by sampling. Some
embedded systems An embedded system is a specialized computer system—a combination of a computer processor, computer memory, and input/output peripheral devices—that has a dedicated function within a larger mechanical or electronic system. It is em ...
and other computer applications may need numerical integration for this reason. # A formula for the integrand may be known, but it may be difficult or impossible to find an antiderivative that is an
elementary function In mathematics, an elementary function is a function of a single variable (typically real or complex) that is defined as taking sums, products, roots and compositions of finitely many polynomial, rational, trigonometric, hyperbolic, a ...
. An example of such an integrand is , the antiderivative of which (the
error function In mathematics, the error function (also called the Gauss error function), often denoted by , is a function \mathrm: \mathbb \to \mathbb defined as: \operatorname z = \frac\int_0^z e^\,\mathrm dt. The integral here is a complex Contour integrat ...
, times a constant) cannot be written in
elementary form In mathematics, an elementary function is a function (mathematics), function of a single variable (mathematics), variable (typically Function of a real variable, real or Complex analysis#Complex functions, complex) that is defined as taking addit ...
. # It may be possible to find an antiderivative symbolically, but it may be easier to compute a numerical approximation than to compute the antiderivative. That may be the case if the antiderivative is given as an infinite series or product, or if its evaluation requires a
special function Special functions are particular mathematical functions that have more or less established names and notations due to their importance in mathematical analysis, functional analysis, geometry, physics, or other applications. The term is defined by ...
that is not available.


History

The term "numerical integration" first appears in 1915 in the publication ''A Course in Interpolation and Numeric Integration for the Mathematical Laboratory'' by David Gibb. "Quadrature" is a historical mathematical term that means calculating area. Quadrature problems have served as one of the main sources of
mathematical analysis Analysis is the branch of mathematics dealing with continuous functions, limit (mathematics), limits, and related theories, such as Derivative, differentiation, Integral, integration, measure (mathematics), measure, infinite sequences, series ( ...
. Mathematicians of Ancient Greece, according to the
Pythagorean Pythagorean, meaning of or pertaining to the ancient Ionian mathematician, philosopher, and music theorist Pythagoras, may refer to: Philosophy * Pythagoreanism, the esoteric and metaphysical beliefs purported to have been held by Pythagoras * Ne ...
doctrine, understood calculation of
area Area is the measure of a region's size on a surface. The area of a plane region or ''plane area'' refers to the area of a shape or planar lamina, while '' surface area'' refers to the area of an open surface or the boundary of a three-di ...
as the process of constructing geometrically a
square In geometry, a square is a regular polygon, regular quadrilateral. It has four straight sides of equal length and four equal angles. Squares are special cases of rectangles, which have four equal angles, and of rhombuses, which have four equal si ...
having the same area (''squaring''). That is why the process was named "quadrature". For example, a
quadrature of the circle Squaring the circle is a problem in geometry first proposed in Greek mathematics. It is the challenge of constructing a square (geometry), square with the area of a circle, area of a given circle by using only a finite number of steps with a ...
,
Lune of Hippocrates In geometry, the lune of Hippocrates, named after Hippocrates of Chios, is a lune bounded by arcs of two circles, the smaller of which has as its diameter a chord spanning a right angle on the larger circle. Equivalently, it is a non-convex pl ...
,
The Quadrature of the Parabola ''Quadrature of the Parabola'' () is a treatise on geometry, written by Archimedes in the 3rd century BC and addressed to his Alexandrian acquaintance Dositheus. It contains 24 propositions regarding parabolas, culminating in two proofs showing t ...
. This construction must be performed only by means of
compass and straightedge In geometry, straightedge-and-compass construction – also known as ruler-and-compass construction, Euclidean construction, or classical construction – is the construction of lengths, angles, and other geometric figures using only an Idealiz ...
. The ancient Babylonians used the
trapezoidal rule In calculus, the trapezoidal rule (or trapezium rule in British English) is a technique for numerical integration, i.e., approximating the definite integral: \int_a^b f(x) \, dx. The trapezoidal rule works by approximating the region under the ...
to integrate the motion of
Jupiter Jupiter is the fifth planet from the Sun and the List of Solar System objects by size, largest in the Solar System. It is a gas giant with a Jupiter mass, mass more than 2.5 times that of all the other planets in the Solar System combined a ...
along the
ecliptic The ecliptic or ecliptic plane is the orbital plane of Earth's orbit, Earth around the Sun. It was a central concept in a number of ancient sciences, providing the framework for key measurements in astronomy, astrology and calendar-making. Fr ...
. For a quadrature of a rectangle with the sides ''a'' and ''b'' it is necessary to construct a square with the side x =\sqrt (the
Geometric mean In mathematics, the geometric mean is a mean or average which indicates a central tendency of a finite collection of positive real numbers by using the product of their values (as opposed to the arithmetic mean which uses their sum). The geometri ...
of ''a'' and ''b''). For this purpose it is possible to use the following fact: if we draw the circle with the sum of ''a'' and ''b'' as the diameter, then the height BH (from a point of their connection to crossing with a circle) equals their geometric mean. The similar geometrical construction solves a problem of a quadrature for a parallelogram and a triangle. Problems of quadrature for curvilinear figures are much more difficult. The
quadrature of the circle Squaring the circle is a problem in geometry first proposed in Greek mathematics. It is the challenge of constructing a square (geometry), square with the area of a circle, area of a given circle by using only a finite number of steps with a ...
with compass and straightedge had been proved in the 19th century to be impossible. Nevertheless, for some figures (for example the
Lune of Hippocrates In geometry, the lune of Hippocrates, named after Hippocrates of Chios, is a lune bounded by arcs of two circles, the smaller of which has as its diameter a chord spanning a right angle on the larger circle. Equivalently, it is a non-convex pl ...
) a quadrature can be performed. The quadratures of a sphere surface and a parabola segment done by
Archimedes Archimedes of Syracuse ( ; ) was an Ancient Greece, Ancient Greek Greek mathematics, mathematician, physicist, engineer, astronomer, and Invention, inventor from the ancient city of Syracuse, Sicily, Syracuse in History of Greek and Hellenis ...
became the highest achievement of the antique analysis. * The area of the surface of a sphere is equal to quadruple the area of a
great circle In mathematics, a great circle or orthodrome is the circular intersection of a sphere and a plane passing through the sphere's center point. Discussion Any arc of a great circle is a geodesic of the sphere, so that great circles in spher ...
of this sphere. * The area of a segment of the
parabola In mathematics, a parabola is a plane curve which is Reflection symmetry, mirror-symmetrical and is approximately U-shaped. It fits several superficially different Mathematics, mathematical descriptions, which can all be proved to define exactl ...
cut from it by a straight line is 4/3 the area of the triangle inscribed in this segment. For the proof of the results Archimedes used the
Method of exhaustion The method of exhaustion () is a method of finding the area of a shape by inscribing inside it a sequence of polygons (one at a time) whose areas converge to the area of the containing shape. If the sequence is correctly constructed, the differ ...
of Eudoxus. In medieval Europe the quadrature meant calculation of area by any method. More often the
Method of indivisibles In geometry, Cavalieri's principle, a modern implementation of the method of indivisibles, named after Bonaventura Cavalieri, is as follows: * 2-dimensional case: Suppose two regions in a plane are included between two parallel lines in that pl ...
was used; it was less rigorous, but more simple and powerful. With its help
Galileo Galilei Galileo di Vincenzo Bonaiuti de' Galilei (15 February 1564 – 8 January 1642), commonly referred to as Galileo Galilei ( , , ) or mononymously as Galileo, was an Italian astronomer, physicist and engineer, sometimes described as a poly ...
and
Gilles de Roberval Gilles Personne de Roberval (August 10, 1602 – October 27, 1675) was a French mathematician born at Roberval near Beauvais, France. His name was originally Gilles Personne or Gilles Personier, with Roberval the place of his birth. Biography L ...
found the area of a
cycloid In geometry, a cycloid is the curve traced by a point on a circle as it Rolling, rolls along a Line (geometry), straight line without slipping. A cycloid is a specific form of trochoid and is an example of a roulette (curve), roulette, a curve g ...
arch,
Grégoire de Saint-Vincent Grégoire de Saint-Vincent () - in Latin : Gregorius a Sancto Vincentio, in Dutch : Gregorius van St-Vincent - (8 September 1584 Bruges – 5 June 1667 Ghent) was a Flemish Jesuit and mathematician. He is remembered for his work on quadrature of ...
investigated the area under a
hyperbola In mathematics, a hyperbola is a type of smooth function, smooth plane curve, curve lying in a plane, defined by its geometric properties or by equations for which it is the solution set. A hyperbola has two pieces, called connected component ( ...
(''Opus Geometricum'', 1647), and
Alphonse Antonio de Sarasa Alphonse Antonio de Sarasa, SJ was a Jesuit mathematician who contributed to the understanding of logarithms, particularly as areas under a hyperbola. Biography Alphonse de Sarasa was born in 1618, in Nieuwpoort in Flanders. In 1632 he was ...
, de Saint-Vincent's pupil and commentator, noted the relation of this area to
logarithm In mathematics, the logarithm of a number is the exponent by which another fixed value, the base, must be raised to produce that number. For example, the logarithm of to base is , because is to the rd power: . More generally, if , the ...
s.
John Wallis John Wallis (; ; ) was an English clergyman and mathematician, who is given partial credit for the development of infinitesimal calculus. Between 1643 and 1689 Wallis served as chief cryptographer for Parliament and, later, the royal court. ...
algebrised this method: he wrote in his ''Arithmetica Infinitorum'' (1656) series that we now call the
definite integral In mathematics, an integral is the continuous analog of a sum, which is used to calculate areas, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental operations of calculus,Int ...
, and he calculated their values.
Isaac Barrow Isaac Barrow (October 1630 – 4 May 1677) was an English Christian theologian and mathematician who is generally given credit for his early role in the development of infinitesimal calculus; in particular, for proof of the fundamental theorem ...
and James Gregory made further progress: quadratures for some
algebraic curves In mathematics, an affine algebraic plane curve is the zero set of a polynomial in two variables. A projective algebraic plane curve is the zero set in a projective plane of a homogeneous polynomial in three variables. An affine algebraic plane cu ...
and
spiral In mathematics, a spiral is a curve which emanates from a point, moving further away as it revolves around the point. It is a subtype of whorled patterns, a broad group that also includes concentric objects. Two-dimensional A two-dimension ...
s.
Christiaan Huygens Christiaan Huygens, Halen, Lord of Zeelhem, ( , ; ; also spelled Huyghens; ; 14 April 1629 – 8 July 1695) was a Dutch mathematician, physicist, engineer, astronomer, and inventor who is regarded as a key figure in the Scientific Revolution ...
successfully performed a quadrature of some
Solids of revolution In geometry, a solid of revolution is a solid figure obtained by rotating a plane figure around some straight line (the '' axis of revolution''), which may not intersect the generatrix (except at its boundary). The surface created by this re ...
. The quadrature of the hyperbola by Saint-Vincent and de Sarasa provided a new
function Function or functionality may refer to: Computing * Function key, a type of key on computer keyboards * Function model, a structured representation of processes in a system * Function object or functor or functionoid, a concept of object-orie ...
, the
natural logarithm The natural logarithm of a number is its logarithm to the base of a logarithm, base of the e (mathematical constant), mathematical constant , which is an Irrational number, irrational and Transcendental number, transcendental number approxima ...
, of critical importance. With the invention of
integral calculus In mathematics, an integral is the continuous analog of a sum, which is used to calculate areas, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental operations of calculus,Int ...
came a universal method for area calculation. In response, the term "quadrature" has become traditional, and instead the modern phrase "''computation of a univariate definite integral''" is more common.


Methods for one-dimensional integrals

A quadrature rule is an approximation of the
definite integral In mathematics, an integral is the continuous analog of a sum, which is used to calculate areas, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental operations of calculus,Int ...
of a
function Function or functionality may refer to: Computing * Function key, a type of key on computer keyboards * Function model, a structured representation of processes in a system * Function object or functor or functionoid, a concept of object-orie ...
, usually stated as a
weighted sum A weight function is a mathematical device used when performing a sum, integral, or average to give some elements more "weight" or influence on the result than other elements in the same set. The result of this application of a weight function is ...
of function values at specified points within the domain of integration. Numerical integration methods can generally be described as combining evaluations of the integrand to get an approximation to the integral. The integrand is evaluated at a finite set of points called ''integration points'' and a weighted sum of these values is used to approximate the integral. The integration points and weights depend on the specific method used and the accuracy required from the approximation. An important part of the analysis of any numerical integration method is to study the behavior of the approximation error as a function of the number of integrand evaluations. A method that yields a small error for a small number of evaluations is usually considered superior. Reducing the number of evaluations of the integrand reduces the number of arithmetic operations involved, and therefore reduces the total error. Also, each evaluation takes time, and the integrand may be arbitrarily complicated.


Quadrature rules based on step functions

A "brute force" kind of numerical integration can be done, if the integrand is reasonably well-behaved (i.e.
piecewise In mathematics, a piecewise function (also called a piecewise-defined function, a hybrid function, or a function defined by cases) is a function whose domain is partitioned into several intervals ("subdomains") on which the function may be ...
continuous Continuity or continuous may refer to: Mathematics * Continuity (mathematics), the opposing concept to discreteness; common examples include ** Continuous probability distribution or random variable in probability and statistics ** Continuous ...
and of
bounded variation In mathematical analysis, a function of bounded variation, also known as ' function, is a real number, real-valued function (mathematics), function whose total variation is bounded (finite): the graph of a function having this property is well beh ...
), by evaluating the integrand with very small increments. This simplest method approximates the function by a
step function In mathematics, a function on the real numbers is called a step function if it can be written as a finite linear combination of indicator functions of intervals. Informally speaking, a step function is a piecewise constant function having on ...
(a piecewise constant function, or a segmented polynomial of degree zero) that passes through the point \left( \frac, f \left( \frac \right)\right) . This is called the ''midpoint rule'' or '' rectangle rule'' \int_a^b f(x)\, dx \approx (b-a) f\left(\frac\right).


Quadrature rules based on interpolating functions

A large class of quadrature rules can be derived by constructing interpolating functions that are easy to integrate. Typically these interpolating functions are
polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
s. In practice, since polynomials of very high degree tend to oscillate wildly, only polynomials of low degree are used, typically linear and quadratic. The interpolating function may be a straight line (an
affine function In Euclidean geometry, an affine transformation or affinity (from the Latin, ''wikt:affine, affinis'', "connected with") is a geometric transformation that preserves line (geometry), lines and parallel (geometry), parallelism, but not necessarily ...
, i.e. a polynomial of degree 1) passing through the points \left( a, f(a)\right) and \left( b, f(b)\right) . This is called the ''
trapezoidal rule In calculus, the trapezoidal rule (or trapezium rule in British English) is a technique for numerical integration, i.e., approximating the definite integral: \int_a^b f(x) \, dx. The trapezoidal rule works by approximating the region under the ...
'' \int_a^b f(x)\, dx \approx (b-a) \left(\frac\right). For either one of these rules, we can make a more accurate approximation by breaking up the interval ,b into some number n of subintervals, computing an approximation for each subinterval, then adding up all the results. This is called a ''composite rule'', ''extended rule'', or ''iterated rule''. For example, the composite trapezoidal rule can be stated as \int_a^b f(x)\, dx \approx \frac \left( + \sum_^ \left( f \left( a + k \frac \right) \right) + \right), where the subintervals have the form +k h,a+ (k+1)h\subset ,b with h = \frac and k = 0,\ldots,n-1. Here we used subintervals of the same length h but one could also use intervals of varying length \left( h_k \right)_k . Interpolation with polynomials evaluated at equally spaced points in ,b yields the
Newton–Cotes formulas In numerical analysis, the Newton–Cotes formulas, also called the Newton–Cotes quadrature rules or simply Newton–Cotes rules, are a group of formulas for numerical integration (also called ''quadrature'') based on evaluating the integrand a ...
, of which the rectangle rule and the trapezoidal rule are examples.
Simpson's rule In numerical integration, Simpson's rules are several approximations for definite integrals, named after Thomas Simpson (1710–1761). The most basic of these rules, called Simpson's 1/3 rule, or just Simpson's rule, reads \int_a^b f(x) \, ...
, which is based on a polynomial of order 2, is also a Newton–Cotes formula. Quadrature rules with equally spaced points have the very convenient property of ''nesting''. The corresponding rule with each interval subdivided includes all the current points, so those integrand values can be re-used. If we allow the intervals between interpolation points to vary, we find another group of quadrature formulas, such as the
Gaussian quadrature In numerical analysis, an -point Gaussian quadrature rule, named after Carl Friedrich Gauss, is a quadrature rule constructed to yield an exact result for polynomials of degree or less by a suitable choice of the nodes and weights for . Th ...
formulas. A Gaussian quadrature rule is typically more accurate than a Newton–Cotes rule that uses the same number of function evaluations, if the integrand is smooth (i.e., if it is sufficiently differentiable). Other quadrature methods with varying intervals include
Clenshaw–Curtis quadrature Clenshaw–Curtis quadrature and Fejér quadrature are methods for numerical integration, or "quadrature", that are based on an expansion of the Integrand#Terminology and notation, integrand in terms of Chebyshev polynomials. Equivalently, they em ...
(also called Fejér quadrature) methods, which do nest. Gaussian quadrature rules do not nest, but the related
Gauss–Kronrod quadrature formula The Gauss–Kronrod quadrature formula is an adaptive method for numerical integration. It is a variant of Gaussian quadrature, in which the evaluation points are chosen so that an accurate approximation can be computed by re-using the information ...
s do.


Adaptive algorithms


Extrapolation methods

The accuracy of a quadrature rule of the Newton–Cotes type is generally a function of the number of evaluation points. The result is usually more accurate as the number of evaluation points increases, or, equivalently, as the width of the step size between the points decreases. It is natural to ask what the result would be if the step size were allowed to approach zero. This can be answered by extrapolating the result from two or more nonzero step sizes, using
series acceleration Series may refer to: People with the name * Caroline Series (born 1951), English mathematician, daughter of George Series * George Series (1920–1995), English physicist Arts, entertainment, and media Music * Series, the ordered sets used ...
methods such as
Richardson extrapolation In numerical analysis, Richardson extrapolation is a Series acceleration, sequence acceleration method used to improve the rate of convergence of a sequence of estimates of some value A^\ast = \lim_ A(h). In essence, given the value of A(h) for se ...
. The extrapolation function may be a
polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
or
rational function In mathematics, a rational function is any function that can be defined by a rational fraction, which is an algebraic fraction such that both the numerator and the denominator are polynomials. The coefficients of the polynomials need not be ...
. Extrapolation methods are described in more detail by Stoer and Bulirsch (Section 3.4) and are implemented in many of the routines in the
QUADPACK QUADPACK is a FORTRAN 77 library for numerical integration (quadrature) of one-dimensional functions. It was included in the SLATEC Common Mathematical Library and is therefore in the public domain. The individual subprograms are also available ...
library.


Conservative (a priori) error estimation

Let f have a bounded first derivative over ,b i.e. f \in C^1( ,b. The
mean value theorem In mathematics, the mean value theorem (or Lagrange's mean value theorem) states, roughly, that for a given planar arc (geometry), arc between two endpoints, there is at least one point at which the tangent to the arc is parallel to the secant lin ...
for f, where x \in (x - a) f'(\xi_x) = f(x) - f(a), for some \xi_x \in (a,x">,b), gives (x - a) f'(\xi_x) = f(x) - f(a), for some \xi_x \in (a,x depending on x . If we integrate in x from a to b on both sides and take the absolute values, we obtain \left, \int_a^b f(x)\, dx - (b - a) f(a) \ = \left, \int_a^b (x - a) f'(\xi_x)\, dx \ . We can further approximate the integral on the right-hand side by bringing the absolute value into the integrand, and replacing the term in f' by an upper bound where the
supremum In mathematics, the infimum (abbreviated inf; : infima) of a subset S of a partially ordered set P is the greatest element in P that is less than or equal to each element of S, if such an element exists. If the infimum of S exists, it is unique, ...
was used to approximate. Hence, if we approximate the integral \int_a^b f(x) \, dx by the quadrature rule (b - a) f(a) our error is no greater than the right hand side of . We can convert this into an error analysis for the
Riemann sum In mathematics, a Riemann sum is a certain kind of approximation of an integral by a finite sum. It is named after nineteenth century German mathematician Bernhard Riemann. One very common application is in numerical integration, i.e., approxima ...
, giving an upper bound of \frac \sup_ \left, f'(x) \ for the error term of that particular approximation. (Note that this is precisely the error we calculated for the example f(x) = x.) Using more derivatives, and by tweaking the quadrature, we can do a similar error analysis using a
Taylor series In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor ser ...
(using a partial sum with remainder term) for ''f''. This error analysis gives a strict upper bound on the error, if the derivatives of ''f'' are available. This integration method can be combined with
interval arithmetic Interval arithmetic (also known as interval mathematics; interval analysis or interval computation) is a mathematical technique used to mitigate rounding and measurement errors in mathematical computation by computing function bounds. Numeri ...
to produce
computer proof A computer is a machine that can be programmed to automatically carry out sequences of arithmetic or logical operations (''computation''). Modern digital electronic computers can perform generic sets of operations known as ''programs'', wh ...
s and ''verified'' calculations.


Integrals over infinite intervals

Several methods exist for approximate integration over unbounded intervals. The standard technique involves specially derived quadrature rules, such as Gauss-Hermite quadrature for integrals on the whole real line and Gauss-Laguerre quadrature for integrals on the positive reals. Monte Carlo methods can also be used, or a change of variables to a finite interval; e.g., for the whole line one could use \int_^ f(x) \, dx = \int_^ f\left( \frac \right) \frac \, dt, and for semi-infinite intervals one could use \begin \int_a^ f(x) \, dx &= \int_0^1 f\left(a + \frac\right) \frac, \\ \int_^a f(x) \, dx &= \int_0^1 f\left(a - \frac\right) \frac, \end as possible transformations.


Multidimensional integrals

The quadrature rules discussed so far are all designed to compute one-dimensional integrals. To compute integrals in multiple dimensions, one approach is to phrase the multiple integral as repeated one-dimensional integrals by applying
Fubini's theorem In mathematical analysis, Fubini's theorem characterizes the conditions under which it is possible to compute a double integral by using an iterated integral. It was introduced by Guido Fubini in 1907. The theorem states that if a function is L ...
(the tensor product rule). This approach requires the function evaluations to grow exponentially as the number of dimensions increases. Three methods are known to overcome this so-called ''
curse of dimensionality The curse of dimensionality refers to various phenomena that arise when analyzing and organizing data in high-dimensional spaces that do not occur in low-dimensional settings such as the three-dimensional physical space of everyday experience. T ...
''. A great many additional techniques for forming multidimensional cubature integration rules for a variety of weighting functions are given in the monograph by Stroud. Integration on the
sphere A sphere (from Ancient Greek, Greek , ) is a surface (mathematics), surface analogous to the circle, a curve. In solid geometry, a sphere is the Locus (mathematics), set of points that are all at the same distance from a given point in three ...
has been reviewed by Hesse et al. (2015).Kerstin Hesse, Ian H. Sloan, and Robert S. Womersley: Numerical Integration on the Sphere. In W. Freeden et al. (eds.), Handbook of Geomathematics, Springer: Berlin 2015,


Monte Carlo

Monte Carlo method Monte Carlo methods, or Monte Carlo experiments, are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results. The underlying concept is to use randomness to solve problems that might be ...
s and
quasi-Monte Carlo method In numerical analysis, the quasi-Monte Carlo method is a method for numerical integration and solving some other problems using low-discrepancy sequences (also called quasi-random sequences or sub-random sequences) to achieve variance reduction. ...
s are easy to apply to multi-dimensional integrals. They may yield greater accuracy for the same number of function evaluations than repeated integrations using one-dimensional methods. A large class of useful Monte Carlo methods are the so-called
Markov chain Monte Carlo In statistics, Markov chain Monte Carlo (MCMC) is a class of algorithms used to draw samples from a probability distribution. Given a probability distribution, one can construct a Markov chain whose elements' distribution approximates it – that ...
algorithms, which include the
Metropolis–Hastings algorithm In statistics and statistical physics, the Metropolis–Hastings algorithm is a Markov chain Monte Carlo (MCMC) method for obtaining a sequence of random samples from a probability distribution from which direct sampling is difficult. New sample ...
and
Gibbs sampling In statistics, Gibbs sampling or a Gibbs sampler is a Markov chain Monte Carlo (MCMC) algorithm for sampling from a specified multivariate distribution, multivariate probability distribution when direct sampling from the joint distribution is dif ...
.


Sparse grids

Sparse grids were originally developed by Smolyak for the quadrature of high-dimensional functions. The method is always based on a one-dimensional quadrature rule, but performs a more sophisticated combination of univariate results. However, whereas the tensor product rule guarantees that the weights of all of the cubature points will be positive if the weights of the quadrature points were positive, Smolyak's rule does not guarantee that the weights will all be positive.


Bayesian quadrature

Bayesian quadrature Bayesian quadrature is a method for approximating intractable integration problems. It falls within the class of probabilistic numerics, probabilistic numerical methods. Bayesian quadrature views numerical integration as a Bayesian inference t ...
is a statistical approach to the numerical problem of computing integrals and falls under the field of
probabilistic numerics Probabilistic numerics is aactivefield of study at the intersection of applied mathematics, statistics, and machine learning centering on the concept of uncertainty in computation. In probabilistic numerics, tasks in numerical analysis such as find ...
. It can provide a full handling of the uncertainty over the solution of the integral expressed as a
Gaussian process In probability theory and statistics, a Gaussian process is a stochastic process (a collection of random variables indexed by time or space), such that every finite collection of those random variables has a multivariate normal distribution. The di ...
posterior variance.


Connection with differential equations

The problem of evaluating the definite integral :F(x) = \int_a^x f(u)\, du can be reduced to an
initial value problem In multivariable calculus, an initial value problem (IVP) is an ordinary differential equation together with an initial condition which specifies the value of the unknown function at a given point in the domain. Modeling a system in physics or ...
for an
ordinary differential equation In mathematics, an ordinary differential equation (ODE) is a differential equation (DE) dependent on only a single independent variable (mathematics), variable. As with any other DE, its unknown(s) consists of one (or more) Function (mathematic ...
by applying the first part of the
fundamental theorem of calculus The fundamental theorem of calculus is a theorem that links the concept of derivative, differentiating a function (mathematics), function (calculating its slopes, or rate of change at every point on its domain) with the concept of integral, inte ...
. By differentiating both sides of the above with respect to the argument ''x'', it is seen that the function ''F'' satisfies : \frac = f(x), \quad F(a) = 0.
Numerical methods for ordinary differential equations Numerical methods for ordinary differential equations are methods used to find Numerical analysis, numerical approximations to the solutions of ordinary differential equations (ODEs). Their use is also known as "numerical integration", although ...
, such as
Runge–Kutta methods In numerical analysis, the Runge–Kutta methods ( ) are a family of Explicit and implicit methods, implicit and explicit iterative methods, List of Runge–Kutta methods, which include the Euler method, used in temporal discretization for the a ...
, can be applied to the restated problem and thus be used to evaluate the integral. For instance, the standard fourth-order Runge–Kutta method applied to the differential equation yields Simpson's rule from above. The differential equation F'(x) = f(x) has a special form: the right-hand side contains only the independent variable (here x) and not the dependent variable (here F). This simplifies the theory and algorithms considerably. The problem of evaluating integrals is thus best studied in its own right. Conversely, the term "quadrature" may also be used for the solution of differential equations: " solving by quadrature" or " reduction to quadrature" means expressing its solution in terms of
integrals In mathematics, an integral is the continuous analog of a sum, which is used to calculate areas, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental operations of calculus,Int ...
.


See also

*
Truncation error (numerical integration) Truncation errors in numerical integration are of two kinds: * ''local truncation errors'' – the error caused by one iteration, and * ''global truncation errors'' – the cumulative error caused by many iterations. Definitions Suppose we have ...
*
Clenshaw–Curtis quadrature Clenshaw–Curtis quadrature and Fejér quadrature are methods for numerical integration, or "quadrature", that are based on an expansion of the Integrand#Terminology and notation, integrand in terms of Chebyshev polynomials. Equivalently, they em ...
* Gauss-Kronrod quadrature *
Riemann Sum In mathematics, a Riemann sum is a certain kind of approximation of an integral by a finite sum. It is named after nineteenth century German mathematician Bernhard Riemann. One very common application is in numerical integration, i.e., approxima ...
or
Riemann Integral In the branch of mathematics known as real analysis, the Riemann integral, created by Bernhard Riemann, was the first rigorous definition of the integral of a function on an interval. It was presented to the faculty at the University of Gö ...
*
Trapezoidal rule In calculus, the trapezoidal rule (or trapezium rule in British English) is a technique for numerical integration, i.e., approximating the definite integral: \int_a^b f(x) \, dx. The trapezoidal rule works by approximating the region under the ...
*
Romberg's method In numerical analysis, Romberg's method is used to estimate the Integral, definite integral \int_a^b f(x) \, dx by applying Richardson extrapolation repeatedly on the trapezium rule or the rectangle rule (midpoint rule). The estimates generate ...
*
Tanh-sinh quadrature Tanh-sinh quadrature is a method for numerical integration introduced by Hidetoshi Takahashi and Masatake Mori in 1974. It is especially applied where singularities or infinite derivatives exist at one or both endpoints. The method uses hyperboli ...
*
Nonelementary Integral In mathematics, a nonelementary antiderivative of a given elementary function is an antiderivative (or indefinite integral) that is, itself, not an elementary function.Weisstein, Eric W. "Elementary Function." From MathWorld--A Wolfram Web Resour ...


References

*
Philip J. Davis Philip J. Davis (January 2, 1923 – March 14, 2018) was an American academic Applied mathematics, applied mathematician. Biography Davis was born in Lawrence, Massachusetts. He was known for his work in numerical analysis and approximation theor ...
and Philip Rabinowitz, ''Methods of Numerical Integration''. *
George E. Forsythe George Elmer Forsythe (January 8, 1917 – April 9, 1972) was an American computer scientist and numerical analyst who founded and led Stanford University's Computer Science Department. Forsythe came to Stanford in the Mathematics Department in ...
, Michael A. Malcolm, and Cleve B. Moler, ''Computer Methods for Mathematical Computations''. Englewood Cliffs, NJ: Prentice-Hall, 1977. ''(See Chapter 5.)'' * *
Josef Stoer Josef Stoer (born 21 June 1934) is a German mathematician specializing in numerical analysis and professor emeritus of the Institut für Mathematik of Universität Würzburg. Stoer was born in Meschede, and earned his Ph.D. in 1961 at Johanne ...
and
Roland Bulirsch Roland Zdeněk Bulirsch (10 November 1932 – 21 September 2022) was a German mathematician specialising in numerical analysis. He studied and taught at the Technical University of Munich, and taught internationally as visiting professor. He was ...
, ''Introduction to Numerical Analysis''. New York: Springer-Verlag, 1980. ''(See Chapter 3.)'' * Boyer, C. B., ''A History of Mathematics'', 2nd ed. rev. by Uta C. Merzbach, New York: Wiley, 1989 (1991 pbk ed. ). * Eves, Howard, ''An Introduction to the History of Mathematics'', Saunders, 1990, , * S.L.Sobolev and V.L.Vaskevich: ''The Theory of Cubature Formulas'', Kluwer Academic, ISBN 0-7923-4631-9 (1997).


External links


Integration: Background, Simulations, etc.
at Holistic Numerical Methods Institute

from Wolfram Mathworld
Lobatto quadrature formula
from Encyclopedia of Mathematics
Implementations of many quadrature and cubature formulae
within the free Tracker Component Library.
SageMath Online Integrator
{{Authority control Numerical analysis