mindstair

Home / Courses / Differential Equations / Unit 2

Differential Equations Unit 2: Modeling with first-order DEs

Differential equations model change in the real world. Set up the rate of change in words first, then translate.

Covers: Growth/decay, logistic, mixing problems, Newton's law of cooling

Study guide

Differential equations model real systems by describing how quantities change. Exponential growth and decay, dy/dt = ky, has solution y = y₀e^(kt): growth for k > 0 and decay for k < 0. For decay, the half-life is t½ = ln 2/|k|, and the same idea gives doubling time for growth. Radioactive decay, continuously compounded interest and simple population growth all fit this model.

Logistic growth, dP/dt = kP(1 − P/L), adds a carrying capacity L. Solutions approach L over time, with equilibria at 0 (unstable) and L (stable), and growth is fastest at P = L/2. The solution is P(t) = L/(1 + Ae^(−kt)).

Mixing problems track the amount A(t) of a substance in a tank: dA/dt = (rate in) − (rate out). The rate in is the incoming concentration times the inflow rate. The rate out is the tank's concentration, A/V, times the outflow rate. If the volume changes because inflow and outflow differ, V depends on t. These equations are usually linear and solved with an integrating factor.

Newton's law of cooling says an object's temperature changes at a rate proportional to the difference from its surroundings: dT/dt = −k(T − Tₛ). The solution is T(t) = Tₛ + (T₀ − Tₛ)e^(−kt), so the temperature approaches the surrounding temperature exponentially. Use two data points to find k.

With constant harvesting h, the logistic model becomes dP/dt = kP(1 − P/L) − h. Set the right side to 0 to find the new equilibria, which move inward from 0 and L. If h exceeds the maximum growth rate kL/4, no equilibrium remains and the population crashes. A quantity that is added at a constant rate r and lost at a rate proportional to the amount satisfies dx/dt = r − kx. Its solution approaches the steady state r/k exponentially. When the loss is radioactive decay, k = ln 2 divided by the half-life.

Key ideas

Formulas and rules

dy/dt = ky ⇒ y = y₀eᵏᵗ
Cooling: dT/dt = −k(T − Tₛ)
Mixing: dA/dt = (rate in) − (rate out)
Half-life: t½ = ln 2 / k

Common mistakes

Words to know

Newton's law of cooling
dT/dt = −k(T − Tₛ)
Setup for a mixing problem
dA/dt = rate in − rate out
Half-life from decay constant k
t½ = ln 2 / k
Equilibrium solution
A constant solution where y′ = 0.
Outflow rate of salt in a mixing tank
(Concentration in tank) × (outflow rate) = (A/V)·r
Exponential growth/decay
dy/dt = ky → y = y₀e^(kt)
Doubling time
ln 2 / k for growth.
Logistic equation
dP/dt = kP(1 − P/L)
Carrying capacity
L, the stable equilibrium of the logistic model.
Newton's law of cooling solution
T(t) = Tₛ + (T₀ − Tₛ)e^(−kt)
Concentration in a tank
A(t)/V(t)
Stable vs. unstable equilibrium
Nearby solutions approach (stable) or move away (unstable).

Sample practice questions

19 more questions like these, from level 1 to 5, are in the practice set.

Question 1 (level 1)

A substance has a half-life of 5 years. Decay constant k?

  1. 0.5
  2. 0.2
  3. 5
  4. ln 2 / 5 ≈ 0.139
Show the answer and steps

Answer: D) ln 2 / 5 ≈ 0.139

  1. e^(−5k) = 1/2.
  2. k = ln 2/5 ≈ 0.139.
Question 2 (level 1)

A drink at 62°C sits in a 27°C room. By Newton's law of cooling, what temperature does it approach?

  1. 0°C
  2. 44°C
  3. 62°C
  4. 27°C
Show the answer and steps

Answer: D) 27°C

  1. dT/dt = −k(T − Tₛ): T moves toward the surrounding temperature.
  2. T → 27°C.
Question 3 (level 3)

100 L tank. Brine at 2 g/L flows in at 3 L/min; mixture leaves at 3 L/min. dA/dt =

  1. 6 − 3A
  2. 2 − A/100
  3. 6 − 3A/100
  4. 3 − 2A/100
Show the answer and steps

Answer: C) 6 − 3A/100

  1. Rate in = 2 g/L × 3 L/min = 6 g/min.
  2. Rate out = (A/100) g/L × 3 L/min.
  3. dA/dt = 6 − 3A/100.