Riemann Sums and the Definite Integral, AP Calculus – Study Notes
offline

Difficulty: Intermediate | Prerequisites: Basic understanding of sigma (summation) notation, function evaluation, and the concept of area under a curve.

Riemann sums are the bridge between discrete summation and continuous integration. In AP Calculus, this topic sits right at the transition point where you move from approximating area under a curve with rectangles to computing it exactly with a definite integral. You need to be comfortable with sigma notation and function evaluation before diving in. If you can set up and evaluate a basic summation, you are ready for this material.


TL;DR

A definite integral is defined as the limit of a Riemann sum. You slice the interval [a, b] into n equal pieces, evaluate the function at sample points in each piece, multiply by the width of each piece, add everything up, then let n approach infinity. Mastering the translation between integral notation and summation notation is one of the most commonly tested skills in AP Calculus.


Key Terms

Riemann sum

A sum of the form Σ f(xᵢ) · Δx that approximates the area under a curve by adding up the areas of rectangles. Think of it as chopping the area into thin vertical strips and adding them all together.

Definite integral

The exact value of the area under a curve f(x) from x = a to x = b, written as ∫ from a to b of f(x) dx. In simple terms, it is what the Riemann sum becomes when you use infinitely many, infinitely thin rectangles.

Δx (delta x)

The width of each subinterval, calculated as (b − a) / n. Think of it as how wide each rectangle is. As n grows, Δx shrinks.

n (number of subintervals)

The number of equal pieces the interval [a, b] is divided into. More subintervals means a better approximation.

a (lower limit of integration)

The left endpoint of the interval. In the Riemann sum formula, this is where the sample points start.

b (upper limit of integration)

The right endpoint of the interval. Together with a, it determines the total width (b − a) and therefore Δx.

xᵢ (sample point)

The x-value at which you evaluate the function in the i-th subinterval. For a right Riemann sum using equal subintervals, xᵢ = a + i · Δx.

Limit of a Riemann sum

The expression lim (n→∞) Σ f(a + iΔx) · Δx. This is the formal definition of the definite integral. In simple terms, it is the answer you get when you let the number of rectangles go to infinity.


Core Content

The Riemann Sum Formula

The definite integral is defined as:

\int_a^b f(x)\,dx = \lim_{n \to \infty} \sum_{i=1}^{n} f(a + i \cdot \Delta x)\,\Delta x \quad \text{where } \Delta x = \frac{b-a}{n}

Every piece of this formula maps to something concrete. Learning to identify each component is the core skill.

Identifying the Components

  • a (lower limit): the starting x-value. In the summation, it is the constant added to (i · Δx). For example, in f(4 + 2i/n), the lower limit a = 4.

  • b (upper limit): computed from a and Δx. Since Δx = (b − a)/n, you can rearrange: b = a + (Δx · n). In practice, look at the coefficient of i/n and add it to a.

  • Δx (subinterval width): the factor multiplied outside the bracket at the end of the sum. It equals (b − a)/n. If you see (6/n) at the end, then b − a = 6.

  • f(x) (the integrand): the expression inside the sum, once you mentally replace (a + iΔx) with x. For instance, if the sum contains 3(4 + 2i/n)² + 5, then f(x) = 3x² + 5.

Converting from Definite Integral to Riemann Sum

  1. Read off a, b, and f(x) from the integral.

  1. Compute Δx = (b − a)/n.

  1. Write the sample point as xᵢ = a + i · Δx.

  1. Substitute xᵢ into f(x) to get f(a + iΔx).

  1. Multiply by Δx and wrap in lim (n→∞) Σ from i = 1 to n.

Example: for ∫ from 4 to 6 of (3x² + 5) dx, you get a = 4, b = 6, Δx = 2/n, so the sum is lim (n→∞) Σ 3(4 + 2i/n)² + 5.

Converting from Riemann Sum to Definite Integral

  1. Identify Δx from the factor at the end (the fraction with n in the denominator).

  1. Identify a from the constant inside the function argument.

  1. Compute b = a + (numerator of Δx). For Δx = 5/n and a = 2, b = 2 + 5 = 7.

  1. Replace the entire (a + iΔx) expression with x to read off f(x).

  1. Write ∫ from a to b of f(x) dx.

Example: lim (n→∞) Σ 4(4 + 5i/n) − 1 gives Δx = 5/n, a = 4, b = 9 (since 4 + 5 = 9, wait, let us check: Δx = 5/n means b − a = 5, and a = 4, so b = 9, but the original integral is ∫ from 2 to 7). Actually, look more carefully: the original handout shows a = 2, because Δx = 5/n means b − a = 5, and the integrand is 4x − 1. For the sample point a + iΔx = 2 + 5i/n, so a = 2 and b = 7. The integral is ∫ from 2 to 7 of (4x − 1) dx.

Evaluating Definite Integrals Using Geometry

Some definite integrals can be evaluated without antiderivatives by recognising the shape under the curve:

  • A constant function f(x) = c produces a rectangle with area = c × (b − a).

  • A linear function produces a triangle or trapezoid.

  • f(x) = √(r² − x²) produces a semicircle (or quarter circle) of radius r.

When the graph is made of known geometric pieces (line segments, circles), compute the signed area of each piece and add them up. Area below the x-axis counts as negative.


Formulas

Master formula:

