Lesson 6.1 · Integration and Accumulation of Change
Riemann sums
Derivatives answer the question "how fast is something changing?" This unit asks the reverse question: if you know how fast something changes, how much does it change in total? The first tool for answering that is the Riemann sum, which adds up many small rectangles to estimate the area under a rate curve.
Area under a rate curve is accumulated change
Suppose a car drives at a constant 60 miles per hour for 3 hours. It travels miles. On a graph of velocity against time, that product is the area of a rectangle with height 60 and width 3.
The same idea works when the rate is not constant. If is a rate of change, then the area between the graph of and the -axis over an interval equals the total change in the quantity over that interval. The units confirm it: the height has units like gallons per minute, the width has units of minutes, so the area has units of gallons.
The trouble is that curved regions don't have easy area formulas. So you slice the region into thin vertical strips, approximate each strip with a rectangle, and add up the rectangles.
Left and right Riemann sums
Split the interval into subintervals. On each one, build a rectangle whose width is the length of the subinterval and whose height is a value of the function somewhere on it.
- A left Riemann sum uses the function value at the left endpoint of each subinterval.
- A right Riemann sum uses the function value at the right endpoint.
Definition
Riemann sum
A Riemann sum for on is a sum of the form
where the interval is split into subintervals with widths and each is a point chosen in the th subinterval. The sum estimates the signed area between the graph of and the -axis.
Here is a left Riemann sum for on with four subintervals of width 1. Each rectangle's height is the curve's height at the left edge.
Worked example: Left and right sums for a curve
Estimate the area under on using four equal subintervals, first with a left sum and then with a right sum.
Each subinterval has width . The endpoints are .
Left sum (use ):
Right sum (use ):
The true area is between 7 and 15. Because is increasing on , the left rectangles fall short and the right rectangles overshoot.
Midpoint and trapezoidal sums
Two other estimates are usually much more accurate.
- A midpoint sum uses the function value at the midpoint of each subinterval.
- A trapezoidal sum replaces each rectangle with a trapezoid whose top connects the two endpoint heights. One trapezoid over a subinterval of width has area .
For the same function, the midpoint sum is , and the trapezoidal sum is . The exact area turns out to be , so both are close.
Tip
Each trapezoid is the average of its left and right rectangles, so the trapezoidal sum is always the average of the left and right sums: . Here, . This works even when the subintervals have different widths.
Riemann sums from a table
On the AP exam, the function is often given only as a table of values, and the subintervals are often unequal. Use the widths exactly as the table gives them, one subinterval at a time.
Worked example: Unequal subintervals from a table
Water flows into a tank at a rate of gallons per minute. Selected values are shown.
| (minutes) | 0 | 2 | 5 | 9 | 10 |
|---|---|---|---|---|---|
| (gal/min) | 12 | 15 | 20 | 18 | 14 |
Use a right Riemann sum and then a trapezoidal sum with the four subintervals in the table to estimate the total water that flows in from to .
The widths are .
About 171.5 gallons of water flow into the tank during the 10 minutes.
Common mistake
Don't assume the subintervals are equal. With a table like the one above, multiplying every height by the same width gives a wrong answer. Find each width from consecutive -values.
Overestimate or underestimate?
AP questions often ask whether an approximation is too large or too small. You can tell from the shape of the graph without computing the exact area.
Over or under
- If is increasing, a left sum underestimates and a right sum overestimates. If is decreasing, it's the reverse.
- If the graph of is concave up, a trapezoidal sum overestimates (the straight tops lie above the curve) and a midpoint sum underestimates. If is concave down, it's the reverse.
Worked example: Deciding without computing
A function is positive, decreasing and concave up on . Which of the left, right and trapezoidal sums overestimate the area under ?
Since is decreasing, the left endpoint of each subinterval is the highest point on it, so the left sum overestimates and the right sum underestimates. Since is concave up, every trapezoid's slanted top lies above the curve, so the trapezoidal sum overestimates too. The left and trapezoidal sums are overestimates; the right sum is an underestimate.
Always state your reasoning in terms of the function's behavior ("because is increasing on the interval..."). A correct conclusion without a reason earns little credit on free-response questions.
Practice
Let . Find the right Riemann sum for on using three subintervals of equal width.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
For the same function on with three equal subintervals, find the left Riemann sum.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Use a midpoint sum with two subintervals of equal width to estimate the area under on .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The velocity of a cyclist, in feet per second, is recorded at selected times.
| (seconds) | 0 | 4 | 6 | 10 |
|---|---|---|---|---|
| (ft/s) | 0 | 8 | 14 | 20 |
Use a trapezoidal sum with the three subintervals in the table to estimate the distance, in feet, that the cyclist travels from to .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A rate is measured in liters per hour, with in hours. A right Riemann sum for on is computed. What does the sum approximate?
A function is positive, increasing and concave down on . Let , and be the left, right and trapezoidal sums with the same subintervals, and let be the exact area under . Which ordering is correct?
Estimate the area under on using a right Riemann sum with four subintervals of equal width. Give an exact fraction.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.