Solving a differential equation of epidemic model but not getting the right answer!

  • #1

Main Question or Discussion Point

I am trying to understand this article at Wikipedia on epidemic deterministic models
http://en.wikipedia.org/wiki/Compartmental_models_in_epidemiology

it is said that if
ds/dt = -b*s(t)*i(t) is divided by dr/dt= ki(t) and is integrated by using chain rule, the answer is S(t) = S(0)exp (-Ro(Rinf - R(0))

but if i solve it, answer i get is r = 1/Ro * lns + c

i have no clue how can i get this answer.

Can anyone help me understand this please.
 

Answers and Replies

  • #2
EnumaElish
Science Advisor
Homework Helper
2,304
124


Your solution may well be the inverse of the wiki solution. Ignoring the constant, if s = S(0)exp(-Ro(R - R(0)) then
ln s = ln S0 - Ro r, where r = R - R0.
ln s - ln S0 = -Ro r.
r = -ln(s/S0)/Ro plus a constant. If you normalize to S0 = 1 then r = -ln(s)/Ro + constant. I haven't solved the D.E. but I realized there is a similarity between wiki's and your solution.
 
Last edited:
  • #3


I got it :) thanks a bunch!!!!
 

Related Threads on Solving a differential equation of epidemic model but not getting the right answer!

  • Last Post
Replies
0
Views
2K
  • Last Post
Replies
5
Views
1K
Replies
4
Views
2K
Replies
8
Views
3K
  • Last Post
Replies
2
Views
1K
Replies
0
Views
798
Replies
11
Views
3K
  • Last Post
Replies
2
Views
3K
Replies
0
Views
1K
Top