Professional Documents
Culture Documents
Mixture Prob So LN
Mixture Prob So LN
dS
IDEA: =(lbs of salt flowing in each minute)
dt
- (lbs of salt flowing out each minute)
dS 3S
Differential Equation: =3−
dt 120 − t
(we can leave out the “+C” and assume 120 − t is positive)
R
P (t)dt
Integrating Factor = e
= e−3 ln(120−t)
ln (120−t)−3
=e
= (120 − t)−3
1
=
(120 − t)3
3. Multiply both sides of equation by integrating factor and rewrite left-
d
hand side as y · (int. factor)
dx
d S 3
=
dt (120 − t)3 (120 − t)3
4. Integrate both sides
Z Z
d S 3
3
dt = dt
dt (120 − t) (120 − t)3
Z
S
= −3 (120 − t)−3 (−1)dt
(120 − t)3
S (120 − t)−2
= −3 +C
(120 − t)3 −2
S 3
3
= +C
(120 − t) 2(120 − t)2
5. Plug in initial conditions to solve for C
When t = 0, S = 0, because the tank starts with no salt.
0 3
3
= +C
(120 − 0) 2(120 − 0)2
3
0= +C
2 · 1202
3
C=−
2 · 1202
6. Plug in C and solve for y
S 3 3
= −
(120 − t)3 2(120 − t)2 2 · 1202
3(120 − t)3 3(120 − t)3
S= −
2(120 − t)2 2 · 1202