# Riemann sums review

Review how we use Riemann sums and the trapezoidal rule to approximate an area under a curve.

## What are Riemann sums?

A Riemann sum is an approximation of the area under a curve by dividing it into multiple simple shapes (like rectangles or trapezoids).

In a

**left Riemann sum**, we approximate the area using rectangles (usually of equal width), where the height of each rectangle is equal to the value of the function at the left endpoint of its base.In a

**right Riemann sum**, the height of each rectangle is equal to the value of the function at the right endpoint of its base.In a

**midpoint Riemann sum**, the height of each rectangle is equal to the value of the function at the midpoint of its base.We can also use trapezoids to approximate the area (this is called

**trapezoidal rule**). In this case, each trapezoid touches the curve at both of its top vertices.For each type of approximation, the more shapes we use, the closer the approximation would be to the actual area.

Resources differ on this point, but we call any approximation that uses rectangles a Riemann sum, and any approximation that uses trapezoids a trapezoidal sum.

*Want to learn more about Riemann sums? Check out this video.*

## Practice set 1: Approximating area using Riemann sums

*Want to try more problems like this? Check out this exercise.*

## Practice set 2: Approximating area using the trapezoidal rule

*Want to try more problems like this? Check out this exercise.*