Solving First Order Diff EQ: Salt Tank Example

In summary, the conversation involved solving a differential equation that models the amount of salt in a tank as salt water is added and drained out at certain rates. The resulting solution is y(t)=20-20e^(-2t/5) with an initial condition of y(0)=0.
  • #1
adl2114
7
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
  • #2
Your equation is fine. Now you can separate the variables (y and t) and integrate both sides.

[tex] \frac{dy}{dt} = 8 - \frac{y}{2.5} [/tex]

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.
 
  • #3
Actually, I think that DE will require an integrating factor.EDIT: Nevermind...constants are making me overkill it.
 
Last edited:
  • #4
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?
 
  • #5
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).
 
  • #6
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?
 
  • #7
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.
 
  • #8
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.
 
  • #9
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
 

What is a first order differential equation?

A first order differential equation is an equation that relates an unknown function to its derivative. It can be written in the form dy/dx = f(x,y), where y is the unknown function and f(x,y) is a function of both x and y.

How is a first order differential equation solved?

A first order differential equation can be solved by using separation of variables, integrating factors, or by using specific techniques such as the method of undetermined coefficients or variation of parameters.

What is the Salt Tank example in solving first order differential equations?

The Salt Tank example is a classic problem in differential equations that involves a tank filled with a saltwater solution. The goal is to find the concentration of salt in the tank at any given time, based on the rate of salt entering and leaving the tank.

What are the steps to solving the Salt Tank example?

The steps to solving the Salt Tank example are as follows:
1. Set up the differential equation based on the given information
2. Solve the differential equation using the appropriate method
3. Use the initial conditions to find the value of the constant of integration
4. Substitute the value of the constant into the general solution
5. Simplify the equation to find the concentration of salt at any given time.

What are some real-world applications of solving first order differential equations?

Differential equations are used in many fields of science and engineering, including physics, chemistry, biology, economics, and engineering. Some examples of real-world applications include modeling population growth, predicting stock market trends, and analyzing the spread of diseases.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
3K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
Replies
1
Views
966
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
4K
  • Calculus and Beyond Homework Help
Replies
11
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
966
Back
Top