Dove's LibraryDove's Library

6.3 - Riemann Sums, Summation Notation, and Definite Integral Notation

From Approximation to Exact Area

As the number of rectangles goes up, the approximation gets better. With infinitely many rectangles, we get the exact area.
6.3 - Riemann Sums, Summation Notation, and Definite Integral Notation

Width of Sub-intervals

For [a,b][a, b] divided into nn sub-intervals:
Δx=b−an\boxed{\Delta x = \frac{b - a}{n}}
As n→∞n \to \infty, the width Δx→0\Delta x \to 0, meaning the rectangles become infinitesimally thin.

Summation Notation

The sum of all rectangle areas, written out:
Δx⋅f(x1)+Δx⋅f(x2)+Δx⋅f(x3)+⋯+Δx⋅f(xn)\Delta x \cdot f(x_1) + \Delta x \cdot f(x_2) + \Delta x \cdot f(x_3) + \cdots + \Delta x \cdot f(x_n)
Each term is (width) × (height), the area of one rectangle. In summation notation:
∑k=1nΔx⋅f(xk)\boxed{\sum_{k=1}^{n} \Delta x \cdot f(x_k)}
Reading it: - ∑\sum means “sum of” - k=1k=1 means start at k=1k = 1 - nn means end at k=nk = n - Add up all the terms as kk runs from 1 to nn

The Limit Definition of Area

To get the exact area, take the limit as the number of rectangles goes to infinity:
lim⁡n→∞∑k=1nΔx⋅f(xk)\boxed{\lim_{n \to \infty} \sum_{k=1}^{n} \Delta x \cdot f(x_k)}
Components: - Δx=b−an\Delta x = \frac{b-a}{n} is the width of each rectangle - f(xk)f(x_k) is the height of the kk-th rectangle - xk=a+b−an⋅kx_k = a + \frac{b-a}{n} \cdot k is the xx-position of the kk-th rectangle
Putting it all together:
lim⁡n→∞∑k=1nb−an⋅f(a+b−an⋅k)\lim_{n \to \infty} \sum_{k=1}^{n} \frac{b-a}{n} \cdot f\left(a + \frac{b-a}{n} \cdot k\right)
What’s happening: - Start at x=ax = a - Add kk widths, so a+Δx⋅ka + \Delta x \cdot k gives the position of the kk-th rectangle - Evaluate the function there for the height - Multiply width by height for each rectangle - Sum them all - Take the limit as n→∞n \to \infty
Alternative notation
Instead of n→∞n \to \infty, you can write:
lim⁡Δx→0∑f(xk)Δx\lim_{\Delta x \to 0} \sum f(x_k) \Delta x
which emphasizes that the rectangle widths shrink to zero.

The Definite Integral

That summation notation is a mouthful. Calculus gives us something much cleaner:
∫abf(x) dx\boxed{\int_a^b f(x) \, dx}
This means the exact area under the curve f(x)f(x) from x=ax = a to x=bx = b.
∫abf(x) dx=lim⁡n→∞∑k=1nb−an⋅f(a+b−an⋅k)\int_a^b f(x) \, dx = \lim_{n \to \infty} \sum_{k=1}^{n} \frac{b-a}{n} \cdot f\left(a + \frac{b-a}{n} \cdot k\right)
Parts of the notation: - ∫\int is the integral symbol (an elongated S, for “sum”) - aa is the lower limit of integration - bb is the upper limit of integration - f(x)f(x) is the function, called the integrand - dxdx says we’re integrating with respect to xx
The general definition
The formulas above use equal widths and right endpoints, because that version is the easiest to write. The official definition is more flexible:
  • Any widths: the sub-intervals don’t have to be the same size. The ii-th one has its own width Δxi\Delta x_i.
  • Any point: the height can come from any point xi∗x_i^* in the ii-th sub-interval (left endpoint, right endpoint, midpoint, or anywhere in between).
  • Sum of products: each term is the value of ff at that point times the width of that sub-interval.
∫abf(x) dx=lim⁡max⁡Δxi→0∑i=1nf(xi∗) Δxi\int_a^b f(x) \, dx = \lim_{\max \Delta x_i \to 0} \sum_{i=1}^{n} f(x_i^*) \, \Delta x_i
Taking the limit as the widest sub-interval shrinks to 0 forces every rectangle to get thin. For a continuous function, the limit is the same no matter which widths or points you use, so the right-endpoint version with xk=a+b−an⋅kx_k = a + \frac{b-a}{n} \cdot k works fine. (Left endpoints would use a+b−an⋅(k−1)a + \frac{b-a}{n} \cdot (k - 1) instead.)
If ff is negative on part of the interval, those products f(xi∗) Δxif(x_i^*) \, \Delta x_i are negative. That’s why area below the x-axis counts as negative in a definite integral.

