Introduction To Integration Part 2: The Definite Integral: Mary Barnes
Introduction To Integration Part 2: The Definite Integral: Mary Barnes
Introduction to Integration
Part 2: The Denite Integral
Mary Barnes
1999
c University of Sydney
Contents
1 Introduction 1
1.1 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Finding Areas 2
11 Solutions to Exercises 23
Mathematics Learning Centre, University of Sydney 1
1 Introduction
This unit deals with the denite integral. It explains how it is dened, how it is calculated
and some of the ways in which it is used.
We shall assume that you are already familiar with the process of nding indenite inte-
grals or primitive functions (sometimes called anti-dierentiation) and are able to anti-
dierentiate a range of elementary functions. If you are not, you should work through
Introduction to Integration Part I: Anti-Dierentiation, and make sure you have
mastered the ideas in it before you begin work on this unit.
1.1 Objectives
By the time you have worked through this unit you should:
Be familiar with the denition of the denite integral as the limit of a sum;
Know the statement of the Fundamental Theorem of the Calculus and understand
what it means;
Be able to use denite integrals to nd areas such as the area between a curve and
the x-axis and the area between two curves;
Understand that denite integrals can also be used in other situations where the
quantity required can be expressed as the limit of a sum.
Mathematics Learning Centre, University of Sydney 2
2 Finding Areas
Areas bounded by curved lines are a much more dicult problem, however. In fact,
although we all feel we know intuitively what we mean by the area of a curvilinear gure,
it is actually quite dicult to dene precisely. The area of a gure is quantied by asking
how many units of area would be needed to cover it? We need to have some unit of
area in mind (e.g. one square centimetre or one square millimetre) and imagine trying to
cover the gure with little square tiles. We can also imagine cutting these tiles in halves,
quarters etc. In this way a rectangle, and hence any gure bounded by straight lines, can
be dealt with, but a curvilinear gure can never be covered exactly.
We are therefore forced to rely on the notion of limit in order to dene areas of curvilinear
gures.
To do this, we make some simple assumptions which most people will accept as intuitively
obvious. These are:-
1. If one gure is a subset of a second gure, then the area of the rst will be less than
or equal to that of the second.
Mathematics Learning Centre, University of Sydney 3
2. If a gure is divided up into non-overlapping pieces, the area of the whole will be the
sum of the areas of the pieces.
Using these assumptions, we can approximate to curved gures by means of polygons
(gures with straight line boundaries), and hence dene the area of the curved gure as
the limit of the areas of the polygons as they approach the curved gure (in some sense
yet to be made precise).
Mathematics Learning Centre, University of Sydney 4
a b x
a subdivisions b x
a lower sum b x
a upper sum b x
Thus we have sandwiched the area we want to nd in between an upper sum and a lower
sum. Both the upper sum and the lower sum are easily calculated because they are sums
of areas of rectangles.
Mathematics Learning Centre, University of Sydney 5
Although we still cant say precisely what the area under the curve is, we know between
what limits it lies.
It can be shown that if f (x) is a nice function (for example, a continuous function) the
dierence between the upper and lower sums approaches zero as the number of strips the
area is subdivided into approaches innity.
We can thus dene the area under the curve to be:
the limit of either the upper sum or the lower sum, as the number of subdivi-
sions tends to innity (and the width of each subdivision tends to zero).
Thus nding the area under a curve boils down to nding the limit of a sum.
Now let us introduce some notation so that we can talk more precisely about these con-
cepts.
With this notation, and letting A stand for the area under the curve y = f (x) from x = a
to x = b, we can express our earlier conclusions in symbolic form.
The area lies between the lower sum and the upper sum and can be written as follows:
n
n
f (xi )x A f (xi )x.
i=1 i=1
Mathematics Learning Centre, University of Sydney 6
The area is equal to the limit of the lower sum or the upper sum as the number of
subdivisions tends to innity and can be written as follows:
n
A = lim f (xi )x
n
i=1
or
n
A = n
lim f (xi )x.
i=1
where the interval [a, b] has been divided up into n equal subintervals each of width x
and where xi is a point in the ith subinterval. This is a very clumsy expression, and
mathematicians have developed a simpler notation for such expressions. We denote them
by
b
f (x)dx
a
4.1 Notes
1. Although we used the area under a curve as the motivation for making this denition,
the denite integral is not dened to be the area under a curve but simply the limit
of the sum (1).
2. Initially, when discussing areas under curves, we introduced the restriction that f (x)
had to be a positive function. This restriction is not necessary for the denition of a
denite integral.
3. The denition can be made more general, by removing the requirement that all the
subintervals have to be of equal widths, but we shall not bother with such generali-
sations here.
4. Sums such as (1) are called Riemann sums after the mathematician Georg Riemann
who rst gave a rigorous denition of the denite integral.
5. The denition of a denite integral requires that f (x) should be dened everywhere
in the interval [a, b] and that the limit of the Riemann sums should exist. This will
always be the case if f is a continuous function.
Mathematics Learning Centre, University of Sydney 8
So far, we have dened denite integrals but have not given any practical way of calcu-
lating them. Nor have we shown any connection between denite integrals and dieren-
tiation.
A(x + x) A(x)
f (x ) f (x ).
x
Finally, if we let x 0, both f (x ) and f (x ) approach f (x), and so the expression in
the middle must also approach f (x), that is, the derivative of A(x), dA
dx
= f (x).
This result provides the link we need between dierentiation and the denite integral.
x
If we recall that the area under the curve y = f (t) from t = a to t = x is equal to a f (t)dt,
the result we have just proved can be stated as follows:
d x
f (t)dt = f (x). (2)
dx a
In words
You may not actually use this result very often, but it is important because we can derive
from it the rule for calculating denite integrals:
Let us suppose that F (x) is an anti-derivative of f (x). That is, it is a function whose
derivative is f (x). If we anti-dierentiate both sides of the equation (2) we obtain
x
f (t)dt = F (x) + c.
a
then, substitute the upper and lower limits of integration into the result and sub-
tract.
sin tdt = [ cos t]0
0
= cos() + cos 0
= (1) + 1
= 2.
iii Find the area enclosed between the x-axis, the curve y = x3 2x+5 and the ordinates
x = 1 and x = 2.
In a question like this it is always a good idea to draw a rough sketch of the graph of
the function and the area you are asked to nd. (See below)
2 y = x 32x+5
A = x3 2x + 5 dx
1
2
x4
= x2 + 5x
4 1
1
= (4 4 + 10) 1+5
4
3 1 2 x
= 5 .
4
Exercises 5
4
1. a. 2x3
2
1 3
b.
x2 1
16
c. x
9
4
d. [ln x]2
9
1
2. a. dx
4 x
2
b.
cos tdt
2
Mathematics Learning Centre, University of Sydney 11
2
1
c. dy
1 y2
1
d. (s2 + 2s + 2)ds
2
3. Find the area of the shaded region in each of the diagrams below:
a. b.
y y
y = x 2+1
y = 1/x
1 2 x 1 3 x
c. d.
v y
y = 2sint
2
2
v = (4 u)
2 4 u 0 t
4. Evaluate
1
2
a. xex dx
0
1
1
b. dx
2 3x
2
c. sin 2ydy
0
5
t
d. dt
1 4 + t2
Mathematics Learning Centre, University of Sydney 12
Some simple properties of denite integrals can be derived from the basic denition, or
from the Fundamental Theorem of the Calculus. We shall not give formal proofs of these
here but you might like to think about them, and try to explain, to yourself or someone
else, why they are true.
a.
a
f (x)dx = 0.
a
If the upper and lower limits of the integral are the same, the integral is zero. This
becomes obvious if we have a positive function and can interpret the integral in terms
of the area under a curve.
b. If a b c,
c b c y
f (x)dx = f (x)dx + f (x)dx.
a a b
This says that the integral of a function over the union
of two intervals is equal to the sum of the integrals over
each of the intervals. The diagram opposite helps to
make this clear if f (x) is a positive function.
a b c x
c.
b b
cf (x)dx = c f (x)dx for any constant c.
a a
This tells us that we can move a constant past the integral sign, but beware: we can
only do this with constants, never with variables!
d.
b b b
(f (x) + g(x))dx = f (x)dx + g(x)dx.
a a a
That is, the integral of a sum is equal to the sum of the integrals.
a b x
Mathematics Learning Centre, University of Sydney 13
b
f. cdx = c(b a).
a y
This tells us that the integral of a constant is equal to
the product of the constant and the range of integra-
c
tion. It becomes obvious when we look at the diagram
with c > 0, since the area represented by the integral
is just a rectangle of height c and width b a. c
ba
a b x
h. Finally we extend the denition of the denite integral slightly, to remove the restric-
tion that the lower limit of the integral must be a smaller number than the upper
limit. We do this by specifying that
a b
f (x)dx = f (x)dx.
b a
For example,
1 2
f (x)dx = f (x)dx.
2 1
Mathematics Learning Centre, University of Sydney 14
We have dened the denite integral ab f (x)dx as the limit of a particular type of sum,
without placing any restrictions on whether the function f (x) is positive or negative.
We know that, if f (x) is positive, ab f (x)dx is equal
to the area between the curve y = f (x), the x-axis y
and the ordinates x = a and x = b, (which we refer to
as the area under the curve).
The natural question x
0
to ask now is: what does ab f (x)dx equal if f (x) is x
negative? Can we represent it as an area in this case f(x)
too; perhaps the area above the curve ?
If we go back to the denition of ab f (x)dx as the limit
of a sum, we can see clearly that if f (x) is always
y = f(x)
negative then each of the terms f (xi )x will also be
negative (since x is positive).
n
So the sum f (xi )x will be a sum of negative terms and so will be negative too. And
i=1
when we let n approach innity and pass to the limit, that will be negative also.
b
Thus, if f (x) is negative for x between a and b, f (x)dx will also be negative.
a
Now areas are, by denition, positive. Remember that, in section 1, we explained that we
can measure the area of a region by counting the number of little square tiles (each of unit
area) needed to cover it. Since we cant cover a region with a negative number of tiles
(it doesnt make sense to talk of it) we cant have a negative area. On the other hand, if
we ignore the fact that each of the terms f (x)x is negative, and consider its numerical
value only, we can see that it is numerically equal to the area of the rectangle shown.
And, if we go through the usual process,
adding up the areas of all the little rectangles
b
and taking the limit, we nd that f (x)dx is numerically equal to the area between
a
the curve and the x-axis.
b
So to nd the area, we calculate f (x)dx, which will turn out to be negative, and then
a
take its numerical (i.e. absolute) value.
Mathematics Learning Centre, University of Sydney 16
To see this more clearly, lets look at an example. Consider the curve, y = x(x2 1). This
is a cubic curve, and cuts the x-axis at 1, 0 and 1. A sketch of the curve
is shown below.
1
Let us nd the shaded area. First we calculate the denite integral x(x2 1)dx.
0
1 1
x(x 1)dx =
2
(x3 x)dx
0 0
1 4 1 2 1
= x x 1 0 1 x
4 2 0
1 1
= (0 0)
4 2
1
= .
4
Since x(x2 1) is negative when x lies between 0 and 1, the denite integral is also
negative, as expected. We can conclude that the area required is 14 square units.
As a check, let us nd the area of the other loop of the curve, i.e. the area between the
curve and the x-axis from 1 to 0. Since x(x2 1) is positive for this range of values of
x, the area will be given by
0
1 4 1 2 0
x(x 1)dx =
2
x x
1 4 2 1
1 1
= (0 0)
4 2
1
= .
4
This is the answer we would expect, since a glance at the diagram shows that the curve
has point symmetry about the origin. If we were to rotate the whole graph through
180 , the part of the curve to the left of the origin would t exactly on top of the part
to the right of the origin, and the unshaded loop would t on top of the shaded loop. So
the areas of the two loops are the same.
1
Now let us calculate x(x2 1)dx.
1
1
1 4 1 2 1
x(x 1)dx =
2
x x
1 4 2 1
1 1 1 1
=
4 2 4 2
= 0.
a denite integral does not always represent the area under a curve.
Mathematics Learning Centre, University of Sydney 17
1 0 1 B 2 x
1 1
1 4 2 3 1 2
(x 2x x + 2)dx =
3 2
x x x + 2x
1 4 3 2 1
1 2 1 1 2 1
= +2 + 2
4 3 2 4 3 2
4 2
= +4=2 .
3 3
2
If we calculate (x3 2x2 x + 2)dx the answer will be the dierence between the area
1
of A and the area of B, that is, 2 14 square units. (Check it out for yourself.)
If we want the total area enclosed between the curve and the x-axis we must add the
area of A and the area of B.
i.e. 2 23 + 5
12
1
= 3 12 square units.
WARNING In working out area problems you should always sketch the curve rst. If
the function is sometimes positive and sometimes negative in the range you are interested
in, it may be necessary to divide the area into two or more parts, as shown below.
b
a c x
b
The area between the curve and the x-axis from a to b is NOT equal to f (x)dx.
a
c b
Instead, it is f (x)dx + | f (x)dx|.
a c
Before you can calculate this, you must nd the value of c, i.e. nd the point where the
curve y = f (x) crosses the x-axis.
Exercises 8
1. Find the area enclosed by the graph of y = 3x2 (x 4) and the x-axis.
2
2. i Find the value of sin xdx.
0
ii Find the area enclosed between the graph of y = sin x and the x-axis from x = 0
to x = 2.
3. Find the total area enclosed between the graph of y = 12x(x + 1)(2 x) and the
x-axis.
Mathematics Learning Centre, University of Sydney 19
(4,2)
(2,3) (4,3)
3. Integrate the function (upper curve lower curve) between the appropriate limits.
In other words, if two curves f (x) and g(x) intersect at x = a and x = b, and f (x) g(x)
for a x b, then
b
Area enclosed between the curves = (f (x) g(x))dx.
a
Exercises 9
Examples
1. Volume of a solid
If we want to nd the volume of a solid, we
can imagine it being put through a bread
slicer, and cut into slices of thickness x.
If A(x) is the cross sectional area at distance
| |
x along the x-axis, the volume of the slice
will be approximately A(x)x, and the total
volume of the solid will be approximately
n
A(xi )x.
i=1
x
2. Length of a curve
We can approximate to the length of a curve Pn
by dividing it up into segments, as shown,
and approximating the length of each seg- Pi
ment by replacing the curved line with a l i
straight line joining the end points. If the
length of the ith straight line segment is li , Pi1
the total length of the curve will be approx-
imately P0
n
li .
i=1
If we take the limit of this sum as the length of each segment approaches zero and the
number of segments approaches innity, we again get a denite integral. The details
are rather complicated and are not given here.
Mathematics Learning Centre, University of Sydney 22
Many other examples could be given, but these four should be sucient to illustrate the
wide variety of applications of the denite integral.
Mathematics Learning Centre, University of Sydney 23
11 Solutions to Exercises
Exercises 5
b. 11 = 89
1
9
c. 16 9 = 1
d. ln 4 ln 2 = ln 42 = ln 2
9
9
x 2 dx = 2x 2
1 1
2. a. =2 92 4=2
4 4
2
b.
cos tdt = [sin t]
2
= sin sin = 1 (1) = 2
2
2 2 2
2
2
1 1 1
c. y 2 dy = y 1 = =
1 1 2 1 2
1 1
1 1 8 1
d. (s + 2s + 2)ds = s3 + s2 + 2s
2
= +12 +44 =1
2 3 2 3 3 3
2 2
1 8 1 1
3. a. Area = (x + 1)dx = x3 + x
2
= +2 +1 =3
1 3 1 3 3 3
3
1
b. Area = dx = [ln x]31 = ln 3 ln 1 = ln 3
1 x
4 4 4
1 2 3 1
c. Area = (4 u)du = (4 u) (1)du = (4 u) 2
2 =5
0 0 3 0 3
d. Area = 2 sin tdt = [2 cos t]0 = 2 cos + 2 cos 0 = 4
0
1
x2 1 1 x2 1
x2 1 1
4. a. xe dx = e 2xdx = e = (e 1)
0 2 0 2 0 2
1 1
1 1 5
b. dx = (1)dx = [ln(3 x)]1
2 = (ln 4 ln 5) = ln 5 ln 4 = ln
2 3x 2 3 x 4
1 2
2 1 1
c. sin 2ydy = sin 2y 2dy = [ cos 2y]02 = ( cos + cos 0) = 1
0 2 0 2 2
5
t 1 5 2t 1
2 5 1 29
d. 2
dt = 2
dt = ln(4 + t ) = ln
1 4+t 2 1 4+t 2 1 2 5
Mathematics Learning Centre, University of Sydney 24
Exercises 8
4
3 4
= x 4x3
4 0
= 64.
The required area is therefore 64 units.
2
2. i sin xdx = [ cos x]2
0 = cos 2 + cos 0 = 1 + 1 = 0
0
ii
y
0 2 x
2
Area = sin xdx + | sin xdx|
0
= [ cos x]0 + | [ cos x]2
|
= ( cos + cos 0) + | cos 2 + cos |
= ((1) + 1) + | 1 + (1)|
= 4.
3. The graph of the curve cuts the x-axis at 1,
y
0 and 2.
The total area
= area A + area B.
0
Area A = | 12x(x + 1)(2 x)dx| B
1
0
=| (12x3 + 12x2 + 24x)dx|
1 0 1 A 0 2 x
= | 34 + 4x3 + 12x |
1
= |0 (3 4 + 12)|
= | 5| = 5.
2
Area B = 12x(x + 1)(2 x)dx
0 2
= 3x4 + 4x3 + 12x2 = (48 + 32 + 48) = 32.
0
Mathematics Learning Centre, University of Sydney 25
Exercises 9
2 y
Area = ((2 x2 ) (x2 4x + 2))dx
0
2 (0,2) y = 2x 2
= (4x 2x )dx 2
0
2 2
= 2x + x3 2
3 0 x
2
= (8 8) 0
3 (2,2)
2
= 2 .
3
3. When x = 4 , sin x = 1 and cos x = 1 .
2 2 y
When x = 5
4
, sin x = 12 and cos x = 12 .
So the curves y = sin x and y = cos x inter- 5/4
sect at 4 and 5
4
. /4 x
5
4
Area =
(sin x cos x)dx
4
5
= [ cos x sin x] 4
4
Mathematics Learning Centre, University of Sydney 26
5 5
= ( cos sin ) + (cos + sin )
4 4 4 4
4
=
2
= 2 2.
or
x(x 2)(x + 3) = 0.
So the points of intersection are (0, 6); (2, 0);
and (3, 0). B
The rst curve is an upside-down parabola, 3 0 2 x
and the second a cubic.
Total area = area A + area B.
0
Area A = ((x3 7x + 6) (6 x x2 ))dx
3
0
= (x3 + x2 6x)dx
3
0
1 4 1 3
= x + x 3x2
4 3 3
3
= 15 .
4
2
Area B = ((6 x x2 ) (x3 7x + 6))dx
0
2
= (6x x2 x3 )dx
0
1
= 5 .
3
.. the total area = 15 34 + 5 13 = 21 12
1
square units.