4.2 Area Under the Curve
To find the area under a curved graph y = f(x) over [a, b], we partition [a, b] into n subintervals of equal width Δx = (b - a)/n, approximate each vertical strip by a rectangle using left endpoints (Ln), right endpoints (Rn), or midpoints (Mn), and take the limit of the Riemann sum as n → ∞.
Core Concept & Mathematical Foundation
As n → ∞, the width Δx = (b - a)/n of each rectangle shrinks to 0, so the triangular error caps between the curve and the flat rectangle tops vanish. Using the power-sum formulas ∑i = n(n+1)/2, ∑i^2 = n(n+1)(2n+1)/6, and ∑i^3 = [n(n+1)/2]^2 allows us to evaluate lim Rn as n → ∞ in closed form.
Riemann Sum Approximations & Exact Area Limit
Example 1: Computing Left and Right Endpoint Approximations L4 and R4
Approximate the area under \(f(x)=x^2\) on \([0,2]\) with \(n=4\) subintervals using \(R_4\) and \(L_4\).
Show solution
Here \(\Delta x=\frac{2-0}{4}=0.5\) with grid points \(0, 0.5, 1, 1.5, 2\):
Graphical & Numerical Behavior
Comparing a table of numerical values directly alongside the plotted curve reveals how the formula behaves across key points, zeros, and turning points.
| Subintervals n on [0, 2] | Width Δx = 2/n | Left Sum L_n | Midpoint Sum M_n | Right Sum R_n |
|---|---|---|---|---|
| n = 4 | 0.500 | 1.7500 | 2.6250 | 3.7500 |
| n = 10 | 0.200 | 2.2800 | 2.6600 | 3.0800 |
| n = 100 | 0.020 | 2.6268 | 2.6666 | 2.7068 |
| n → ∞ (Exact Limit) | Δx → 0 | 8/3 ≈ 2.6667 | 8/3 ≈ 2.6667 | 8/3 ≈ 2.6667 |
Graph of f(x) = x^2 on [0, 2] showing the 4 right-endpoint sample heights at x = 0.5, 1, 1.5, 2
Example 2: Using the Midpoint Rule M3
Use the Midpoint Rule \(M_3\) with \(n=3\) subintervals to approximate the area under \(f(x)=x^2\) on \([0,6]\).
Show solution
With \(\Delta x=\frac{6-0}{3}=2\), the subintervals \([0,2],[2,4],[4,6]\) have midpoints \(\bar{x}_1=1,\;\bar{x}_2=3,\;\bar{x}_3=5\):
Companion Function & Advanced Applications
The companion graph below illustrates the secondary curve (linear curve f(x) = 2x + 1 on [0, 4] where average of l_4 = 16 and r_4 = 24 equals exact area 20) and highlights the points where the analytical criterion takes effect.
Linear curve f(x) = 2x + 1 on [0, 4] where average of L_4 = 16 and R_4 = 24 equals exact area 20
Example 3: Exact Area via the Limit of a Riemann Sum
Find the exact area under \(f(x)=x^2\) on \([0,2]\) by evaluating \(\lim_{n\to\infty} R_n\).
Show solution
Substitute \(\Delta x=\frac{2}{n}\), \(x_i=\frac{2i}{n}\), and \(\sum_{i=1}^n i^2=\frac{n(n+1)(2n+1)}{6}\):
Common Mistakes to Avoid
- Count endpoints carefully: \(L_n\) uses indices \(i=0,1,\dots,n-1\) (starting at \(x_0=a\)); \(R_n\) uses \(i=1,2,\dots,n\) (ending at \(x_n=b\)).
- Monotonicity determines overestimate vs. underestimate: When \(f(x)\) is increasing, \(L_n < A < R_n\); when \(f(x)\) is decreasing, \(R_n < A < L_n\).
Key Takeaways
- To find the area under a curved graph y = f(x) over [a, b], we partition [a, b] into n subintervals of equal width Δx = (b - a)/n, approximate each vertical strip by a rectangle using left endpoints (Ln), right endpoints (Rn), or midpoints (Mn), and take the limit of the Riemann sum as n → ∞.
- Core Formula: \(\Delta x=\frac{b-a}{n},\qquad x_i=a+i\,\Delta x,\qquad A=\lim_{n\to\infty}\sum_{i=1}^{n} f(x_i)\,\Delta x\).
- As n → ∞, the width Δx = (b - a)/n of each rectangle shrinks to 0, so the triangular error caps between the curve and the flat rectangle tops vanish. Using the power-sum formulas ∑i = n(n+1)/2, ∑i^2 = n(n+1)(2n+1)/6, and ∑i^3 = [n(n+1)/2]^2 allows us to evaluate lim Rn as n → ∞ in closed form.