Converting: Integral to Summation

Example 1: ∫37(2x+5) dx\displaystyle \int_3^7 (2x + 5) \, dx
lim⁡n→∞∑k=1n7−3n⋅[2(3+7−3n⋅k)+5]\lim_{n \to \infty} \sum_{k=1}^{n} \frac{7-3}{n} \cdot \left[2\left(3 + \frac{7-3}{n} \cdot k\right) + 5\right]
Step by step: 1. a=3a = 3, b=7b = 7 2. Width: Δx=7−3n=4n\Delta x = \frac{7-3}{n} = \frac{4}{n} 3. Position: xk=3+4n⋅kx_k = 3 + \frac{4}{n} \cdot k 4. Function: f(x)=2x+5f(x) = 2x + 5 5. Substitute: f(xk)=2(3+4nk)+5f(x_k) = 2\left(3 + \frac{4}{n}k\right) + 5
Simplified:
lim⁡n→∞∑k=1n4n[6+8kn+5]=lim⁡n→∞∑k=1n4n[11+8kn]\lim_{n \to \infty} \sum_{k=1}^{n} \frac{4}{n} \left[6 + \frac{8k}{n} + 5\right] = \lim_{n \to \infty} \sum_{k=1}^{n} \frac{4}{n} \left[11 + \frac{8k}{n}\right]
Example 2: ∫15x2 dx\displaystyle \int_1^5 x^2 \, dx
lim⁡n→∞∑k=1n4n[1+4kn]2\lim_{n \to \infty} \sum_{k=1}^{n} \frac{4}{n} \left[1 + \frac{4k}{n}\right]^2
Breakdown: - Interval [1,5][1, 5], so b−a=4b - a = 4 - Width: 4n\frac{4}{n} - xk=1+4knx_k = 1 + \frac{4k}{n} - f(xk)=(1+4kn)2f(x_k) = \left(1 + \frac{4k}{n}\right)^2

Converting: Summation to Integral

One summation can correspond to multiple integral forms, depending on where you decide the interval starts.
Given: lim⁡n→∞∑k=1n6n(4+6kn)2\displaystyle \lim_{n \to \infty} \sum_{k=1}^{n} \frac{6}{n} \left(4 + \frac{6k}{n}\right)^2
These three integrals are all equal to that same limit:
∫06(4+x)2 dx=∫410x2 dx=∫016(4+6x)2 dx\int_0^6 (4 + x)^2 \, dx \quad = \quad \int_4^{10} x^2 \, dx \quad = \quad \int_0^1 6(4+6x)^2 \, dx
Form 1: ∫06(4+x)2 dx\displaystyle \int_0^6 (4 + x)^2 \, dx - Width 6n\frac{6}{n} means b−a=6b - a = 6 - Starting at a=0a = 0: xk=6knx_k = \frac{6k}{n} - Function: (4+x)2(4 + x)^2
Form 2: ∫410x2 dx\displaystyle \int_4^{10} x^2 \, dx - Width 6n\frac{6}{n} means b−a=6b - a = 6 - Starting at a=4a = 4: xk=4+6knx_k = 4 + \frac{6k}{n} - That’s exactly the expression being squared, so the function is just x2x^2
Form 3: ∫016(4+6x)2 dx\displaystyle \int_0^1 6(4 + 6x)^2 \, dx - Rewrite 6n=6⋅1n\frac{6}{n} = 6 \cdot \frac{1}{n}, so the width is 1n\frac{1}{n} and b−a=1b - a = 1 - Starting at a=0a = 0: xk=knx_k = \frac{k}{n} - The factored-out 6 becomes part of the function

Converting: Series to Integral

