Application of Integration: Motivation
Application of Integration: Motivation
Overview
There are lots of applications for integrals. We look at two particular applications in this
lecture.
Motivation
There are engineering models that involve equations with derivatives. Simple examples
of these can be solved using elementary techniques. In some engineering problems we
need to compute the area bounded by curves, and a simple interpretation of this
configuration gives the area we sought.
Key concepts in this lecture
Some equations involving derivatives can be solved using our knowledge of the
derivatives
By using rectangles, we can get bounds for the expression representing the area
between a curve and the x-axis.
The above concept can be extended to that for the area between two curves
Content
Integration as the inverse operation to differentiation
Simple differential equations
The area between a curve and the x-axis
The area between two curves
Outcome
At the end of this lecture, you will be able to
Solve simple differential equations involving either a first derivative or special
cases involving second derivatives
Find the area between two curves
Exercises
1. Find y when
(a)
dy
sec 2 ( x );
dx
2. Determine y when
d2y
(a)
9 y 0;
dx 2
(b)
dy
sin( x) cos( x),
dx
(b)
d2y
16 y 0,
dx 2
y (0) 2 ;
y (0) 1,
(c)
dy
x 3 y 0.
dx
dy
(0) 0.
dx
3
.
2
Application of integration
Simple differential equations
Consider the following equation
dy
f (x )
dx
dy
cos( x ).
dx
_________________________________________
Direct integration gives
y
______________________________________________________
The arbitrary constant above can be determined if we are given a
set of conditions. Suppose the question becomes
Example 2.
Determine y where
dy
cos( x ) and y 1 when x 0.
dx
_________________________________________
We already got the solution in the previous example. This is
y sin( x ) C .
Now substituting y = 1 and x = 0, we have 1 = sin(0) + C = C so
that the solution satisfying the given condition is
y = sin(x) + 1.
The previous differential equation is a first order differential
equation. A more general form of a differential equation is
dy
p ( x) y 0.
dx
d
ln y 1 dy so the differential equation
dx
y dx
becomes
d
ln | y | p( x)
dx
ln | y | p x dx.
Example 3.
Solve
dy
y
0.
dx x 1
__________________________________________
Rewriting this, we have
1 dy
d
ln | y | 1 .
y dx dx
x 1
1
dx ln x 1 C
x 1
1
.
| x 1|
eC
.
| x 1|
A
.
x 1
______________________________________________________
In general, solution to
dy
p( x) y 0
dx
d2y
y
dt 2
Force pulling
The mass back
y
m
where y is the extension of the string and m is the mass. Let the
constant of proportionality be k, and we get
d2y
m 2 ky
dt
or
d2y
y
dt 2
Such equations can be solved if we can rewrite the left hand side as
shown below.
Let v
dy
be the velocity, then using the chain rule, we have
dt
d 2 y dv dv dy
dv
d 1 2
v .
2
dt
dt
dy dt
dy dy 2
d
dy
1
2
y2
Therefore
d2y
y
dt 2
becomes
d
dy
1
2
v 2
d
dy
1
2
y2 .
v 2 12 y 2 C.
Example 4
Solve the following differential equation
d2y
y 0,
dx 2
dy
1.
dx
__________________________________________
Let v
dy
d 2 y dv dv dy
dv
d
, then
2
dx
dx
dx dy dx
dy dy
dy
dy
2
1
2
1
2
1
2
v2 .
y2
so
1
2
v 2 12 y 2 C.
dy
1 y2 .
dx
dy
1 y2
dy
1.
dx
dx .
2
0
x3
x dx
8
2.66666
3
to 6 s.f.
7
Let us approximate the area between the curve and the x-axis using
10 rectangles.
The first rectangle has zero height and the area of the other 9
rectangles can be calculated easily and is given by
0.2(.04+.16+.36+.64+1+1.44+1.96+2.56+3.24)= 2.28
The width of each rectangle is 0.2 and the height is taken from the
members of the sequence:
0.22, 0.42, 0.62, , 1.82.
This is an underestimation of the true value.
Let us now increase the number of rectangles to 50:
Now the width of each rectangle is 0.04 and the height of each
rectangle is given by the sequences of values
0.042, 0.082, 0.122, , 1.962.
The sum of the areas of all the rectangles is
2
0.0016 0.0064 3.8416 .
50
sum(0.02*(0.02*k)^2, k=1,,99);
which gives 2.6268.
With 1000 rectangles, we get the following result:
Sum(0.002*(0.002*k)^2, k=1..999) = 2.662668.
Continuing in this manner, we will get the value of the area
approach the true value of the integral as the number of rectangles
increases.
10
This time the sum of the areas of the rectangles will be more than
the area between the curve and the x-axis. In fact, we have the area
as
0.2(0.04 + 0.16 + + 4) = 3.08.
With 50, 100 and 1000 rectangles, we get respectively, the areas as
2.7472, 2.7068, and 2.670668, and so on.
Combining with the lower estimates, we can estimate the upper
and lower bounds for the area between the curve and the x-axis.
Using 1000 rectangles, the bounds are
2.662668 < area < 2.670668.
With 10000 rectangles, the bounds are
2.66626668 < area < 2.66706668.
11
12
Of course, when the curve crosses the x-axis at a point c, say, the
integral over a range that includes the point c no longer represents
area. In fact, the area for the part where the curve is below the xaxis will be negative. The definite integral
1.5
0
( x 1) 3 dx
x 1)
1
4
1.5
0
0.234375
and the negative value is because more of the curve lies below the
x-axis.
13
The area between the two curves is the same as the area under the
upper curve, less the area under the lower curve. If the two curves
intersect at x = a and x = b, then the area between them is given by
f ( x) g ( x) dx .
Now the area between the two curves can be anywhere. If f(x)
denotes the curve that is above the other curve, denoted by g(x),
then (f(x) g(x)) is always positive.
b
Example 5
14
The two curves intersect at 0.618 and 1.618 (to 3 d.p.). The upper
curve is y = x and the lower curve is y = x2 1.
The area between the two curves is therefore
1.618
x ( x 2 1) dx 1.863
0.618
_____________________________________________________
Of course, we do not always have to find the area between two
curves that intersect.
15
Example 6.
Find the area between the two curves y = sin(x), y = cos(x),
between x= 0 and x = /6.
_____________________________________________
sin(x)
cos(x)
The upper curve is cos(x) and the lower curve is sin(x). The left
hand boundary is x = 0 while the right hand boundary is x = /6.
The area of the enclosed region is therefore
/6
0
sin( / 6) cos( / 6) 1
3 1
2
2
16