Lably
Skip to content

Numerical integration

Methods of calculating definite integrals

  • 11 min read
  • 5 chapters

Related on Lably

Through Numerical analysis, Algorithm and Integral

The basic problem in numerical integration is to compute an approximate solution to a definite integral

∫abf(x)dx

to a given degree of accuracy. If f(x) 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. 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:

  1. The integrand f (x) may be known only at certain points, such as obtained by sampling. Some embedded systems and other computer applications may need numerical integration for this reason.
  2. A formula for the integrand may be known, but it may be difficult or impossible to find an antiderivative that is an elementary function. An example of such an integrand is f (x) = exp(−x2), the antiderivative of which (the error function, times a constant) cannot be written in elementary form .
  3. 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 that is not available.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Discrete mathematics