Riemann Sums
& Notation
Master the connection between summation notation, Riemann sums, and the definite integral: the foundation of integral calculus.
What Is a Riemann Sum?
A Riemann sum approximates the area under a curve by dividing a region into thin rectangles, computing each rectangle's area, and adding them all up. As we use more rectangles, the approximation gets better.
Why Riemann Sums Matter
Riemann sums are the bridge between discrete addition and continuous integration. They let us give a rigorous definition to "area under a curve," and they appear everywhere in applied mathematics, physics, and engineering.
Summation Notation: \(\sum\)
Sigma notation provides a compact way to write the sum of many terms. Instead of writing every term, we describe the pattern.
Anatomy of a Riemann Sum
Left, Right, and Midpoint Sums
The choice of sample point \(x_i^*\) in each subinterval determines the type of Riemann sum.
Uses the left endpoint of each subinterval.
Uses the right endpoint of each subinterval.
Uses the center of each subinterval.
The Definite Integral as a Limit
Definite Integral Notation
Every part of the integral symbol \(\displaystyle\int_a^b f(x)\,dx\) corresponds to a piece of the Riemann sum.
Riemann Sum vs Definite Integral
| Riemann Sum | Definite Integral | |
|---|---|---|
| Notation | \(\displaystyle\sum_{i=1}^{n} f(x_i^*)\,\Delta x\) | \(\displaystyle\int_a^b f(x)\,dx\) |
| Number of rectangles | Finite: \(n\) | Infinite: \(n \to \infty\) |
| Width of each piece | \(\Delta x = \frac{b-a}{n}\) | \(dx\) (infinitesimal) |
| Result | Approximation | Exact area (signed) |
| Relationship | Integral = limit of Riemann sums | |
How to Compute a Riemann Sum
Example 1: Right Riemann Sum
Approximate \(\displaystyle\int_0^2 x^2\,dx\) using a right Riemann sum with \(n = 4\).
Example 1: Visualized
Example 2: Sigma to Integral
Express the following limit as a definite integral:
Example 3: Left Sum with \(\sin x\)
Approximate \(\displaystyle\int_0^{\pi} \sin x\,dx\) using a left Riemann sum with \(n = 4\).
Common Mistakes to Avoid
Summary: Connecting the Notation
| Concept | Discrete (Riemann Sum) | Continuous (Integral) |
|---|---|---|
| Operator | \(\sum\) | \(\int\) |
| Width | \(\Delta x\) | \(dx\) |
| Index / Variable | \(i = 1\) to \(n\) | \(x\) from \(a\) to \(b\) |
| Value | Approximation | Exact |
| Connection | \(\displaystyle\int_a^b f(x)\,dx = \lim_{n\to\infty}\sum_{i=1}^n f(x_i^*)\,\Delta x\) | |
Question 1 of 5
For \(\displaystyle\int_1^5 f(x)\,dx\) with \(n = 8\) subintervals, what is \(\Delta x\)?
Question 2 of 5
Which expression represents a right Riemann sum for \(\displaystyle\int_2^6 f(x)\,dx\) with \(n\) subintervals?
Question 3 of 5
The limit \(\displaystyle\lim_{n\to\infty}\sum_{i=1}^{n}\left(1+\frac{3i}{n}\right)^3\cdot\frac{3}{n}\) equals which definite integral?
Question 4 of 5
Using a left Riemann sum with \(n = 3\), approximate \(\displaystyle\int_0^3 (2x+1)\,dx\).
Question 5 of 5
What does \(\displaystyle\sum_{i=1}^{5} 2i\) evaluate to?