Lably
Skip to content

Riemann sum

Approximation technique in integral calculus

  • 7 min read
  • 6 chapters

Related on Lably

Through Mathematics, Approximation and Rectangle

The sum is calculated by partitioning the region into shapes (rectangles, trapezoids, parabolas, or cubics—sometimes infinitesimally small) that together form a region that is similar to the region being measured, then calculating the area for each of these shapes, and finally adding all of these small areas together. This approach can be used to find a numerical approximation for a definite integral even if the fundamental theorem of calculus does not make it easy to find a closed-form solution.

Because the region by the small shapes is usually not exactly the same shape as the region being measured, the Riemann sum will differ from the area being measured. This error can be reduced by dividing up the region more finely, using smaller and smaller shapes. As the shapes get smaller and smaller, the sum approaches the Riemann integral.

Definition

Let f:[a,b]→R be a function defined on a closed interval [a,b] of the real numbers, R, and P=(x0,x1,…,xn) as a partition of [a,b], that is a=x0<x1<x2<⋯<xn=b. A Riemann sum S of f over [a,b] with partition P is defined as S=∑i=1nf(xi∗)Δxi, where Δxi=xi−xi−1 and xi∗∈[xi−1,xi]. One might produce different Riemann sums depending on which xi∗s are chosen. In the end this will not matter, if the function is Riemann integrable, when the difference or width of the summands Δxi approaches zero.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Calculus and analysis