Differential Equations Part II · Part B · Chapter 09 · Equations 81–90
Biology and Medicine
Life in differential equations: predators and prey, competing species, epidemics, enzyme kinetics, drug dosing in one and two compartments, the firing of a nerve, the spread of a species, Turing's patterns, the heart's Windkessel and the glucose–insulin system behind diabetes testing.
📐 10 equations🧪 10 live labs✍ 10 worked examples❓ 5-question quiz
◆In this chapter
Read population and epidemic models as nonlinear systems with thresholds
Compute R₀, final epidemic size, enzyme and drug time-courses
Design dosing schedules from pharmacokinetic equations
See excitability (nerve), invasion fronts and pattern formation
Model blood pressure and glucose regulation with simple compartments
Biology uses the same tools as engineering — balances of "rate in minus rate out" — but its equations are almost always nonlinear because organisms interact. Phase planes (Part I, Days 9–10) and reaction–diffusion PDEs (Day 12) do most of the work here.
x prey · y predators · a prey growth · b predation · c predator death · d conversion of prey to predators
Prey grow when predators are scarce; predators grow when prey are plentiful. The result is endless cycles with the predator peak lagging a quarter-period behind the prey peak. Volterra used it to explain why Adriatic fish catches changed during the First World War: less fishing helped predators more than prey. A conserved quantity keeps every orbit closed — fragile, which is why real models add crowding (logistic prey).
a = 1, b = 0.5, c = 0.75, d = 0.25 (per year). Equilibrium and period of small cycles?Equilibrium: x* = c/d = 3, y* = a/b = 2
Period ≈ 2π/√(ac) = 2π/0.866 = 7.3 years — the order of the famous 10-year hare–lynx cycle in Canada
Surprising lever: increasing the prey's growth rate a raises the predator level, not the prey level.
Where you meet itFisheries management, pest control by natural enemies, hare–lynx and plankton cycles, immune cells and viruses, economic models of competing classes (equation 97).
α, β how strongly each species harms the other · r growth rates (carrying capacities scaled to r)
Two species share a resource. If each harms itself more than it harms the other, they coexist; if each harms the other more, one always wins — which one depends on where you start (bistability). This is Gause's principle of competitive exclusion, and it applies equally to products competing for a market or technologies for a standard.
Rabbits x and sheep y: x(3 − x − 2y), y(2 − x − y). Equilibria and outcome?(0,0) unstable; (3,0) and (0,2) stable; (1,1) a saddle (J = [[−1, −2], [−1, −1]], det = −1)
The saddle's stable manifold splits the plane: start on one side and rabbits take over, on the other sheep do.
No coexistence — small differences in starting numbers decide everything.
Where you meet itEcology and invasive species, market share battles (VHS vs Betamax), bacterial strains, competing technologies, cell populations in tumours.
S, E, I, R fractions susceptible, exposed (incubating), infectious, recovered · β transmission · 1/σ incubation · 1/γ infectious period
Infection needs a susceptible meeting an infectious person, so the rate is βSI — a nonlinear product. An outbreak grows only if R₀·S > 1; it peaks when S falls to 1/R₀ and burns out before everyone is infected. The final-size equation and the threshold are the core of every pandemic policy debate. Adding E (SEIR) delays the peak without changing the final size.
A disease with R₀ = 2.5 in a fully susceptible population. Peak, final size, herd-immunity level?Peak infections when S = 1/R₀ = 40 %
Final size: z = 1 − e^(−2.5z) → z = 0.893 — 89 % eventually infected without intervention
Herd immunity threshold 1 − 1/2.5 = 60 % — the "overshoot" from 60 % to 89 % is the cost of an uncontrolled epidemic.
Where you meet itEpidemic forecasting (COVID-19, influenza, measles), vaccination targets, computer-virus and rumour spread, plant diseases, adoption of innovations.
S substrate concentration · Vmax maximum rate (enzyme saturated) · Km concentration at half the maximum rate
An enzyme can only process substrate so fast. At low concentration the rate is proportional to S (first order, like decay); at high concentration it saturates at Vmax (zero order, like a constant drain). Many drugs — alcohol, phenytoin, aspirin at high doses — follow it in the liver, which is why their effects can rise disproportionately with dose.
V_max = 10 mM/min, K_m = 2 mM, starting at 20 mM. Time to fall to 1 mM?t = (K_m·ln(S₀/S) + S₀ − S)/V_max = (2 × ln 20 + 19)/10 = (5.99 + 19)/10 = 2.5 min
Most of it (19 of 25) is spent in the saturated, constant-rate phase.
Alcohol: elimination ≈ 7–10 g per hour regardless of how much was drunk — zero order.
Where you meet itBiochemistry and drug metabolism, alcohol elimination, fermentation and bioreactors, wastewater treatment, Monod growth of microbes (same form), saturating sensors.
Ag drug in the gut · C plasma concentration · ka, ke absorption and elimination rates · V volume of distribution · F bioavailability
A tablet dissolves into the gut, is absorbed into the blood and eliminated by the liver and kidneys — the decay chain of equation 2 with a new name. Repeated doses every τ hours accumulate until intake balances elimination; the accumulation factor 1/(1 − e−keτ) tells you the steady-state peak relative to the first dose.
1000 mg tablet, F = 0.9, k_a = 1.5/h, k_e = 0.25/h (half-life 2.8 h), V = 50 L. Peak time and level? Dosing every 6 h?t_max = ln(6)/1.25 = 1.43 h
C_max = 0.9 × 1000 × 1.5/(50 × 1.25) × (e^(−0.358) − e^(−2.15)) = 21.6 × 0.583 = 12.6 mg/L
Every 6 h: accumulation 1/(1 − e^(−1.5)) = 1.29 → steady peaks ≈ 16 mg/L, reached after 4–5 half-lives (about half a day).
Where you meet itDose and interval design, therapeutic drug monitoring (antibiotics, anti-epileptics), bioequivalence studies, caffeine and alcohol, veterinary dosing, pesticide residues.
A₁ drug in blood (central) · A₂ in tissues (peripheral) · k₁₀ elimination · k₁₂, k₂₁ transfer rates
After an injection the drug first spreads into tissues (fast fall, rate α), then leaves the body (slow fall, rate β). On a log plot the curve has two straight parts — the eigenvalues of the 2 × 2 system (Part I, Day 8). The terminal half-life ln 2/β, not the initial fall, sets how long the drug stays.
k₁₀ = 0.3, k₁₂ = 0.5, k₂₁ = 0.2 per hour. Distribution and elimination rates? Terminal half-life?α + β = 1.0, αβ = 0.06 → λ = (1 ± √(1 − 0.24))/2 → α = 0.936, β = 0.064 per h
Distribution half-life 0.74 h; terminal half-life ln 2/0.064 = 10.8 h
A naive one-compartment fit to the first hour would claim a half-life under 2 h — dangerously wrong for dosing.
Where you meet itAnaesthetic and antibiotic dosing, chemotherapy, radiotracers, any substance distributing between blood and tissue; the same equations describe two-tank thermal systems.
dv/dt = v − v³/3 − w + I dw/dt = ε·(v + a − b·w) typical a = 0.7, b = 0.8, ε = 0.08
v membrane voltage (scaled) · w slow recovery variable · I stimulus current
A two-variable caricature of Hodgkin and Huxley's Nobel-winning nerve model. A cubic nullcline makes the system excitable: small kicks die away, but a kick above threshold fires a full spike before recovering. With enough steady current the rest state loses stability (a Hopf bifurcation) and the neuron fires repetitively — a limit cycle like Van der Pol's.
With I = 0, where is the resting state? Is it stable?w = (v + 0.7)/0.8 and v − v³/3 − w = 0 → v* = −1.199, w* = −0.624
J = [[1 − v*², −1], [ε, −εb]] = [[−0.438, −1], [0.08, −0.064]]: trace −0.50, det 0.108 → stable spiral
Raise I to about 0.33 and the rest becomes unstable: periodic firing.
Where you meet itNeuroscience and nerve conduction, cardiac tissue and arrhythmias (with diffusion: spiral waves), excitable chemical reactions (Belousov–Zhabotinsky), neuron-inspired electronics.
∂u/∂t = D·∂²u/∂x² + r·u·(1 − u) front speed c = 2√(r·D)
u population density (scaled to capacity) · D dispersal (diffusion) · r growth rate
Logistic growth plus random spreading. A local population becomes a travelling front that advances at a fixed speed 2√(rD), invading empty territory. Fisher proposed it for the spread of an advantageous gene; it also describes invasive species, the spread of farming across prehistoric Europe, tumour invasion and flame fronts.
An invasive species: dispersal D = 10 km² per year, growth r = 0.5 per year. Spreading speed? How long to cross a 200 km region?c = 2√(0.5 × 10) = 4.5 km per year → 200 km in about 45 years
(Skellam's muskrats in Central Europe, 1905–1930: 1–25 km/year, consistent with this law.)
Where you meet itInvasive species and conservation, gene spread, cancer cell invasion, wound healing, spread of epidemics in space, combustion fronts.
P arterial pressure · Q flow from the heart · C arterial compliance (stretchiness) · R peripheral resistance
The elastic arteries act like the air chamber (Windkessel) of an old fire pump: they store blood during each heartbeat and release it between beats, smoothing a pulsing flow into steady flow through the tissues. It is the RC circuit of equation 6 in physiological units. Stiff arteries (low C) — as with age — raise the systolic peak: one reason blood pressure rises with age.
R = 1 mmHg·s/mL, C = 1.5 mL/mmHg. How long for pressure to fall from 120 to 80 mmHg in diastole?τ = RC = 1.5 s
t = τ·ln(120/80) = 1.5 × 0.405 = 0.61 s — about the length of diastole at 70 beats per minute
Halve C (stiffer arteries): τ = 0.75 s, pressure falls further between beats and the pulse pressure widens.
Where you meet itBlood-pressure physiology and hypertension, design of heart-assist devices and dialysis circuits, interpretation of pulse waveforms, hydraulic accumulators and pulsation dampers (same equation).
G blood glucose · X remote insulin action · I plasma insulin · p₁ glucose effectiveness · Gb, Ib basal levels
Glucose clears itself slowly (p₁) and much faster when insulin acts (X). Insulin acts through a delayed "remote" compartment, so its effect builds up and fades over tens of minutes. Fitting this model to a glucose tolerance test gives the patient's insulin sensitivity — a standard clinical research tool for diabetes risk — and it is the core of artificial-pancreas controllers.
Glucose effectiveness p₁ = 0.03 per min. Without any extra insulin action, how fast does a glucose excess halve?G − G_b decays at rate p₁ → half-life ln 2/0.03 = 23 min
With insulin action X = 0.02 per min added, the rate becomes 0.05 and the half-life 14 min.
Insulin-resistant patients have small p₃ (low S_I): X stays small and glucose stays high longer.
Where you meet itDiabetes research and the intravenous glucose tolerance test, artificial pancreas control algorithms, sports nutrition models, simulation for training clinicians.
?Chapter quiz
5 questions. Click an answer — you get the explanation straight away.
Progress is kept in this browser (and in your account when signed in).