← Return to lessonClass materials · 6.2
Approximating Areas with Riemann Sums
Lecture transcript
0:00Last time, our rate graphs were polite: flat lines, neat triangles. Today the rate curves, and all you get are four numbers. Picture a snowstorm at midnight. You step outside with a clipboard and check how fast the snow is falling, in inches per hour: at midnight, at two, at three, and at six. Then you go back to sleep. Look at the gaps: two hours, then one, then three. Totally uneven.
0:31So how much snow piled up over those six hours? Today you'll estimate it four ways, from a table and from a formula. And when the problem gives you a reason, you'll say whether an estimate is too big or too small, and why. Let's go get that five. Here's the clipboard as a table. At times zero, two, three, and six hours, the snow is falling at one, two, four, and five inches per hour.
1:02Widths first: subtract each time from the next. Zero to two is a width of two. Two to three is a width of one. Three to six is a width of three. What happened in between? Honestly, we don't know. It could be any smooth climb, like this one. Rate times time gives an amount. Inches per hour, times hours, gives inches. So the snow is the area under this rate graph.
1:32We can't get that curved area exactly. So we cut it at the table's times and use flat-topped rectangles. Each piece has a left end and a right end. Left sum: on each piece, the left end sets the height. Two times one is the first purple rectangle. One times two is the next. Three times four is the last. Two plus two plus twelve: sixteen inches. And the five? Six is never the left end of a piece, so five never gets picked.
2:06Right sum: same three widths, but now the right end sets the height. Two times two is a pink rectangle. One times four is the next. Three times five is the last. Four plus four plus fifteen: twenty-three inches. This time the starting height, one, gets left out. Hold on. Widths two, one, and three. They don't match. Is that allowed? Yes. Two, one, three: each term is one rectangle, and each rectangle uses its own width.
2:43So don't use a memorized six minus zero, over three, here. That gives two for every piece, and the left sum comes out fourteen, not sixteen. The widths don't have to match. These are called the left Riemann sum and the right Riemann sum. Why keep the roof flat for three hours, when the rate climbs from four to five? Join the points with straight lines instead. Each piece becomes a trapezoid. No scary formula.
3:14Average the two heights, then multiply by the width. One plus two, over two, times two: three. Two plus four, over two, times one: three. Four plus five, over two, times three: thirteen and a half. Three plus three plus thirteen and a half: nineteen and a half inches. This is the trapezoidal sum. Notice: nineteen and a half is exactly halfway between sixteen and twenty-three.
3:44On each piece, the slanted top cuts the gap between its two rectangles in half. But that shortcut needs the left and right sums on the very same pieces, and a trapezoid question doesn't hand you those sums. So on your answer, write the trapezoid terms. Now, is sixteen too big or too small? Careful: four rising numbers don't promise the curve kept rising in between. So the problem has to say it. Say it's given: s is increasing.
4:17Walking uphill, the left end of each piece is the lowest point. So every purple rectangle stays under the curve, missing a little wedge. So the left sum, sixteen, is an underestimate. And the right end is the highest point on each piece. The pink rectangles poke out above the curve, so twenty-three is an overestimate. What if an increasing graph sits below the axis? Then the heights are negative, and we compare them as signed numbers.
4:50The left end is still the smallest value on each piece, like negative five is less than negative two. So the left sum is still an underestimate. Decreasing? Then it flips: the left sum is over, the right sum is under. Up and then down? Then this reason alone can't decide it. Trapezoids care about something else: how the curve bends. Concave up, and the slanted top sits above the curve: an overestimate.
5:22Concave down, and it sits below: an underestimate. Again, only when the problem gives it. On the exam, one sentence: s is increasing, so the left Riemann sum is an underestimate. Reason, then conclusion. There's a fourth way, and it shines when you have a formula. Take f of x equals x squared, from zero to four, in two equal pieces. Each piece has width two. Walk into the middle of each piece: x equals one, and x equals three.
5:57Two times one squared, the purple rectangle. Plus two times three squared, two times nine, the pink one. Two plus eighteen: twenty. The middle height, piece by piece. This is the midpoint Riemann sum. Example one. Cars enter a parking garage at a rate of R of t cars per hour, from t equals zero to ten. Here's the table, and its points on the graph. In part a, find a right Riemann sum on the four subintervals in the table, that is, its four pieces.
6:33In part b, find a trapezoidal sum on the same pieces. Part a. The plan: widths from the table, then width times the right height on each piece. And write every product. One gap at a time: two, three, four, one. Uneven again. First piece: width two times the right height, fourteen. Then three times twenty, four times twelve, and one times eight. R of zero, ten, sits this one out.
7:06Zero is nobody's right end. Twenty-eight, plus sixty, plus forty-eight, plus eight: one hundred forty-four. Units: cars per hour times hours gives cars. So about one hundred forty-four cars entered. If a question asks how many cars are in the garage, start with the cars already there, add the cars that came in, and subtract any that left. Part b. Same four widths. The plan: on each piece, average the two heights, times the width.
7:40Ten plus fourteen, over two, times two: twenty-four. Fourteen plus twenty, over two, times three: fifty-one. Twenty plus twelve, over two, times four: sixty-four. Twelve plus eight, over two, times one: ten. Twenty-four plus fifty-one plus sixty-four plus ten: one hundred forty-nine. About one hundred forty-nine cars. Your workbook has more uneven tables.
8:11Take each width from the table, and show the sum. Before we leave example one: two ways points disappear. One: just the number, about one forty-four, with no sum shown. On one real AP question, 2023 Question 1 part a, an answer of only the number earned neither the sum point nor the answer point. Two: ten hours over four pieces, two and a half, as the width of every piece. Fix both, one line at a time.
8:43Show width times height for each piece, then the number. Take each width from the table: two, three, four, one. And even with a calculator, write the sum first. Example two. f is decreasing on one to seven, and we know four values, at x equals one, three, four, and seven. Those x-values cut the pieces. Part a asks for a left Riemann sum. Part b asks, over or under? Explain.
9:17Part a. The plan: widths first, then width times the left height. Here are the four points, and one decreasing curve through them. One to three is two wide. Three to four is one. Four to seven is three. Left ends: two times twenty, plus one times twelve, plus three times nine. Forty plus twelve plus twenty-seven: seventy-nine. f of seven, two, is left out.
9:47Seven is nobody's left end. So the integral from one to seven of f is approximately seventy-nine. Approximately, not equal. Part b. The plan: use the fact the problem gave us. f is decreasing, and that's given. Walking downhill, on each piece the left end is the highest point. So every rectangle sticks out above the curve. Write it as one sentence: since f is decreasing on one to seven, the left Riemann sum, seventy-nine, is an overestimate.
10:24The given reason, and the conclusion. The workbook asks for this reason again. Write it as one full sentence. Example three, multiple choice. The table gives f at every whole number from zero to six. Find the midpoint Riemann sum on zero to six, with three subintervals of equal width. The plan: width first, then the middles, then the heights, then add. Here the problem says equal widths: six minus zero, over three, is two.
11:00Pieces run zero to two, two to four, and four to six. Their middles are one, three, and five. They're in the table. So the heights are five, ten, and three. The values at zero, two, four, and six are not used. Two times five, plus two times ten, plus two times three: thirty-six. Every other choice is a trap. Eighteen forgot the width. Thirty-two used the right ends, and thirty-four used the left ends.
11:35So the answer is D, thirty-six. One more midpoint sum is in your workbook. Find the width and the middles before any height. So, back to the snow. How much fell in those six hours? Not exactly, but we can estimate it. Widths first, one gap at a time, straight from the table. Then width times height, piece by piece: the left end, the right end, the middle, or both ends averaged for a trapezoid.
12:07And show the sum before the number. Over or under? Only with a reason the problem gives: increasing or decreasing for left and right sums, the bend for trapezoids. Three rectangles gave us a decent guess. What happens if we keep cutting thinner and thinner pieces? That's next: six point three. See you there.