Primary Tool
Spreadsheet Workspace
Spreadsheet is the right primary tool because the point is comparative structure: the same intervals, different sample points, and different totals. That is much easier to read in columns than in prose alone.
Problem
Compare the left, right, and midpoint Riemann sums for on using equal subintervals.
This is a good comparison problem because the exact integral is known, so the approximations can be judged against a real answer rather than against each other only.
What the sample point changes
All three sums use the same partition width . What changes is only the sample point chosen inside each subinterval.
For an increasing function like on , the left sum tends to underestimate and the right sum tends to overestimate. The midpoint sum often lands closer because it samples more centrally in each interval.
In this specific table, the totals come out to , , and , while the exact integral is . That makes the midpoint improvement visible instead of merely theoretical.
Step-by-step walkthrough
The spreadsheet puts the three approximation methods side by side so the only moving part is the sample-point choice.
- 1Partition into equal intervals, so .
- 2Use the left endpoints to compute the left sum .
- 3Use the right endpoints to compute the right sum .
- 4Use the interval midpoints to compute the midpoint sum .
- 5Add the rectangle areas in each column to compare the three totals.
- 6Compare those totals with the exact integral .
Common Pitfall
A Riemann sum is not one fixed formula. The partition width can stay the same while the approximation changes noticeably depending on whether you choose left endpoints, right endpoints, or midpoints.
Try a Variation
Repeat the comparison for on . Which sums overestimate or underestimate now, and how does the graph explain the change?
Related Pages
Keep moving through the cluster
What the definite integral means geometrically
The definite integral measures signed area between a curve and the -axis. This page builds that idea from Riemann sums, connects it to antiderivatives, and shows how to read integral notation.
Open explanation →
Evaluate an integral by substitution
Substitution is the chain rule in reverse. In , the factor matches the derivative of the inner expression , so the structure is visible without extra algebra.
Open worked example →
Test convergence of an improper integral
An improper integral is decided by a limit, not by the antiderivative alone. This example tests and compares it with the divergent harmonic-tail integral.
Open worked example →