AP CALCULUS AB • INTEGRATION AND ACCUMULATION OF CHANGE

Riemann Sums, Summation Notation, and Definite Integral Notation

Bridging finite rectangular approximations to the exact area under a curve through the language of limits.

Historical Context & Motivation

The problem of finding the area enclosed by a curved boundary is one of the oldest in mathematics. Ancient Greek geometers developed the method of exhaustion, in which a region was filled with ever-thinner polygons whose total area converged to the true value. This core idea—approximate, refine, and take a limit—reappears in modern calculus as the Riemann sum. Understanding how finite sums of rectangular areas become exact integrals is the conceptual gateway to every application of integration, from computing displacement to modeling accumulated quantities in science and engineering.

~250 BCE
Archimedes' Method of Exhaustion
Archimedes approximated the area under a parabola by inscribing and circumscribing polygons, proving the area equals 4/3 the inscribed triangle—an early precursor to integration.
1665–1676
Newton & Leibniz Develop Calculus
Isaac Newton and Gottfried Wilhelm Leibniz independently formalized the relationship between differentiation and area accumulation, introducing the integral sign ∫ (Leibniz, 1675) as an elongated S for "summa."
1823
Cauchy's Rigorous Integral
Augustin-Louis Cauchy defined the integral of a continuous function as the limit of sums of the form Σ f(xᵢ)Δx, laying rigorous groundwork for the modern definition.
1854
Riemann's Generalization
Bernhard Riemann extended Cauchy's approach to broader classes of functions by allowing arbitrary sample points within each subinterval, creating what we now call the Riemann sum.

The central question this lesson addresses is deceptively simple: How can we compute the exact area between the graph of a function and the x-axis over a closed interval? The answer requires three interconnected tools—Riemann sums for the approximation, summation notation for compactly expressing those sums, and definite integral notation for capturing the limiting value.

Core Principles & Definitions

Before diving into formulas, it is essential to internalize the conceptual architecture that connects Riemann sums to the definite integral. The entire framework rests on partitioning an interval, sampling function values, summing rectangular areas, and refining until the approximation becomes exact.

1

Partition the Interval

Divide [a, b] into n subintervals of width Δx = (b − a)/n (for a regular partition). Each subinterval is [xᵢ₋₁, xᵢ].
2

Choose Sample Points

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

Form the Riemann Sum

Compute Σ f(xᵢ*)Δx from i = 1 to n. Each term represents the signed area of one rectangle: height f(xᵢ*) times width Δx.
4

Take the Limit

As n → ∞ (and Δx → 0), the Riemann sum converges to the definite integral ∫ₐᵇ f(x) dx, giving the exact net signed area under the curve.
KEY TAKEAWAY
Think of a Riemann sum like measuring the water volume in an irregular swimming pool by dropping in uniform columns of water (rectangles). With only a few thick columns the fit is rough, but as you use thousands of hair-thin columns, the water fills every contour perfectly. The definite integral is the exact volume you obtain in the limit of infinitely many infinitesimally thin columns.

Visualizing Riemann Sums

The diagram below illustrates a right Riemann sum for f(x) = x² + 1 on the interval [0, 3] using n = 6 subintervals. Each rectangle's height is determined by the function value at the right endpoint of its subinterval, and its width is Δx = 0.5. Observe how some rectangles overshoot and others undershoot the curve—these errors diminish as n increases.

Six rectangles approximate the area under f(x) = x² + 1 (pink curve). Each rectangle's right edge touches the curve, which is why this is a right Riemann sum. Notice the gap between the rectangles and the curve—this gap shrinks as n grows.

When the function is increasing on the interval, the right Riemann sum overestimates the true area because each rectangle pokes above the curve on its left side. Conversely, a left Riemann sum would underestimate the area in that same scenario. The midpoint Riemann sum often provides a more balanced approximation because errors above and below the curve partially cancel. Regardless of the choice of sample point, all Riemann sums converge to the same limit for a continuous function on a closed interval—this limit is the definite integral.

Mathematical Framework

Summation Notation

Before writing a Riemann sum compactly, you need fluency with sigma notation. The symbol Σ (capital Greek sigma) represents repeated addition. The expression Σ_{i=1}^{n} aᵢ means a₁ + a₂ + ⋯ + aₙ. The variable i is the index of summation, the value below Σ is the starting index, and the value above is the ending index.

SUMMATION NOTATION
Σ_{i=1}^{n} aᵢ = a₁ + a₂ + a₃ + ⋯ + aₙ
i = index of summation; n = number of terms; aᵢ = the general term depending on i.

