First Year Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Applications of first-order differential equations

Applications of first‑order differential equations: growth/decay, Newton’s cooling, mixing tanks, population (logistic), motion with linear drag, and simple RC/RL circuits; modeling, solving, and interpreting results.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Engineers model change in the real world using first‑order differential equations: temperature cooling of a part, salt concentration in a chemical tank, charging current in a circuit, or population growth under constraints. Correct models and solutions let you predict future behavior, design stable systems, and choose safe operating conditions.

Key ideas

  • Existence and Uniqueness Theorem (Picard–Lindelöf): If f(x, y) and ∂f/∂y are continuous in a rectangle around (x₀, y₀), then the IVP dy/dx = f(x, y), y(x₀) = y₀ has a unique solution defined on some interval around x₀ passing through (x₀, y₀). Assumptions: continuity of f and a Lipschitz condition in y; typical sufficient condition used in exams: continuity of f and ∂f/∂y.
  • Modeling: Convert physical law + conservation (mass, charge, energy, momentum) into a first‑order DE. Identify: inflow − outflow + generation − consumption = rate of accumulation.

Standard application models (with derivations commonly examined):

  1. Exponential growth/decay (radioactive decay, compound interest — continuously compounded)
  • Assumption: Rate of change is proportional to present amount.
  • Law: dN/dt = −λN (decay) or dN/dt = rN (growth), where λ > 0 or r > 0 is constant.
  • Derivation: Separate variables dN/N = −λ dt; integrate to get ln|N| = −λ t + C; N(t) = N₀ e^{−λ t}. Half‑life T₁/₂ satisfies e^{−λ T₁/₂} = 1/2, so λ = (ln 2)/T₁/₂.
  • Diagram to draw: Time on horizontal axis, amount on vertical axis; an exponential curve decreasing from N₀ to approach 0, label N(t) and asymptote.
  1. Newton’s law of cooling
  • Assumptions: Object cools in a large medium at constant ambient temperature Ta. Heat loss rate ∝ temperature difference (T − Ta).
  • Statement: dT/dt = −k (T − Ta), k > 0.
  • Solution: T(t) = Ta + (T₀ − Ta) e^{−k t}. Derivation: Separate variables dT/(T − Ta) = −k dt; integrate to ln|T − Ta| = −k t + C; exponentiate and apply initial condition T₀.
  • Diagram: Plot T(t) vs t; start at T₀, decays exponentially to Ta; label Ta as horizontal asymptote.
  1. Mixing (concentration in a tank)
  • Assumptions: Tank is perfectly stirred; volume V(t) known; inflow and outflow concentrations and rates given.
  • Mass balance for solute: dQ/dt = (inflow rate × inflow concentration) − (outflow rate × current concentration), with concentration in tank = Q/V if perfectly mixed.
  • Typical constant volume case (equal inflow/outflow rates r): dQ/dt + (r/V) Q = r·Cin, solution by linear first‑order method; Q(t) = (Q₀ − V Cin) e^{−(r/V) t} + V Cin.
  • Diagram: Box for tank labeled V, an inlet arrow with rate and concentration, an outlet arrow with rate r and concentration Q/V.
  1. Logistic population growth (saturation/limited resources)
  • Assumptions: Growth proportional to current size and to remaining capacity relative to carrying capacity K.
  • Model: dP/dt = r P (1 − P/K), r > 0, K > 0.
  • Derivation: Separate variables dP/[P (1 − P/K)] = r dt; use partial fractions: (1/P + 1/(K − P)) dP = r dt; integrate to ln|P| − ln|K − P| = r t + C; solve for P to get P(t) = K / (1 + A e^{−r t}), with A = (K − P₀)/P₀.
  • Diagram: S‑shaped curve P(t) vs t; horizontal asymptote at K, point of inflection at P = K/2.
  1. Motion with linear drag (terminal velocity)
  • Assumptions: Particle of mass m falls under gravity with resisting force proportional to velocity, Fd = b v, b > 0.
  • Model: m dv/dt = m g − b v. Linear first‑order DE in v(t).
  • Solution: v(t) = (m g/b) (1 − e^{−(b/m) t}) + v(0) e^{−(b/m) t}; for v(0) = 0, v(t) = (m g/b) (1 − e^{−(b/m) t}). Terminal velocity v∞ = m g/b when dv/dt = 0.
  • Diagram: v vs t starting at 0, asymptotic to v∞, label v∞.
  1. First‑order electric circuits
  • RL (series): L di/dt + R i = E(t). For step input E0 (constant) and i(0) = 0: i(t) = (E0/R) (1 − e^{−t/τ}), τ = L/R.
  • RC (series with capacitor voltage output): R C dv/dt + v = E(t). For step E0 and v(0) = 0: v(t) = E0 (1 − e^{−t/τ}), τ = R C.
  • Diagrams to describe (if asked in math exam, keep minimal): Label R and L (or C) in series with a DC source; time response plot with exponential rise; mark τ on time axis where response reaches about 63% of final value.
  1. Orthogonal trajectories (families of curves intersecting at right angles)
  • Definition: If a family of curves F(x, y, C) = 0 has tangent slope m₁ = dy/dx at each point, its orthogonal trajectories are curves whose tangents have slope m₂ satisfying m₁ m₂ = −1 at each intersection point (right angle).
  • Method (usual exam derivation):
    1. From the given family, differentiate implicitly to get dy/dx = φ(x, y, C), then eliminate C to get dy/dx = f(x, y).
    2. For orthogonal trajectories, replace dy/dx by −dx/dy (equivalently, slope m₂ = −1/m₁), giving differential equation dx/dy = g(x, y) or dy/dx = −1/f(x, y).
    3. Solve the resulting first‑order DE to obtain the orthogonal family.
  • Diagram: Sketch representative curves from the original family and the orthogonal family crossing at right angles; label at least one right angle.

