How do left, right, midpoint, and trapezoidal sums estimate an integral?
Estimate an integral with left, right, midpoint and trapezoidal sums from a table or a formula, show the sum, and tell over or under from increasing or decreasing.
Snow at in/h, known only at (). Left heights: . Right heights: . The widths can differ. These are Riemann sums.
A trapezoid on each piece: , the average of the two rectangles: the trapezoidal sum.
With a formula you can use the middle: on , middles and : , the midpoint sum.
increasing: the left end is the lowest, so the left sum underestimates and the right sum overestimates. Decreasing: the other way. Up and down: it cannot tell.
Show the sum (width height for each piece), then the number.
The number only, or one width for all
Common mistake , with no sum shown; or the same width for every piece.
Correction Write width height for each piece, with the widths from the table (), then the number.
Idea 1: left and right Riemann sums
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. Widths first: subtract each time from the next. Zero to two is a width of two. Two to three is a width of one.
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. We 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.
Right 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. So 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.
Idea 2: trapezoidal 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. Average the two heights, then multiply by the width.
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.
On 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.
Idea 3: over or under
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. Walking 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. The 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. Concave 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.
Idea 4: midpoint Riemann sum
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. Two 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 1: right and trapezoidal sums from a table
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. In 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.
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. Zero 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. Ten 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. Take each width from the table, and show the sum.
Common mistake: a number with no 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.
Show 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 2: left sum, over or under
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. Part 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. Seven 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. The given reason, and the conclusion.
The workbook asks for this reason again. Write it as one full sentence.
Example 3: a midpoint sum from a table
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.
Pieces 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. So the answer is D, thirty-six.
One more midpoint sum is in your workbook. Find the width and the middles before any height.
Worked examples
Example 1
Cars enter a garage at a rate of cars per hour, . (a) Estimate the number of cars that enter with a right Riemann sum, using the 4 subintervals in the table. (b) Estimate the same number with a trapezoidal sum, same subintervals.
(hours)
0
2
5
9
10
(cars/h)
10
14
20
12
8
Hint
The widths come from the table: . Width times height for each piece, then add.
Answer and solution
(a) About cars.
(b) About cars.
Example 2
is decreasing on . . (a) Left Riemann sum, 3 subintervals, to approximate (b) Overestimate or underestimate? Explain.
Hint
Decreasing: which end of each piece is the highest?
Answer and solution
overestimate
Widths .
is decreasing, so the left end is the highest on each piece: the rectangles are above the curve, and is an overestimate.
Example 3
The table gives values of . The midpoint Riemann sum for on with three subintervals of equal width is
Oil is pumped into a tank at a rate of gallons per hour. Selected values are in the table. Use a with the four subintervals of the table to estimate the gallons pumped in from to .
(hours)
0
1
3
4
7
(gal/h)
6
9
10
8
5
Hint
Each width comes from the table. A left sum uses the left value of each piece.
Answer and solution
Answer
Widths ; left heights .
About gallons.
Common mistake Using equal widths instead of the table's widths.