Riemann Sum Formula

For a function f continuous on [a, b], partition the interval into n equal subintervals each of width Δx. Then the general Riemann sum is written as follows.

RIEMANN SUM
Rₙ = Σ_{i=1}^{n} f(xᵢ*) · Δx
Δx = (b − a)/n; xᵢ* is the sample point in the i-th subinterval [xᵢ₋₁, xᵢ].
📌 Sample Point Choices
Left endpoint: xᵢ* = a + (i − 1)Δx. Right endpoint: xᵢ* = a + iΔx. Midpoint: xᵢ* = a + (i − ½)Δx. On the AP exam, the prompt will specify which to use—read carefully.

Definite Integral as a Limit

DEFINITE INTEGRAL
∫ₐᵇ f(x) dx = lim_{n→∞} Σ_{i=1}^{n} f(xᵢ*) · Δx
a = lower limit of integration; b = upper limit; f(x) = integrand; dx = variable of integration. The limit exists for all continuous f on [a, b].

The notation ∫ₐᵇ f(x) dx encodes every piece of information: the elongated S (∫) signals a sum; a and b delimit the interval; f(x) is the integrand whose values become rectangle heights; and dx reminds us of the infinitesimal width that replaced Δx in the limit. The definite integral yields a number (the net signed area), not a function.

Left, Right, and Midpoint Riemann Sums Compared

The diagram below places all three standard Riemann sum types side by side for f(x) = √x on [1, 5] with n = 4. Comparing the three approximations reveals how the choice of sample point affects accuracy and whether the estimate overshoots or undershoots.

All three sums use n = 4 rectangles for f(x) = √x on [1, 5]. The left sum (≈ 6.146) underestimates because √x is increasing. The right sum (≈ 7.382) overestimates. The midpoint sum (≈ 6.730) sits closest to the exact value ≈ 6.787.
Behavior of standard Riemann sum types for monotonic functions
TypeSample Point xᵢ*Over / Under for Increasing fOver / Under for Decreasing f
Lefta + (i − 1)ΔxUnderestimateOverestimate
Righta + iΔxOverestimateUnderestimate
Midpointa + (i − ½)ΔxCloser to exactCloser to exact

Worked Example

Compute the right Riemann sum for f(x) = 3x − 2 on [1, 4] using n = 6 subintervals, then express the exact area as a definite integral and evaluate it.

Right Riemann Sum and Definite Integral for f(x) = 3x − 2
1
Step 1 — Determine ΔxΔx = (b − a)/n = (4 − 1)/6 = 3/6 = 0.5.
Δx = 0.5
2
Step 2 — Identify the right endpointsFor a right Riemann sum, xᵢ* = a + iΔx. So x₁ = 1.5, x₂ = 2.0, x₃ = 2.5, x₄ = 3.0, x₅ = 3.5, x₆ = 4.0.
3
Step 3 — Evaluate f at each right endpointf(1.5) = 2.5, f(2.0) = 4.0, f(2.5) = 5.5, f(3.0) = 7.0, f(3.5) = 8.5, f(4.0) = 10.0.
4
Step 4 — Compute the Riemann sumR₆ = Σ_{i=1}^{6} f(xᵢ) · Δx = 0.5 × (2.5 + 4.0 + 5.5 + 7.0 + 8.5 + 10.0) = 0.5 × 37.5 = 18.75.
R₆ = 18.75
5
Step 5 — Write the definite integralThe exact area is lim_{n→∞} Σ_{i=1}^{n} f(xᵢ*)Δx = ∫₁⁴ (3x − 2) dx.
6
Step 6 — Evaluate the definite integral∫₁⁴ (3x − 2) dx = [(3/2)x² − 2x] from 1 to 4 = [(3/2)(16) − 8] − [(3/2)(1) − 2] = [24 − 8] − [1.5 − 2] = 16 − (−0.5) = 16.5.
∫₁⁴ (3x − 2) dx = 16.5

The right Riemann sum of 18.75 overestimates the exact value of 16.5 because f(x) = 3x − 2 is increasing on [1, 4]. As n grows, the Riemann sum converges to 16.5.

Strengths & Limitations of Riemann Sum Approximations

