First Order Differential Equations: Dibyajyoti Deb
First Order Differential Equations: Dibyajyoti Deb
First Order Differential Equations: Dibyajyoti Deb
Equations
Lecture 2
Dibyajyoti Deb
where ”rate in” and ”rate out” refers to the rate at which the salt flows
into and out of the tank, respectively.
(2.17) rate in = γ g/L × 3 L/min = 3γ g/min.
Q(t)
The concentration of salt in the tank at any time t is g/L, thus
120
Q(t) Q(t)
(2.18) rate out = g/L × 3 L/min = g/min.
120 40
To make it convenient we omit the units during our calculation. There-
fore,
dQ Q(t)
(2.19) = 3γ −
dt 40
dQ 120γ − Q(t)
=
dt 40
This is a first order separable equation (Note that (2.19) is also a first
order linear equation).
Cross multiplication makes the equation separable for integration.
Z Z
dQ dt
(2.20) = −
Q(t) − 120γ 40
Integrating both sides we have,
t
(2.21) ln |Q(t) − 120γ| = − + C
40
To find C, note that the tank initially contains pure water, therefore
Q(0) = 0. Using this in the above equation we have C = ln |120γ|.
Putting this value of C back into the above solution and simplifying
we have,
(2.22) Q(t) = 120γ + |120γ|e−t/40
The initial condition is true if |120γ| = −120γ. Therefore the final
solution is
(2.23) Q(t) = 120γ − 120γe−t/40
To find the limiting amount of salt as t → ∞, we find
lim Q(t) = lim (120γ − 120γe−t/40 ) = 120γ.
t→∞ t→∞
This means that after a very long time the amount of salt in the tank
will be 120γ g.