Riemann Sum
Approximations
Learn how to approximate the area under a curve using rectangles: the foundational idea behind definite integrals.
What Is a Riemann Sum?
A Riemann sum is a method for approximating the total area under a curve \( f(x) \) over an interval \( [a, b] \). We divide the interval into \( n \) subintervals, build a rectangle on each one, and add up their areas.
Why Approximate Area?
Many real-world quantities: distance traveled, total accumulation, work done: are computed as the area under a rate function. Before we can evaluate exact integrals, we need a way to estimate these areas.
Visual Intuition
Three Types of Sample Points
The choice of sample point \( x_i^* \) within each subinterval determines the type of Riemann sum:
The Core Formula
Connection to the Definite Integral
The definite integral is defined as the limit of a Riemann sum as the number of rectangles approaches infinity:
Left vs Right vs Midpoint
| Left Sum | Right Sum | Midpoint Sum | |
|---|---|---|---|
| Sample point | Left endpoint | Right endpoint | Center of subinterval |
| If \( f \) is increasing | Underestimate | Overestimate | More accurate |
| If \( f \) is decreasing | Overestimate | Underestimate | More accurate |
| Typical accuracy | Lower | Lower | Higher |
How to Compute a Riemann Sum
Example 1: Left Sum of \( x^2 \)
Approximate \( \int_0^3 x^2\,dx \) using a left Riemann sum with \( n = 3 \).
Example 2: Right Sum of \( x^2 \)
Same integral: \( \int_0^3 x^2\,dx \), now using a right Riemann sum with \( n = 3 \).
Example 3: Midpoint Sum with \( n = 6 \)
Approximate \( \int_0^3 x^2\,dx \) using a midpoint Riemann sum with \( n = 6 \).
Effect of Increasing \( n \)
Watch how the approximation improves as we use more rectangles for \( \int_0^3 x^2\,dx = 9 \):
| \( n \) | Left \( L_n \) | Right \( R_n \) | Midpoint \( M_n \) |
|---|---|---|---|
| 3 | 5.000 | 14.000 | 8.750 |
| 6 | 6.875 | 11.375 | 8.9375 |
| 12 | 7.906 | 10.156 | 8.984 |
| 100 | 8.865 | 9.135 | 8.99978 |
| \( \infty \) | 9 | 9 | 9 |
Writing Sums in Sigma Notation
Being fluent with sigma notation is essential. Here is the right Riemann sum for \( \int_1^5 \sqrt{x}\,dx \) with \( n \) subintervals:
Common Mistakes
Summary Table
| Concept | Key Detail |
|---|---|
| Riemann Sum | \( S_n = \sum f(x_i^*)\,\Delta x \) |
| Subinterval Width | \( \Delta x = \frac{b - a}{n} \) |
| Left Sample Points | \( x_0, x_1, \dots, x_{n-1} \) |
| Right Sample Points | \( x_1, x_2, \dots, x_n \) |
| Midpoint Sample | \( x_i^* = a + (i - \tfrac{1}{2})\Delta x \) |
| Definite Integral | \( \int_a^b f(x)\,dx = \lim_{n\to\infty} S_n \) |
Question 1 of 5
What is \( \Delta x \) for the interval \( [2, 8] \) with \( n = 3 \) subintervals?
Question 2 of 5
Using a left Riemann sum with \( n = 4 \) on \( [0, 4] \) for \( f(x) = 3x \), what are the sample points?
Question 3 of 5
Compute the right Riemann sum for \( \int_0^2 (x^2 + 1)\,dx \) with \( n = 2 \).
\( R_2 = f(1)\cdot 1 + f(2)\cdot 1 = (1+1) + (4+1) = 2 + 5 = 7 \).
Question 4 of 5
If \( f(x) \) is decreasing on \( [a, b] \), which statement is true?
Question 5 of 5
Which expression represents \( \displaystyle\int_0^4 \sqrt{x}\,dx \) as the limit of a right Riemann sum?