IB Maths AA HL Topic 5 β€” Calculus Paper 1 & 2 HL ~12 min read

Modelling with Differential Equations

Real-world rate problems translate naturally into DEs. The phrase “rate of change of P” is dP/dt; “proportional to” is “= k Γ—”; “decreasing” means a negative sign on k. Once you’ve translated to a DE, pick the right technique from earlier notes (separation, integrating factor) to solve it, then interpret the answer back in context.

πŸ“˜ What you need to know

Translating words into a DE

Translation dictionary “rate of change of X” β†’ dXdt    “proportional to Y” β†’ = kY    “decreasing” β†’ use βˆ’k
Common modelling phrases and their DEs GROWTH “rate ∝ current amount” dN/dt = kN DECAY “rate ∝ remaining (decreasing)” dM/dt = βˆ’kM NEWTON’S COOLING “rate ∝ temp difference” dT/dt = βˆ’k(T βˆ’ T_a) MIXING / FLOW “rate in βˆ’ rate out” dS/dt = R_in βˆ’ R_out Once the DE is set up, use techniques from earlier notes to solve.
The four canonical modelling templates. Most IB exam problems fit one of these patterns. Once you spot the pattern, the DE practically writes itself.

Solution techniques recap

Separation of variables
dy/dx = g(x)Β·h(y)
Use for growth dN/dt = kN, decay dM/dt = βˆ’kM, Newton’s cooling dT/dt = βˆ’k(T βˆ’ Ta). All separable.
Integrating factor
dy/dx + P(x)y = Q(x)
Use for mixing problems dS/dt + (rate/V)S = constant, falling with air resistance dv/dt + (k/m)v = g.

🧭 Recipe β€” modelling problems

  1. Identify variables and rates: name the quantity (P, T, S, …), the independent variable (usually t), and the rate d…/dt.
  2. Translate the verbal relationship into a DE. Use the dictionary: “proportional to” β†’ “= k Γ—”; “decreasing” β†’ use βˆ’k; “difference” β†’ (A βˆ’ B).
  3. Solve using the right technique: separation of variables for most growth/decay/cooling, integrating factor for in–out flow problems.
  4. Apply initial/boundary conditions to determine the constants (both k and c). Usually one IC gives c; a second data point gives k.
  5. Interpret the answer in context: check units, take t β†’ ∞ for long-term behaviour, answer the specific question asked.

Worked examples

WE 1

Setup only β€” bacteria growth

A bacteria population N grows so that its rate of change at any time t is proportional to the current population. Write down a differential equation modelling this.

Step 1 β€” identify the rate rate of change of N β†’ dN/dt Step 2 β€” translate “proportional to N” proportional to N β†’ = k Β· N (for some constant k) Step 3 β€” check sign population is GROWING β†’ k > 0, positive sign dNdt = kN    (k > 0) this is the classical exponential growth model. Solving (by separation) gives N = Nβ‚€ e^(kt) β€” unlimited growth, only valid for small populations relative to environmental limits.
WE 2

Setup β€” Newton’s Law of Cooling

An object at temperature T cools so that its rate of cooling is proportional to the difference between T and the ambient temperature Ta. Assuming the object is hotter than its surroundings, write down a differential equation modelling this.

Step 1 β€” identify the rate rate of cooling = dT/dt Step 2 β€” translate “proportional to (T – T_a)” dT/dt = Β± k(T – T_a) Step 3 β€” fix the sign object hotter than surroundings: T – T_a > 0 object is cooling: dT/dt < 0 ⟹ sign on the right must be NEGATIVE: dT/dt = -k(T – T_a) dTdt = βˆ’k(T βˆ’ Ta)    (k > 0) the minus sign is essential: dT/dt must be negative when T > T_a (the object cools toward ambient). Same form also models a cold object warming up β€” the equation handles both cases automatically.
WE 3

Radioactive decay β€” solve and predict

A radioactive isotope decays so that its rate of decay is proportional to the mass remaining. The initial mass is 100 g and the half-life is 8 days. Find the mass after 24 days.

Step 1 β€” set up DE dM/dt = -k M, M(0) = 100 Step 2 β€” solve by separation of variables (1/M) dM = -k dt ln M = -kt + c (M > 0, drop modulus) M = A e^(-kt) Step 3 β€” apply IC M(0) = 100 100 = A Β· 1 ⟹ A = 100 M(t) = 100 e^(-kt) Step 4 β€” use half-life to find k M(8) = 50 ⟹ 50 = 100 e^(-8k) e^(-8k) = 1/2 ⟹ -8k = -ln 2 ⟹ k = (ln 2)/8 Step 5 β€” evaluate at t = 24 M(24) = 100 e^(-24 Β· ln(2)/8) = 100 e^(-3 ln 2) = 100 Β· 2^(-3) = 100/8 M(24) = 12.5 g three half-lives have passed (24/8 = 3), so mass is divided by 2Β³ = 8. Going through the exponential form is the rigorous method; the “halving” shortcut works when t is a whole-number multiple of the half-life.
WE 4

