AP® Calculus AB · Unit 6 · Topic 6.2
Approximating Areas with Riemann Sums
A Riemann sum estimates the area under a curve by slicing the region into thin rectangles, finding each rectangle's area, and adding them up. More rectangles means a closer match to the true area.
A curve doesn't have straight edges, so you can't find the area under it with a simple length times width formula. Rectangles do. So you chop the interval into equal pieces, build a rectangle over each piece using the function's height at some sample point (left edge, right edge, or midpoint), and add up all those rectangle areas. That sum is only an estimate, since each rectangle either overshoots or undershoots the curve, but it's an estimate you can actually compute.
The fix for that overshoot and undershoot is to use more rectangles. Thinner rectangles hug the curve more closely, so the gaps between the rectangle tops and the curve shrink. As the number of rectangles n grows, the width of each one, b/n, shrinks toward zero, and the total error shrinks with it. Push n toward infinity and the sum stops being an approximation at all: it becomes the exact area, which is the definite integral.
This is why the definite integral is defined as the limit of a Riemann sum as n goes to infinity. Every definite integral you compute later, using the Fundamental Theorem of Calculus, is secretly standing in for this infinite sum of infinitely thin rectangles. Riemann sums are also how you'll approximate area from a table of data, where no formula for f(x) exists and antiderivatives aren't an option.
Key terms
- Riemann sum
- A sum of rectangle areas used to approximate the area under a curve.
- Right Riemann sum
- A Riemann sum where each rectangle's height comes from the function value at the right endpoint of its subinterval.
- Left Riemann sum
- A Riemann sum where each rectangle's height comes from the function value at the left endpoint of its subinterval.
- Subinterval width
- The width b/n of each rectangle, found by dividing the total interval length by the number of rectangles n.
- Definite integral
- The exact area under a curve, defined as the limit of a Riemann sum as the number of rectangles goes to infinity.
Watch it explained
- How it worksHow does increasing the number of rectangles squeeze the estimate toward the truth?
- Worked exampleFind a four-rectangle right Riemann sum for f(x) = x2 on the interval from 0 to 2.
- Common mistakeWhy isn't the area under a curve simply the average height times the width?
- Ties togetherHow does letting the number of rectangles go to infinity turn a Riemann sum into a definite integral?
Check yourself
End of topic.