We introduce the basic idea of using rectangles to approximate the area under a curve.

Rectangles and areas

We want to compute the area between the curve and the horizontal axis on the interval :

PIC
One way to do this would be to approximate the area with rectangles. With one rectangle we get a rough approximation:
PIC
Two rectangles might make a better approximation:
PIC
With even more, we get a closer, and closer, approximation:
PIC
PIC
Suppose we wanted to approximate area between the curve and the -axis on the interval , with rectangles. What is ?

As we add rectangles, we are more closely approximating the area we are interested in:

PIC
We could find the area exactly if we could compute the limit as the width of the rectangles goes to zero and the number of rectangles goes to infinity.

Let’s setup some notation to help with these calculuations:

If we are approximating the area between a curve and the horizontal axis with rectangles, how many grid points will we have?
You can draw it!
We’ll have grid points.

But which set of rectangles?

If we are going to try and actually use many small rectangles to compute the area under a curve, we should decide on exactly which rectangles we want to use. We need another definition:

The sample point tells us where the rectangles touch the curve. Here are three options for sample points that we consider:

Rectangles defined by left-endpoints

We can set the rectangles up so that the left-endpoint touches the curve.

PIC
In the graph above, the th rectangle’s left-endpoint is touching the curve.

Rectangles defined by right-endpoints

We can set the rectangles up so that the right-endpoint touches the curve.

PIC
In the graph above, the th rectangle’s right-endpoint is touching the curve.

Rectangles defined by midpoints

We can set the rectangles up so that the midpoint of one of the horizontal sides touches the curve.

PIC
In the graph above, the midpoint of the horizontal side of the th rectangle is touching the curve.

Riemann sums and approximating area

Once we know how to identify our rectangles, we can compute some approximate areas. If we are approximating area with rectangles, then

A Riemann sum computes an approximation of the area between a curve and the -axis on the interval . It can be defined several different ways. In our class, it will be defined via left-endpoints, right-endpoints, or midpoints. Here we see the explicit connection between a Riemann sum defined by left-endpoints and the area between a curve and the -axis on the interval :

PIC
and here is the associated Riemann sum

Left Riemann sums

Right Riemann sums

Midpoint Riemann sums

Summary

Riemann sums approximate the area between curves and the -axis via rectangles. When computing this area via rectangles, there are several things to know:

  • What interval are we on? In our discussion above we call this .
  • How many rectangles will be used? In our discussion above we called this .
  • What is the width of each individual rectangle? In our discussion above we called this .
  • What points will determine the height of the rectangle? In our discussion above we called these sample points, , and they can be left-endpoints, right-endpoints, or midpoints.
  • What is the actual height of the rectangle? This will always be .