Compartmental models use differential equations to describe the rate of change of individuals in each compartment over time. For instance, in the SIR model, the equations are:
- dS/dt = -βSI - dI/dt = βSI - γI - dR/dt = γI
These equations quantify how individuals move between compartments, influenced by parameters like transmission and recovery rates.