Riemann sum

First taught in Calculus

Definition

A Riemann sum estimates the area under a curve by splitting it into thin rectangles and adding up their areas.

xyab
A left Riemann sum with 4 rectangles. More, thinner rectangles give a better estimate.
Advertisement

How it works

  1. Split the interval from a to b into n equal pieces of width .
  2. On each piece, draw a rectangle whose height is the function's value at one point of the piece.
  3. Add the areas: .

Choosing the left edge gives a left Riemann sum, the right edge a right Riemann sum, and the center a midpoint sum.

Example

Estimate with a left sum and 4 rectangles ():

The exact area is . The left sum underestimates because the curve is rising.

As the number of rectangles goes to infinity, the Riemann sum approaches the exact definite integral.

Advertisement