1st order DE - word problem II

  • Thread starter Thread starter ranger
  • Start date Start date
  • Tags Tags
    Word problem
Click For Summary
SUMMARY

The discussion focuses on solving a first-order differential equation related to a tank containing saltwater. The tank starts with 60 gallons of pure water, with brine entering at 2 gallons per minute and leaving at 3 gallons per minute. The differential equation derived is dQ/dt = 2 - (3Q)/(60-t), leading to the general solution Q(t) = (60-t)^3/3600 - (60-t). The participants confirm the correctness of the integration factor and discuss maximizing the amount of salt in the tank over time.

PREREQUISITES
  • Understanding of first-order linear differential equations
  • Knowledge of integration techniques
  • Familiarity with the concept of mixing problems in calculus
  • Basic principles of fluid dynamics related to inflow and outflow rates
NEXT STEPS
  • Study the method of integrating factors for solving differential equations
  • Explore applications of differential equations in fluid dynamics
  • Learn about optimization techniques for finding maxima and minima of functions
  • Investigate other mixing problems involving differential equations
USEFUL FOR

Students and professionals in mathematics, engineering, and physics who are dealing with differential equations, particularly in applications involving fluid dynamics and mixing problems.

ranger
Gold Member
Messages
1,685
Reaction score
2
A tank initially contains 60 gal of pure water. Brine (saltwater) containing 1lb of salt per gallon enters the tank at 2gal/min. and the (perfectly mixed) solution leaves the tank at 3 gal/min; thus the tank is empty after exactly 1 hr.
a)Find the amount of salt in the tank after t minutes.
b)What is the maximum amount of salt ever in the tank?

Let Q be the amount of salt.
I'll work with part a) first:

\frac{dQ}{dt} = rate_{entering} - rate_{leaving}

Rate of entering: 1lb/gal * 2gal/min = 2lb/min

Rate of leaving: \frac{Q}{(60-t)} \cdot \frac{3gal}{min} = \frac{3Q}{60-t}

This gives me the first order linear differential to be:
\frac{dQ}{dt} = 2 - \frac{3Q}{60-t}

\frac{dQ}{dt} + \frac{3Q}{60-t} = 2
Well P(x) or P(t) in this case would be 3/(60-t), which when worked out would give me an integration factor of (60-t)^3.
I would eventually get:
Q\cdot (60-t)^3 = \int 2(60-t)^3
Q\cdot (60-t)^3 = \frac{(60-t)^4}{2} + C

Q = \frac{60-t}{2} + \frac{C}{(60-t)^3}

Before I go ahead and find a specific solution, is my general solution correct?
 
Last edited:
Physics news on Phys.org
looks right to me
 
ranger said:
A tank initially contains 60 gal of pure water. Brine (saltwater) containing 1lb of salt per gallon enters the tank at 2gal/min. and the (perfectly mixed) solution leaves the tank at 3 gal/min; thus the tank is empty after exactly 1 hr.
a)Find the amount of salt in the tank after t minutes.
b)What is the maximum amount of salt ever in the tank?

Let Q be the amount of salt.
I'll work with part a) first:

\frac{dQ}{dt} = rate_{entering} - rate_{leaving}

Rate of entering: 1lb/gal * 2gal/min = 2lb/min

Rate of leaving: \frac{Q}{(60-t)} \cdot \frac{3gal}{min} = \frac{3Q}{60-t}

This gives me the first order linear differential to be:
\frac{dQ}{dt} = 2 - \frac{3Q}{60-t}

\frac{dQ}{dt} + \frac{3Q}{60-t} = 2
Well P(x) or P(t) in this case would be 3/(60-t), which when worked out would give me an integration factor of (60-t)^3.
You've "lost a sign". The negative in "60-t" will introduce a negative into the integral. The integrating factor is (60-t)-3.

I would eventually get:
Q\cdot (60-t)^3 = \int 2(60-t)^3
Q\cdot (60-t)^3 = \frac{(60-t)^4}{2} + C

Q = \frac{60-t}{2} + \frac{C}{(60-t)^3}

Before I go ahead and find a specific solution, is my general solution correct?
 
Wow. OK, so using the integrating factor (60-t)^-3:

Q\cdot (60-t)^{-3} = \int 2(60-t)^{-3}

Q\cdot (60-t)^{-3} = \frac{1}{(60-t)^2} + C

Q = -(60-t) + \frac{C}{(60-t)^{-3}}

Q = C\cdot(60-t)^{-3} - (60-t)

Using the initial values Q(0) = 0
I Get get C = 1/3600, which gives me a specific solution of:

Q = \frac{(60-t)^3}{3600} - (60-t)

Looks good?

And for part b), is that like finding the maxima of the function Q(t)?
 
Last edited:
You've lost that same sign again!
Multiplying both sides by (60-t)3 does NOT change
\frac{1}{(60-t)^2}
to - (60-t)!

Your formula is
Q(t)= \frac{(60-t)^3}{3600}+ (60-t)

Yes, find when the "maximum amount of salt in the tank" is exactly like maximizing that function!
 
hi,

i'm working on a similar problem. I'm trying to figure out why it is (60-t) & not (60+t)...is it because the tank will empty out and we are calculating time backwards?
 
Who is calculating time backwards? The tanks starts with 60 gallons of water in it and loses one gallon per minute: after 1 minute, 60- 1= 59 gallons, after 2 minutes 60- 2= 58 gallons, etc. until, after 60 minutes 60-60= 0 gallons and the tank is empty. The formula is 60- t because the tank is emptying- the water is going out. It it were 60+t, the tank would be getter "fuller"- water would be coming in.
 
thanks. i didnt understand the equation fully. was thinking that in graph it would be Q vs t ...

now i got it.
 

Similar threads

Replies
3
Views
4K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K