Riemannszummá
Riemannszummá, commonly called a Riemann sum, is a method for approximating the value of a definite integral by partitioning a closed interval [a, b], evaluating the integrand at a chosen point in each subinterval, and summing the products of the function values with the subinterval widths. A Riemann sum is written as S(P, f, x_i*) = sum_{i=1}^n f(x_i*) Δx_i, where Δx_i = x_i − x_{i−1} for a partition P: a = x_0 < x_1 < ... < x_n = b.
The definite integral is defined as the limit of Riemann sums as the mesh size max Δx_i
In practice, one may use left, right, or midpoint sums as specific choices of sample points, and
Historically, the idea was developed by Bernhard Riemann in the mid-19th century as a foundation for a