Infectious modelling S(t) equation

47 Views Asked by At

Has somebody please explain for me how to derive 2.6 equation?

enter image description here

2

There are 2 best solutions below

0
On

You might be confused because $S$ and $R$ are functions of $t$, but the derivative is with respect to $R$. You're correct (except for dropping the minus sign) at $\ln S = \int -R_0 \; dR.$ But $R_0$ is a constant, so the integral is easy: $\ln S = -R R_0 +C$. Exponentiate to get

$$S = e^{-RR_0+C} = Ae^{-RR_0}.$$

We've done this without thinking about $t$, but we can put it in now:

$$S(t) = Ae^{R(t)R_0}.$$

Since I don't have the text, I have to assume that $R(0)=0$. That is probably evident from the type of problem. So plug in $t=0$ and we get

$$S(0) = A e^0 = A$$. Plug that in for $A$ above and you get your equation.

0
On

You're already in the right direction. Using separation of variables: $$ \frac{dS}{dR} = -\frac{\beta S}{\gamma} \implies \frac{1}{S}dS = -\frac{\beta}{\gamma}dR$$ Integrate both sides:

$$ \ln S(t) = -\frac{\beta R(t)}{\gamma} + C $$ where $C$ is a constant $$ S(t) = e^c \cdot e^{-\frac{\beta}{\gamma}R(t)}$$

Note that $R_0 = \frac{\beta}{\gamma}$ and $e^c$ will be your $S(0)$