Approximating area with Riemann sums

Rectangles with heights from the left ends, right ends or midpoints, or trapezoids, approximate the area under a curve, and for a monotonic function left and right sums bracket it.

From AP Calculus BC.