Tutorials › AP Calculus › Left, Right, and Midpoint Riemann Sums
← All AP Calculus Tutorials
AP Calculus AB & BC Intermediate

Left, Right, and Midpoint Riemann Sums

How to approximate a definite integral using rectangles, choose the correct sample points, and determine whether a left, right, or midpoint Riemann sum overestimates or underestimates the true value.

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

Example 1: Left Riemann Sum from a Table

Suppose the following values are given:

Use a left Riemann sum with the four subintervals to approximate .

Step 1: The interval is , divided into equal pieces.
Step 2: Find the width: .
Step 3: Use the left endpoints .
Step 4: Add the rectangle areas: .
Result: .

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

Example 2: Right Riemann Sum from the Same Table

Using the same table, approximate with a right Riemann sum.

Step 1: The width is still .
Step 2: Use the right endpoints .
Step 3: Multiply the sum of the right-endpoint heights by the width: .
Result: .

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

Example 3: Midpoint Riemann Sum

Suppose is divided into two equal subintervals, and the function values are known at the relevant midpoints:

Use a midpoint Riemann sum to approximate .

Step 1: The interval has width and is divided into subintervals, so .
Step 2: The midpoint heights are .
Step 3: Add the rectangle areas: .
Result: .

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:

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.

Do not automatically use every value in the table

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:

If the Function Is Decreasing

If is decreasing, the situation reverses:

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:

Do not confuse increasing/decreasing with concavity

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:

  1. Identify the interval. Find the starting and ending values.
  2. Count the subintervals. Determine how many rectangles are being used.
  3. Find . Use .
  4. Identify the sample points. Left, right, or midpoint?
  5. Select the correct function values. Do not use unnecessary table entries.
  6. Multiply the sum of the heights by .
  7. Check the direction of the approximation if the problem asks for an overestimate or underestimate.

Common Mistakes

Using the wrong endpoints

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.

Forgetting to multiply by the width

Adding the function values gives you a sum of heights, not an area. A Riemann sum must multiply those heights by .

Using the wrong number of subintervals

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.

Assuming midpoint always means "more accurate and therefore exact"

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

Question 1

Use a left Riemann sum with four equal subintervals to approximate , given .

Show answer
Question 2

Use a right Riemann sum with four equal subintervals to approximate , given .

Show answer
Question 3

The function is increasing on . Is a left Riemann sum an overestimate or underestimate of ?

Show answer
Question 4

The function is decreasing on . Is a right Riemann sum an overestimate or underestimate of ?

Show answer
Question 5

Suppose is concave up on . Is a midpoint Riemann sum an overestimate or underestimate of ?

Show answer
Question 6 (Combined)

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.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon