Solving First Order Diff EQ: Salt Tank Example

Click For Summary

Homework Help Overview

The problem involves a first-order differential equation modeling the amount of salt in a tank where salt water is entering and exiting at equal rates. The tank starts with fresh water, and the goal is to determine the amount of salt over time given the initial conditions and rates of flow.

Discussion Character

  • Exploratory, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the formulation of the differential equation and explore methods for solving it, including separation of variables and the use of integrating factors. There are questions about the correctness of the derived equations and the application of initial conditions.

Discussion Status

Several participants have provided feedback on the attempts to solve the differential equation, with some suggesting integration techniques and others verifying steps taken. There is an ongoing exploration of the solution process, with no explicit consensus reached on the final answer.

Contextual Notes

Participants note the initial condition of the problem and the importance of verifying solutions through differentiation and substitution into the original equation. There is acknowledgment of varying levels of confidence in mathematical skills among participants.

adl2114
Messages
7
Reaction score
0

Homework Statement



Salt water pours into a 10 liter tank at a rate of 4 l/min. Its concentration is 2 g/l. The brine in the tank is well mixed and it drains out at a rate of 4 l/min. Call y the grams of salt in the tank at time t. The tank is initially full of fresh water. Solve the differential equation that models the salt in the tank.


Homework Equations



dy/dx = rate in - rate out
y(t)= grams of salt (y) at time (t)

The Attempt at a Solution



I worked the problem and got the differential equation y'=8-(y/10)4 now I don't know how to solve that to get a particular solution assuming the initial condition y(0)=0
 
Physics news on Phys.org
Your equation is fine. Now you can separate the variables (y and t) and integrate both sides.

\frac{dy}{dt} = 8 - \frac{y}{2.5}

When you are ready to integrate, this will look like:

something with only ys dy = something with only ts dt

Then use the initial condition to solve for your constant of integration.
 
Actually, I think that DE will require an integrating factor.EDIT: Nevermind...constants are making me overkill it.
 
Last edited:
ok so here's what i got so far:

dy/dt=8-(4y/10)
dy/dt=(80-4y)/10
dy/(80-4y)=dt/10
integrate to get
(-1/4)ln(80-4y)=t/10 + C

what do you think?
 
That looks okay to me, now solve for y.

(you can do this with an integrating factor, too, but I don't see that's it's necessary).
 
Ok if what I have so far is correct solving for y gets me:

y(t)=20 + e^(-2t/5)C

then assuming the inital condition of y(0)=0 I get C= -20

so the final answer would be y(t)=20-20e^(-2t/5)

can someone verify this is correct?
 
You can verify it easily yourself, right? Take the derivative of y, plug into the original equation, make sure it works out.

Yes, it does. But you should still do it yourself! This is one of the best things about differential equations. It's usually really easy to check your work, because taking derivatives of functions is easy.
 
adl2114 said:
Ok if what I have so far is correct solving for y gets me:

y(t)=20 + e^(-2t/5)C

then assuming the inital condition of y(0)=0 I get C= -20

so the final answer would be y(t)=20-20e^(-2t/5)

can someone verify this is correct?
You can. Check that
1) y(0) = 0, using your solution.
2) y' = 8 - 2y/5, using your solution.

That's all you need to do to verify your solution.
 
perfect! I know I did check it myself but I am very poor in math skills I like to have another set of eyes thanks so much for your quick responses
 

Similar threads

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