Skip to main content

From Rectangles to Exact Area (Riemann Sums)

If derivatives break a curve into instantaneous slopes, integrals add infinitely many tiny pieces back together. Suppose you want the area under a curved graph y=f(x)y = f(x) from x=ax = a to x=bx = b. Geometry formulas only handle straight-edged shapes—so calculus approximates the region using nn thin vertical rectangles of width Δx=b−an\Delta x = \frac{b - a}{n} and height f(xi∗)f(x_i^*):

Area≈∑i=1nf(xi∗) Δx\text{Area} \approx \sum_{i=1}^{n} f(x_i^*) \,\Delta x

As the number of rectangles n→∞n \to \infty (so Δx→0\Delta x \to 0), the stair-step error vanishes and the Riemann sum converges to the exact definite integral:

∫abf(x) dx=lim⁡n→∞∑i=1nf(xi∗) Δx\int_a^b f(x)\,dx = \lim_{n \to \infty} \sum_{i=1}^{n} f(x_i^*) \,\Delta x

The Fundamental Theorem of Calculus (FTC)

Computing limits of Riemann sums by hand is painful. The Fundamental Theorem of Calculus reveals a breathtaking shortcut: area accumulation and slope (differentiation) are exact inverses.

If F(x)F(x) is any antiderivative of f(x)f(x) (meaning F′(x)=f(x)F'(x) = f(x)), then:

∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)

Core Antiderivative Rules

Function f(x)f(x)Indefinite Integral ∫f(x) dx\int f(x)\,dxCondition
cc (constant)cx+Ccx + CAny constant cc
xnx^nxn+1n+1+C\dfrac{x^{n+1}}{n+1} + Cn≠−1n \ne -1
1/x1/xln⁡∥x∥+C\ln\|x\| + Cx≠0x \ne 0
exe^xex+Ce^x + C—
cos⁡(x)\cos(x)sin⁡(x)+C\sin(x) + Cxx in radians
sin⁡(x)\sin(x)−cos⁡(x)+C-\cos(x) + Cxx in radians

Signed Net Area vs. Total Area

A definite integral ∫abf(x) dx\int_a^b f(x)\,dx computes signed net area:

  • Regions above the xx-axis (f(x)>0f(x) > 0) add positively.
  • Regions below the xx-axis (f(x)<0f(x) < 0) subtract negatively.

For example, ∫02πsin⁡(x) dx=0\int_0^{2\pi} \sin(x)\,dx = 0 because the positive arch on [0,π][0, \pi] (area +2+2) and negative arch on [π,2π][\pi, 2\pi] (area −2-2) cancel out. If you want total geometric area, integrate ∣f(x)∣|f(x)| by splitting at the zeros: ∫0πsin⁡(x) dx−∫π2πsin⁡(x) dx=2+2=4\int_0^{\pi} \sin(x)\,dx - \int_\pi^{2\pi} \sin(x)\,dx = 2 + 2 = 4.

Progressive Worked Examples

Example 1 (Foundational): Definite Integral of a Polynomial

Evaluate ∫13(3x2−2x+1) dx\displaystyle \int_1^3 (3x^2 - 2x + 1)\,dx:

  1. Find an antiderivative term by term using the Power Rule: F(x)=x3−x2+xF(x) = x^3 - x^2 + x
  2. Evaluate F(3)−F(1)F(3) - F(1):
    • F(3)=33−32+3=27−9+3=21F(3) = 3^3 - 3^2 + 3 = 27 - 9 + 3 = 21
    • F(1)=13−12+1=1−1+1=1F(1) = 1^3 - 1^2 + 1 = 1 - 1 + 1 = 1
  3. Subtract: 21−1=2021 - 1 = \mathbf{20}.

Example 2 (Intermediate): Substitution (uu-Substitution)

Evaluate ∫022x(x2+1)3 dx\displaystyle \int_0^2 2x(x^2 + 1)^3\,dx:

  1. Let u=x2+1u = x^2 + 1, so du=2x dxdu = 2x\,dx.
  2. Update limits: when x=0x = 0, u=1u = 1; when x=2x = 2, u=5u = 5.
  3. Integrate in uu: ∫15u3 du=[u44]15=54−144=625−14=156\int_1^5 u^3\,du = \left[\frac{u^4}{4}\right]_1^5 = \frac{5^4 - 1^4}{4} = \frac{625 - 1}{4} = \mathbf{156}

Example 3 (Applied Physics): Displacement from Velocity

A car accelerates with velocity v(t)=4t+2 m/sv(t) = 4t + 2\text{ m/s} from t=0t = 0 to t=5 st = 5\text{ s}. Find the total distance traveled.

Δx=∫05(4t+2) dt=[2t2+2t]05=(2(25)+10)−0=60 meters\Delta x = \int_0^5 (4t + 2)\,dt = \left[2t^2 + 2t\right]_0^5 = (2(25) + 10) - 0 = \mathbf{60\text{ meters}}

Why Integrals Matter

Integrals compute distance from velocity, work from force, probability from density curves, total revenue from marginal revenue, and volumes of 3D solids.

Common Misconceptions

  • Forgetting +C+ C on indefinite integrals: Always include +C+ C when there are no limits of integration.
  • Using the Power Rule on ∫1x dx\int \frac{1}{x}\,dx: Setting n=−1n = -1 in xn+1n+1\frac{x^{n+1}}{n+1} divides by 00; the antiderivative of 1/x1/x is ln⁡∣x∣+C\ln|x| + C.
  • Adding F(b)+F(a)F(b) + F(a) instead of subtracting: The FTC is always F(upper)−F(lower)F(\text{upper}) - F(\text{lower}).

Quick Summary

  • Definite integrals are limits of Riemann sums representing signed net area.
  • The Fundamental Theorem of Calculus: ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a) where F′=fF' = f.

Practice Problems

Common Questions

Frequently Asked Questions