Worked ExampleCalculusIntermediateSpreadsheet Workspace

Compare left Riemann sums, right Riemann sums, and midpoint sums for the same function

For on , left, right, and midpoint sums built from the same partition give noticeably different totals. The point of the page is to compare those behaviors directly rather than treating the formulas as interchangeable.

Primary Tool

Spreadsheet Workspace

Open spreadsheet

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.

  1. 1Partition into equal intervals, so .
  2. 2Use the left endpoints to compute the left sum .
  3. 3Use the right endpoints to compute the right sum .
  4. 4Use the interval midpoints to compute the midpoint sum .
  5. 5Add the rectangle areas in each column to compare the three totals.
  6. 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

Back to Learn Math →