Newton’s cooling β€” solve fully

A cup of coffee at 90Β°C is placed in a room at 20Β°C. After 5 minutes the coffee has cooled to 70Β°C. Find an expression for the coffee’s temperature T at time t minutes.

Step 1 β€” set up DE dT/dt = -k(T – 20), T(0) = 90, T(5) = 70 Step 2 β€” separate and integrate 1/(T – 20) dT = -k dt ln|T – 20| = -kt + c (T > 20, drop modulus) T – 20 = A e^(-kt) T(t) = 20 + A e^(-kt) Step 3 β€” apply IC T(0) = 90 90 = 20 + A ⟹ A = 70 T(t) = 20 + 70 e^(-kt) Step 4 β€” use T(5) = 70 to find k 70 = 20 + 70 e^(-5k) 50 = 70 e^(-5k) ⟹ e^(-5k) = 5/7 -5k = ln(5/7) ⟹ k = (1/5) ln(7/5) T(t) = 20 + 70 (5/7)t/5  Β°C long-term: as t β†’ ∞, T β†’ 20Β°C (coffee reaches room temperature). The (5/7)^(t/5) form is equivalent to e^(-kt) but cleaner because the base 5/7 is the cooling ratio over a 5-minute period.
WE 5

Mixing tank β€” uses integrating factor

A tank contains 1000 L of pure water. Brine with salt concentration 0.05 kg/L flows in at 10 L/min, and the well-mixed solution flows out at 10 L/min. Find the amount of salt S(t) in the tank at time t minutes.

Step 1 β€” set up DE (rate in – rate out) Rate in: 10 L/min Γ— 0.05 kg/L = 0.5 kg/min Concentration in tank: S/1000 kg/L Rate out: 10 L/min Γ— S/1000 = S/100 kg/min dS/dt = 0.5 – S/100, S(0) = 0 Step 2 β€” rewrite in standard form for IF dS/dt + S/100 = 0.5; P = 1/100, Q = 0.5 Step 3 β€” find IF ΞΌ = e^(t/100) Step 4 β€” multiply and integrate d/dt (S e^(t/100)) = 0.5 e^(t/100) S e^(t/100) = 0.5 Β· 100 e^(t/100) + C = 50 e^(t/100) + C S(t) = 50 + C e^(-t/100) Step 5 β€” apply IC S(0) = 0 0 = 50 + C ⟹ C = -50 S(t) = 50(1 βˆ’ e⁻t/100) kg long-term: as t β†’ ∞, S β†’ 50 kg, matching the concentration of incoming brine (0.05 kg/L Γ— 1000 L = 50 kg). The tank asymptotically reaches the inflow concentration β€” makes physical sense.
WE 6

Falling with air resistance β€” terminal velocity

A skydiver of mass 80 kg falls from rest. Air resistance is proportional to velocity, with constant of proportionality 16 kg/s. Taking g = 9.8 m/sΒ², so that Newton’s second law gives 80 dv/dt = 80g βˆ’ 16v, find v(t) and the terminal velocity.

Step 1 β€” simplify and standard form 80 dv/dt = 80(9.8) – 16v Divide by 80: dv/dt = 9.8 – 0.2v Rearrange: dv/dt + 0.2v = 9.8; P = 0.2, Q = 9.8 Step 2 β€” IF ΞΌ = e^(0.2t) Step 3 β€” multiply and integrate d/dt (v e^(0.2t)) = 9.8 e^(0.2t) v e^(0.2t) = 9.8/0.2 e^(0.2t) + C = 49 e^(0.2t) + C v(t) = 49 + C e^(-0.2t) Step 4 β€” apply IC v(0) = 0 0 = 49 + C ⟹ C = -49 v(t) = 49(1 – e^(-0.2t)) Step 5 β€” terminal velocity lim tβ†’βˆž v(t) = 49(1 – 0) = 49 m/s v(t) = 49(1 βˆ’ e⁻0.2t) m/s;   terminal velocity = 49 m/s at terminal velocity, dv/dt = 0, so 80g – 16v = 0 β†’ v = 80(9.8)/16 = 49 m/s. The skydiver approaches but never quite reaches 49 m/s β€” typical of “approach to equilibrium” models.

πŸ’‘ Top tips

⚠ Common mistakes

Up next: The Logistic Equation. Pure exponential growth dN/dt = kN predicts unlimited growth β€” unrealistic. Real populations have a carrying capacity a, the maximum size the environment can sustain. The logistic DE dN/dt = kN(a βˆ’ N) models this: rapid growth when N is small, slowing as N approaches a. Solving uses partial fractions.

Need help with Calculus?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session β†’