Video · + 2 min read
(Video) Approximating Definite Integrals Using Rectangles
by PatrickJMT
Here's a video by patrickJMT where he shows you how to approximate a definite integral using rectangles.
It is important to know that there are three types of rectangles we can take when approximating: left, right, and midpoint. As you will see in the following examples, they do give different results.
The left rectangle approximation is when you make the left hand points of the pieces the height of the rectangles.

The right rectangle approximation is when you make the right hand points of the pieces the height of the rectangles.

Finally, a midpoint rectangle approximation is when you make the midpoints of the pieces the height of the rectangles.

The first problem he looks at is:
Approximate using rectangles and left endpoints.
To start, we should draw the graph on the interval .
![just draw the graph on the interval [0, 2], ignore the rest of it for now](https://d20khd7ddkh5ls.cloudfront.net/img01_116.jpg)
Next, it tells us to use rectangles. To determine the spacing we can use the formula:

Finally, it wants the rectangles to be left endpoints. This means the rectangles' height is based off the left point.

Left Endpoints
Finally we just sum up the area of each rectangle.
Because our rectangles are containing area above the curve, we know that our answer is an overestimate.
This part is not in the video but let's see what happens when we use right endpoints.
Approximate using rectangles and right endpoints.
Since everything else is staying the same, the graph and the pieces will be the same as before.

Right Endpoints
Because these rectangles leave out some area under the graph, we expect this approximation to be less than the one above.
Now let's take the same problem but use the midpoints. Do you expect this approximation to be the most accurate?
Approximate using rectangles and right endpoints.

Midpoints
The left side is missing area under the curve but the right side has area above the curve. Because of this, we expect the two to balance each other, giving us an approximation somewhere in-between the left endpoint and right endpoint.
Accuracy
The smaller the error, the better the approximation of the actual value of the integral (which can't always be computed explicitly)
