A **Riemann sum** is a method of estimating the area underneath a curve by dividing it into rectangles or trapezoids, calculating the area of these shapes, then adding them together to get an approximation of area. The smaller the shapes are, the more accurate the estimation will be; the idea of using infinitely small rectangles is the basis of the definite integral. Riemann sums are commonly notated as

with being the area of a single rectangle. When approaches infinity, the Riemann sum becomes a definite integral, which is notated as follows:

where

## See also

Community content is available under CC-BY-SA unless otherwise noted.