✖

Definite integral

The definite integral is used to measure the area of shapes that are described by a function.

Motivation

Let’s take the function f(x)=sin⁡(x)+x4. We might ask – how large is the area under the graph from the point a = 0 to the point b = 10? We are interested in the area bounded by the x-axis, the graph of the function f and the vertical lines at a and b. The diagram sums it up:

graph of the function f(x) = \sin(x) + \frac{x}{4} with the area highlighted

We are interested in the area highlighted in blue. How could we find it? We can split the whole blue area into several smaller areas, work out the area of each smaller piece and add all these partial areas together. To work out the area of a smaller piece with a formula, it must have a sensible shape. A rectangle is an obvious choice.

First we choose an increasing sequence of points x0 to xn such that x0 = a, xn = b. The larger n is, the more accurate our result will be. We choose the simple sequence x0 = 0, x1 = 1, x2 = 2, …, x10 = 10. From neighbouring points we form the intervals [xi − 1, xi], so we get the set of intervals

D={[0,1],[1,2],[2,3],…,[9,10]}

We call the first interval D1, the second D2 and so on. Next we find the minimum value of the function f in each interval Di. For example, in D1 the function f has its minimum value at x = 0, and f(0) = 0. In D2 the lowest value is at x = 1 and f(1)=sin⁡(1)+14≈1.0915. And so on. We label these values. We denote the lowest value of the function in the interval Di by mi. So m1 = 0, m2 ≈ 1.0915 and so on.

Now we draw rectangles on the graph. The ith rectangle has width xi − xi − 1 and height mi:

Rectangles under the curve

We can see that each interval has one rectangle that lies entirely under the curve but is as tall as possible. The height of each rectangle in the ith interval is exactly mi. If we now added up the areas of these rectangles, we would get an estimate of the area under the curve. The more rectangles we draw under the curve, the more accurate our estimate. We would work out the area of the ith rectangle as si = mi · (xi − xi − 1), so the sum of all the rectangles would be:

s=∑i=110mi⋅(xi−xi−1)

We can also go the other way: instead of taking the minimum value on the interval Di, we take the greatest value. We label these values Mi. The rectangles would then look like this:

Rectangles above the curve

Again each interval has one rectangle, and it always has height Mi. The top edge of a rectangle touches the curve only at the local maxima of its interval. Adding up the areas of the individual rectangles gives us another estimate of the area under the curve. We would work out this area as

S=∑i=110Mi⋅(xi−xi−1)

Again, if we increase the number of rectangles, we get a more accurate estimate.

We now introduce the lower and upper sums. We say that s(D, f) is the lower sum and its value is

s(D,f)=∑i=1nmi⋅(xi−xi−1),

where f is a continuous function on the interval [a, b], x0 = a, xn = b, D is a partition of the interval [a, b] into smaller intervals and n is the number of these intervals. We denote the upper sum by S(D, f) and it is equal to:

S(D,f)=∑i=1nMi⋅(xi−xi−1),

where f is a function and D is a partition of the interval [a, b] into n intervals.

Put simply, the finer the partition D, the closer the values of s(D, f) and S(D, f) get, until in the limit they are equal. So there is exactly one real number A such that

s(D,f)≤A≤S(D,f)

for every possible partition D. What is A? The number A is exactly the area under the curve, because it is the only value that is greater than or equal to the total area of the rectangles under the curve and at the same time less than or equal to the total area of the rectangles “above the curve”.

Definition of the definite integral

From the previous section we know that for a continuous function f on the interval [a, b] we have s(D, f) ≤ A ≤ S(D, f) for every partition D. This number A is called the definite integral of the function f from a to b. We write

A=∫abf(x)dx.

The fundamental theorem of calculus tells us that the following holds:

∫abf(x)dx=F(b)−F(a),

where F is an antiderivative of the function f. The right-hand side is sometimes also written like this:

∫abf(x)dx=[F(x)]ab

The geometric meaning of the definite integral is then the area under the curve of a non-negative function f, as we have already seen. We started with the function f(x)=sin⁡(x)+x4, so let’s work out the area on the interval [0, 10]. We work out the definite integral

∫010sin⁡(x)+x4dx

First we integrate the function f:

∫sin⁡(x)+x4dx=∫sin⁡(x)dx+∫x4dx=−cos⁡(x)+c1+x28+c2=x28−cos⁡(x)+c1+c2

So the antiderivative F has the form F(x)=x28−cos⁡(x)+c. We write out the definite integral:

∫010sin⁡(x)+x4dx=F(10)−F(0)=1028−cos⁡(10)+c−(028−cos⁡(0)+c)=1008−cos⁡(10)+cos⁡(0)+c−c≈12.5+0.839+1≈14.339

The approximate area under the curve on the interval [0, 10] is 14.339.

Chapters: Integral, Integration by parts, Integration by substitution, Definite integral