PrepGo

Approximating Areas with Riemann Sums - AP Calculus AB Study Guide

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Learn with study guides reviewed by top AP teachers. This guide takes about 14 minutes to read.

The Core Idea: Approximating Areas with Riemann Sums

Finding the exact area of a region with curved boundaries is a fundamental challenge in calculus. While we can easily find the area of geometric shapes like rectangles and trapezoids, most regions under a function's curve are not so simple. The core idea of this topic is to approximate the area of such a complex region by dividing it into a series of simpler, familiar shapes whose areas we can calculate.

We slice the area under the curve on an interval into a number of thin vertical strips. Each strip is then approximated by a rectangle or a trapezoid. By summing the areas of these individual shapes, we arrive at a total area approximation, known as a Riemann sum or a trapezoidal sum. The accuracy of this approximation generally improves as we use a larger number of narrower strips. This process lays the conceptual groundwork for the definite integral.

Key Formulas

The methods for approximating area are built on two key summation formulas.

1. Riemann Sum (General Form)

A Riemann sum approximates the area under the curve of a function on the interval by summing the areas of rectangles.

  • is the number of subintervals (rectangles).

  • is the width of the "-th" subinterval.

  • is the height of the "-th" rectangle, determined by the function's value at a specific point within that subinterval.

2. Trapezoidal Sum

A trapezoidal sum approximates the area by summing the areas of trapezoids.

  • is the number of subintervals (trapezoids).

  • is the width of the "-th" subinterval.

  • and are the function values at the left and right endpoints of the "-th" subinterval, which act as the parallel bases of the trapezoid.

3. Subinterval Width (for equal widths)

When the interval is divided into subintervals of equal width, the width of each subinterval, , is calculated as:

Understanding The Different Sums

The primary difference between the various approximation methods lies in how the "height" of each shape is determined for each subinterval.

Left Riemann Sum

For each subinterval, the height of the rectangle is determined by the function's value at the left endpoint. The point in the general Riemann sum formula is the left endpoint of the "-th" subinterval.

Right Riemann Sum

For each subinterval, the height of the rectangle is determined by the function's value at the right endpoint. The point in the general Riemann sum formula is the right endpoint of the "-th" subinterval.

Midpoint Riemann Sum

For each subinterval, the height of the rectangle is determined by the function's value at the midpoint of that subinterval. The point is the average of the left and right endpoints of the "-th" subinterval.

Trapezoidal Sum

This method does not use rectangles. Instead, it forms a trapezoid for each subinterval by connecting the function's values at the left and right endpoints with a straight line. The area of each trapezoid is calculated as the average of the two bases (the function values at the endpoints) times the width (). This is often more accurate than a left or right Riemann sum because the slanted top of the trapezoid can better conform to the curve.

Core Concepts & Rules

  • The primary goal of a Riemann or trapezoidal sum is to approximate the area of the region between a function's graph and the x-axis over a specified interval.

  • This approximation is accomplished by dividing the interval into smaller subintervals and summing the areas of simple geometric shapes (rectangles or trapezoids) constructed on each subinterval.

  • The four main approximation methods are the Left Riemann Sum, Right Riemann Sum, Midpoint Riemann Sum, and Trapezoidal Sum.

  • For the three types of Riemann sums, the area of each approximating rectangle is its height, , multiplied by its width, .

  • The specific type of Riemann sum is determined by the choice of the point within each subinterval used to calculate the rectangle's height:

    • Left Sum: is the left endpoint.

    • Right Sum: is the right endpoint.

    • Midpoint Sum: is the midpoint.

  • The subintervals can have equal or unequal widths. If the widths are equal, . If they are unequal (common in table-based problems), must be calculated for each subinterval individually.

  • A trapezoidal sum uses the average of the function values at the left and right endpoints of a subinterval as the average height, providing a different geometric approximation.

Step-by-Step Example 1: Approximating from a Function

Approximate the area under the curve of on the interval using a right Riemann sum with 3 subintervals of equal width.

Step 1: Determine the width of each subinterval, .

The interval is and the number of subintervals is .

Step 2: Identify the subintervals.

Starting at and adding repeatedly, we get the subintervals:

Step 3: Identify the sample points for a right Riemann sum.

