Module 10 · Lesson 10.1

What Is a Differential Equation? Rates Describing Themselves

A differential equation doesn't tell you a value directly — it tells you how fast that value is changing, at every point, in terms of itself.

Intuition

Most equations you've solved so far describe a value directly: $y = 2x + 1$ tells you exactly what $y$ is for any $x$. A differential equation is different. It doesn't describe the value — it describes the rate of change of the value, often in terms of the value itself.

Think of a cup of hot coffee cooling on a table. The rule isn't "the temperature at 3 minutes is 70°." The rule is closer to: "the coffee cools quickly while it's very hot, and slowly once it's near room temperature." The rate of cooling depends on the current temperature. That's a differential equation in disguise — a rule for how fast something changes, written in terms of where it currently is.

Core concept

A differential equation is an equation that relates a quantity to its own rate of change. For a growing population $P$, a natural rule is: the bigger the population, the faster it grows. Written with calculus notation, that's $\frac{dP}{dt} = kP$ — the rate of change of $P$ with respect to time $t$ is proportional to $P$ itself, with a constant $k$ setting how fast.

Solving a differential equation means finding the actual function $P(t)$ that obeys this rule everywhere — not just at one instant, but for all $t$.

ModeldP/dt = kP
Growth rate k0.08 / day
Population P100 bacteria
Rate at this instant0.08 × 100
Answer8 bacteria / day

Notice this rate is only true right now, at $P = 100$. As soon as the population grows past 100, the rate speeds up too, since it's proportional to whatever $P$ currently is. The differential equation describes a whole field of such instantaneous rates — one for every possible value of $P$ — which is exactly what the interactive below draws.

Interactive Lab

Every short line segment below is a tiny snapshot of $\frac{dy}{dt} = ky$ at that point: its slope shows how fast $y$ would change if the system were sitting right there. Drag the slider to change $k$, then click anywhere in the field to drop a starting point and trace the curve that actually follows the arrows.

Click inside the field to trace a solution curve.

Key Idea

$$ \frac{dy}{dt} = ky $$

This single line encodes an entire family of behaviors. It says: at any moment, the rate of change of $y$ is $k$ times the current value of $y$. When $k$ is positive, larger $y$ pushes itself to grow even faster — runaway growth. When $k$ is negative, larger $y$ gets pulled back down faster — decay that eases off as $y$ approaches zero. Neither case tells you $y$ directly; both describe the arrows a solution curve must follow.

$y$The changing quantity, such as a population or a temperature difference
$t$Time, or whatever variable $y$ is changing with respect to
$dy/dt$The instantaneous rate of change of $y$ — the slope of the tiny arrow at each point
$k$A constant controlling how strong and which direction the effect runs

Think Further

  1. Set $k$ to a small negative number and trace a curve starting well above $y = 0$. Why does the curve flatten out as it approaches $y = 0$ instead of crossing below it?
  2. The cooling coffee analogy actually needs $\frac{dT}{dt} = -k(T - T_{room})$, not plain $\frac{dy}{dt} = ky$. What would you have to change about the slope field for that extra $T_{room}$ term?
  3. Real populations can't grow forever like $\frac{dy}{dt} = ky$ predicts when $k>0$. What real-world constraint is this simple model missing, and how might it change the shape of the arrows at large $y$?
Show suggested answers
  1. Near $y = 0$, the slope $ky$ is also near zero, since the rate is proportional to $y$ itself. The arrows get almost flat right above the axis, so the curve slows down and glides toward zero without ever crossing it — it can only approach, never overshoot.
  2. The slope would no longer depend on $y$ alone; it would depend on the gap between $y$ and $T_{room}$. Arrows would point toward $T_{room}$ from both sides — steep far away, flattening as $y$ approaches $T_{room}$ — rather than all flattening only at zero.
  3. Missing a limit on resources, such as food or space. A more realistic model caps growth as $y$ approaches some carrying capacity, so the arrows would need to bend back toward flat again at large $y$, not just keep steepening forever.