All models above are first‑order and are solved using methods from earlier topics such as Variable separable and homogeneous differential equations, Exact differential equations and integrating factors, and Linear and Bernoulli’s differential equations. You should refer back to those techniques for the solution steps.

Formulas

dN/dt = −λ N — N is amount (mol or kg or number, unit depends on context), λ is decay constant (1/time, matching the unit of t), applies to radioactive/chemical first‑order decay.

N(t) = N₀ e^{−λ t} — solution for decay with N(0) = N₀; for growth dN/dt = r N one has N(t) = N₀ e^{r t}; t has the same time unit as λ or r.

T(t) = T_a + (T₀ − T_a) e^{−k t} — Newton’s law of cooling; T, T_a in kelvin (K) or °C (differences identical), k in s⁻¹ (or min⁻¹ if t in min), t is time.

dQ/dt = r C_in − (r/V) Q — mixing with constant volume V (m³), inflow/outflow rate r (m³/s), inflow concentration C_in (kg/m³), Q is solute mass (kg).

Q(t) = (Q₀ − V C_in) e^{−(r/V) t} + V C_in — solution of the linear mixing model; t is time (units consistent with r/V).

dP/dt = r P (1 − P/K) — logistic growth; P is population (count or kg/m³ etc.), r has units 1/time (matching t), K is carrying capacity (same unit as P).

P(t) = K / (1 + A e^{−r t}) — logistic solution; A = (K − P₀)/P₀ from P(0) = P₀.

m dv/dt = m g − b v — falling with linear drag; m (kg), g (m/s²), b (kg/s), v (m/s), t (s).

v(t) = (m g/b) (1 − e^{−(b/m) t}) + v(0) e^{−(b/m) t} — solution for linear drag.

L di/dt + R i = E(t) — RL series circuit; L (H), R (Ω), i (A), E (V), t (s).

i(t) = (E₀/R) (1 − e^{−t/τ}) + i(0) e^{−t/τ} with τ = L/R — RL step response.

R C dv/dt + v = E(t) — RC series (capacitor voltage); R (Ω), C (F), v (V), t (s).

v(t) = E₀ (1 − e^{−t/τ}) + v(0) e^{−t/τ} with τ = R C — RC step response.

m₁ m₂ = −1 — condition for orthogonality of tangents (slopes m₁ and m₂) at a point.

Worked examples

  1. Newton’s law of cooling (predict temperature) Given: A metal part is removed from a furnace at 90 °C and placed in a room at 30 °C. After 10 min its temperature is 60 °C. Find its temperature after 20 min.

Steps:

  1. Model: dT/dt = −k (T − T_a) with T_a = 30 °C.
  2. Solution form: T(t) = T_a + (T₀ − T_a) e^{−k t} with T₀ = 90 °C.
  3. Use data at 10 min to find k:
    • T(10) − T_a = (T₀ − T_a) e^{−k·10} → 60 − 30 = (90 − 30) e^{−10 k} → 30 = 60 e^{−10 k}.
    • e^{−10 k} = 0.5 ⇒ k = (ln 2)/10 = 0.0693147 min⁻¹ (time in minutes).
  4. Predict at 20 min:
    • T(20) − 30 = 60 e^{−20 k} = 60 e^{−2 ln 2} = 60/4 = 15.
    • T(20) = 30 + 15 = 45 °C.

Note: Using kelvin gives the same result because only differences appear in the exponent.

  1. Mixing tank (constant volume) Given: A tank holds V = 100 L of water initially with no salt. Brine of concentration C_in = 2 g/L enters at r = 5 L/min. Well‑stirred mixture leaves at the same rate 5 L/min. Find the mass of salt after 30 min, and the limiting mass as t → ∞.

