Salt Water Flows

Calculus Level 2

There are three 50-gallon drums. Initially,

  • Drum 1 contains 40 gallons of water with 3 pounds of dissolved salt,
  • Drum 2 contains 10 gallons of water with 2 pounds of dissolved salt, and
  • Drum 3 is empty.

While it still has water, Drum 1 empties into Drum 2 at a rate of 5 gallons per minute. While it still has water, Drum 2 empties into Drum 3 at a rate of 4 gallons per minute.

When Drum 2 reaches its maximum water level (though still not completely full), how many pounds of dissolved salt does it contain?

Assume that the salt water solutions are perfectly mixed at all times.


The answer is 1.469.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Mark Hennings
Oct 21, 2018

Suppose that the second drum contains W W gallons of water and S S pounds of dissolved salt. While the first drum contains water, we see that d W d t = 5 4 = 1 \tfrac{dW}{dt} \; = \; 5 - 4 \; = \; 1 where time t t is measured in minutes. Thus the amount of water in the second drum increases steadily for the first 8 8 minutes, with W = 10 + t W = 10 + t . At time t = 8 t=8 , the second drum contains 18 18 gallons of water, and the first drum is empty. After this the second drum empties steadily into the third drum until it is empty. We want to know how much salt is in the second drum at time t = 8 t=8 .

During the first 8 8 minutes, the second drum receives 3 8 \tfrac38 pounds of salt per minute from the first drum, and loses an amount of salt to the third drum that is proportional to the current salt concentration in the second drum. Thus d S d t = 3 8 4 S W ( 10 + t ) d S d t + 4 S = 3 8 ( 10 + t ) d d t [ ( 10 + t ) 4 S ] = 3 8 ( 10 + t ) 4 \begin{aligned}\tfrac{dS}{dt} & = \; \tfrac38 - \tfrac{4S}{W} \\ (10+t)\tfrac{dS}{dt} + 4S & = \; \tfrac38(10+t) \\ \tfrac{d}{dt}\big[(10+t)^4S\big] & = \; \tfrac38(10+t)^4 \end{aligned} With the initial condition that S = 2 S=2 when t = 0 t=0 , we deduce that S = 3 40 ( 10 + t ) + 50000 4 ( 10 + t ) 4 S \; = \; \tfrac3{40}(10+t) + \tfrac{50000}{4(10+t)^4} making the required answer S ( 8 ) = 48193 32805 = 1.46907 S(8) = \tfrac{48193}{32805} = \boxed{1.46907} pounds of salt.

How did you integrate d/dt[(10+t)^4S]

Yathish Dhavala - 2 years, 7 months ago

Log in to reply

I have shown that the derivative of ( 10 + t ) 4 S (10+t)^4S is equal to 3 8 ( 10 + t ) 4 \tfrac38(10+t)^4 . Therefore ( 10 + t ) 4 S = 3 40 ( 10 + t ) 5 + c (10+t)^4S \; = \; \tfrac{3}{40}(10+t)^5 + c and I choose c c to ensure that S = 2 S=2 when t = 0 t=0 . Then I divide by ( 10 + t ) 4 (10+t)^4 .

The trick was to note that multiplying the previous equation by ( 10 + t ) 3 (10+t)^3 turned the LHS into an exact differential. This process is known as finding the integrating factor.

Mark Hennings - 2 years, 7 months ago

What is wrong with defining S ( t ) S(t) in the following way? S ( t ) = 2 + 3 8 t 4 S ( t ) 10 + t t S(t) = 2 + \frac 38t - \frac {4S(t)}{10+t}t Solving this at t = 8 t=8 gets me 1.8 1.8 , which is wrong, but I don’t see the problem with defining S ( t ) S(t) in this way. Thanks!

Zachary Lim - 2 years, 7 months ago

Log in to reply

Well, you are saying that the rate at which salt is flowing into the third drum is 4 S 10 + t \tfrac{4S}{10+t} , so that d S d t = 3 8 4 S 10 + t \tfrac{dS}{dt} \; = \; \tfrac38 - \tfrac{4S}{10+t} This is correct. However, you cannot just multiply that by t t to get the amount of salt at time t t : S 2 + t × d S d t S \; \neq \; 2 + t \times \tfrac{dS}{dt} because d S d t \tfrac{dS}{dt} is not constant. That is why we need to solve the differential equation.

Mark Hennings - 2 years, 7 months ago

Log in to reply

I see! Thank you for the explanation!

Zachary Lim - 2 years, 7 months ago

I would have liked solving this riddle, but unfortunately I refuse to use imperial units. Upload it again with SI-units... :D

Marcellus Wallace - 2 years, 7 months ago

Log in to reply

I bet you also have narrow margins in your text books... ;-)

K T - 10 months ago
Vinod Kumar
Oct 22, 2018

Derived and then solved with WolframAlpha the following ODE:

d(A)/dt = (3/40) 5 - [4/{10+t(5-4)}] A(t), A(0)=2,

find, solution as:

A(t)=(5/4)(10^4)/{(t+10)^4}+(3*t/40)+(3/4),

In "8" minutes Drum1 gets empty, thus, A(8) gives maximum salt content in Drum2,

A(8)=(5/4){(10/18)^4} + (24/40) +(3/4)

Answer = 1.46907

Amr Idrees
Oct 28, 2018

Using the same reasoning of Mark Hennings I reached the equation [ d s d t \frac{ds}{dt} = 3 8 \frac{3}{8} - 4 s t + 10 \frac{4s}{t+10} ] but could not go any further. I feel that he skipped many steps from this point on because I failed to understand how did he reach [ d d t \frac{d}{dt} [(10+t)^4 s] = 3 8 \frac{3}{8} (10+t)^4 ]

I did solve the problem though using java (which is ugly I know). Here is the code FYR:

void Solve() { for(int j = 0; j < 5; j++) { double interval = 1 / Math.pow(10.0, j); double totalTime = 8.0 * 60.0; double n = totalTime / interval;

double s = 2.0;
double inS = 3.0 / n;

double v = 10;      
double outV = (4.0 /60.0) * interval;

double vIncrease = (1.0 / 60.0) * interval;

for(int i = 0; i < n; i++)
{
    double outS = s * outV / v;
    v +=vIncrease;
    s += inS - outS;        
}
System.out.print(interval + "  ");
System.out.println(s);

} } //Output

// 1.0 1.468192639116571

// 0.1 1.4689866309394366

// 0.01 1.4690660157786068

// 0.001 1.4690739541307423

// 1.0E-4 1.4690747477871104

All I did was multiply the original equation by ( 10 + t ) 4 (10+t)^4 . It is then a matter of spotting that ( 10 + t ) 4 d S d t + 4 ( 10 + t ) 3 S = d d t [ ( 10 + t ) 4 S ] (10+t)^4\tfrac{dS}{dt} +4(10+t)^3S = \tfrac{d}{dt}[(10+t)^4S]

Mark Hennings - 2 years, 7 months ago

Log in to reply

Thanx mate..

Amr Idrees - 2 years, 7 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...