Calculus · Grade 12 and undergraduate
Riemann Sums and the Accumulation of Change
Quick answer
When a rate is constant, amount equals rate times time. When it varies, split the time into short pieces, treat the rate as constant on each, and add the products: that is a Riemann sum, and it approximates the area under the rate's graph. Heights can come from the left ends, right ends or midpoints of the pieces, and averaging left and right gives the trapezoidal sum. For an increasing function the left sum underestimates and the right sum overestimates, so the true value lies between them.
What you'll learn
- Interpret the area under a rate graph as accumulated change
- Compute left, right, midpoint and trapezoidal sums, including from tables
- Write a Riemann sum in sigma notation
- Decide whether a sum overestimates or underestimates
Adding up a changing rate
Water flows into a tank at liters per minute. If the rate were a steady liters per minute for minutes, the tank would gain liters — the area of a rectangle wide and tall under the rate’s graph.
When the rate changes, cut the time into short pieces. On each piece the rate is nearly constant, so the water gained is about rate × time. Add up the pieces. The accumulated change is the area under the rate graph, and the sum of thin rectangles approximates it.
Riemann sums
Divide into subintervals of width with endpoints . A Riemann sum is
where each is a point of the -th subinterval. The common choices name the sum:
| Sum | Height of the -th rectangle |
|---|---|
| left | , the left end |
| right | , the right end |
| midpoint | , the middle |
The trapezoidal sum replaces each rectangle by a trapezoid; it equals the average of the left and right sums.
- y = x²
Why left and right sums trap the area
Take an increasing function. On each subinterval its smallest value is at the left end and its largest at the right end. So every left rectangle fits under the curve, and every right rectangle reaches above it.
Add them up: the left sum is too small and the right sum is too large. For an increasing function, left sum ≤ area ≤ right sum; for a decreasing function, the order flips. As the pieces get thinner, both sums close in on the area from opposite sides — which is how the exact area is defined in the next lesson.
Sigma notation
means “add up”. The right sum above is
In general, with , the right sum is .
Worked examples
Common mistakes
Practice problems
-
Find the left sum for on with .
Answer
Full solution
. Left ends : . Sum: .
-
Find the right sum for the same function and interval.
Answer
Full solution
Right ends : . Sum: .
-
For the function in problem 1, find the trapezoidal sum. Why is it exact here?
Answer
; the graph is a straight line, so each trapezoid matches the area exactly.
Full solution
. The region is a trapezoid itself: .
-
Find the midpoint sum for on with .
Answer
Full solution
, midpoints and : . (The exact area is .)
-
Water flows into a tank at the rates in the table. Estimate the water added from to minutes with a right sum.
(min) (L/min) Answer
liters
Full solution
Each width is : .
-
For the table in problem 5, is the right sum an overestimate or underestimate, if is increasing?
Answer
An overestimate
Full solution
For an increasing rate, the right end of each piece has the largest value, so each rectangle is too tall.
-
Write the right sum for on with pieces in sigma notation.
Answer
Full solution
and , so the sum is with those values.
-
Evaluate .
Answer
Full solution
.
-
A table gives , , and . Estimate the distance traveled from to with a trapezoidal sum.
Answer
Full solution
Widths , , : .
-
A student computes the left sum for on with as . What went wrong?
Hint
Which endpoints does a left sum use?
Answer
That is the right sum. The left sum uses and equals .
Full solution
The left ends of are .
.
Frequently asked questions
What is a Riemann sum?
A sum of products f(xᵢ*) · Δx over small subintervals of [a, b]. Each product is the area of a thin rectangle, and the sum approximates the area under the curve.
What is the difference between left, right and midpoint sums?
They take each rectangle's height from a different point of its subinterval: the left end, the right end or the middle.
What is the trapezoidal sum?
It uses trapezoids instead of rectangles, and it equals the average of the left and right sums.
When does a left sum underestimate?
When the function is increasing: each rectangle's height is the smallest value on its piece, so it sits under the curve.
How do I compute a Riemann sum from a table with uneven spacing?
Multiply each height by the width of its own subinterval; the widths are not all the same.