AP CALCULUS BC • INTEGRATION AND ACCUMULATION OF CHANGE

Approximating Areas With Riemann Sums

How subdividing regions into rectangles builds the conceptual bridge from discrete sums to the definite integral.

Historical Context & Motivation

The problem of computing the area enclosed by a curve is one of the oldest in mathematics, predating formal calculus by nearly two millennia. Ancient Greek geometers understood that curved regions could be exhausted by inscribing progressively finer polygons, an insight that would eventually crystallize into the modern notion of the Riemann sum. The conceptual leap — replacing a single complex shape with many simple ones — remains the cornerstone of integral calculus and appears on virtually every AP Calculus BC exam in both multiple-choice and free-response form.

~250 BCE
Archimedes' Method of Exhaustion
Archimedes approximated the area under a parabolic arc by inscribing and circumscribing triangles, effectively performing the first recorded upper and lower sum calculations.
1635
Cavalieri's Principle of Indivisibles
Bonaventura Cavalieri argued that a plane figure could be decomposed into infinitely many parallel line segments, laying algebraic groundwork for area summation techniques.
1668
Newton & Leibniz Formalize Calculus
The Fundamental Theorem of Calculus linked antiderivatives to areas, but the rigorous definition of the integral itself was still centuries away.
1854
Riemann's Definite Integral
Bernhard Riemann formalized the idea of partitioning an interval and summing rectangular areas, giving the approximation technique its name and establishing conditions for integrability.

The central question that Riemann sums answer is deceptively simple: given a function f defined on a closed interval [a, b], how can we assign a precise numerical value to the signed area between the curve and the x-axis? Before we can evaluate integrals exactly, we need a systematic method for approximation — and understanding that method is essential both for conceptual mastery and for the numerical-methods questions that appear on the AP exam.

Core Principles & Definitions

A Riemann sum approximates the definite integral of a function by partitioning the domain into subintervals, selecting a sample point in each, and summing the resulting rectangular areas. The quality of the approximation depends on the number of subintervals and the choice of sample points. Four foundational ideas govern every Riemann sum calculation you will encounter on the AP exam.

1

Partition the Interval

Divide [a, b] into n subintervals. When every subinterval has width Δx = (b − a)/n, the partition is called regular (uniform).
2

Choose Sample Points

In each subinterval, select a point xᵢ* at which to evaluate f. Common choices: left endpoint, right endpoint, or midpoint.
3

Form the Sum

Compute Σ f(xᵢ*)·Δxᵢ. Each term represents the signed area of one rectangle whose height is the function value and whose width is the subinterval length.
4

Refine and Converge

As n → ∞ and the maximum subinterval width → 0, the Riemann sum converges to the definite integral ∫ₐᵇ f(x) dx, provided f is integrable on [a, b].
KEY TAKEAWAY
Think of a Riemann sum the way a surveyor estimates the area of an irregularly shaped lake: lay a grid of rectangles over the region, compute each rectangle's area, and add them up. A coarser grid gives a rough estimate; a finer grid captures more of the shoreline's curvature. In the limit, the grid becomes infinitely fine and the estimate becomes exact — that exact value is the definite integral.

Visual Explanation — Left, Right, and Midpoint Sums

The diagram below illustrates three common Riemann sum types for the function f(x) = −0.25x² + 4 on [0, 4] with n = 4 subintervals. Notice how the choice of sample point changes the height of each rectangle and therefore changes the total approximation.

For f(x) = −0.25x² + 4 on [0, 4], the left sum (blue) uses the left endpoint of each subinterval as the rectangle height, while the right sum (violet) uses the right endpoint. Because f is decreasing on this interval, the left sum overestimates and the right sum underestimates the true area.

Observe that on a region where f is strictly decreasing, the left Riemann sum produces an overestimate because each rectangle's height is taken at the tallest point of its subinterval. Conversely, the right sum yields an underestimate. These roles reverse when f is increasing. The midpoint sum often lands closer to the exact integral because its sample point tends to average out the over- and underestimation within each subinterval — a property that becomes especially useful when only a small number of rectangles is feasible.

Mathematical Framework

We now formalize the Riemann sum and connect it to the definite integral. Let f be a function defined on [a, b] and let P = {x₀, x₁, …, xₙ} be a partition of that interval with x₀ = a and xₙ = b. The width of the i-th subinterval is Δxᵢ = xᵢ − xᵢ₋₁. Choose a sample point xᵢ* ∈ [xᵢ₋₁, xᵢ] for each subinterval.

