← Mathematical Foundations

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

\[\Delta I=I(t+\Delta t)-I(t).\]

The average rate of change is

\[\frac{\Delta I}{\Delta t}=\frac{I(t+\Delta t)-I(t)}{\Delta t}.\]

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:

\[\frac{dI}{dt}=\lim_{\Delta t\to0}\frac{I(t+\Delta t)-I(t)}{\Delta t}.\]

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 valueLocal 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.

This connects a formula, a numerical rate and the visible shape of a biological trajectory.

A simple growth example

Suppose

\[N(t)=N_0e^{rt},\]

where \(N_0\) is the initial population and \(r\) is a constant per-capita growth rate. Differentiating gives

\[\frac{dN}{dt}=rN_0e^{rt}=rN(t).\]

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

\[F(S,I)=\beta\frac{SI}{N},\]

then a partial derivative changes one input while temporarily holding the other inputs fixed:

\[\frac{\partial F}{\partial I}=\beta\frac{S}{N}.\]

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

\[\int_a^b b(t)\,dt.\]

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

\[N(t)=N(0)+\int_0^t g(s)\,ds.\]

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

\[A(t)=\int_0^t g(s)\,ds,\]

then, under standard continuity conditions,

\[\frac{dA}{dt}=g(t).\]

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

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.