From Sum to Integral

The Riemann Sum and Its Limit

The sum of the areas of the rectangles has a name: the Riemann sum. Writing xkx_k for the subdivision points, it can be written compactly with the summation symbol:

Sn=∑k=1nf(xk) Δx,with Δx=b−anS_n = \sum_{k=1}^{n} f(x_k)\,\Delta x, \qquad \text{with } \Delta x = \frac{b - a}{n}

SnS_n is only an approximation of the area. But when the number of rectangles tends to infinity, their width Δx\Delta x tends to 00, the overshoots and gaps vanish, and the sum converges to an exact value. This is the definition of the integral:

∫abf(x) dx=lim⁡n→+∞∑k=1nf(xk) Δx\int_a^b f(x)\,\mathrm{d}x = \lim_{n \to +\infty} \sum_{k=1}^{n} f(x_k)\,\Delta x

This formula finally sheds light on the notation. The sign ∫\int is an elongated "S", for sum. The dx\mathrm{d}x is what Δx\Delta x becomes in the limit: an infinitely small width. The integral is therefore, literally, a continuous sum of infinitely thin strips, of height f(x)f(x) and width dx\mathrm{d}x.

Discrete sum Integral, in the limit
∑k=1nf(xk) Δx\displaystyle\sum_{k=1}^{n} f(x_k)\,\Delta x ∫abf(x) dx\displaystyle\int_a^b f(x)\,\mathrm{d}x
nn rectangles n→+∞n \to +\infty, so Δx→0\Delta x \to 0

Remember the key point: the integral is not a magic formula, it is the outcome of stacking thinner and thinner rectangles. All of integral calculus rests on this idea.