01 · Lesson 02
Calculus
Calculus describes change and accumulation. Mathematical biology uses derivatives to represent how rapidly a biological quantity changes and integrals to recover the accumulated quantity from its rate.
Scenario: an infectious population is changing
A health team records 20 infectious people on day 4 and 26 on day 5. The population increased by 6 people during one day. But did it increase steadily, or more rapidly during part of that day? Calculus lets us move from an average change over an interval to the instantaneous rate at a particular time.
Change over an interval
Let \(I(t)\) denote the infectious population at time \(t\). Over a time interval from \(t\) to \(t+\Delta t\), the change is
The average rate of change is
In the scenario, this is \(6/1=6\) people per day. The units matter: population change has units of people, whereas its rate has units of people per day.
The derivative
The derivative is the limiting value of the average rate as the time interval becomes arbitrarily small:
The notation \(dI/dt\) is read “the derivative of \(I\) with respect to \(t\).” It represents an instantaneous rate, not ordinary division by a tiny number.
| Derivative value | Local biological interpretation |
|---|---|
| \(dI/dt>0\) | The infectious population is increasing |
| \(dI/dt=0\) | It is momentarily neither increasing nor decreasing |
| \(dI/dt<0\) | It is decreasing |
A zero derivative at one time does not necessarily mean the population remains constant. It may be a peak, a trough, or a temporary horizontal point.
Derivative as the slope of a graph
On a graph of \(I(t)\) against time, the average rate is the slope of a line joining two points. The instantaneous derivative is the slope of the tangent line at one point.
- A steep upward tangent gives a large positive derivative.
- A horizontal tangent gives derivative zero.
- A steep downward tangent gives a large negative derivative.
This connects a formula, a numerical rate and the visible shape of a biological trajectory.
A simple growth example
Suppose
where \(N_0\) is the initial population and \(r\) is a constant per-capita growth rate. Differentiating gives
The total growth rate is proportional to the current population. If the population doubles, the predicted number of new individuals per unit time also doubles. The parameter \(r\) has units of inverse time, such as per day.
Partial derivatives
A biological quantity may depend on several variables. If infection incidence is
then a partial derivative changes one input while temporarily holding the other inputs fixed:
This measures the local sensitivity of infection flow to the infectious population for a fixed susceptible population. “Held fixed” is a mathematical comparison condition; it does not claim that compartments remain fixed through real epidemic time.
Accumulation and the integral
Differentiation moves from a quantity to its rate. Integration moves from a rate to accumulated change. If \(b(t)\) is a birth rate in individuals per day, the total births between days \(a\) and \(b\) are
Geometrically, a definite integral is the signed area between the rate curve and the horizontal axis. Positive rate contributes positive accumulation; negative rate contributes negative change.
If the net population rate is \(g(t)\), then
The integration variable \(s\) is temporary. It prevents confusion between the upper time \(t\) and the times being accumulated inside the integral.
The Fundamental Theorem of Calculus
The Fundamental Theorem connects differentiation and integration. If
then, under standard continuity conditions,
Thus, accumulating a rate and then differentiating returns the current rate. This is why a differential-equation model and its integral form describe the same continuous trajectory when the required regularity conditions hold.
What calculus does—and does not—say
- A derivative describes local change; it does not explain the biological mechanism unless the model supplies one.
- An integral accumulates a stated rate; its meaning depends on the rate’s units and sign.
- A continuous model may produce fractional population values. These represent an approximation or expected density, not literal fractions of individuals.
- Differentiability is a model assumption. A sudden intervention may require a piecewise-defined rate.
- Observed data at separated times give finite differences. An instantaneous derivative is inferred through a model or smoothing assumption.
What this lesson adds
You can now distinguish change from rate of change, interpret a derivative by its sign, slope and units, understand partial derivatives, use integrals for accumulation, and recognise the connection between a rate equation and its integral form. The next lesson uses these ideas to construct ordinary differential equations.