Definite Integrals: Riemann Sums to Newton–Leibniz
The Fundamental Theorem of Calculus — from rectangles to the most powerful formula in mathematics
1. The Area Problem & Riemann Sums
1.1 Partitions
Suppose we want the area under a curve $y = f(x) \ge 0$ from $x = a$ to $x = b$. We start by slicing the interval $[a,b]$ into $n$ pieces.
1.2 Sample Points & Riemann Sums
In each sub-interval $[x_{k-1}, x_k]$ we pick a sample point (or tag) $c_k$. The rectangle over that sub-interval has width $\Delta x_k$ and height $f(c_k)$.
Common choices for $c_k$:
- Left endpoints: $c_k = x_{k-1}$
- Right endpoints: $c_k = x_k$
- Midpoints: $c_k = \tfrac{x_{k-1}+x_k}{2}$
1.3 Refinement and the Limiting Idea
As we make the mesh $\|P\|$ smaller (equivalently, $n \to \infty$ for equal-width partitions), the rectangles fit the curve more tightly. The Riemann sum approaches a single number — provided that number is the same regardless of how we choose the partition and the sample points.