From Sum to Integral

Approximating an Area with Rectangles

How do you measure the area under the graph of a function ff between aa and bb, when the region has no known geometric shape? Riemann's idea is disarmingly simple: cut it up and approximate it with rectangles.

We split the interval [a ; b][a \,;\, b] into nn pieces of equal width. Each piece measures:

Δx=b−an\Delta x = \frac{b - a}{n}

On each piece, we build a rectangle whose height is the value of ff at a point of the piece. The sum of the areas of these rectangles approximates the area we are after.

Each rectangle has area height ×\times width, that is f(xi) Δxf(x_i)\,\Delta x. Adding them all up gives an approximate value of the area:

S=f(x1) Δx+f(x2) Δx+⋯+f(xn) ΔxS = f(x_1)\,\Delta x + f(x_2)\,\Delta x + \cdots + f(x_n)\,\Delta x

With few rectangles, the approximation is rough: the rectangles overshoot or leave gaps. But the intuition is clear — the thinner the rectangles, that is the larger nn, the better the approximation. This passage to the limit is what will define the integral, the subject of the next lesson.