yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Worked example: over- and under-estimation of Riemann sums | AP Calculus AB | Khan Academy


4m read
·Nov 11, 2024

The continuous function ( g ) is graphed. We're interested in the area under the curve between ( x ) equals negative seven and ( x ) equals seven, and we're considering using Riemann sums to approximate it. So, this is the area that we're thinking about in this light blue color.

Order the areas from least on top to greatest on the bottom. So, this is a screenshot from a Khan Academy exercise where you would be expected to actually click and drag these around, but it's just a screenshot. So, what I'm going to do instead of dragging them around, I'm just going to write numbers ordering them from least to greatest, where one would be the least and then three would be the greatest.

Pause this video and try to think about these: which of these is the least, which is in the middle, and which is the greatest? So, let's just draw out what a left Riemann sum and a right Riemann sum would actually look like, and compare it to the actual area. We could do an arbitrary number of subdivisions. I would encourage us to do fewer because we're just trying to get a general sense of things, and they don't even have to be equal subdivisions.

So, let's start with the left Riemann sum. We want to start at ( x ) equals negative seven and we want to go to ( x ) equals seven. Well, let's say that this is the first rectangle right over here. So, this is our first subdivision, and it's a left Riemann sum. We would use the value of the function at the left end of that subdivision, which is ( x ) equals negative seven. The value of the function there is 12, and so this would be our first rectangle.

You already get a sense that this is going to be an overestimate relative to the actual area. The next subdivision would start here, so this would be our height of our rectangle. And once again, they don't have to be equal subdivisions; they often are, but I'm going to show you unequal subdivisions just to show you that this is still a valid Riemann sum. Once again, this is an overestimate where the actual area that we're trying to approximate is smaller than the area of this rectangle.

Then let's say the third subdivision right over here starts right over there at ( x ) equals three, and we use the left end of the subdivision, the value of the function there, to define the height of the rectangle. Once again, you see it is an overestimate. So, the left Riemann sum is clearly an overestimate, and it's pretty clear why. This function never increases; it's either decreasing or it looks like it stays flat at certain points. For a function like that, the left edge, the value of the function at the left edge, is going to be just as high or higher than any other value the function takes on over that interval for the subdivision.

So, you get left with all of this extra area that is part of the overestimate, or this area that is larger than the actual area that you're trying to approximate. Now let's think about a right Riemann sum, and I'll do different subdivisions. Let's say the first subdivision goes from negative seven to negative five, and here we would use the right edge to define the height, so ( f ) of negative five, or ( g ) of negative five, I should say.

So, that's right over there; that's our first rectangle. Maybe our next rectangle, the right edge is zero, so this would be it right over there. Then maybe we'll do four rectangles. Maybe our third subdivision, the right edge is at ( x ) is equal to three, so it would be right over there. Then our fourth subdivision, let's just do it at ( x ) equals seven, and we're using the right edge of the subdivisions. Remember, this is a right Riemann sum, so we use the right edge. The value of the function there is just like that.

Now you can see for any one of these subdivisions our rectangles are underestimates of the area under the curve. Underestimate! And that's because, once again, in this particular case, the function never increases; it's either decreasing or staying flat. So if you use the value of the function at the right edge, it's going to be smaller. It's never going to be larger than the value that the function takes on in the rest of that subdivision, and so we are continuously underestimating.

We're missing all of this area right over there that is not being included, so we have an underestimate. So, if we want to rank these from least to greatest, well, the right Riemann sum is the least; it is underestimating it. Then you have the actual area of the curve, which is just the area of the curve, and then you have the left Riemann sum, which is the overestimate.

More Articles

View All
Verifying solutions to differential equations | AP Calculus AB | Khan Academy
[Instructor] So let’s write down a differential equation: the derivative of y with respect to x is equal to four y over x. And what we’ll see in this video is the solution to a differential equation isn’t a value or a set of values. It’s a function or a…
Can Stoics Be Activists? | Q&A #5 | July 2019
Hello everyone! Welcome to the fifth Einzelgänger Q&A. Before the weekend, I reached the 50,000 subscriber mark on this channel. When I started back in January, I’d never had expected that this channel would reach this magic number so quickly or, at a…
2011 Berkshire Hathaway Annual Meeting (Full Version)
Good morning. I’m Warren. He’s Shirley. I can see he can hear; that’s why we work together. We have trouble remembering each other’s names from time to time. We’re going to—uh—I’m going to introduce the directors. We’re going to give you some information…
The World War of the Ants – The Army Ant
Some groups just don’t get along. Every day, billions of soldiers fight a merciless war on thousands of fronts, and it’s been going on for over 100 million years. The World War of the Ants. [Music] Ants are ancient beings that arose around 160 million y…
Escaping a Venezuelan Prison | Locked Up Abroad
Enjoy your first day release. As I walked through the doors, I couldn’t believe it. It wasn’t just some crazy dream. I might actually get away with this. My stomach’s churning over, tying itself up in knots. I got on the bus. I’m praying that I’m never …
Charlie Munger on Why Are People So Unhappy? | Daily Journal 2022 【YAPSS Highlight】
Speaker: What worries you most about our economy and the stock market, and on the other hand what makes you optimistic? Well, you have to be optimistic about the competency of our technical civilization. But there again, it’s an interesting thing if you t…