Solver for the SIR Model (with Birth and Death Rates) of the Spread of Disease

Warren Weckesser


This form allows you to solve the differential equations of the SIR model of the spread of disease.

S'(t) = b(S+I+R) - rSI - dS
I'(t) = rSI - γI - dI
R'(t) = γI - dR

Enter the following data, then click on Show Solution below.

b =
d =
r =
γ =

Initial conditions:
S(0) =
I(0) =
R(0) =

Duration of solution: (Maximum duration is 1000.)


Output Options

Phase Space Plots

PlotHorizontal AxisVertical Axis
S I R S I I
S I R S I R
S I R S I R

      Time Series Plots

PlotVertical Axis
S I R
S I R
S I R



Copyright (c) 2005 Warren Weckesser