Riemann Sums and Accumulation
Construct weighted sums from a partition and distinguish their finite approximation from an integral.
Builds on Antiderivatives and Initial Values
The bigger question: How do tiny changes add up to a total?
On this page
Add many small contributions
Suppose a rate is measured in liters per minute. Over a short interval of width , the contribution is approximately rate times duration. Adding these contributions suggests a sum. For a function on , a tagged partition gives
Each sample lies in its subinterval. If these sums approach one value as the largest subinterval width tends to zero, independent of the samples, that value is the Riemann integral. Continuous functions on closed bounded intervals satisfy this condition.
Equal-width recipes
With equal intervals, and . Left sums use , right sums use , and midpoint sums use . The sample choice changes a finite approximation, even though all three converge for a continuous function.
For an increasing function, left sums underestimate and right sums overestimate the signed integral. This conclusion comes from interval-wise inequalities, not merely from a picture. Without monotonicity, the same bracketing claim need not hold.
Worked example: four pieces
Approximate with four intervals. The width is . The right sum is
The left sum is . They bracket the exact value . The midpoint sum is , closer in this example but still not exact.
The sum must include the width. Adding heights alone has the wrong units and grows with the number of samples instead of approaching the accumulated quantity.
Worked example: pass to a limit
For the right sum with pieces,
Dividing by and taking the limit gives . The finite error is , which is positive and approaches zero. This calculation explicitly connects the rectangles to the integral rather than using an antiderivative in advance.
Signed contributions
Rectangles below the horizontal axis contribute negative values. The integral is net accumulation; total geometric area uses . If a velocity changes sign, its integral gives displacement, while integrating speed gives distance traveled.
Practice
- Find the left sum for on with two pieces.
- Find the corresponding midpoint sum.
- Why must the largest width approach zero for a general partition?
Show worked solutions
- Width , left samples : the sum is .
- Samples give , the exact integral of this linear function.
- Otherwise a large interval can keep a fixed sampling error even while many tiny intervals are added elsewhere.
Explore
Try this. Increase the rectangle count and compare left, midpoint and right samples. On this increasing curve, left sums underestimate and right sums overestimate.
This explorer uses on , whose exact integral is . Compare its interval and value with the worked example above.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
Each sample is weighted by its interval width.
Hint 2 · Take the next step
Compute 2×1+2×4+2×2.
Show the reasoning
Answer: 14
The accumulated approximation is 2(1+4+2)=14, not just the sum of heights.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.