GENERAL RIEMANN SUM
Sₙ = Σᵢ₌₁ⁿ f(xᵢ*) · Δxᵢ
n = number of subintervals, xᵢ* = sample point in the i-th subinterval, Δxᵢ = width of the i-th subinterval.
REGULAR PARTITION (EQUAL WIDTHS)
Δx = (b − a) / n
When all subintervals share the same width, the partition is called regular. Most AP problems use regular partitions.
LEFT RIEMANN SUM
Lₙ = Σᵢ₌₀ⁿ⁻¹ f(a + iΔx) · Δx
Sample point is the left endpoint of each subinterval: xᵢ* = xᵢ₋₁ = a + (i−1)Δx.
RIGHT RIEMANN SUM
Rₙ = Σᵢ₌₁ⁿ f(a + iΔx) · Δx
Sample point is the right endpoint: xᵢ* = xᵢ = a + iΔx.
MIDPOINT RIEMANN SUM
Mₙ = Σᵢ₌₁ⁿ f(a + (i − 0.5)Δx) · Δx
Sample point is the midpoint: xᵢ* = (xᵢ₋₁ + xᵢ)/2 = a + (i − 0.5)Δx.

As the mesh of the partition (the length of the longest subinterval) tends to zero, the Riemann sum converges to the definite integral provided f is Riemann integrable on [a, b] — a condition satisfied by all continuous functions and, more broadly, by functions with at most finitely many discontinuities on a bounded interval. Formally: lim (‖P‖→0) Σ f(xᵢ*)Δxᵢ = ∫ₐᵇ f(x) dx.

Detailed Breakdown — Comparing Sum Types

Beyond left, right, and midpoint sums, the AP Calculus BC curriculum also includes the trapezoidal sum, which uses trapezoids rather than rectangles. Understanding how each method relates to the others — and how monotonicity affects over- or underestimation — is critical for the exam. The diagram and table below provide a side-by-side comparison.

The trapezoidal sum (solid amber shading) connects adjacent function values with line segments, forming trapezoids. The midpoint sum (dashed green) evaluates f at each subinterval's center. For a concave-down function, the trapezoidal rule underestimates while the midpoint rule overestimates.
Over/underestimate behavior depends on monotonicity for endpoint sums and on concavity for midpoint and trapezoidal sums.
Sum TypeSample Point xᵢ*f Increasing ⇒f Decreasing ⇒
Leftxᵢ₋₁ (left endpoint)UnderestimateOverestimate
Rightxᵢ (right endpoint)OverestimateUnderestimate
Midpoint(xᵢ₋₁ + xᵢ)/2Depends on concavityDepends on concavity
TrapezoidalUses both endpointsDepends on concavityDepends on concavity
Concavity Rule
For a function that is concave up (f″ > 0), the trapezoidal sum overestimates and the midpoint sum underestimates. For concave down (f″ < 0), these roles reverse. This is a high-frequency AP exam topic.

Worked Example

Approximate ∫₁⁵ (x² + 1) dx using a left Riemann sum, a right Riemann sum, and a trapezoidal sum with n = 4 equal subintervals. Then compare with the exact value.

Riemann Sum Approximations of ∫₁⁵ (x² + 1) dx
1
Step 1 — Determine Δx and partition pointsΔx = (5 − 1)/4 = 1. The partition points are x₀ = 1, x₁ = 2, x₂ = 3, x₃ = 4, x₄ = 5.
Δx = 1; partition: {1, 2, 3, 4, 5}
2
Step 2 — Evaluate f at each partition pointf(1) = 1² + 1 = 2, f(2) = 5, f(3) = 10, f(4) = 17, f(5) = 26.
f-values: 2, 5, 10, 17, 26
3
Step 3 — Compute the Left Riemann Sum (L₄)L₄ = Δx · [f(1) + f(2) + f(3) + f(4)] = 1 · (2 + 5 + 10 + 17) = 34.
L₄ = 34
4
Step 4 — Compute the Right Riemann Sum (R₄)R₄ = Δx · [f(2) + f(3) + f(4) + f(5)] = 1 · (5 + 10 + 17 + 26) = 58.
R₄ = 58
5
Step 5 — Compute the Trapezoidal Sum (T₄)T₄ = (Δx/2) · [f(1) + 2f(2) + 2f(3) + 2f(4) + f(5)] = (1/2)(2 + 10 + 20 + 34 + 26) = (1/2)(92) = 46. Equivalently, T₄ = (L₄ + R₄)/2 = (34 + 58)/2 = 46.
T₄ = 46
6
Step 6 — Compare with the exact integral∫₁⁵ (x² + 1) dx = [x³/3 + x]₁⁵ = (125/3 + 5) − (1/3 + 1) = 140/3 − 4/3 = 136/3 ≈ 45.333. The trapezoidal sum T₄ = 46 is remarkably close, overestimating by only about 0.667. Since f(x) = x² + 1 is concave up (f″ = 2 > 0), the trapezoidal rule overestimates, consistent with theory.
Exact value = 136/3 ≈ 45.333

Strengths, Limitations & When to Use Each Method

Each Riemann sum variant offers a different trade-off between computational simplicity and accuracy. Knowing which to deploy — and which to expect on the AP exam — is essential for efficient problem solving.

