Calculus I Limits, Derivatives, and Integrals

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/nLeft Sum L_nMidpoint Sum M_nRight Sum R_n
n = 40.5001.75002.62503.7500
n = 100.2002.28002.66003.0800
n = 1000.0202.62682.66662.7068
n → ∞ (Exact Limit)Δx → 08/3 ≈ 2.66678/3 ≈ 2.66678/3 ≈ 2.6667
0 0.55 1.1 1.65 2.2 0 1.125 2.25 3.375 4.5

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.

0 1.05 2.1 3.15 4.2 0 2.5 5 7.5 10

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

Key Takeaways