Next page : The fundamental theorem of calculus

**Integrals as areas – Riemann integrals
**

Assume we have a function *y*=*f *(*x*) and we want to find the area between the function, the *x*-axis and the lines *x*=*a* and *x*=*b*. What to do?

We could start by approximating the total areas with the help of rectangular areas with the height *f *(*x*) and the width *Δx *for several values of *x* between *a* and *b*. Let us call these values *x*_{0}=*a*, *x*_{1},* x*_{2}, and so on up to *x*_{n}=*b*. We will thus have *n* rectangles where each will have the area* ΔA*=*f *(*x _{i}*)

*Δx.*The sum of these rectangles will approximate the area.

We will not get an exact value – the grey areas correspond to the error – but as we increase the number of rectangles, and thus the width of them the error ought to get smaller and smaller. We will prove this further down the page.

So, assuming the error approaches zero as the number of subdivisions goes toward infinity we have

where

We will now define a *definite Riemann integral* as

The first part reads “the integral from *a* to *b* of *f* of *x* with respect of *x* …” The left-hand side is just a short form for the left-hand side.

Given that the function is positive between *a* and *b* and that the limit exists, the integral should give us the area.

**Example 1**

Let us test this. We will start will a simple example where we know the answer. Let *f *(*x*)=*x*, *a*=0 and *b*=2. We thus get a triangle with the base two and height two, and thus the area 2.

The integral will now be

The sum is an arithmetic series with the first term equal to *a* and the last equal to *b*–*Δx*, as you may verify. Since the sum of an arithmetic series equals the average of the first and the last term times the number of terms we get

This gives us that

Here we used the value for *Δx *given above. We may now let n go toward infinity to get

Phew.

We could have simplified it a bit by realizing that we could let the sum go from *i*=0 to *n*, since the area of the added rectangle would get to 0 as the width goes to 0. Anyhow, to start with I think we will let do with one example. Secondly, there must be another way to do this. And happily, it is, as we will see on the next page.

**Proof that the limit exists **

As we saw on the previous page the error corresponds to the sum of the somewhat triangular gray areas. That sum is less than the sum of the rectangular areas that correspond to *ΔyΔx*. I.e.

But the sum of all *Δy*´s is simply *f* (*x _{n}*-1)-

*f*(

*x*

_{0}), and given that both of these are finite, then the limit of a constant times

*Δx*as

*n*goes toward infinity, and thus

*Δx*goes toward 0, is indeed 0, and the error will thus go toward 0. We will look at cases where the function is not finite later on.

Next page : The fundamental theorem of calculusLast modified: