encyclopegia.org

Numerical integration

In analysis, numerical integration comprises a broad family of algorithms for calculating the numerical value of a definite integral.[src] The term numerical quadrature (often abbreviated to quadrature) is more or less a synonym for "numerical integration", especially as applied to one-dimensional integrals.[src] Some authors refer to numerical integration over more than one dimension as cubature; others take "quadrature" to include higher-dimensional integration.[src] 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.[src] 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.[src] 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.[src] The term is also sometimes used to describe the numerical solution of differential equations.[src]

In analysis, numerical integration comprises a broad family of algorithms for calculating the numerical value of a definite integral.[src] The term numerical quadrature (often abbreviated to quadrature) is more or less a synonym for "numerical integration", especially as applied to one-dimensional integrals.[src] Some authors refer to numerical integration over more than one dimension as cubature; others take "quadrature" to include higher-dimensional integration.[src] 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.[src] 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.[src] 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.[src] The term is also sometimes used to describe the numerical solution of differential equations.[src] For a quadrature of a rectangle with the sides a and b it is necessary to construct a square with the side x =\sqrt {ab} (the geometric mean of a and b).[src] 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.[src] The similar geometrical construction solves a problem of a quadrature for a parallelogram and a triangle.[src] Problems of quadrature for curvilinear figures are much more difficult.[src] The quadrature of the circle with compass and straightedge had been proved in the 19th century to be impossible.[src] Nevertheless, for some figures (for example the lune of Hippocrates) a quadrature can be performed.[src] The quadratures of a sphere surface and a parabola segment done by Archimedes became the highest achievement of the antique analysis.[src] The area of the surface of a sphere is equal to quadruple the area of a great circle of this sphere.[src] The area of a segment of the parabola cut from it by a straight line is 4/3 the area of the triangle inscribed in this segment.[src] To prove the results, Archimedes used the method of exhaustion of Eudoxus.[src] In medieval Europe the quadrature meant calculation of area by any method.[src] More often the method of indivisibles was used; it was less rigorous, but more simple and powerful.[src] With its help Galileo Galilei and Gilles de Roberval found the area of a cycloid arch, Grégoire de Saint-Vincent investigated the area under a hyperbola (Opus Geometricum, 1647), and Alphonse Antonio de Sarasa, de Saint-Vincent's pupil and commentator, noted the relation of this area to logarithms.[src] John Wallis algebrised this method: he wrote in his Arithmetica Infinitorum (1656) series that we now call the definite integral, and he calculated their values.[src] Isaac Barrow and James Gregory made further progress: quadratures for some algebraic curves and spirals.[src] Christiaan Huygens successfully performed a quadrature of some solids of revolution.[src] The quadrature of the hyperbola by Saint-Vincent and de Sarasa provided a new function, the natural logarithm, of critical importance.[src] With the invention of integral calculus came a universal method for area calculation.[src] In response, the term "quadrature" has become traditional, and instead the modern phrase "computation of a univariate definite integral" is more common.[src] ==Methods for one-dimensional integrals== A quadrature rule is an approximation of the definite integral of a function, usually stated as a weighted sum of function values at specified points within the domain of integration.[src] Numerical integration methods can generally be described as combining evaluations of the integrand to get an approximation to the integral.[src] 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.[src] The integration points and weights depend on the specific method used and the accuracy required from the approximation.[src] 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.[src] A method that yields a small error for a small number of evaluations is usually considered superior.[src] Reducing the number of evaluations of the integrand reduces the number of arithmetic operations involved, and therefore reduces the total error.[src] Also, each evaluation takes time, and the integrand may be arbitrarily complicated.[src] ===Quadrature rules based on step functions=== A "brute force" kind of numerical integration can be done by evaluating the integrand with very small increments using a Riemann sum.[src] These methods are some of the most general, as they only require the integrand to be piecewise continuous and of bounded variation.[src] This simplest method approximates the function by a step function (a piecewise constant function, or a segmented polynomial of degree zero) that passes through the point \left( \frac{a+b}{2}, f \left( \frac{a+b}{2} \right)\right) .[src] This is called the midpoint rule or rectangle rule \int_a^b f(x)\, dx \approx (b-a) f\left(\frac{a+b}{2}\right).[src] ===Quadrature rules based on interpolating functions=== A large class of quadrature rules can be derived by constructing interpolating functions that are easy to integrate.[src] Typically these interpolating functions are polynomials.[src] In practice, since polynomials of very high degree tend to oscillate wildly, only polynomials of low degree are used, typically linear and quadratic.[src] The interpolating function may be a straight line (an affine function, i.e.[src] a polynomial of degree 1) passing through the points \left( a, f(a)\right) and \left( b, f(b)\right) .[src] This is called the trapezoidal rule \int_a^b f(x)\, dx \approx (b-a) \left(\frac{f(a) + f(b)}{2}\right).[src] For either one of these rules, we can make a more accurate approximation by breaking up the interval [a,b] into some number n of subintervals, computing an approximation for each subinterval, then adding up all the results.[src] This is called a composite rule, extended rule, or iterated rule.[src] For example, the composite trapezoidal rule can be stated as \int_a^b f(x)\, dx \approx \frac{b-a}{n} \left( {f(a) \over 2} + \sum_{k=1}^{n-1} \left( f \left( a + k \frac{b-a}{n} \right) \right) + {f(b) \over 2} \right), where the subintervals have the form [a+k h,a+ (k+1)h] \subset [a,b], with h = \frac{b - a}{n} and k = 0,\ldots,n-1.[src] Here we used subintervals of the same length h but one could also use intervals of varying length \left( h_k \right)_k .[src] Interpolation with polynomials evaluated at equally spaced points in [a,b] yields the Newton–Cotes formulas, of which the rectangle rule and the trapezoidal rule are examples.[src] Simpson's rule, which is based on a polynomial of order 2, is also a Newton–Cotes formula.[src] Quadrature rules with equally spaced points have the very convenient property of nesting.[src] The corresponding rule with each interval subdivided includes all the current points, so those integrand values can be re-used.[src] If we allow the intervals between interpolation points to vary, we find another group of quadrature formulas, such as the Gaussian quadrature formulas.[src] 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).[src] Other quadrature methods with varying intervals include Clenshaw–Curtis quadrature (also called Fejér quadrature) methods, which do nest.[src] Gaussian quadrature rules do not nest, but the related Gauss–Kronrod quadrature formulas do.[src] (x - a) f'(\xi_x) = f(x) - f(a), for some \xi_x \in (a,x] depending on x .[src] 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) \right| = \left| \int_a^b (x - a) f'(\xi_x)\, dx \right| .[src] 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 was used to approximate.[src] 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 .[src] We can convert this into an error analysis for the Riemann sum, giving an upper bound of \frac{n^{-1}}{2} \sup_{0 \leq x \leq 1} \left| f'(x) \right| for the error term of that particular approximation.[src] (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 (using a partial sum with remainder term) for f.[src] This error analysis gives a strict upper bound on the error, if the derivatives of f are available.[src] This integration method can be combined with interval arithmetic to produce computer proofs and verified calculations.[src] \int_{-\infty}^{\infty} f(x) \, dx = \int_{-1}^{+1} f\left( \frac{t}{1-t^2} \right) \frac{1+t^2}{\left(1-t^2\right)^2} \, dt, and for semi-infinite intervals one could use \begin{align} \int_a^{\infty} f(x) \, dx &= \int_0^1 f\left(a + \frac{t}{1-t}\right) \frac{dt}{(1-t)^2}, \\ \int_{-\infty}^a f(x) \, dx &= \int_0^1 f\left(a - \frac{1-t}{t}\right) \frac{dt}{t^2}, \end{align} as possible transformations.[src] Further reading .[src] F(x) = \int_a^x f(u)\, du can be reduced to an initial value problem for an ordinary differential equation by applying the first part of the fundamental theorem of calculus.[src] By differentiating both sides of the above with respect to the argument x, it is seen that the function F satisfies \frac{d F(x)}{d x} = f(x), \quad F(a) = 0.[src] Numerical methods for ordinary differential equations, such as Runge–Kutta methods, can be applied to the restated problem and thus be used to evaluate the integral.[src] For instance, the standard fourth-order Runge–Kutta method applied to the differential equation yields Simpson's rule from above.[src] 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 ).[src] This simplifies the theory and algorithms considerably.[src] The problem of evaluating integrals is thus best studied in its own right.[src] 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.[src] ==See also== Truncation error (numerical integration) Clenshaw–Curtis quadrature Gauss-Kronrod quadrature Riemann Sum or Riemann Integral Trapezoidal rule Romberg's method Tanh-sinh quadrature Nonelementary Integral ==References== Philip J.[src] Davis and Philip Rabinowitz, Methods of Numerical Integration.[src] George E.[src] Forsythe, Michael A.[src] Malcolm, and Cleve B.[src] Moler, Computer Methods for Mathematical Computations.[src] Englewood Cliffs, NJ: Prentice-Hall, 1977.[src] (See Chapter 5.) Josef Stoer and Roland Bulirsch, Introduction to Numerical Analysis.[src] New York: Springer-Verlag, 1980.[src] (See Chapter 3.) Boyer, C.[src] B., A History of Mathematics, 2nd ed.[src] rev.[src] by Uta C.[src] Merzbach, New York: Wiley, 1989 (1991 pbk ed.[src] ).[src] 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).[src] ==External links== Integration: Background, Simulations, etc.[src] at Holistic Numerical Methods Institute Lobatto Quadrature from Wolfram Mathworld Lobatto quadrature formula from Encyclopedia of Mathematics Implementations of many quadrature and cubature formulae within the free Tracker Component Library.[src] SageMath Online Integrator[src]

100 sentences · 100 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Numerical integration." encyclopegia.org, 2026, https://encyclopegia.org/wiki/numerical-integration. Accessed 29 November 2026.

Chicago

"Numerical integration." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/numerical-integration.

APA

encyclopegia.org. (2026). Numerical integration. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/numerical-integration

Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

numerical cognition

stub · references available

Latin American Integration Association

stub · references available

numerical aperture

stub · references available

horizontal integration

stub · references available

sensorimotor integration

stub · references available

integration ministry

stub · references available

numerical simulation

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1366420121 · 0.5 · snapshot enwiki-001366420121

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.