Timedora

Growth, Decay, and Mixing

A lesson on exponential growth and decay, followed by well-mixed tank models and the integrating-factor method for changing-volume mixing.

Exponential Growth and Decay

From proportional change to an exponential model

If a quantity changes at a rate proportional to its current amount, its rate of change is described by

Q′=kQ,Q'=kQ,

where the constant kk measures the rate of change. Separating variables gives dQ/Q=k dtdQ/Q=k\,dt. Integrating and applying the initial value Q(0)=Q0>0Q(0)=Q_0>0 yields

ln⁡Q=kt+C⟹Q(t)=Q0ekt.\ln Q=kt+C \quad\Longrightarrow\quad Q(t)=Q_0e^{kt}.

The sign of kk distinguishes the behavior: when k>0k>0, the amount grows; when k<0k<0, it decays. Decay is also commonly written Q′=−kQQ'=-kQ with k>0k>0, so its solution is Q(t)=Q0e−ktQ(t)=Q_0e^{-kt}. The two conventions express the same kind of decreasing exponential; be attentive to whether the minus sign is included in the equation or in the value assigned to the .

Determining the rate from doubling time or half-life

Suppose a population starts at P0P_0 and doubles in five years. Substituting P(5)=2P0P(5)=2P_0 into the growth model gives

2P0=P0e5k⟹2=e5k⟹k=ln⁡25.2P_0=P_0e^{5k} \quad\Longrightarrow\quad 2=e^{5k} \quad\Longrightarrow\quad k=\frac{\ln 2}{5}.

Thus P(t)=P0e(ln⁡2)t/5P(t)=P_0e^{(\ln 2)t/5}. After ten years,

P(10)=P0e2ln⁡2=P0⋅4=4P0.P(10)=P_0e^{2\ln 2}=P_0\cdot 4=4P_0.

The model predicts four times the initial population: ten years is two five-year doubling periods.

For decay written Q(t)=Q0e−ktQ(t)=Q_0e^{-kt}, the half-life T1/2T_{1/2} is the time when half the initial amount remains. Setting Q(T1/2)=Q0/2Q(T_{1/2})=Q_0/2 gives T1/2=ln⁡2/kT_{1/2}=\ln 2/k; conversely, a known half-life determines the by k=ln⁡2/T1/2k=\ln 2/T_{1/2}.

Setting Up a Mixing Model

Start with an amount balance

Let Q(t)Q(t) be the amount of dissolved substance in a , and let V(t)V(t) be its liquid volume. The basic modeling principle is

Q′=rate in−rate out.Q'=\text{rate in}-\text{rate out}.

If the incoming liquid has cinc_{\mathrm{in}} and enters at volume rate rinr_{\mathrm{in}}, then the amount of substance entering per unit time is cinrinc_{\mathrm{in}}r_{\mathrm{in}}. Because the contents are well mixed, the of liquid leaving at that instant is the tank's current , Q/V(t)Q/V(t). At an outflow rate routr_{\mathrm{out}}, the amount leaving per unit time is therefore (Q/V(t))rout(Q/V(t))r_{\mathrm{out}}. Together,

Q′=cinrin−QV(t)rout.Q'=c_{\mathrm{in}}r_{\mathrm{in}}-\frac{Q}{V(t)}r_{\mathrm{out}}.

The volume must be modeled as well: its rate of change is the liquid inflow rate minus the liquid outflow rate. Equal flow rates keep volume constant; unequal rates make it change over time. In the latter case, use that changing volume in the outflow rather than treating Q/VQ/V as though the volume were fixed.

Apply the balance to the example

A tank starts with 100 L and 200 g of salt. Brine containing 10 g/L enters at 3 L/min, while the well-mixed solution exits at 2 L/min. The volume grows at 3−2=13-2=1 L/min, so V(t)=100+tV(t)=100+t L. Salt enters at (10 g/L)(3 L/min)=30(10\text{ g/L})(3\text{ L/min})=30 g/min. Salt leaves at (Q/(100+t))(2)(Q/(100+t))(2) g/min. Hence the amount equation is

Q′=30−2Q100+t,Q(0)=200.Q'=30-\frac{2Q}{100+t}, \qquad Q(0)=200.

The units check the setup: times volume per time gives amount per time, so each term in Q′Q' has units of g/min. This model relies on uniform mixing. Since the volume is increasing, it applies only during the interval before the tank overflows.

Solving Variable-Volume Mixing Equations

The integrating-factor method

A first-order linear equation has the form

Q′+p(t)Q=g(t).Q'+p(t)Q=g(t).

Its is μ(t)=e∫p(t) dt\mu(t)=e^{\int p(t)\,dt}. Multiplying the equation by μ\mu makes the left side a product derivative, (μQ)′(\mu Q)'. Then integrate, solve for QQ, and use the initial condition to determine the integration constant. When flow rates differ and the volume changes, the resulting mixing equation is commonly linear but not separable. These are general tendencies, not claims about every possible mixing model.

Work through the changing-volume tank

From the tank balance, the amount of salt satisfies

Q′+2100+tQ=30,Q(0)=200.Q'+\frac{2}{100+t}Q=30, \qquad Q(0)=200.

Here tt is measured in minutes, and the tank volume is V(t)=100+tV(t)=100+t liters. With p(t)=2/(100+t)p(t)=2/(100+t), the is

μ(t)=e∫2/(100+t) dt=(100+t)2.\mu(t)=e^{\int 2/(100+t)\,dt}=(100+t)^2.

Multiplying every term by this factor gives

(100+t)2Q′+2(100+t)Q=30(100+t)2.(100+t)^2Q'+2(100+t)Q=30(100+t)^2.

The left side is the derivative of (100+t)2Q(100+t)^2Q, so

((100+t)2Q)′=30(100+t)2.\big((100+t)^2Q\big)'=30(100+t)^2.

Integrating both sides,

(100+t)2Q=10(100+t)3+C,(100+t)^2Q=10(100+t)^3+C,

and dividing by (100+t)2(100+t)^2 gives

Q(t)=10(100+t)+C(100+t)2.Q(t)=10(100+t)+\frac{C}{(100+t)^2}.

Use the initial condition to find CC:

200=10(100)+C1002⟹C=−8,000,000.200=10(100)+\frac{C}{100^2} \quad\Longrightarrow\quad C=-8{,}000{,}000.

Therefore the salt amount, in grams, is

Q(t)=10(100+t)−8,000,000(100+t)2.Q(t)=10(100+t)-\frac{8{,}000{,}000}{(100+t)^2}.

To find , divide amount by the current volume, not the initial volume:

Q(t)V(t)=10−8,000,000(100+t)3g/L.\frac{Q(t)}{V(t)} =10-\frac{8{,}000{,}000}{(100+t)^3}\quad\text{g/L}.

At t=0t=0, this is 10−8=210-8=2 g/L, consistent with the initial data 200 g/100 L200\text{ g}/100\text{ L}. The formula tends toward the incoming brine of 10 g/L as tt increases; interpret this trend only while the no-overflow assumption remains valid.

  • : A model in which the rate of change is proportional to the current amount: Q' = kQ.