lecture 4
lecture 4
lecture 4
M x, y dx N x, y dy 0 (1)
Now if
1 M N f x
N y x constant
then
1 M N
exp dx
N y x
is an integrating factor of (1).
Again if
1 M N g y
M y x constant
then
1 M N
exp dy
M y x
is an integrating factor of (1).
2x 2
y dx x 2 y x dy 0 . (1)
Here M x, y 2 x 2 y, N x, y x 2 y x
M
1
y
2
N
and 2 xy 1
x
M N
Since hence Eq. (1) is not exact.
y x
M N
Now, 1 2 xy 1 2 xy 2 2 xy 1
y x
Therefore,
1 M N 2 xy 1 2 xy 1 2
2
N y x x yx x xy 1 x
y 1
2 2 dx y dy 0
x x
y 1
2 dx 2
dx y dy dy 0
x x
1 y
2 dx y dy dy 2 dx 0
x x
y y2
2 dx d d 0
x 2
y 1 1
d d y yd
x x x
y dy y dx
1 d d 1
x dy dx x
1 1
dy y 2 dx
x x
Integrating, we find
y y2
2x C , where C is an integrating constant.
x 2
This is the required solution of the given differential equation.
3
dx
kx, x t0 x0 , (1)
dt
Example: A certain radioactive substance has a half time of 38 hours. Find how long it takes
for 90% of the radioactivity to be dissipated.
Solution: Let R be the amount of the substance at time t hours and R0 be the amount of
substance at time t = 0. Since the rate of dissipation of radioactive substance is proportional
to the amount of substance at that time, we have
dR
kR (2)
dt
dR
kdt
R
Integrating,
4
R Aekt (3)
At time t = 0, R = R0.
Thus from (3), we have A = R0.
Thus
R R0ekt (4)
R0
R0e38k
2
1
e38k
2
1
38k ln
2
1 1
k ln
38 2
Now the amount of the remaining substance is (100 − 90) = 10 percent of its original amount.
R
Hence, when R 10% of R0 0 then (4) gives
10
R0
R0 e kt
10
1
e kt
10
1
kt ln
10
1 1
t ln
k 10
5
1
ln
t 38 126.233 ≈ 126 hours.
10
1
ln
2
dT
k T Tm , (5)
dt
where k is a constant of proportionality, T(t) is the temperature of the body for t > 0, and Tm is
the ambient temperature―that is, the temperature of the medium surrounding the body.
Solution: Let x bet the Fahrenheit temperature of the body at time t. By Newton’s law of
cooling, we at once have the differential equation
dx
k x 50 , (6)
dt
x 0 80 (7)
and the 70° F temperature at the end of 5 minutes gives the additional condition
x 5 70. (8)
dx
kdt
x 50
Integrating, we find
Thus we get
x 50 Cekt . (9)
80 50 Ce0 C 30.
70 50 30 e5 k
30e5 k 20
2
e5 k
3
1
2 5
ek .
3
t
2 5
x 50 30 . (10)
3
t 2 1
ln ln
5 3 3
1
ln
t 5
3
2
ln
3
t 13.55 minutes .
(3) Now we have to find out after how many minutes the temperature of the body will be
within 1° F of the constant 50° F temperature of the room. Thus we seek the time when the
temperature is x = 51.
From (10), we have
1
t ln
2
t 5 41.94 minutes .
5 30
51 50 30
3 2
ln
3
Exercise 1: When a cake is removed from an oven, its temperature is measure at 300° F.
Three minutes later its temperature is 200° F. How long will it take for the cake to cool off to
a room temperature of 70° F?
8
Exercise 2: Suppose that you turn off the heat in your home at night 2 hours before you go to
bed, call this time t = 0. If the temperature T at time t = 0 is 66° F and at the time you go to
bed (t −2) has dropped to 60° F, what temperature can you expect in the morning, say 8 hours
later (t −10)? Of course, this process of cooling off will depend on the outside temperature
Tm, which we assume to be constant at 32° F.
Exercise 3: A thermometer is removed from where the air temperature is 70° F to the outside,
1
where the temperature is 10° F. After minute the thermometer reads 50° F. What is the
2
reading at t = 1 minute? How long will it take for the thermometer to reach 15° F?
Answers: 1. 1 hr 30 minutes, approx.; 3. 36.67° F, 3.06′ approx. (3 hours 6 minutes).
Mixture Problem
Letting x denote the amount of S present at time t, the derivative dx/dt denotes the rate of
change of x with respect to t. If IN denotes the rate at which S enters the mixture and OUT the
rate at which it leaves, we have at once the equation
dx
IN OUT , (11)
dt
from which to determine the amount of x of S at time t.
Example: A tank initially contains 50 gal of pure water. Starting at time t = 0 a brine
containing 2 lb of dissolved salt per gallon flows into the tank at the rate of 3 gal/min. The
mixture is kept uniform by stirring and the well-stirred mixture simultaneously flows out of
the tank at the same rate.
Solution: Let x denote the amount of salt in the tank at time t. We know
dx
IN OUT . (12)
dt
The brine flows in at the rate of 3 gal/min, and each gallon contains 2 lb of salt. Thus
Since the rate of outflow equals the rate of inflow, the tank contains 50 gal of the mixture at
any time t. Thus 50 gal contains x lb of salt at any time t, and so the concentration of salt at
x
time t is lb/gal. Thus, since the mixture flows out at the rate of 3 gal/min, we have
50
x 3x
OUT = lb/gal (3 gal/min) = lb/min.
50 50
Thus, using equation (12) we have the differential equation for x as a function of t as follows:
dx 3x
6 . (13)
dt 50
Since initially there was no salt in the tank, we also have the initial condition
x 0 0. (14)
Equation (13) gives
dx 300 3 x
dt 50
dx 3 100 x
dt 50
dx 3
dt
100 x 50
Integrating, we get
3
ln 100 x t ln C , where ln C is an integrating constant.
50
3t
x 100 Ce 50
.
C = -100.
Thus we obtain
3t
x 100 1 e 50 . (15)
325
x 25 100 1 e 50 100 1 0.22313 77.687 78 (lb).
When t → ∞, we observe that x → 100. Therefore after a long time there will be 100 lb salt in
the tank.
Exercise 1: A large tank is partially filled with 100 gallons of fluid in which 10 pounds of
salt is dissolved. Brine containing 1/2 pound of dissolved salt per gallon is pumped into the
tank at the rate of 6 gal/min. The well-mixed solution is then pumped out at a slower rate of 4
gal/min. Find the number of pounds of salt in the tank after 30 minutes.
Series Circuits: For a series circuit containing only a resistor and an inductor, Kirchhoff’s
second law states that the sum of the voltage drop across the inductor (L(di/dt)) and the
voltage drop across the resistor (iR) is the same as the impressed voltage (E(t)) on the circuit
(see Fig. 1).
Thus we obtain the linear differential equation for the current i(t),
di
L Ri E t , (16)
dt
where L and R are constants known as the inductance and the resistance, respectively.
11
The voltage drop across a capacitor with capacitance C is given by q(t)/C, where q is the
charge on the capacitor. Hence, for series circuit shown in Fig. 2, Kirchhoff’s second law
gives
1
Ri q E t . (17)
C
But current I and charge q are related by i = dq/dt, so (17) becomes the linear differential
equation
dq 1
R q E t . (18)
dt C
1
Example: A 12-volt battery is connected to a series circuit in which the inductance is
2
henry and the resistance is 10 ohms. Determine the current I if the initial current is zero.
What will happen after a long time?
L = 1/2 henry
E = 12 volt
R = 10 ohms
By Kirchhoff’s second law we obtain the linear differential equation for the current i(t),
di
L Ri E t
dt
1 di
10i 12
2 dt
di
20i 24
dt
di 6
20 i
dt 5
di
20dt
6
i
5
Integrating,
6
ln i 20t ln A
5
6
i Ae20t (19)
5
6 6
0 Ae0 A .
5 5
6 6 20t
i e
5 5
1 e20t .
6
5
After a long time, i.e., as t → ∞, the second term in the above expression e20t 0. Thus we
have
6
i
5
12
10
E
R
E iR
So, after a long time the current in the circuit is simply governed by Ohm’s law (E = iR).
Answers: 1. i t
3
5
1 e500t , i as t ; 2. q t
3
5
1
100
1 e50t ; i t e50t .
1
2
We consider that a body is falling through air toward the earth. In such a circumstance the
body encounters air resistance as it falls. The amount of air resistance depends upon the
velocity of the body, but no general law exactly expressing this dependence is known. In
some instances the law R = kv appears to be quite satisfactory, while in others R = kv2 appears
to be more exact.
Note: The acceleration due to gravity, g = 980 cm/sec2 in cgs system and 32 ft/sec2 in the
British system.
dv
m F, (20)
dt
d 2x
m F, (21)
dt 2
dv
mv F, (22)
dx
Example: A body weighting 8 lb falls from rest toward the earth from a great height. As it
falls, air resistance acts upon it, and we shall assume that this resistance (in pounds) is
numerically equal to 2v, where v is the velocity (in feet per second). Find the velocity and
distance at time t seconds. Hence determine the velocity and distance at time 1 second.
Solution: We choose the positive x axis vertically downward along the path of the body B
and the origin at the point from which the body fell. The forces acting on the body are:
1. F1, its weight, 8 lb, which acts downward and hence is positive.
2. F2, the air resistance, numerically equal to 2v, which acts upward and hence is the negative
quantity − 2v.
15
x F2 = −2v
F1 = 8
Earth
dv
m F1 F2 . (23)
dt
w 8 1
Here m .
g 32 4
1 dv
8 2v. (24)
4 dt
Since the body was initially at rest, we have the initial condition
v 0 0. (25)
dv
8dt.
v4
Integrating,
v 4 c1e8t . (26)
0 4 c1e0 c1 4.
v 4 1 e8t . (27)
Now to determine the distance fallen at time t, we write (27) in the form
4 1 e8t .
dx
(28)
dt
1
x 4 t e 8t c2 . (29)
8
1 1
0 4 0 c2 c2 .
8 2
1 1
x 4 t e 8t
8 2
1 1
That is, x 4 t e 8t .
8 8
(30)
v 4 1 e8 4 (ft/sec)
1 1
x 4 1 e 8 3.5 ft .
8 8
17