For a right Riemann sum, we use the right endpoint of each subinterval to determine the height of the rectangle.

  • For , the right endpoint is .

  • For , the right endpoint is .

  • For , the right endpoint is .

Step 4: Calculate the height of each rectangle.

Evaluate the function at each of the right endpoints.

  • Height 1:

  • Height 2:

  • Height 3:

Step 5: Calculate the area of each rectangle and sum them.

The area of each rectangle is . The width is 2 for all rectangles.

The right Riemann sum approximation for the area is 124.

Step-by-Step Example 2: Exam-Style Application with a Table

A particle's velocity is measured at various times, as shown in the table below. The function is differentiable and strictly increasing.

(seconds)047910
(m/sec)58121520

Use a trapezoidal sum with the four subintervals indicated by the table to approximate the total distance traveled by the particle from to seconds.

Step 1: Identify the subintervals and their widths ().

The subintervals are determined by the values in the table. Note that their widths are not equal.

  • Subinterval 1:

  • Subinterval 2:

  • Subinterval 3:

  • Subinterval 4:

Step 2: Set up the trapezoidal sum.

The formula for the area of a trapezoid is . For our sum, the "bases" are the velocity values and the "height" is the time interval width .

The total area is the sum of the areas of the four trapezoids.

Area

Step 3: Substitute the values from the table and calculate.

  • Trapezoid 1:

  • Trapezoid 2:

  • Trapezoid 3:

  • Trapezoid 4:

Step 4: Sum the areas and include units.

Total Distance

The approximate distance traveled by the particle is 100.5 meters.

Using Your Calculator

For Riemann sum problems, the calculator is primarily a tool for efficient and accurate arithmetic, not for finding the answer directly. There is no single command (like fnInt) that calculates a Riemann sum. You must show the setup of the sum as your work.

**For problems with a given function, f(x)`:** 1. **Enter the Function:** Store the function in `Y1` in the `Y=` editor. 2. **Find Function Values:** Use the `TABLE` feature (`2nd` + `GRAPH`). Set up your table (`TBLSET`) to have the correct starting value and increment to find the heights ($f(x_i^*)) needed for your sum. Alternatively, you can evaluate Y1 at specific points on the home screen (e.g., VARS -> Y-VARS -> Function -> Y1, then Y1(4)).

  1. Calculate on Home Screen: Once you have written down the complete sum (e.g., ), use the home screen to perform the multiplication and addition.

For problems with data in a table:

The calculator is simply used for the arithmetic (multiplication and addition) required by the sum you have set up. There are no special functions needed.

AP Exam Quick Hit

Common Question Types

  • Approximation from a Table: You will be given a table of values for a function (like velocity, temperature, or a rate of growth) with non-uniform subintervals. You will be asked to use a left sum, right sum, or trapezoidal sum to approximate the area under the curve, which represents a total amount (e.g., total distance, total change in temperature). This is a very common Free Response Question (FRQ) part.

  • Approximation from a Function: You will be given a function, an interval, and a number of subintervals (). You will be asked to calculate a specific Riemann sum or trapezoidal sum. This is most common on the Multiple-Choice section.

  • Setting up the Sum: A multiple-choice question may ask you to identify the correct expression for a given Riemann sum approximation without actually calculating it. This tests your understanding of the summation notation and the definitions of left, right, and midpoint sums. For example: "Which of the following represents a left Riemann sum for on with subintervals?"

Common Mistakes

  • Using the Wrong Endpoints: Confusing a left Riemann sum with a right Riemann sum. For a left sum, always start with the leftmost function value of the interval; for a right sum, end with the rightmost function value.

  • Assuming Equal Subinterval Widths: In table problems, the subintervals are often not of equal width. Always calculate each individually by subtracting consecutive x-values from the table.

  • Forgetting the in the Trapezoidal Sum: A very frequent error is to calculate for each term, forgetting the that is part of the trapezoid area formula.

  • Using the Wrong Number of Subintervals: A table with data points defines subintervals. Students sometimes mistakenly use rectangles or trapezoids.

  • Incorrect Midpoint Calculation: When asked for a midpoint sum from a table, you must first find the midpoint of each subinterval's x-values before you can determine the corresponding height. This often requires an extra step not explicitly shown in the table.