Accuracy and suitability comparison of Riemann sum types.
MethodStrengthsLimitations
Left / Right SumSimple to compute; provides guaranteed over- or underestimate when f is monotonic.Least accurate for a given n; error is O(1/n).
Midpoint SumMore accurate than endpoint sums; error is O(1/n²), same order as the trapezoidal rule.Requires evaluating f at non-endpoint values, which can be inconvenient with tabular data.
Trapezoidal SumUses all given data points; error is O(1/n²); easy to compute from endpoint sums as (L + R)/2.Overestimates when f is concave up, underestimates when concave down.
KEY TAKEAWAY
On the AP exam, free-response questions frequently present data in a table (e.g., velocity at discrete time values) and ask you to approximate an integral. Because midpoints may not be tabulated, the trapezoidal sum is often the most natural and accurate choice. Recognizing this pattern — tabular data plus an approximation request — should trigger the trapezoidal formula immediately.

Connection to the Definite Integral & Advanced Theory

Riemann sums are not merely a computational shortcut — they constitute the very definition of the definite integral. Understanding this connection is what separates surface-level familiarity from genuine conceptual mastery, and the AP Calculus BC exam expects you to articulate it.

Riemann Sum (Approximation)Definite Integral (Exact)
Finite number of rectangles (n fixed)Limit as n → ∞ (or mesh → 0)
Sum: Σᵢ₌₁ⁿ f(xᵢ*) ΔxIntegral: ∫ₐᵇ f(x) dx
Approximation error depends on n and methodExact signed area; no approximation error
Useful when f has no closed-form antiderivative or when data is tabularEvaluated via the Fundamental Theorem when an antiderivative exists

In AP Calculus BC, Riemann sums also connect forward to improper integrals, series convergence (the integral test relies on comparing a series to an integral), and differential equations (Euler's method is essentially a Riemann sum for dy/dx). Mastering the rectangle-based approximation prepares you for all of these topics and gives you a fallback numerical technique whenever exact antidifferentiation is impossible.

Practice Problems

1
If f is continuous and strictly increasing on [a, b], which of the following must be true? (A) The left Riemann sum overestimates ∫ₐᵇ f(x) dx. (B) The right Riemann sum underestimates ∫ₐᵇ f(x) dx. (C) The left Riemann sum underestimates ∫ₐᵇ f(x) dx. (D) The midpoint Riemann sum always equals ∫ₐᵇ f(x) dx. (E) The trapezoidal sum always underestimates ∫ₐᵇ f(x) dx.
2
Using a right Riemann sum with n = 3 equal subintervals, approximate ∫₀⁶ √(x + 3) dx. (A) 2(√3 + √5 + √7) (B) 2(√5 + √7 + 3) (C) 2(√3 + √5 + 3) (D) 6(√5 + √7 + 3) (E) 2(√3 + √7 + 3)
3
The table below gives selected values of a differentiable function g. | t | 0 | 2 | 5 | 7 | 10 | | g(t) | 3 | 7 | 4 | 6 | 2 | Using a trapezoidal sum with the four subintervals determined by the table, approximate ∫₀¹⁰ g(t) dt. (A) 43.5 (B) 46.0 (C) 48.5 (D) 50.0 (E) 52.5
PROBLEM 4APPLIED
A pump removes water from a tank. The rate of removal R(t), in liters per minute, is recorded at the times shown. | t (min) | 0 | 3 | 6 | 9 | 12 | | R(t) | 8 | 6 | 5 | 3 | 1 | (a) Use a left Riemann sum with four subintervals of equal width to approximate the total amount of water removed over [0, 12]. (b) Is your approximation in part (a) an overestimate or an underestimate of the true amount? Justify your answer. (c) Use a trapezoidal sum with the same four subintervals to produce a second approximation. (d) If R is concave up on [0, 12], determine whether the trapezoidal approximation overestimates or underestimates the true value.
PROBLEM 5CRITICAL THINKING
Let f be a continuous function on [0, 6] with the property that f″(x) < 0 for all x in (0, 6). Given that the midpoint Riemann sum with n = 3 equal subintervals yields M₃ = 22 and the trapezoidal sum yields T₃ = 20: (a) Determine which of M₃ or T₃ is an overestimate and which is an underestimate. Justify using concavity. (b) Explain why the exact value of ∫₀⁶ f(x) dx must lie in the interval [20, 22]. (c) Using the error relationship for concave-down functions, give a tighter estimate for ∫₀⁶ f(x) dx than either M₃ or T₃ alone.

Lesson Summary

Riemann sums approximate the definite integral ∫ₐᵇ f(x) dx by partitioning [a, b] into n subintervals of width Δx = (b − a)/n and summing f(xᵢ*)·Δx over all subintervals. The four primary variants — left, right, midpoint, and trapezoidal — differ in how the sample point is chosen, affecting both accuracy and whether the approximation over- or underestimates.

For monotonic functions, left and right sums provide guaranteed bounds on the integral. For functions with known concavity, midpoint and trapezoidal sums bracket the integral from opposite sides. As n → ∞, all Riemann sums converge to the exact integral, establishing the foundational link between discrete summation and continuous integration that underpins all of integral calculus.

Varsity Tutors • AP Calculus BC • Approximating Areas With Riemann Sums