How Do Riemann Sums and the Trapezoidal Rule Approximate an Integral?
A Riemann sum approximates by adding the areas of thin rectangles, using the function’s value at the left, right, or midpoint of each subinterval. The Trapezoidal Rule uses trapezoids instead, averaging each pair of neighboring heights — and when the subintervals are equal width, it equals the average of the left and right Riemann sums.
With equal subinterval width and values : With unequal widths, each trapezoid must be computed on its own:
Step-by-Step Method
- Determine whether the subintervals in the data are equal or unequal width — this decides which formula to use.
- For equal widths, use the compressed formula: first and last values counted once, every interior value counted twice, the whole sum multiplied by .
- For unequal widths, compute each trapezoid’s area separately as , then add all the pieces.
- As a check, recompute the same sum the other way — trapezoid by trapezoid instead of the compressed formula, or vice versa — and confirm the totals match.
- If asked for a Riemann sum instead, use only the left, only the right, or only the midpoint value on each subinterval, not an average of two values.
Worked Examples
- Compressed formula: .
- Check by summing the four trapezoids individually: .
- A third check, available only because the widths are equal: the Trapezoidal Rule equals the average of the Left sum () and the Right sum (): . All three agree.
- The widths are not equal (, then , then ), so the compressed formula does not apply — each trapezoid must be found separately.
- : . : . : .
- Sum: .
- Check by reframing each trapezoid as average height times width: , , — the same three values, same total.
Common Mistakes on the AP Exam
- Using the compressed formula when the subintervals are NOT equal width — it only works with a single, constant .
- Forgetting to double the interior values (and only the interior ones) when using the compressed formula.
- Mixing up a Riemann sum (one value per subinterval) with the Trapezoidal Rule (an average of two values per subinterval).
- Using the right endpoint of each subinterval when a left or midpoint Riemann sum was specifically requested, or vice versa.
- Forgetting that the Trapezoidal Rule gives an approximation, not an exact value, unless the function happens to be linear on every subinterval.
How This Appears on the AP Exam
- This is tested on both AB and BC exams, almost always from a table of values rather than a formula — a calculator alone cannot replace reading the table correctly.
- FRQ items frequently use unequal subintervals specifically to test whether you know the compressed formula does not apply.
- Full credit requires the setup shown explicitly (each term or trapezoid), not just a final number from a calculator’s built-in function.
Try a timed AP-style question on this topic — free.
Start FreeFrequently Asked Questions
What is the difference between a Riemann sum and the Trapezoidal Rule?
A Riemann sum uses one function value (left, right, or midpoint) per subinterval to build a rectangle. The Trapezoidal Rule uses the average of the two endpoint values per subinterval, building a trapezoid instead — which is usually a better approximation for a curved function.
Can you use the compressed trapezoidal formula with unequal subintervals?
No. The compressed formula assumes every subinterval has the same width. With unequal widths, you must compute each trapezoid’s area separately and add them.
Is the Trapezoidal Rule always more accurate than a Riemann sum?
Usually, but not guaranteed — for a function that is concave up, the Trapezoidal Rule actually overestimates the integral, while a midpoint Riemann sum typically underestimates it; which is closer depends on the specific function.
How do you know if a Riemann sum overestimates or underestimates the integral?
For an increasing function, a left sum underestimates and a right sum overestimates (and the reverse for a decreasing function); for a concave-up function, the Trapezoidal Rule overestimates, and the opposite holds for concave-down.
Do these methods require a calculator on the AP exam?
A calculator helps with the arithmetic, but the setup — identifying the correct widths and which values go where — is the part that earns credit, and that has to be shown whether or not a calculator is used.
Related Topics
Keep going with timed tests & full mocks, study materials for every unit, DME Nova — your AI tutorthat won't make up an answer, and FRQ feedback scored against an exam-style rubric.
Start Free