Chapter 17 Definite Integrals: Area

A basic type of problem in calculus is to find the area under a curve . More precisely, we want to find the area bounded on the top by the graph of some function [Maple Math] with [Maple Math] , on the bottom by the [Maple Math] -axis, on the left by a vertical line [Maple Math] , and on the right by another vertical line x = b . We call this the `` area under f(x) between a and b .'' We also call it the definite integral of [Maple Math] from [Maple Math] to [Maple Math] .

Riemann Sums

To understand the meaning of the definite integral it is instructive to discuss a method for obtaining an approximation to the true area area. This method is called the Riemann sum approximation (more precisely, the [Maple Math] left endpoint Riemann sum approximation ), where n is some integer). The procedure is:

1. Divide the interval from [Maple Math] to [Maple Math] into a certain number [Maple Math] of equal subintervals , each of length [Maple Math] x = [Maple Math] ;
2. Draw a vertical line up to the curve at the endpoints of the subintervals;


3. Over each subinterval form a rectangle by going up to the curve at the left endpoint and drawing a horizontal line to the right from that point on the curve;


4. Take the sum of the areas of the
[Maple Math] thin rectangles.

code for diagrams below

[Maple Plot]

[Maple Plot]


For example, if
[Maple Math] , so that [Maple Math] , then the heights of the 5 rectangles are: [Maple Math] , [Maple Math] , [Maple Math] , [Maple Math] , and [Maple Math] (see the diagram above). All of the rectangles have the same horizontal dimension [Maple Math] . Hence, the total area, which is the 5-th left endpoint Riemann sum , is e qual to


[Maple Math]

In general, the n -th left endpoint Riemann sum , obtained from the rectangles formed over [Maple Math] small subintervals , is equal to

[Maple Math] [Maple Math]


Using the summation symbol [Maple Math] , we can write this sum more compactly as
follows:

n-th (left) Riemann Sum = [Maple Math]


Here the summation notation tells us to take all integer values of
[Maple Math] starting with [Maple Math] and ending with [Maple Math] , put each value in place of [Maple Math] in [Maple Math] , and take the sum.

Example 1 : Find the 5-th left endpoint Riemann sum for the definite integral of [Maple Math] from 0 to 1, i.e., for the area under the parabola [Maple Math] between [Maple Math] and [Maple Math] .


We have [Maple Math] , [Maple Math] , [Maple Math] , and the Riemann sum is


[Maple Math] = [Maple Math] ,.

Later we will see that the actual area is a little larger, namely 1/3. Notice that rather than multiplying each term by 0.2 and then summing, it is often faster to factor out the term 0.2 , add the remaining terms and then multiply by 0.2 .

In general, if f(x) is an increasing function on the interval (a,b) , then the left endpoint Riemann sum will be a little less than the true area; but if f(x) is a decreasing function on (a,b) , then the left endpoint Riemann sum will be a little greater than the true area.

The larger n is, the closer the Riemann sum will be to the true area. We say that the area is ``the limit of the Riemann sums as n approaches
[Maple Math] '' and we write it in symbols this way:


[Maple Math]


In old books, the "integral sign" we use in expressions like
[Maple Math] is actually the printed form of the letter "S" and "infinitely small'' values of [Maple Math] are written [Maple Math] . Thus, a good symbol for the limit is



[Maple Math] .

This number is called the `` definite integral of f(x) from a to b . '' The function [Maple Math] is called the integrand , a is called the lower limit of integration and b is called the upper limit of integration . The letter [Maple Math] is called the variable of integration .

In a definite integral it makes no difference what the variable of integration is called. In other words, the area under the function [Maple Math] between [Maple Math] and [Maple Math] means exactly the same thing as the area under the function [Maple Math] between [Maple Math] and [Maple Math] . That is, both [Maple Math] and [Maple Math] are equal to the same thing because in a definite integral the variable of integration only holds a place, and does not affect the answer.

In the next section, we will discover that there is a relation between the
definite integral and the indefinite integral which you studied in the last chapter.

Computing the Area Under a Curve

We now describe how to find the exact area under [Maple Math] between a and b . To do this, we introduce an " area function '' A(u) as follows:

for any u between a and b we set

A(u) = area under f(x) between a and u .

If we could find a formula for the function [Maple Math] , then we would just substitute [Maple Math] to get the area between [Maple Math] and [Maple Math] that we want.

code for diagram

[Maple Plot]


To find such a formula, we proceed indirectly. Instead of asking for
[Maple Math] itself, we ask how much the area function changes when we go from [Maple Math] to [Maple Math] , and then we take the difference quotient [Maple Math] . By the definition of the area function,

