MA1101 Kalkulus IA · 12 min

Riemann sums, or why an integral is an "area"

1. Start with the question

You can find the area of a rectangle: length × width. But what is the area under y=x2y = x^2 from x=0x = 0 to x=2x = 2? The top edge is curved, so the rectangle formula does not apply directly.

The idea is simple: if you can’t measure a curved shape, cut it into many straight ones.

2. Try it yourself

Drag nn and watch the Error value.

0.002.00
Approximation
1.75000
Exact area
8/3 ≈ 2.66667
Error
-0.91667

Things worth trying:

3. Now the formula, after you’ve seen it

Split [a,b][a, b] into nn pieces of width Δx=b−an\Delta x = \frac{b-a}{n}. Pick a point xi∗x_i^* in each piece. The total rectangle area is:

Sn=∑i=1nf(xi∗) ΔxS_n = \sum_{i=1}^{n} f(x_i^*)\,\Delta x

The definite integral is defined as the limit of this sum:

∫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 ∫\int sign is literally a stretched S, for summa (sum). The dxdx is “a Δx\Delta x that has become very thin”.

4. The intuition to take home

Integral = add up many thin slices (height × width), then make the slices as thin as you like.

This pattern is everywhere: work = sum of force × small displacement, mass = sum of density × small volume, charge = sum of current × small time. Whenever you see “sum of many small pieces”, that is an integral.

5. Check your understanding

  1. For f(x)=sin⁡xf(x) = \sin x on [0,π][0, \pi], why do left and right endpoints give the same result? (Try it in the simulation, then think about the symmetry.)
  2. For a decreasing function like 1/x1/x, do left endpoints over- or under-estimate? Guess first, then check.

Sign in to save your progress.