\int_a^b f(x)\,dx = \lim_{n \to \infty} \sum_{i=1}^{n} f\!\left(a + \frac{(b-a)\,i}{n}\right) \cdot \frac{b-a}{n}

Subinterval width:

\Delta x = \frac{b - a}{n}

Right-endpoint sample point:

x_i = a + i \cdot \Delta x = a + \frac{(b-a)\,i}{n}

Geometric area formulas used for evaluation:

  • Rectangle: A = base × height

  • Triangle: A = ½ × base × height

  • Trapezoid: A = ½ × (b₁ + b₂) × height

  • Circle: A = πr²

  • Semicircle: A = ½πr²

  • Quarter circle: A = ¼πr²


Real-World Applications

Riemann sums are how engineers and scientists estimate quantities from measured data. If you have speed readings taken every second, a Riemann sum of speed × time gives you distance travelled. The same idea underpins numerical integration in computing, where functions too complex for exact antiderivatives are evaluated at thousands of sample points and summed.


Common Misconceptions

  • Students often confuse the coefficient of i/n with Δx. The coefficient of i/n inside the function argument is Δx (which equals (b − a)/n), but the Δx factor at the end of the sum is the same value. They are the same quantity, not two different things.

  • Students sometimes read the lower limit a from the wrong part of the expression. The lower limit is the constant term in (a + iΔx), not the lower bound written on the integral sign of a different problem.

  • A common error is computing b by adding Δx to a instead of adding (b − a). If Δx = 2/n, that does not mean b − a = 2/n. It means b − a = 2.

  • Students forget that area below the x-axis is negative when using geometric evaluation. A triangle sitting below the axis contributes negative area to the integral.


Why It Matters / Exam Flags

⚠️ The AP exam regularly asks you to convert between definite integrals and Riemann sums in both directions. You must be able to do this fluently.

⚠️ Error-spotting problems (like the "Mind Your P's and Two's" exercise) test whether you can verify that every component, a, b, Δx, and f(x), is consistent across the two notations.

⚠️ Geometric evaluation of integrals appears on the non-calculator section. Know your area formulas for rectangles, triangles, trapezoids, semicircles, and quarter circles.

⚠️ The limit definition of the integral is a common multiple-choice stem. Expect to identify which integral a given Riemann sum represents.


Quick Self-Test

  1. True or false: Δx = b/n. (False. Δx = (b − a)/n.)

  1. Fill in the blank: In the Riemann sum lim (n→∞) Σ f(3 + 4i/n), the lower limit of integration is ____. (3)

  1. True or false: The definite integral ∫ from 1 to 5 of f(x) dx has Δx = 4/n. (True. b − a = 5 − 1 = 4.)

  1. Fill in the blank: If Δx = 6/n and a = 0, then b = ____. (6)

  1. True or false: Area below the x-axis contributes positive value to a definite integral. (False. It contributes negative value.)


Practice Q&A

Q: Write the definite integral corresponding to lim (n→∞) Σ 5(2 + 4i/n) + 7.

A: Δx = 4/n, so b − a = 4. The constant inside is 2, so a = 2 and b = 6. Replace (2 + 4i/n) with x to get f(x) = 5x + 7. The integral is ∫ from 2 to 6 of (5x + 7) dx.

Q: Convert ∫ from −1 to 1 of 3x³ dx into a limit of a Riemann sum.

A: a = −1, b = 1, Δx = 2/n. The sample point is xᵢ = −1 + 2i/n. The Riemann sum is lim (n→∞) Σ 3(−1 + 2i/n)³.

Q: In the Riemann sum lim (n→∞) Σ 6(4i/n)² − 2, what are a, b, and f(x)?

A: Δx = 4/n, so b − a = 4. The sample point is 4i/n = 0 + 4i/n, so a = 0 and b = 4. The integrand is f(x) = 6x² − 2.

Q: A function's graph from x = 0 to x = 4 forms a triangle with base 4 and height 3 above the x-axis. What is ∫ from 0 to 4 of f(x) dx?

A: Area of a triangle = ½ × base × height = ½ × 4 × 3 = 6.

Q: The Riemann sum for ∫ from 3 to 4 of (6x² + 3x) dx is written as lim (n→∞) Σ 6(3 + 1i/n)³ + 3(3 + 1i/n). There is one error. Find it.

A: The exponent on the first term should be 2, not 3. The integrand is 6x² + 3x, so when you substitute x = 3 + i/n, you should get 6(3 + i/n)² not 6(3 + i/n)³.


Connections to Other Topics

This material connects directly to the Fundamental Theorem of Calculus, which gives you a far more efficient way to evaluate definite integrals using antiderivatives. The Riemann sum definition is the theoretical foundation that the FTC builds on.

It also ties into numerical integration methods you may see later (trapezoidal rule, Simpson's rule), which are refinements of the basic Riemann sum idea using smarter shapes than rectangles.

If you have studied limits and sigma notation earlier in the course, this topic is where those skills pay off.


Related Terms / Search Tags

Riemann sum, definite integral, limit of a sum, sigma notation, summation notation, delta x, subinterval width, right endpoint approximation, left endpoint approximation, midpoint Riemann sum, area under a curve, rectangular approximation, integral as limit, AP Calculus AB, AP Calculus BC, Fundamental Theorem of Calculus, geometric evaluation of integrals, signed area, trapezoidal rule, numerical integration