Learning Outcomes
- Use the sum of rectangular areas to approximate the area under a curve
Now that we have the necessary notation, we return to the problem at hand: approximating the area under a curve. Let be a continuous, nonnegative function defined on the closed interval . We want to approximate the area bounded by above, the -axis below, the line on the left, and the line on the right (Figure 1).

Figure 1. An area (shaded region) bounded by the curve at top, the x-axis at bottom, the line to the left, and the line at right.
How do we approximate the area under this curve? The approach is a geometric one. By dividing a region into many small shapes that have known area formulas, we can sum these areas and obtain a reasonable estimate of the true area. We begin by dividing the interval into subintervals of equal width, . We do this by selecting equally spaced points with , and
for .
We denote the width of each subinterval with the notation , so and
for . This notion of dividing an interval into subintervals by selecting points from within the interval is used quite often in approximating the area under a curve, so let’s define some relevant terminology.
Definition
A set of points for with [latex]a=x_0
We can use this regular partition as the basis of a method for estimating the area under the curve. We next examine two methods: the left-endpoint approximation and the right-endpoint approximation.
Left-Endpoint Approximation
On each subinterval (for ), construct a rectangle with width and height equal to , which is the function value at the left endpoint of the subinterval. Then the area of this rectangle is . Adding the areas of all these rectangles, we get an approximate value for (Figure 2). We use the notation to denote that this is a left-endpoint approximation of using subintervals.

Figure 2. In the left-endpoint approximation of area under a curve, the height of each rectangle is determined by the function value at the left of each subinterval.
The second method for approximating area under a curve is the right-endpoint approximation. It is almost the same as the left-endpoint approximation, but now the heights of the rectangles are determined by the function values at the right of each subinterval.
Right-Endpoint Approximation
Construct a rectangle on each subinterval , only this time the height of the rectangle is determined by the function value at the right endpoint of the subinterval. Then, the area of each rectangle is and the approximation for is given by
The notation indicates this is a right-endpoint approximation for (Figure 3).

Figure 3. In the right-endpoint approximation of area under a curve, the height of each rectangle is determined by the function value at the right of each subinterval. Note that the right-endpoint approximation differs from the left-endpoint approximation in (Figure).
The graphs in Figure 4 represent the curve . In graph (a) we divide the region represented by the interval into six subintervals, each of width 0.5. Thus, . We then form six rectangles by drawing vertical lines perpendicular to , the left endpoint of each subinterval. We determine the height of each rectangle by calculating for . The intervals are . We find the area of each rectangle by multiplying the height by the width. Then, the sum of the rectangular areas approximates the area between and the -axis. When the left endpoints are used to calculate height, we have a left-endpoint approximation. Thus,

Figure 4. Methods of approximating the area under a curve by using (a) the left endpoints and (b) the right endpoints.
In Figure 4(b), we draw vertical lines perpendicular to such that is the right endpoint of each subinterval, and calculate for . We multiply each by to find the rectangular areas, and then add them. This is a right-endpoint approximation of the area under . Thus,
Example: Approximating the Area Under a Curve
Use both left-endpoint and right-endpoint approximations to approximate the area under the curve of on the interval ; use .
Watch the following video to see the worked solution to Example: Approximating the Area Under a Curve.
Try It
Sketch left-endpoint and right-endpoint approximations for on ; use . Approximate the area using both methods.
Looking at Figure 4 and the graphs in the previous example, we can see that when we use a small number of intervals, neither the left-endpoint approximation nor the right-endpoint approximation is a particularly accurate estimate of the area under the curve. However, it seems logical that if we increase the number of points in our partition, our estimate of will improve. We will have more rectangles, but each rectangle will be thinner, so we will be able to fit the rectangles to the curve more precisely.
We can demonstrate the improved approximation obtained through smaller intervals with an example. Let’s explore the idea of increasing , first in a left-endpoint approximation with four rectangles, then eight rectangles, and finally 32 rectangles. Then, let’s do the same thing in a right-endpoint approximation, using the same sets of intervals, of the same curved region. Figure 7 shows the area of the region under the curve on the interval using a left-endpoint approximation where . The width of each rectangle is
The area is approximated by the summed areas of the rectangles, or

Figure 8. With a left-endpoint approximation and dividing the region from a to b into four equal intervals, the area under the curve is approximately equal to the sum of the areas of the rectangles.
Figure 9 shows the same curve divided into eight subintervals. Comparing the graph with four rectangles in Figure 8 with this graph with eight rectangles, we can see there appears to be less white space under the curve when . This white space is area under the curve we are unable to include using our approximation. The area of the rectangles is

Figure 9. The region under the curve is divided into rectangular areas of equal width for a left-endpoint approximation.
The graph in Figure 10 shows the same function with 32 rectangles inscribed under the curve. There appears to be little white space left. The area occupied by the rectangles is

Figure 10. Here, 32 rectangles are inscribed under the curve for a left-endpoint approximation.
We can carry out a similar process for the right-endpoint approximation method. A right-endpoint approximation of the same curve, using four rectangles (Figure 11), yields an area

Figure 11. Now we divide the area under the curve into four equal subintervals for a right-endpoint approximation.
Dividing the region over the interval into eight rectangles results in . The graph is shown in Figure 12. The area is

Figure 12. Here we use right-endpoint approximation for a region divided into eight equal subintervals.
Last, the right-endpoint approximation with is close to the actual area (Figure 13). The area is approximately

Figure 13. The region is divided into 32 equal subintervals for a right-endpoint approximation.
Based on these figures and calculations, it appears we are on the right track; the rectangles appear to approximate the area under the curve better as gets larger. Furthermore, as increases, both the left-endpoint and right-endpoint approximations appear to approach an area of 8 square units. The table below shows a numerical comparison of the left- and right-endpoint methods. The idea that the approximations of the area under the curve get better and better as gets larger and larger is very important, and we now explore this idea in more detail.
Values of | Approximate Area | Approximate Area |
---|---|---|
7.5 | 8.5 | |
7.75 | 8.25 | |
7.94 | 8.06 |
Try It
Candela Citations
- 5.1 Approximating Areas. Authored by: Ryan Melton. License: CC BY: Attribution
- Calculus Volume 1. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/details/books/calculus-volume-1. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-1/pages/1-introduction