[Maple Math] = area under [Maple Math] between u and u+h which is approximately the area of the rectangle above the interval (u,u+h) of height [Maple Math] = [Maple Math]

This approximate equality between the area under the curve and the area of the thin rectangle becomes very close to equality when h is small. Dividing through by h , we find that

[Maple Math] = (approx) [Maple Math] ,

with the approximate equality becoming an equality in the limit as h goes to 0 . That is, the limit of the difference quotient --- the derivative of A(u) --- is equal to f(u) :

[Maple Math] .

To see what this says, imagine that the area under the curve above of u is covered over by a card. The derivative of the area function [Maple Math] means the rate at which area is being uncovered as you move the card to the right. Clearly this depends on how wide the area is at the edge of the card --- and this is precisely [Maple Math] .

Once we know that [Maple Math] / [Maple Math] is [Maple Math] , this means that [Maple Math] is an antiderivative of [Maple Math] . So suppose that we find the antiderivative [Maple Math] , using the methods in the last section. Our function [Maple Math] must correspond to a certain value of C . Just as before, we need some initial information to determine this value. For the area function A(u) the initial information is: when u = a there is no area, i.e., A(a) = 0 . Thus, [Maple Math] = [Maple Math] , and hence [Maple Math] . We conclude that A(u) = F(u)-F(a) . This means that the total area under the curve between a and b is A(b) = F(b)-F(a) . In other words, the area under f(x) between a and b can be computed by finding an antiderivative of f(x) , substituting b and a in that antiderivative, and subtracting . Using the definite integral notation, we conclude that

Area under f(x) between a and b = [Maple Math] = F(x) [Maple Math] = [Maple Math] , where [Maple Math] is an antiderivative of [Maple Math] .

Here we used the notation "F(x) [Maple Math] " to mean " substitute b and a into F(x) and then subtract .''

Note: You can tell whether an integral is a definite integral or an indefinite integral by whether or not there are limits of integration on the integral sign. The answer to a definite integral problem is usually a specific value, not a function with an unknown constant C as in an indefinite integral problem. However, we will see many definite integrals with variable limits and these evaluate to functions of the limits, but without an arbitrary constant stepping in!


Example 2 : Find the area under:

(a) [Maple Math] between [Maple Math] and [Maple Math] , and

(b) one arch of the sine curve.


(a)
[Maple Math] = [Maple Math] [Maple Math] [Maple Math] = [Maple Math] ( [Maple Math] - [Maple Math] ) = [Maple Math] .

(b) An arch of the sine curve is the region under [Maple Math] between [Maple Math]
and
[Maple Math] , so its area is [Maple Math] = [Maple Math] [Maple Math] = [Maple Math] -( [Maple Math] ) = -(-1)-(-1) = 2 .

code for diagrams below

[Maple Plot]



[Maple Plot]

Example 3: Find the area contained between the curve [Maple Math] and the line [Maple Math] .

The way to think of the area between two curves is: the area under the top curve between a and b minus the area under the bottom curve between a and b . Here a and b are the x -coordinates of the intersection points. In this case the square-root function and the line [Maple Math] intersect at the origin and at the point ( [Maple Math] ). Between 0 and 1 the top curve is [Maple Math] . So the area between them is:


[Maple Math] = = [Maple Math] [Maple Math] [Maple Math] - [Maple Math] [Maple Math] [Maple Math] = [Maple Math] - [Maple Math] = [Maple Math]

code for diagram

[Maple Plot]

Substitution

In integrals evaluated using a u -substitution, as before you must change EVERYTHING from the old variable [Maple Math] (or [Maple Math] ) to the new variable [Maple Math] . In the case of a definite integral, "everything'' includes the limits of integration. You get the new limits of integration (the u -limits of integration) by asking the question: " as x goes from a to b the variable u goes from (what?) to (what?) .'' To answer this question, substitute [Maple Math] in place of [Maple Math] in the formula that gives [Maple Math] in terms of [Maple Math] ; this gives the lower [Maple Math] -limit of integration. Then substitute [Maple Math] in place of [Maple Math] in the same formula to get the upper [Maple Math] -limit of integration. Here are some examples:

Example 4: Find the area under

(a) [Maple Math] between 1 and 2, and

(b) [Maple Math] between [Maple Math] and 1.



(a) In
[Maple Math] we make the substitution [Maple Math] , so that [Maple Math] and [Maple Math] [Maple Math] . This transforms the integral to


[Maple Math] = [Maple Math] [Maple Math] .


