What a Riemann Sum Is
A definite integral measures accumulated change or signed area. But sometimes you are not given an antiderivative, or the AP Calculus problem specifically asks you to approximate the integral from a table or graph.
A Riemann sum approximates the area under a curve by dividing the interval into smaller pieces and replacing the curve on each piece with a rectangle.
The basic idea is simple: add up the areas of the rectangles. Every rectangle has width and height determined by a selected point in the interval.
The only question is: which point should determine the height? That's what separates left, right, and midpoint Riemann sums.
Step 1: Find the Width of Each Rectangle
If the interval is and it is divided into equal subintervals, then every rectangle has width
This value is one of the most important numbers in the problem. Find first, before calculating any heights.
Left Riemann Sums
For a left Riemann sum, use the left endpoint of every subinterval to determine the rectangle's height.
Suppose the interval is divided at
The left endpoints are
Therefore, the left Riemann sum is
Suppose the following values are given:
Use a left Riemann sum with the four subintervals to approximate .
Right Riemann Sums
For a right Riemann sum, use the right endpoint of every subinterval.
For the same partition, the right endpoints are
The right Riemann sum is therefore
Using the same table, approximate with a right Riemann sum.
Midpoint Riemann Sums
A midpoint Riemann sum uses the midpoint of each subinterval rather than either endpoint.
For a subinterval from to , the midpoint is
So if the subintervals are , the midpoint Riemann sum is
Suppose is divided into two equal subintervals, and the function values are known at the relevant midpoints:
Use a midpoint Riemann sum to approximate .
The Three Formulas Side by Side
For equally spaced subintervals of width , the three sums can be summarized as follows:
The easiest way to remember the distinction is:
- Left: use the left side of each interval.
- Right: use the right side of each interval.
- Midpoint: use the center of each interval.
Reading a Table Correctly
AP Calculus frequently gives you a table instead of an equation. In these problems, the most important skill is recognizing which rows or entries the Riemann sum actually needs.
Suppose a table contains values at :
If the problem asks for a left sum on , you use the values at , not every value in the table.
If it asks for a right sum, use .
If it asks for a midpoint sum, the table must provide the function values at the midpoints, or you must otherwise be able to determine them.
A table may contain more information than you need. First identify the partition and the sample points required by the particular Riemann sum. Then select only those function values.
Overestimates and Underestimates
One of the most common AP Calculus questions asks whether a Riemann sum is an overestimate or underestimate of the actual integral.
The key is to think about the shape of the function.
If the Function Is Increasing
If is increasing, then the left endpoint gives a rectangle height that is generally too small, while the right endpoint gives a height that is generally too large.
So for an increasing function:
- Left sum → underestimate
- Right sum → overestimate
If the Function Is Decreasing
If is decreasing, the situation reverses:
- Left sum → overestimate
- Right sum → underestimate
What About Midpoint Sums?
Midpoint sums are usually more accurate because they sample the function near the center of each interval. However, you should not automatically call a midpoint sum an overestimate or underestimate just because it is a midpoint sum.
The direction of the error depends on the function's concavity.
For a concave-up function, the midpoint rectangles generally lie below the curve, producing an underestimate:
For a concave-down function, the midpoint rectangles generally lie above the curve, producing an overestimate:
Left and right sum errors are determined by whether the function is increasing or decreasing. Midpoint-sum errors are tied to concavity. These are different concepts.
A Fast AP Exam Strategy
When you see a Riemann-sum problem on the AP exam, use this sequence:
- Identify the interval. Find the starting and ending values.
- Count the subintervals. Determine how many rectangles are being used.
- Find . Use .
- Identify the sample points. Left, right, or midpoint?
- Select the correct function values. Do not use unnecessary table entries.
- Multiply the sum of the heights by .
- Check the direction of the approximation if the problem asks for an overestimate or underestimate.
Common Mistakes
For a left sum, the first endpoint is included and the final endpoint is excluded. For a right sum, the first endpoint is excluded and the final endpoint is included.
Adding the function values gives you a sum of heights, not an area. A Riemann sum must multiply those heights by .
If the interval is divided into four equal pieces, there are four rectangle heights. Do not accidentally use five values simply because the table contains five endpoint values.
A midpoint sum is an approximation. It can be quite accurate, especially with small subintervals, but it is not generally equal to the exact integral.
Practice Problems
Use a left Riemann sum with four equal subintervals to approximate , given .
Show answer
Use a right Riemann sum with four equal subintervals to approximate , given .
Show answer
The function is increasing on . Is a left Riemann sum an overestimate or underestimate of ?
Show answer
The function is decreasing on . Is a right Riemann sum an overestimate or underestimate of ?
Show answer
Suppose is concave up on . Is a midpoint Riemann sum an overestimate or underestimate of ?
Show answer
A table gives . Use a midpoint Riemann sum with two equal subintervals to approximate .
Show answer
The Big Picture
Riemann sums are the bridge between rectangle approximations and the definite integral. As the number of rectangles increases and their widths become smaller, the approximation becomes closer to the exact accumulated area.
For AP Calculus, the most important distinction is not memorizing three disconnected formulas. It is recognizing that every Riemann sum follows the same structure:
Choose the sample points, find the heights, add them, and multiply by the width. Once that pattern becomes automatic, table-based Riemann-sum questions become much faster.
Test yourself: AP Calculus practice exams
Ready to check what you know? Work an AP-style practice exam, then open the full solutions.
Want all 1,114 practice problems?
This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.
Get the Calc Pass App
Scan to download and practice on the go, with instant scoring.
Vol. 1: 1,114 Questions
The complete practice question bank, organized by AB & BC topic.
View on Amazon