---
title: "Approximating Areas with Riemann Sums | FiveStudy"
description: "Same slices every time — the only choice is where you sample the height, and which way that pushes the error."
url: https://fivestudy.com/guides/ap-calculus-ab-6-2-approximating-areas-with-riemann-sums
---

[AP Calculus AB](https://fivestudy.com/ap-calculus-ab) · Study guide

# Approximating Areas with Riemann Sums

[Figure: FiveStudy]

FiveStudy

AP® Calculus AB · Unit 6 · Integration and Accumulation of Change

AP® Calculus AB · Unit 6 · Integration and Accumulation of Change

# Riemann *Sums*

When an area under a curve is not a simple shape, slice it into thin strips and add up rectangles or trapezoids. This guide covers left, right, midpoint and trapezoidal sums, from formulas and from tables, and how to tell whether an estimate is high or low.

1. Slicing the area 2. Equal strips from a formula 3. Uneven strips from a table 4. Over or under?

The idea in one paragraph

A **Riemann sum** estimates the area under \(y = f(x)\) by cutting \([a, b]\) into strips and adding (height × width) for each strip. The height can come from the left edge, the right edge or the middle of the strip. A **trapezoidal sum** uses the average of the two edge heights instead. Increasing functions make left sums low and right sums high; concave-up functions make trapezoids high and midpoints low (and the reverse for decreasing or concave-down functions).

## 1 Slicing the area

**Figure 1.** Left rectangles use the height at each strip’s left edge; right rectangles, the right edge; midpoint rectangles, the middle. Trapezoids connect the two edge heights. Because x² is increasing, left sums come out low and right sums high.

| Sum | Height of each strip | Strip area |
| --- | --- | --- |
| Left | f at the left edge | \(f(x_{i - 1})\,\Delta x\) |
| Right | f at the right edge | \(f(x_i)\,\Delta x\) |
| Midpoint | f at the middle | \(f\left(\frac{x_{i - 1} + x_i}{2}\right)\Delta x\) |
| Trapezoidal | Average of the two edges | \(\frac{f(x_{i - 1}) + f(x_i)}{2}\,\Delta x\) |

## 2 Equal strips from a formula

Worked Example 1 Four sums

### \(f(x) = x^2\) on \([0, 4]\), four equal strips

1. 1

   Width of each strip: \(\Delta x = \frac{4 - 0}{4} = 1\). Heights at the edges: \(f(0), f(1), f(2), f(3), f(4) = 0, 1, 4, 9, 16\).

2. 2

   Left: \(1(0 + 1 + 4 + 9) = 14\). Right: \(1(1 + 4 + 9 + 16) = 30\).

3. 3

   Midpoint: \(1(0.25 + 2.25 + 6.25 + 12.25) = 21\).

4. 4

   Trapezoidal: the average of left and right for equal widths, \(\frac{14 + 30}{2} = 22\).

**Answer:** L = 14, R = 30, M = 21, T = 22. The exact area is \(\frac{64}{3} \approx 21.33\).

Common Mistake 1 · Using the wrong number of heights

Four strips use four heights. A left sum on \([0, 4]\) uses \(f(0)\) through \(f(3)\); a right sum uses \(f(1)\) through \(f(4)\). Using all five values double-counts.

## 3 Uneven strips from a table

**Figure 2.** Each trapezoid’s area is its width times the average of its two heights. The widths come from the table, so they do not have to be equal.

Worked Example 2 From a table, uneven widths

### Water flowing into a pond

Water flows into a pond at rate \(r(t)\) gallons per minute:

| \(t\) (min) | 0 | 2 | 5 | 9 | 10 |
| --- | --- | --- | --- | --- | --- |
| \(r(t)\) (gal/min) | 12 | 15 | 11 | 7 | 6 |

Approximate the water added from \(t = 0\) to \(t = 10\) with a left sum, a right sum and a trapezoidal sum.

1. 1

   Widths: 2, 3, 4, 1.

2. 2

   Left: \(2(12) + 3(15) + 4(11) + 1(7) = 120\). Right: \(2(15) + 3(11) + 4(7) + 1(6) = 97\).

3. 3

   Trapezoidal: \(2 \cdot \frac{12 + 15}{2} + 3 \cdot \frac{15 + 11}{2} + 4 \cdot \frac{11 + 7}{2} + 1 \cdot \frac{7 + 6}{2} = 27 + 39 + 36 + 6.5 = 108.5\).

**Answer:** Left 120 gal, right 97 gal, trapezoidal 108.5 gal.

Write it like this

“Using a trapezoidal sum with the four subintervals in the table, the amount of water added from \(t = 0\) to \(t = 10\) minutes is approximately 108.5 gallons.”

Common Mistake 2 · Assuming every strip has the same width

Table intervals are often uneven. Multiply each height by *its own* width; a single \(\Delta x\) only works when the spacing is equal.

Worked Example 3 Midpoint sum from a table

### Only use the values you have

\(f\) has the values below. Approximate the area under \(f\) on \([0, 8]\) with a midpoint sum using two equal strips.

| \(x\) | 0 | 2 | 4 | 6 | 8 |
| --- | --- | --- | --- | --- | --- |
| \(f(x)\) | 3 | 5 | 9 | 14 | 20 |

1. 1

   Two strips of width 4: \([0, 4]\) and \([4, 8]\). Their midpoints are 2 and 6, both in the table.

2. 2

   \(4 \cdot f(2) + 4 \cdot f(6) = 4(5) + 4(14) = 76\).

**Answer:** 76.

Common Mistake 3 · Asking for a value the table does not have

A midpoint sum needs the function at each midpoint. With strips \([0, 2], [2, 4], \ldots\), the midpoints 1, 3, 5, 7 are not in the table, so that midpoint sum cannot be computed. Choose strips whose midpoints are given.

## 4 Over or under?

Worked Example 4 Too big or too small?

### Use the shape of the graph

For \(f(x) = x^2\) on \([0, 4]\), is each approximation an overestimate or an underestimate?

1. 1

   \(f\) is increasing, so each left rectangle uses the lowest height in its strip: underestimate. Each right rectangle uses the highest: overestimate.

2. 2

   \(f\) is concave up, so each trapezoid’s top edge lies above the curve: overestimate. Midpoint rectangles are an underestimate for concave-up functions.

3. 3

   Check: \(14 \lt 21 \lt 21.33 \lt 22 \lt 30\).

**Answer:** Left and midpoint underestimate; right and trapezoid overestimate.

| If f is… | Left | Right | Trapezoid | Midpoint |
| --- | --- | --- | --- | --- |
| Increasing | under | over |  |  |
| Decreasing | over | under |  |  |
| Concave up |  |  | over | under |
| Concave down |  |  | under | over |

### Quick reference

| Item | Formula |
| --- | --- |
| Strip width (equal) | \(\Delta x = \frac{b - a}{n}\) |
| Trapezoid | width × average of the two heights |
| Trapezoidal sum (equal widths) | Average of the left and right sums |
| Units | Height units × width units |

FiveStudy AP® Calculus AB · Riemann sums