Steps:

  1. State variable: Q(t) = mass of salt in tank (g). Volume V = 100 L is constant (inflow = outflow).
  2. Model: dQ/dt = r C_in − (r/V) Q = 10 − (1/20) Q with units g/min.
  3. Solve linear DE: dQ/dt + (1/20) Q = 10.
    • Integrating factor μ(t) = e^{∫(1/20) dt} = e^{t/20}.
    • (Q e^{t/20})' = 10 e^{t/20} ⇒ Q e^{t/20} = 200 e^{t/20} + C ⇒ Q(t) = 200 + C e^{−t/20}.
    • Initial condition Q(0) = 0 ⇒ 0 = 200 + C ⇒ C = −200.
    • Q(t) = 200 (1 − e^{−t/20}) g.
  4. At t = 30 min: e^{−30/20} = e^{−1.5} ≈ 0.223130.
    • Q(30) = 200 (1 − 0.223130) = 200 (0.776870) = 155.4 g (to 3 sig. figs.).
  5. As t → ∞: Q(∞) = 200 g. Limiting concentration = Q/V = 200/100 = 2 g/L, equal to inflow concentration (as expected for constant volume mixing).
  1. RL circuit (step response) Given: A series RL circuit with L = 0.5 H, R = 20 Ω, driven by a DC source of E₀ = 10 V at t = 0. Initial current i(0) = 0. Find (a) the expression for current i(t), (b) current at t = 0.10 s, and (c) the time constant.

Steps:

  1. Model: L di/dt + R i = E₀ with constants after the step.
  2. Standard solution with i(0) = 0: i(t) = (E₀/R) (1 − e^{−t/τ}), where τ = L/R.
  3. Compute τ: τ = L/R = 0.5/20 = 0.025 s.
  4. Expression: i(t) = (10/20) (1 − e^{−t/0.025}) = 0.5 (1 − e^{−40 t}) A.
  5. At t = 0.10 s: exponent −40 × 0.10 = −4. e^{−4} ≈ 0.018315.
    • i(0.10) = 0.5 (1 − 0.018315) = 0.5 × 0.981685 = 0.491 A (to 3 sig. figs.).

Common mistakes

  • For Newton’s cooling, plugging absolute temperatures in kelvin without subtracting ambient temperature; the model uses (T − Ta).
  • In mixing, using outflow concentration as C_in instead of Q/V; always take concentration inside the tank as Q/V when perfectly mixed.
  • Algebra slips solving logistic by partial fractions, especially signs in ln|P| − ln|K − P|. Check constant A carefully from the initial condition.
  • Orthogonal trajectories: replacing dy/dx with −1/(dy/dx) without first eliminating the parameter C from the original family; elimination is essential.
  • Circuits: swapping τ = R/L instead of τ = L/R for RL, and τ = 1/(R C) instead of τ = R C for RC; remember the correct definitions.

For your exam

  • Modeling questions: Convert word problems into DEs. Write clearly the balance: accumulation = in − out (+ generation − consumption). Define each symbol with units.
  • Numericals: Carry units throughout (s, min, kg, g, L, A, V, Ω, H, F). Show the formula before substitution, compute exponents carefully, and present the final answer in bold with correct units.
  • Theory/application: Orthogonal trajectories method—show parameter elimination, slope inversion, and integration steps. If a diagram is asked, sketch axes, representative curves, and label intersections at right angles.
  • Quality of answers for full marks: Correct model with assumptions, clear steps using an appropriate solution method from earlier topics (Variable separable…, Linear and Bernoulli’s…, Exact equations…), correct arithmetic, units, and a short interpretation (e.g., limiting value, terminal velocity, time constant meaning).

Quick check

  1. Which model fits: (a) cooling of hot tea in a room, (b) radioactive decay of iodine‑131, (c) fish population in a pond with limited food? State the DE form for each.
  2. A substance has half‑life 5 hours. Find the decay constant λ and write N(t) with N(0) = N₀.
  3. A 200 L tank initially contains 50 g of dye in water. Pure water flows in at 10 L/min and the well‑mixed solution flows out at 10 L/min. Write the DE and find Q(t).

Answers: 1) (a) Newton’s cooling: dT/dt = −k (T − Ta); (b) decay: dN/dt = −λ N; (c) logistic: dP/dt = r P (1 − P/K). 2) λ = (ln 2)/5 h⁻¹ ≈ 0.13863 h⁻¹; N(t) = N₀ e^{−λ t}. 3) dQ/dt = 0 − (10/200) Q = −(1/20) Q; Q(t) = 50 e^{−t/20} g.

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?