Comparison of common numerical approximation methods encountered on the AP Calculus AB exam
MethodStrengthsLimitations
Left / Right Riemann SumEasy to compute; provides guaranteed over- or underestimate for monotonic functions, useful for bounding the true integral.Slowest convergence; large error unless n is very big; poor for rapidly changing functions.
Midpoint Riemann SumBetter accuracy per rectangle; error tends to cancel on curves that are concave up in some regions and concave down in others.Harder to determine over/underestimate without concavity analysis; still O(1/n²) error.
Trapezoidal SumUses trapezoids instead of rectangles; averages left and right sums; same O(1/n²) error as midpoint.Not technically a Riemann sum; slightly more computation per subinterval.
KEY TAKEAWAY
On the AP exam, Riemann sums typically appear in two flavors: (1) computing a numerical approximation from a table of values, and (2) writing or interpreting a limit of a Riemann sum as a definite integral. Master both, because a table-based question may not give you a formula for f, while a limit-expression question tests whether you can reverse-engineer the integral's bounds, integrand, and variable.

Connection to the Fundamental Theorem of Calculus

The Riemann sum definition of the definite integral is conceptually powerful but computationally impractical for most functions—who wants to evaluate a limit of increasingly complex sums every time? The Fundamental Theorem of Calculus (FTC) bridges the gap by connecting integration and antidifferentiation. Part 2 of the FTC states that if F is any antiderivative of f on [a, b], then ∫ₐᵇ f(x) dx = F(b) − F(a). This means the limit of the Riemann sum equals a simple subtraction, which is vastly more efficient.

Riemann sum definition vs. FTC evaluation
Riemann Sum / Limit DefinitionFTC Evaluation
∫ₐᵇ f(x) dx = lim_{n→∞} Σ f(xᵢ*)Δx∫ₐᵇ f(x) dx = F(b) − F(a)
Requires partitioning, summing, and taking a limitRequires finding one antiderivative F
Provides the theoretical foundation and definitionProvides a practical computation tool
Works for any bounded function on [a, b] (if the limit exists)Works when an antiderivative can be found in closed form

Even after learning the FTC, Riemann sums remain essential in AP Calculus AB. They appear whenever data is given in a table rather than as a formula, and they serve as the conceptual basis for accumulation functions and applications like total distance traveled. In AP Calculus BC and beyond, Riemann sums generalize to double and triple integrals, line integrals, and probability distributions—making fluency with the summation-to-integral transition a lasting asset.

Practice Problems

1
Which of the following statements best explains why a right Riemann sum overestimates ∫ₐᵇ f(x) dx when f is continuous and strictly increasing on [a, b]?
2
Using a left Riemann sum with n = 4 equal subintervals, approximate ∫₀² (x² + 1) dx.
3
Express the limit lim_{n→∞} Σ_{i=1}^{n} (3 + 5i/n)⁴ · (5/n) as a definite integral.
PROBLEM 4APPLIED
A car's velocity v(t), in feet per second, is recorded at 3-second intervals over 0 ≤ t ≤ 12 seconds: | t (s) | 0 | 3 | 6 | 9 | 12 | |-------|---|---|---|---|----| | v(t) (ft/s) | 0 | 15 | 28 | 34 | 40 | (a) Use a right Riemann sum with 4 subintervals to approximate the total distance traveled. (b) Is this approximation an overestimate or underestimate of the true distance? Justify your answer. (c) Write a definite integral that represents the exact distance.
PROBLEM 5CRITICAL THINKING
Let f be a continuous function on [2, 6]. Suppose the left Riemann sum with n equal subintervals gives Lₙ and the right Riemann sum gives Rₙ. (a) Show that Rₙ − Lₙ = (Δx)[f(6) − f(2)] for any positive integer n. (b) Use part (a) to explain why lim_{n→∞} Rₙ = lim_{n→∞} Lₙ. (c) If f is increasing and concave down on [2, 6], determine whether the midpoint Riemann sum is an overestimate or underestimate. Justify your reasoning.

Lesson Summary

A Riemann sum approximates the net signed area under a curve by partitioning the interval [a, b] into n subintervals of width Δx = (b − a)/n, evaluating the function at chosen sample points (left, right, or midpoint), and summing the resulting rectangle areas using summation notation Σ. As n → ∞, this sum converges to the definite integral ∫ₐᵇ f(x) dx, which gives the exact net area.

For monotonic functions, left and right sums provide guaranteed over- or underestimates, while midpoint sums generally yield closer approximations. The Fundamental Theorem of Calculus later transforms the limit of a Riemann sum into a practical computation using antiderivatives: ∫ₐᵇ f(x) dx = F(b) − F(a). Mastering Riemann sums is essential not only for evaluating integrals from first principles but also for interpreting table-based data and accumulation problems throughout the AP Calculus AB exam.

Varsity Tutors • AP Calculus AB • Riemann Sums, Summation Notation, and Definite Integral Notation