A brief note on Modelling with Differential Equations . Read it before a test. Try each question at the end before you open its answer.
Growth and decay Model: a rate proportional to the amount gives d N d t = k N \dfrac{dN}{dt} = kN d t d N = k N and N = N 0 e k t N = N_0 e^{kt} N = N 0 e k t . A negative k k k is decay. Doubling time and half-life: T = ln 2 ∣ k ∣ T = \dfrac{\ln 2}{|k|} T = ∣ k ∣ ln 2 . They do not depend on N 0 N_0 N 0 . Percentage rates: a yearly rate r r r gives k = ln ( 1 + r ) k = \ln(1 + r) k = ln ( 1 + r ) . Continuous interest at rate r r r gives k = r k = r k = r . Age by decay: t = T 1 / 2 ln 2 ln N 0 N t = \dfrac{T_{1/2}}{\ln 2}\ln\dfrac{N_0}{N} t = ln 2 T 1/2 ln N N 0 . Logistic: d P d t = k P ( 1 − P M ) \dfrac{dP}{dt} = kP\left(1 - \dfrac{P}{M}\right) d t d P = k P ( 1 − M P ) gives P = M 1 + A e − k t P = \dfrac{M}{1 + Ae^{-kt}} P = 1 + A e − k t M with A = M − P 0 P 0 A = \dfrac{M - P_0}{P_0} A = P 0 M − P 0 . The growth is fastest at P = M 2 P = \dfrac{M}{2} P = 2 M , where it is k M 4 \dfrac{kM}{4} 4 k M . Cooling and mixing Newton's law: d T d t = − k ( T − T s ) \dfrac{dT}{dt} = -k(T - T_s) d t d T = − k ( T − T s ) gives T = T s + ( T 0 − T s ) e − k t T = T_s + (T_0 - T_s)e^{-kt} T = T s + ( T 0 − T s ) e − k t . Two readings give k k k . Mixing: d Q d t = r in c in − r out Q V \dfrac{dQ}{dt} = r_{\text{in}}c_{\text{in}} - r_{\text{out}}\dfrac{Q}{V} d t d Q = r in c in − r out V Q , with V = V 0 + ( r in − r out ) t V = V_0 + (r_{\text{in}} - r_{\text{out}})t V = V 0 + ( r in − r out ) t . Constant volume: Q = c V + ( Q 0 − c V ) e − r t / V Q = cV + (Q_0 - cV)e^{-rt/V} Q = c V + ( Q 0 − c V ) e − r t / V . The steady state is c V cV c V . Euler's method: new value = old value + h × h \times h × slope. A smaller step gives a smaller error. Orthogonal trajectories and curves Method: remove the constant to get d y d x = f ( x , y ) \dfrac{dy}{dx} = f(x, y) d x d y = f ( x , y ) . Solve d y d x = − 1 f ( x , y ) \dfrac{dy}{dx} = -\dfrac{1}{f(x, y)} d x d y = − f ( x , y ) 1 . Tangent intercepts: x − y y ′ x - \dfrac{y}{y'} x − y ′ y on the x x x -axis and y − x y ′ y - xy' y − x y ′ on the y y y -axis. Sub-tangent and sub-normal: ∣ y y ′ ∣ \left|\dfrac{y}{y'}\right| y ′ y and ∣ y y ′ ∣ |yy'| ∣ y y ′ ∣ . A worked example A sample decays with half-life 6 h 6\ \text{h} 6 h . Find the time for 800 800 800 units to fall to 100 100 100 units.
Count the factor. 800 → 100 800 \to 100 800 → 100 is a factor of 8 = 2 3 8 = 2^3 8 = 2 3 , so there are 3 3 3 half-lives. Multiply. The time is 3 × 6 h = 18 h 3 \times 6\ \text{h} = 18\ \text{h} 3 × 6 h = 18 h . Practice with new numbers
A program to try The program checks that N = 800 e − k t N = 800e^{-kt} N = 800 e − k t with k = ln 2 6 k = \dfrac{\ln 2}{6} k = 6 ln 2 halves every 6 6 6 hours.
Run it. Does each line show half of the line before?
1. Change the time list to [0, 3, 6]. What is the amount at t = 3 t = 3 t = 3 ? Is it half of 800 800 800 ?
Mistakes to avoid Using T T T instead of the gap T − T s T - T_s T − T s in Newton's law. Dividing by the starting volume when the volume changes. Swapping the slope before removing the constant in orthogonal trajectories. Using k = r k = r k = r for a yearly rate. The correct value is k = ln ( 1 + r ) k = \ln(1 + r) k = ln ( 1 + r ) . Check yourself A population triples in 10 10 10 years under d N d t = k N \dfrac{dN}{dt} = kN d t d N = k N . Find k k k per year to four decimal places. Stuck? Show a hint Show the answerA cup at 80 ∘ C 80\ ^\circ\text{C} 80 ∘ C in a room at 20 ∘ C 20\ ^\circ\text{C} 20 ∘ C is at 50 ∘ C 50\ ^\circ\text{C} 50 ∘ C after 10 10 10 minutes. What is its temperature after 20 20 20 minutes? Stuck? Show a hint Show the answerA tank of 200 L 200\ \text{L} 200 L has equal inflow and outflow of brine at 0.5 kg/L 0.5\ \text{kg/L} 0.5 kg/L . Starting from pure water, what amount of salt does it approach? Stuck? Show a hint Show the answerFind the orthogonal trajectories of y = k x 2 y = kx^2 y = k x 2 . Stuck? Show a hint Show the answerA curve has a constant sub-normal of 5 5 5 . What is its equation, apart from the constant? Stuck? Show a hint Show the answerSources OpenStax, Calculus Volume 2 , Chapter 4, sections 4.2 to 4.5. NCERT, Mathematics Part II for Class XII, Chapter 9, the sections on first-order equations and their applications.