You are about to erase your work on this activity. Are you sure you want to do this?
Updated Version Available
There is an updated version of this activity. If you update to the most recent version of this activity, then your current progress on this activity will be erased. Regardless, your record of completion will remain. How would you like to proceed?
Mathematical Expression Editor
We introduce the basic idea of using rectangles to approximate the area under a
curve.
Rectangles and areas
We can calculate areas of many different shapes: rectangles, triangles, trapezoids,
circles, ... etc. What about the area of something like the region under the graph of a
function?
We want to compute the area between the curve and the horizontal axis on the interval :
One way to do this would be to approximate the area with
rectangles. With one rectangle we get a rough approximation:
Two rectangles might make a better approximation:
With even more, we get a closer, and closer, approximation:
If we are approximating the area between a curve and the -axis on with rectangles
of width , then
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:
Let’s setup some notation to help with these calculuations:
When approximating an area with rectangles, the grid points are the -coordinates that
determine the edges of the rectangles. In the graph below, we’ve numbered the rectangles
to help you see the relation between the indices of the grid points and the th rectangle.
Note, if we are approximating the area between a curve and the horizontal axis on
with rectangles, then it is always the case that
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?
When we use rectangles to compute the area under a curve, the width of each
rectangle is given by . It is clear that , for .
But how do we determine the height of the rectangle?
We choose a sample point and evaluate the function at that
point. The value determines the height of a rectangle.
When approximating an area with rectangles, a sample point is the -coordinate
that determines the height of rectangle. For , we denote a sample point as: and the
value is the height of the rectangle.
What is the area of the rectangle shown in the figure above?
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.
In the graph above, the 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.
In the graph above, the 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.
In the graph above, the midpoint of the horizontal side of the 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 the area of the th rectangle
(for between and ) is given by: The area of the region is approximately:
A sum of the form: is called a Riemann sum, pronounced “ree-mahn”
sum.
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 :
and here is the associated Riemann sum
Left Riemann sums
Consider . Approximate the area between and the -axis on the interval using a
left-endpoint Riemann sum with rectangles.
First note that the width of each rectangle is The grid
points define the edges of the rectangle and are seen below:
On the other hand, the sample points identify which endpoints we use:
It is helpful to collect all of this data into a table: Now we may write
a left Riemann sum and approximate the area which evaluates to
and we find
Right Riemann sums
Consider . Approximate the area between and the -axis on the interval using a
right-endpoint Riemann sum with rectangles.
First note that the width of each rectangle is The grid
points define the edges of the rectangle and are seen below:
On the other hand, the sample points identify which endpoints we use:
It is helpful to collect all of this data into a table: Now we may write
a right Riemann sum and approximate the area which evaluates to
and we find
Midpoint Riemann sums
Consider . Approximate the area between and the -axis on the interval using a
midpoint Riemann sum with rectangles.
First note that the width of each rectangle is The grid
points define the edges of the rectangle and are seen below:
On the other hand, the sample points identify which endpoints we use:
It is helpful to collect all of this data into a table: Now we may write a
midpoint Riemann sum and approximate the area which evaluates to
and we find
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 .