What about the limits of integration? When x is equal to the lower limit of integration 1, we have
[Maple Math] = 1 ; whereas when x is equal to the upper limit of integration 2, we have [Maple Math] = [Maple Math] . Thus, our new limits of integration are 1 and 8. So the area is

[Maple Math] [Maple Math] = [Maple Math] [Maple Math] = [Maple Math] = [Maple Math] = 45/28


(b) If we make the substitution
[Maple Math] , so that [Maple Math] = [Maple Math] [Maple Math] , we see that as x goes from 0 to 1 the variable u goes from 2 to 1. We obtain:

[Maple Math]

= [Maple Math]

= [Maple Math]

= - [Maple Math] ( [Maple Math] )

= [Maple Math] ( [Maple Math] ) = 0.776

Some Properties of Definite Integrals

1. Like indefinite integrals, they are linear. This means, for example, that any constant inside the integral can be pulled outside (as we did in Example 17.4(a) with the constant 1/7). Also, if you have the definite integral from a to b of f(x)+g(x) , it makes no difference whether you work with the sum all at once, or find the definite integral of f(x) and g(x) separately and then add the results. (The same observation applies to f(x)-g(x) .)

2. If c is a number between a and b , then the area between a and b is equal to the sum of the area between a and c and the area between c and b :


[Maple Math]


Actually, when you use the information from the next item below, we can get that the above formula is valid even when c is not between a and b .


3. If the lower limit of integration is greater than the upper limit, i.e., if b is on the bottom and a is on the top (so you are traversing the area under the curve from right to left rather than from left to right), then the effect is to put in a negative sign. This is because
[Maple Math] = [Maple Math] . In Example 17.4(b), after making the u -substitution we obtained an integral of the form [Maple Math] , which was negative. (We also had a negative constant in front of the integral, so that our final answer was positive.)

4. If the function f(x) is negative, then [Maple Math] is negative (assuming that b>a ), i.e., area below the x -axis is counted as negative area. For example, if we compute [Maple Math] (see Example 17.2(b)), we obtain [Maple Math] as our answer. This makes sense, because Int(sin x , x=Pi..2*Pi) is the "area" of an arch of the sine curve under the x -axis, and so has area -2 .

By property (2) above, we have [Maple Math] = 2+(-2) = 0 , i.e., the two equal arches, one above and one below the x -axis, cancel.

Application to Degree-Days

The concept of "degree-days'' arises when one wants to estimate heating costs. Suppose that in the winter you keep a building heated to a constant temperature of [Maple Math] F. Let [Maple Math] be the outside temperature. Then the cost of heating the building between time t = a and time t = b is roughly proportional to the area between the line y = 65 and the temperature curve y = f(t) from t = a to t = b . For example, if the temperature outside has the constant value f(t) = D , then the area between the two lines y = 65 and y = D is simply [Maple Math] (the units are units of temperature times time, i.e., degree-days). In that case all we're saying is that the heating cost is proportional to the temperature difference times the time interval. But when f(t) is not constant we need to use definite integration to find this area.

Example 5: Using the temperature function in Example 8.2 in the section on trig functions, find the number of degree-days in January in an average year in
Seattle.

Our temperature function is [Maple Math] . Subtracting this from 65 and simplifying, we obtain [Maple Math] . Our time interval is 0 to 30 (recall that we supposed that every month has 30 days). So the number of degree-days is

[Maple Math] =
[Maple Math] =
[Maple Math] = [Maple Math] = 821.

Thus, based on this information, every January we can get a rough idea of whether to expect high or low heating bills by comparing the total number of degree-days measured in the particular month with the norm for January, which is 821.

Velocity and Distance Traveled As Area

In Chapter 16 we saw that the velocity is the antiderivative of the acceleration. Another way to say this is that velocity is the area under the acceleration graph . More precisely, the area under [Maple Math] between [Maple Math] and [Maple Math] is equal to the amount the velocity increases during this time interval. In mathematical notation:


[Maple Math] .

The graph illustrates this in the special case when a(t) = k is a constant function.

code for diagrams

[Maple Plot]

[Maple Plot]


In Chapter 16 we also saw that the distance is the antiderivative of the velocity. In other words,
distance traveled is the area under the velocity graph . More precisely, the area under v(t) between [Maple Math] and [Maple Math] is equal to the distance traveled during this time interval: [Maple Math] ). The graph at the above illustrates this in the special case when [Maple Math] .

Note: By " distance traveled '' we mean the net distance. This can be negative if the velocity is negative. In other words, the backward distance we travel when the velocity is negative (represented by area that is beneath the [Maple Math] -axis) counts with a negative sign, i.e., it cancels some of the positive distance we traveled earlier.

table of contents