Example: a written-out sum
2n[3+2⋅1n]+2n[3+2⋅2n]+⋯+2n[3+2⋅nn]\frac{2}{n} \left[3 + \frac{2 \cdot 1}{n}\right] + \frac{2}{n}\left[3 + \frac{2 \cdot 2}{n}\right] + \cdots + \frac{2}{n}\left[3 + \frac{2 \cdot n}{n}\right]
Identify the components: - Width: Δx=2n\Delta x = \frac{2}{n}, so b−a=2b - a = 2 - With a=0a = 0, that gives b=2b = 2 - The changing part is 3+2kn3 + \frac{2k}{n}, where the 3 is a constant shift - 2kn\frac{2k}{n} is playing the role of xx, running from 0 to 2
Since xk=2knx_k = \frac{2k}{n}, the expression 3+2kn3 + \frac{2k}{n} is just 3+x3 + x, so f(x)=x+3f(x) = x + 3:
∫02(x+3) dx\int_0^2 (x + 3) \, dx
Example: with a trig function
110[cos⁡(110)+cos⁡(210)+cos⁡(310)+⋯+cos⁡(1010)]\frac{1}{10}\left[\cos\left(\frac{1}{10}\right) + \cos\left(\frac{2}{10}\right) + \cos\left(\frac{3}{10}\right) + \cdots + \cos\left(\frac{10}{10}\right)\right]
Analysis: - Width 110\frac{1}{10}, so with n=10n = 10 we get b−a=1b - a = 1 - The arguments are k10\frac{k}{10} for k=1k = 1 through 1010 - Those run from 110\frac{1}{10} up to 1010=1\frac{10}{10} = 1 - Starting point a=0a = 0, ending point b=1b = 1
∫01cos⁡(x) dx\int_0^1 \cos(x) \, dx
Key insight: the 10 here represents nn, the number of sub-intervals. It isn’t part of the integral. Any nn would give the same integral.
Careful with the limit. A sum with a fixed number of terms, like this one with n=10n = 10, is a right Riemann sum, so it only approximates ∫01cos⁡(x) dx\int_0^1 \cos(x) \, dx. (The sum is about 0.818, and the integral is about 0.841.) A Riemann sum equals the integral exactly only in the limit as n→∞n \to \infty, so an expression that equals a definite integral has lim⁡n→∞\lim_{n \to \infty} in front of the sum. The same goes for the written-out sum in the first example.
Example: polynomial
5n∑k=1n[(5kn)3−2]\frac{5}{n}\sum_{k=1}^{n}\left[\left(\frac{5k}{n}\right)^3 - 2\right]
  • Width: 5n\frac{5}{n}, so b−a=5b - a = 5
  • Starting at a=0a = 0: xk=5knx_k = \frac{5k}{n}
  • Function: x3−2x^3 - 2
∫05(x3−2) dx\int_0^5 (x^3 - 2) \, dx

Strategy for Conversions

Summation → integral
  1. Identify Δx\Delta x: look for the b−an\frac{b-a}{n} width term
  1. Determine the interval: if you’re given the starting point, get b−ab - a from the width; otherwise pull it from the expression
  1. Find xkx_k: look for the pattern a+b−an⋅ka + \frac{b-a}{n} \cdot k
  1. Extract the function: whatever xkx_k is being plugged into becomes f(x)f(x)
Integral → summation
  1. Identify aa and bb
  1. Calculate the width: Δx=b−an\Delta x = \frac{b-a}{n}
  1. Write xkx_k: xk=a+b−an⋅kx_k = a + \frac{b-a}{n} \cdot k
  1. Substitute into the function: replace xx with xkx_k
  1. Build the sum: lim⁡n→∞∑k=1nΔx⋅f(xk)\displaystyle \lim_{n \to \infty} \sum_{k=1}^{n} \Delta x \cdot f(x_k)

Common Patterns

Summation Element
Meaning
cn\frac{c}{n}
Width of rectangles, where c=b−ac = b - a
a+b−an⋅ka + \frac{b-a}{n} \cdot k
Position of the kk-th rectangle
∑k=1n\sum_{k=1}^{n}
Sum from the 1st to the nn-th rectangle
lim⁡n→∞\lim_{n \to \infty}
Take infinitely many rectangles

Key Takeaways

  • More rectangles means a better approximation. As n→∞n \to \infty, the approximation becomes the exact area
  • Width formula: Δx=b−an\Delta x = \frac{b-a}{n}, and as n→∞n \to \infty, Δx→0\Delta x \to 0
  • Summation notation: ∑k=1n(width)×(height)\displaystyle \sum_{k=1}^{n} (\text{width}) \times (\text{height})
  • Position formula: xk=a+b−an⋅kx_k = a + \frac{b-a}{n} \cdot k, which tells you where to evaluate the height
  • Limit of a Riemann sum: lim⁡n→∞∑k=1nb−an⋅f(a+b−an⋅k)\displaystyle \lim_{n \to \infty} \sum_{k=1}^{n} \frac{b-a}{n} \cdot f\left(a + \frac{b-a}{n} \cdot k\right)
  • Definite integral notation: ∫abf(x) dx\displaystyle \int_a^b f(x) \, dx is the exact area under the curve
  • Equivalence: the definite integral IS the limit of a Riemann sum
  • Multiple forms possible: one integral can have several summation representations
  • The nn in summations is the number of rectangles, not part of the integral
  • On exams: these conversions usually show up as multiple choice, so test each option
  • Foundation concept: integrals are the basis for everything in integral calculus

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.