Riemann Sums
Approximating Accumulation
Learn to estimate definite integrals by summing the areas of rectangles beneath a curve: the foundation of integral calculus.
Why Accumulation Matters
Many quantities in business and science are defined by rates of change. Revenue per day, production per hour, or population growth per year all describe how fast something changes. To find the total change over an interval, we need to accumulate those rates.
But what if we can't compute that integral exactly? That is where Riemann sums come in: they let us approximate the area using simple rectangles.
The Big Idea: Rectangles Under a Curve
Slice the interval \([a,b]\) into \( n \) equal subintervals of width \( \Delta x \). On each subinterval, draw a rectangle whose height equals the function value at a chosen sample point. The sum of rectangle areas approximates the area under the curve.
Key Vocabulary
The Riemann Sum Formula
Left, Right, and Midpoint Sums
Over- and Under-Estimates
Whether a Riemann sum overestimates or underestimates the true area depends on the monotonicity of the function and the type of sum.
| Increasing \( f \) | Decreasing \( f \) | |
|---|---|---|
| Left Sum | Underestimate | Overestimate |
| Right Sum | Overestimate | Underestimate |
| Midpoint Sum | Generally more accurate than left or right | |
How to Compute a Riemann Sum
Example 1: Left Riemann Sum
Approximate \( \displaystyle\int_0^4 x^2\,dx \) using a left Riemann sum with \( n = 4 \).
Example 2: Right Riemann Sum
Approximate the same integral \( \displaystyle\int_0^4 x^2\,dx \) using a right Riemann sum with \( n = 4 \).
Example 3: Midpoint Sum
Use the midpoint Riemann sum to approximate \( \displaystyle\int_0^4 x^2\,dx \) with \( n = 4 \).
| Method | Approximation | Error |
|---|---|---|
| Left Sum | 14 | 7.33 |
| Right Sum | 30 | 8.67 |
| Midpoint Sum | 21 | 0.33 |
| Exact | 21.33 | 0 |
The midpoint sum with just 4 rectangles is remarkably close to the exact answer: only 0.33 off.
More Rectangles = Better Approximation
Doubling the number of rectangles from \( n = 4 \) to \( n = 8 \) fills in the gaps under the curve. As \( n \to \infty \), the rectangles perfectly fill the area and the Riemann sum converges to the definite integral.
Writing Sums in Sigma Notation
Sigma notation provides a compact way to write Riemann sums. Here are the three forms:
Business Application
A company's marginal revenue is given by the table below. Use a left Riemann sum to estimate total revenue from selling 0 to 400 units.
| Units \( q \) | 0 | 100 | 200 | 300 | 400 |
|---|---|---|---|---|---|
| \( R'(q) \) ($/unit) | 50 | 42 | 35 | 28 | 20 |
Common Mistakes
Question 1 of 5
Given \( f(x) = 3x \) on \([0,6]\) with \( n = 3 \), what is the left Riemann sum?
Question 2 of 5
If \( f \) is increasing on \([a,b]\), which Riemann sum gives an overestimate?
Question 3 of 5
What is \( \Delta x \) for \( \displaystyle\int_2^{10} f(x)\,dx \) with \( n = 4 \)?
Question 4 of 5
A company's marginal cost \( C'(q) \) at production levels \( q = 0, 50, 100, 150 \) is \( 20, 18, 15, 11 \) dollars per unit. Using a right sum with \( \Delta q = 50 \), estimate total cost from 0 to 150 units.
Question 5 of 5
As the number of rectangles \( n \) increases, the Riemann sum: