Salt Tank - Differential Equation

Click For Summary
SUMMARY

The discussion revolves around setting up a differential equation to predict the amount of salt in a tank over time. The correct formulation is derived as dy/dt = 3 - 0.01y, where y represents the amount of salt in pounds and t is the time in minutes. The solution to this equation reveals that the tank will overflow after approximately 160.94 minutes when the salt concentration reaches 250 pounds. Key insights include the importance of consistent variable representation and the integration process to solve the differential equation.

PREREQUISITES
  • Understanding of differential equations and their applications
  • Familiarity with the concepts of inflow and outflow rates
  • Knowledge of integration techniques in calculus
  • Basic principles of mixing problems in fluid dynamics
NEXT STEPS
  • Study the method of solving first-order linear differential equations
  • Learn about mixing problems and their mathematical modeling
  • Explore the use of initial conditions in solving differential equations
  • Investigate the implications of overflow scenarios in fluid dynamics
USEFUL FOR

Students and professionals in mathematics, engineering, and environmental science who are dealing with fluid dynamics and differential equations, particularly in the context of mixing and concentration problems.

Lancen
Messages
17
Reaction score
0
This problem has been perplexing me all week, it doesn't look hard but somehow I can't get the right answer. The question is -

A salt tank of capacity 500 gallons contains 200 gallons of water and 100 gallons of salt. Water is pumped into the tank at 3 gallon/min with salt of 1 lb/gallon. This is uniformly mixed, on the other end end water leaves the tank at 2 gallon/min. Setup a equation that predicts the amount of salt in the tank at any time up to the point when the tank overflows.

What I wrote was dy/dx = rate in - rate out

dy/dx = 3*1 - 2*Q(t)/(200+t)

Where Q(t) is the amount of salt in the tank. And 200+t represents the increasing volume of water in the tank. This equation doesn't give the correct answer, I have tried tacking 100 lbs of salt so that it becomes dy/dx = 3*1 - 2*(Q(t)+100)/(200+t)
but nothing seems to work. Can someone help me setup the correct equation?
 
Physics news on Phys.org
Lancen said:
This problem has been perplexing me all week, it doesn't look hard but somehow I can't get the right answer. The question is -

A salt tank of capacity 500 gallons contains 200 gallons of water and 100 gallons of salt. Water is pumped into the tank at 3 gallon/min with salt of 1 lb/gallon. This is uniformly mixed, on the other end end water leaves the tank at 2 gallon/min. Setup a equation that predicts the amount of salt in the tank at any time up to the point when the tank overflows.

What I wrote was dy/dx = rate in - rate out

dy/dx = 3*1 - 2*Q(t)/(200+t)
Okay, good start. Although it would be better to state what y and x mean! I would have guessed, since the problem asks you to set up "equation that predicts the amount of salt in the tank at any time" that y(x) was the amount of salt, in pounds, in the tank at time x in minutes, except that you then declared that Q(x) is the amount of salt in the tank!

Perhaps explicitly writing "y(x) is the amount of salt in the tank after x minutes" would help you remember what you are doing!

If y(x) is the amount of salt in the tank, in pounds, after x minutes, then, yes, dy/dx= rate in- rate out. Since you know "Water is pumped into the tank at 3 gallon/min with salt of 1 lb/gallon", you know that salt is coming at 3 gallons/min*1lb/gal= 3 lb/gal. If the amount of salt in the tank is y(x) and the amount of water is 200+ (3-2)x = 200+ x then the density of salt is y/(200+x) pounds/gal and so the rate out is (y/(200+x))*2 gal/min= 2y/(200+x) lbs/min.

dy/dx= 3- 2y/(200+x)

Where Q(t) is the amount of salt in the tank. And 200+t represents the increasing volume of water in the tank. This equation doesn't give the correct answer, I have tried tacking 100 lbs of salt so that it becomes dy/dx = 3*1 - 2*(Q(t)+100)/(200+t)
but nothing seems to work. Can someone help me setup the correct equation?
As I said you have confused yourself by using different letters to represent the same things. It is a really good idea to write out exactly what each letter represents so you won't do that. In order that dy/dx represent the rate at which salt is coming in, it is necessary that y= amount of salt in the tank and x= time the salt has been coming in. But then you have used "Q(t)" and "t" to represent the same things!
 
I think this is the right ODE setting and its solution:
Y’= inflow of salt – outflow of salt
Y’= 3 – 0.01y
Y’= -.01 (y –300)
dy/dt = –.01 (y–300) dt
dy/(y–300)= –.01 dt
Integrate both sides yields:
∫dy/(y–300)= ∫ –.01 dt
ln Iy-300I= –.01t + c
Take exponential for both sides:
Y–300= ℮^(-0.01t + c)
Y = 300 + ce^(-0.01t)
At Y(0)=100 , at t=0 there was 100 lb of salt (initial points)
Substitute to find C:
100= 300 + Ce^(-0.01(0))
So c= –200
Y = 300 – 200℮^(-0.1t)
When salt (y) is 250 lb (as 100 lb is in 200 gallon, so in 500 gallons (capacity of the tank) there is 250 lb of salt, when this is reached tank overflows:
250 = 300 – 200℮^(-0.01t)
50 = 200℮^(-0.01t)
0.2= ℮^(-0.01t)
Ln 0.2= -.01t
-1.609=-.01t
t = 160.94 minutes,
So after 160.94 minutes (2.68 hours) the tank will overflow.
 
Last edited:
This^
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K