Mixing problem: A problem involving the rate of change of concentration in a tank where substances are added and removed at different rates.
- Define variables: Let S(t) = amount of substance at time t
- Set up the rate equation: \(\frac{dS}{dt} = \text{rate in} - \text{rate out}\)
- Rate in = (concentration of incoming solution) × (flow rate in)
- Rate out = (concentration of tank solution) × (flow rate out)
- Concentration = amount/volume
- Solve the resulting differential equation
Given information:
- Initial volume: 100 L
- Initial salt: 20 kg
- Flow in: 5 L/min of fresh water (0 kg/L)
- Flow out: 3 L/min
Volume at time t: \(V(t) = 100 + (5-3)t = 100 + 2t\)
Let S(t) = amount of salt (kg) at time t
\(\frac{dS}{dt} = \text{rate in} - \text{rate out}\)
Rate in = (concentration of inflow) × (flow rate in) = \(0 \times 5 = 0\)
Rate out = (concentration in tank) × (flow rate out) = \(\frac{S(t)}{100+2t} \times 3 = \frac{3S(t)}{100+2t}\)
\(\frac{dS}{dt} = 0 - \frac{3S(t)}{100+2t}\)
\(\frac{dS}{dt} = -\frac{3S(t)}{100+2t}\)
This is a linear first-order equation: \(\frac{dS}{dt} + \frac{3}{100+2t}S = 0\)
This is a separable equation: \(\frac{dS}{S} = -\frac{3}{100+2t}dt\)
Integrating both sides: \(\ln|S| = -\frac{3}{2}\ln|100+2t| + C\)
\(\ln|S| = \ln(100+2t)^{-3/2} + C\)
\(S = e^C(100+2t)^{-3/2}\)
\(S = \frac{K}{(100+2t)^{3/2}}\) where \(K = e^C\)
At t = 0, S(0) = 20:
\(20 = \frac{K}{(100+0)^{3/2}} = \frac{K}{100^{3/2}} = \frac{K}{1000}\)
\(K = 20 \times 1000 = 20000\)
\(S(t) = \frac{20000}{(100+2t)^{3/2}}\)
The amount of salt in the tank after t minutes is \(S(t) = \frac{20000}{(100+2t)^{3/2}}\) kg
• Mass balance: Rate of change equals rate in minus rate out
• Concentration: Amount divided by volume
• Separation of variables: \(\frac{dS}{S} = f(t)dt\)
Newton's law of cooling: The rate of temperature change of an object is proportional to the difference between its temperature and the ambient temperature: \(\frac{dT}{dt} = -k(T-T_a)\).
Given information:
- Initial temperature: T(0) = 90°C
- Ambient temperature: T_a = 20°C
- Temperature at t = 10: T(10) = 70°C
- Find: T(20) = ?
Newton's law: \(\frac{dT}{dt} = -k(T-T_a)\)
Separating variables: \(\frac{dT}{T-T_a} = -k dt\)
Integrating: \(\ln|T-T_a| = -kt + C_1\)
\(T-T_a = e^{C_1}e^{-kt}\)
\(T = T_a + Ce^{-kt}\) where \(C = e^{C_1}\)
At t = 0: T(0) = 90
\(90 = 20 + Ce^{0} = 20 + C\)
\(C = 70\)
So: \(T(t) = 20 + 70e^{-kt}\)
At t = 10: T(10) = 70
\(70 = 20 + 70e^{-10k}\)
\(50 = 70e^{-10k}\)
\(\frac{50}{70} = e^{-10k}\)
\(\frac{5}{7} = e^{-10k}\)
\(\ln\left(\frac{5}{7}\right) = -10k\)
\(k = -\frac{1}{10}\ln\left(\frac{5}{7}\right) = \frac{1}{10}\ln\left(\frac{7}{5}\right)\)
\(T(20) = 20 + 70e^{-20k}\)
\(T(20) = 20 + 70e^{-20 \cdot \frac{1}{10}\ln\left(\frac{7}{5}\right)}\)
\(T(20) = 20 + 70e^{-2\ln\left(\frac{7}{5}\right)}\)
\(T(20) = 20 + 70e^{\ln\left(\frac{7}{5}\right)^{-2}}\)
\(T(20) = 20 + 70\left(\frac{7}{5}\right)^{-2}\)
\(T(20) = 20 + 70\left(\frac{5}{7}\right)^{2}\)
\(T(20) = 20 + 70 \cdot \frac{25}{49}\)
\(T(20) = 20 + \frac{1750}{49} = 20 + 35.71 = 55.71°C\)
The temperature of the coffee after 20 minutes is approximately 55.71°C
• Newton's law of cooling: Rate of cooling proportional to temperature difference
• Separation of variables: Standard method for solving first-order equations
• Logarithmic properties: \(\ln(a/b) = \ln(a) - \ln(b)\) and \(e^{\ln(x)} = x\)
RC circuit: An electrical circuit with a resistor and capacitor in series, governed by the equation \(R\frac{dq}{dt} + \frac{q}{C} = E\) where q is charge, R is resistance, C is capacitance, and E is applied voltage.
Given information:
- R = 10 Ω
- C = 0.1 F
- E = 12 V
- Initial condition: q(0) = 0 (capacitor initially uncharged)
Governing equation: \(R\frac{dq}{dt} + \frac{q}{C} = E\)
\(10\frac{dq}{dt} + \frac{q}{0.1} = 12\)
\(10\frac{dq}{dt} + 10q = 12\)
\(\frac{dq}{dt} + q = 1.2\)
This is a linear first-order equation with P(t) = 1 and Q(t) = 1.2
\(\mu(t) = e^{\int 1 dt} = e^t\)
\(e^t\frac{dq}{dt} + e^t q = 1.2e^t\)
\(\frac{d}{dt}[e^t q] = 1.2e^t\)
\(\int \frac{d}{dt}[e^t q] dt = \int 1.2e^t dt\)
\(e^t q = 1.2e^t + C\)
\(q = 1.2 + Ce^{-t}\)
At t = 0: q(0) = 0
\(0 = 1.2 + Ce^{0} = 1.2 + C\)
\(C = -1.2\)
\(q(t) = 1.2 - 1.2e^{-t}\)
\(q(t) = 1.2(1 - e^{-t})\)
Since EC = 12 × 0.1 = 1.2 and RC = 10 × 0.1 = 1, we can write:
\(q(t) = EC(1 - e^{-t/RC})\)
The charge on the capacitor as a function of time is \(q(t) = 1.2(1 - e^{-t})\) coulombs
• Kirchhoff's voltage law: Sum of voltage drops equals applied voltage
• Ohm's law: Voltage drop across resistor is IR
• Capacitor relationship: Voltage across capacitor is q/C
Mixing problem: A problem involving the rate of change of concentration in a tank where substances are added and removed at different rates.
Newton's law of cooling: The rate of temperature change is proportional to the difference between object and ambient temperatures.
RC circuit: An electrical circuit with a resistor and capacitor in series, modeling charge accumulation and discharge.
Modeling: The process of translating real-world situations into mathematical equations.
- Identify variables: Determine what quantity changes with time
- Set up rate equation: Express rate of change as rate in minus rate out
- Express rates mathematically: Convert physical descriptions to mathematical expressions
- Solve the equation: Use appropriate differential equation methods
- Apply initial conditions: Determine constants using known values
- Interpret results: Relate mathematical solution back to physical situation
• Mixing: \(\frac{dS}{dt} = (\text{conc}_{in})(\text{rate}_{in}) - (\text{conc}_{out})(\text{rate}_{out})\)
• Newton's cooling: \(T(t) = T_a + (T_0 - T_a)e^{-kt}\)
• RC charging: \(q(t) = EC(1 - e^{-t/RC})\)
• RC discharging: \(q(t) = q_0 e^{-t/RC}\)
• Time constant: \(\tau = RC\) for circuits, \(\tau = 1/k\) for cooling
Mixing problem with concentrated inflow: A mixing problem where the incoming solution has a non-zero concentration of the substance being tracked.
Given information:
- Initial volume: 50 gal
- Initial salt: 25 lbs
- Inflow: 3 gal/min of solution with 2 lbs/gal → rate in = 6 lbs/min
- Outflow: 4 gal/min
Volume at time t: \(V(t) = 50 + (3-4)t = 50 - t\)
Let S(t) = amount of salt (lbs) at time t
\(\frac{dS}{dt} = \text{rate in} - \text{rate out}\)
Rate in = (2 lbs/gal) × (3 gal/min) = 6 lbs/min
Rate out = (concentration in tank) × (outflow rate) = \(\frac{S(t)}{50-t} \times 4 = \frac{4S(t)}{50-t}\)
\(\frac{dS}{dt} = 6 - \frac{4S(t)}{50-t}\)
\(\frac{dS}{dt} + \frac{4S(t)}{50-t} = 6\)
This is a linear first-order equation with P(t) = \(\frac{4}{50-t}\) and Q(t) = 6
\(\mu(t) = e^{\int \frac{4}{50-t} dt} = e^{-4\ln|50-t|} = e^{\ln|50-t|^{-4}} = \frac{1}{(50-t)^4}\)
\(\frac{1}{(50-t)^4}\frac{dS}{dt} + \frac{4}{(50-t)^5}S = \frac{6}{(50-t)^4}\)
\(\frac{d}{dt}\left[\frac{S}{(50-t)^4}\right] = \frac{6}{(50-t)^4}\)
\(\int \frac{d}{dt}\left[\frac{S}{(50-t)^4}\right] dt = \int \frac{6}{(50-t)^4} dt\)
\(\frac{S}{(50-t)^4} = 6 \int (50-t)^{-4} dt = 6 \cdot \frac{(50-t)^{-3}}{-3} \cdot (-1) = \frac{2}{(50-t)^3} + C\)
\(\frac{S}{(50-t)^4} = \frac{2}{(50-t)^3} + C\)
\(S = 2(50-t) + C(50-t)^4\)
At t = 0: S(0) = 25
\(25 = 2(50-0) + C(50-0)^4 = 100 + C \cdot 50^4\)
\(25 = 100 + C \cdot 6250000\)
\(C = \frac{25-100}{6250000} = \frac{-75}{6250000} = -\frac{3}{250000}\)
\(S(t) = 2(50-t) - \frac{3}{250000}(50-t)^4\)
\(S(t) = 2(50-t) - \frac{3(50-t)^4}{250000}\)
The amount of salt in the tank after t minutes is \(S(t) = 2(50-t) - \frac{3(50-t)^4}{250000}\) pounds
• Variable volume: Account for changing volume when flow rates differ
• Integrating factor: \(\mu(t) = e^{\int P(t)dt}\) for linear equations
• Logarithmic integration: \(\int \frac{1}{u}du = \ln|u| + C\)
RL circuit: An electrical circuit with a resistor and inductor in series, governed by the equation \(L\frac{di}{dt} + Ri = E\) where i is current, R is resistance, L is inductance, and E is applied voltage.
Given information:
- R = 5 Ω
- L = 2 H
- E = 10 V
- Initial condition: i(0) = 0 (current starts at zero)
Governing equation: \(L\frac{di}{dt} + Ri = E\)
\(2\frac{di}{dt} + 5i = 10\)
\(\frac{di}{dt} + \frac{5}{2}i = 5\)
This is a linear first-order equation with P(t) = \(\frac{5}{2}\) and Q(t) = 5
\(\mu(t) = e^{\int \frac{5}{2} dt} = e^{\frac{5t}{2}}\)
\(e^{\frac{5t}{2}}\frac{di}{dt} + \frac{5}{2}e^{\frac{5t}{2}}i = 5e^{\frac{5t}{2}}\)
\(\frac{d}{dt}[e^{\frac{5t}{2}}i] = 5e^{\frac{5t}{2}}\)
\(\int \frac{d}{dt}[e^{\frac{5t}{2}}i] dt = \int 5e^{\frac{5t}{2}} dt\)
\(e^{\frac{5t}{2}}i = 5 \cdot \frac{2}{5}e^{\frac{5t}{2}} + C = 2e^{\frac{5t}{2}} + C\)
\(i = 2 + Ce^{-\frac{5t}{2}}\)
At t = 0: i(0) = 0
\(0 = 2 + Ce^{0} = 2 + C\)
\(C = -2\)
\(i(t) = 2 - 2e^{-\frac{5t}{2}}\)
\(i(t) = 2(1 - e^{-\frac{5t}{2}})\)
Since E/R = 10/5 = 2 and L/R = 2/5 = 0.4, we can write:
\(i(t) = \frac{E}{R}(1 - e^{-Rt/L})\)
The current in the circuit as a function of time is \(i(t) = 2(1 - e^{-2.5t})\) amperes
• Kirchhoff's voltage law: Sum of voltage drops equals applied voltage
• Inductor relationship: Voltage drop is L(di/dt)
• Resistor relationship: Voltage drop is Ri
Time constant: The characteristic time scale of a system, representing how quickly it approaches equilibrium. For cooling: \(\tau = 1/k\), for RC circuits: \(\tau = RC\), for RL circuits: \(\tau = L/R\).
Equilibrium solution: The steady-state value approached as \(t \to \infty\). For mixing: \(S_{eq} = (\text{rate in})/\text{constant outflow rate}\) when applicable.
Transient response: The part of the solution that decays to zero over time, representing the adjustment period from initial conditions.
- Dimensional analysis: Check that all terms in the equation have consistent units
- Limiting behavior: Analyze what happens as \(t \to \infty\) to verify physical reasonableness
- Special cases: Consider scenarios like infinite time, zero flow rates, or extreme parameter values
- Numerical validation: Use computed values at early and late times to verify solutions
• Mixing with constant volume: \(\frac{dS}{dt} + \frac{F}{V}S = C_{in}F\) has solution \(S(t) = S_0e^{-Ft/V} + C_{in}V(1-e^{-Ft/V})\)
• General cooling: \(T(t) = T_a + (T_0 - T_a)e^{-kt}\)
• RC charging: \(V_C(t) = E(1 - e^{-t/RC})\), \(I(t) = \frac{E}{R}e^{-t/RC}\)
• RC discharging: \(V_C(t) = V_0e^{-t/RC}\), \(I(t) = -\frac{V_0}{R}e^{-t/RC}\)
• RL circuit: \(i(t) = \frac{E}{R}(1 - e^{-Rt/L})\), \(\tau = L/R\)
\(\frac{dC}{dt} = \frac{D}{V} - kC\) where C is concentration, D is dose rate, V is volume, and k is elimination constant.
This models how medication levels build up and decay in the body over time.
Analysis: The solution shows how concentration approaches a steady-state value determined by the balance between administration and elimination rates.
- Initial rise: Concentration builds up as administration exceeds elimination
- Approach to equilibrium: As concentration increases, elimination rate increases
- Steady state: Administration rate equals elimination rate