Differential-Equations · Unit 8 · Video 4 · Interactive Practice
The Mixing Tank: Salt Balance and k = r/V
IKey Formulas
Formula
Name
Where it comes from
dtdx=rCe−rVx
Salt balance (amount x)
Rate in minus rate out; outflow concentration =x/V (well mixed)
dtdC+VrC=VrCe(t)
Concentration form
x=CV with V constant, then divide by V
k=Vr, units time1
Analog of the conductivity
Fraction of the tank's volume that flows out per unit time
A=1+(ω/k)21,ϕ=tan−1kω
Response to Ce=cosωt
C1=Acos(ωt−ϕ), from Unit 7
Key Insight: The tank equation is form 1, y′+ky=kqe(t), term for term: y=C, qe=Ce (the external input) and k=r/V. Only the ratio r/V matters, not r or V separately.
IIVisualization 1 — The Salt Balance
Salt enters at rCe and leaves at rx/V, so x climbs toward x=VCe, where the two rates balance.
IIIVisualization 2 — From Amounts to Concentration
Rewriting the salt balance in terms of C=x/V turns it into form 1 with k=r/V.
With the video's numbers, r=1L/min and V=10L give k=101min−1.
IVVisualization 3 — How Closely the Lake Follows Its Input
A daily cycle cosωt with ω=2π/24 per hour: raising k=r/V shrinks ω/k, lifting A and shrinking the lag.
💡 The plotted curve is the steady periodic response; the transient from the starting concentration dies out like e−kt.
VQuiz Questions
Problem 1 · Reading Off k and the Inflow
Given: A well-mixed tank holds V=50 L. Liquid flows in and out at r=2 L/min, and the incoming liquid carries Ce=4 g/L of salt. Findk and the rate at which salt enters.
What is k?
What is the salt inflow rate?
✅ Correct!k=r/V=2/50=0.04 per minute, and salt enters at rCe=2⋅4=8 g/min.
❌ That is V/r, upside down.V/r=25 min is a time; k is the fraction of the tank flowing out per minute, r/V.
❌ Right number, wrong units.r/V is (L/min)/L, so k has units of one over time: min−1.
❌ Check k.k is the ratio r/V, volume per time divided by volume.
❌ That is VCe, an amount in grams. It is the salt the tank holds once its concentration reaches Ce, not a rate.
❌ Check the inflow. Rate in = flow rate × incoming concentration: (L/min)·(g/L) = g/min.
Show solution
The constant is the ratio of flow rate to volume:
k=Vr=50L2L/min=0.04min−1.
The salt inflow rate is the liquid's flow rate times its concentration; the liters cancel:
rCe=2minL⋅4Lg=8ming.
So dtdx+0.04x=8: one twenty-fifth of the tank flows out each minute.
Problem 2 · The Outflow Rate
Given: A well-mixed tank of volume V=20 L has flow rate r=3 L/min in and out. Right now it contains x=40 g of salt. Find the rate at which salt is leaving.
✅ Correct! Rate out =r⋅Vx=3⋅2040=6 g/min.
❌ That multiplies r by the amount x. The units are L·g/min, not a rate of salt; r must multiply the outflow concentrationx/V.
❌ That is the concentration x/V. It is in g/L; multiply by the flow rate r to get grams per minute.
❌ That is k=r/V. It is the fraction of the tank leaving per minute; multiply it by x to get the salt leaving.
❌ Not quite. The well-mixed outflow has the tank's concentration x/V.
Show solution
Because the tank is well mixed, the outflow concentration is the tank concentration:
Vx=20L40g=2g/L.
The salt outflow rate is the flow rate times that concentration:
r⋅Vx=3minL⋅2Lg=6ming.
Equivalently kx with k=3/20=0.15min−1: 0.15⋅40=6 g/min.
Problem 3 · Filling a Fresh-Water Tank with Brine
Given: The video's tank: V=10 L of fresh water (x(0)=0), flow rate r=1 L/min, incoming concentration Ce=3 g/L. Find the concentration equation and the amount of salt after 10 minutes.
Which equation does C satisfy?
How much salt is in the tank at t = 10 min?
✅ Correct!C′+101C=101⋅3, and x(10)=30(1−e−1)≈19.0 g.
❌ The right side was not divided by V. Dividing VC′+rC=rCe by V gives VrCe=103 on the right: the same k multiplies both sides.
❌ Check k. Here k=r/V=1/10 per minute, and form 1 has the same k on both sides.
❌ That is the long-run amount VCe. The tank only approaches 30 g; after one time constant 1/k=10 min it has covered 1−e−1 of the way.
❌ That is C(10) in g/L. Multiply by V=10 L to get the amount of salt.
❌ Check x(10). Starting from 0, x rises toward VCe=30 g as 30(1−e−kt).
Show solution
Here k=Vr=101min−1, so form 1 reads
C′+101C=101⋅3=103.
The constant input Ce=3 is a steady state, and C(0)=0, so
C(t)=3(1−e−t/10),x(t)=VC(t)=30(1−e−t/10).
At t=10 min: x(10)=30(1−e−1)≈30(0.632)≈19.0 g.
Check in amounts:dtdx+101x=3 gives the same x(t), and x′(0)=3 g/min is the inflow rate rCe.
Problem 4 · The Polluted Lake
Given: The pollutant concentration in a lake's inflow varies about its average as cosωt with a 24-hour period, ω=242π=12π per hour. The lake's flow rate and volume give k=r/V=12π per hour. Find the amplitude of the lake's response and how many hours its peaks trail the input's.
What is the amplitude A?
How long after an input peak does the response peak?
✅ Correct!ω/k=1 gives A=1/2 and ϕ=π/4, a time lag of ϕ/ω=3 hours.
❌ The square root is missing.A=1/1+(ω/k)2=1/2, not 1/(1+1).
❌ The amplitude can never exceed 1.1 is the amplitude of the incoming signal; 2 is the modulus of 1+i(ω/k) before taking the reciprocal.
❌ Check A. Compute ω/k first, then A=1/1+(ω/k)2.
❌ That is the phase lag ϕ in radians, not a time. Divide by ω: ϕ/ω hours.
❌ Check the lag.ϕ=tan−1(ω/k) is an angle; the time lag is ϕ/ω.
Show solution
The ratio is kω=π/12π/12=1. Then
A=1+121=21≈0.71,ϕ=tan−1(1)=4π.
The response is 21cos(ωt−4π)=21cos(ω(t−3)), since
ωϕ=π/12π/4=3hours.
To follow the input more closely, the lake needs a larger k=r/V: a faster flow or a smaller volume.