Introduction to Mathematical Modelling
Introduction to Mathematical Modelling
2
Physical processes (MAN-MADE OR NATURAL) Physical processes (MAN-MADE OR NATURAL)
3 4
What is Mathematical modelling Industrial Mathematics ( or Mathematics in industry)
5 6
Basic steps in modelling Population models
7 8
Population models Population models
It is reasonable to assume the following:
The assumption of continuity and di!erentiability of P(t) with
respect to time provides a reasonable approximation. The use of
number of births in a short time interval ↓ population at the
time as a real continuous variable is justified using similar
beginning of this interval and to the length of the interval.
arguments.
That is,
Let P(t) denote the size of a population of a given isolated species
number of births = ω(t , P(t))P(t)ωt
at time t and let ωt be a small time interval. The population at
any time t + ωt will satisty
P(t) = 3.34 ↘ 109 e 0.02(t ↑1965) billion. The estimated population in the year 2000 was 6.114
billion. There is of course a good agreement, despite that
.
overestimate.
.
15 16
comparison: actual population and model population
.
17 18
Logistic equation for Population model
The simplest way to take the aforementioned into account is to
P
assume r (t , P(t)) = r (1 ↑ K ).
It is reasonable to think that a given habitat can sustain only a
The resulting population model given by
finite number K of individuals called the carrying capacity. And the
! "
closer the population is to this number, the slower is it growth. As dP P
= rP 1 ↑ . (2)
the population reaches its limiting value, the rate of the population dt K
growth, although still increasing, approaches its limiting value of which proved to be one of the most successful models for
zero. describing a single species population.
. Here the relative growth rate dP
dt /P is no longer constant; it now
depends on the population so that, as the population P increases,
the relative growth rate decreases. We will use this di!erential
equation in a di!erent context later on, in epidemics.
19 . 20
Logistic equation for Population model comparison: real solution vs model solution
Take experimental value K = 10.76 billion, r = 0.029, P0 = 3.34
The solution to the ode
billion at t = 1965
! "
dP P 3.34 ↘ 109 (10.76 ↘ 109 )
= rP 1 ↑ . (3) P(t) =
dt K
3.34 ↘ 109 + (10.76 ↘ 109 ↑ 3.34 ↘ 109 )e ↑0.029(t ↑1965)
subject to P(t0 ) = P0 is
P0 K
P(t) = (4)
P0 + (K ↑ P0 )e ↑r (t ↑t0 )
Notice that
lim P(t) = K .
t ↔⇐
23 24
Take experimental value K = 10.76 billion, r = 0.029, t0 = 0 Example: Spread of a disease in a community
.
25 26
Example: Spread of a disease in a community Example: Spread of a disease in a community
You are asked to model the spread of a disease in a community. You are asked to model the spread of a disease in a community.
This task is quite a vague one. This task is quite a vague one.
What are the important questions to ask and assumptions to What are the important questions to ask and assumptions to
make? make?
→ Is the community isolated? → Is the community isolated?
27 28
Example: Spread of a disease in a community Example: Spread of a disease in a community
You are asked to model the spread of a disease in a community. You are asked to model the spread of a disease in a community.
This task is quite a vague one. This task is quite a vague one.
What are the important questions to ask and assumptions to What are the important questions to ask and assumptions to
make? make?
→ Is the community isolated? → Is the community isolated?
→ How many people are in the community? → How many people are in the community?
→ Are people currently sick? If so, how many? → Are people currently sick? If so, how many?
29 30
Example: Spread of a disease in a community Example: Spread of a disease in a community
You are asked to model the spread of a disease in a community. You are asked to model the spread of a disease in a community.
This task is quite a vague one. This task is quite a vague one.
What are the important questions to ask and assumptions to What are the important questions to ask and assumptions to
make? make?
→ Is the community isolated? → Is the community isolated?
→ How many people are in the community? → How many people are in the community?
→ Are people currently sick? If so, how many? → Are people currently sick? If so, how many?
→ Is the disease bad and deadly? → Is the disease bad and deadly?
.
31 32
Infection models Example: Spread of a disease in a community
person, sometimes the healthy person gets sick. Notice that when
happens: healthy people cannot infect others and the sick people
cannot become sick again. Let S(t) be the number of healthy people at time t. Let I(t) be the
. number of sick people at time t. Denoting the total population by
N, we see that N = S + I.
.
33 34
Each person can only move from the susceptibles to the infectives
compartment. Thus, as the number of susceptibles decreases, the Number of contacts you chill with (contact rate c)
CDC (US). .
What is p for influenza and corona virus?
.
37 38
39 40
The rate of infection is the rate at which healthy people get sick, Governing Equation:
for example, per day.
The contact rate, ω, may be chosen as a constant, for which,
dS S(t)I(t)
regardless of the population size, the number of people we are in = ↑ω(N)
dt N
contact with remains the same. dI S(t)I(t)
= ω(N)
dt N
IS
number of new cases per time = ω(N)
N Let ω(N) = ωN(mass action incidence), ω ↗ R, then
dS
= ↑ωSI
dt
dI
= ωSI
dt
I0 N
I(t) = (7)
(N ↑ I0 )e ↑N ωt + I0
and
S(t) = N ↑ I(t)
and
S(t) ↔ 0.
Figure: N=30 and ω = 0.035
.
43 44
In the SI model, once a susceptible person becomes infected, he or
From the graphs , we see that the infectious population curve she will remain infective forever. This applies to epidemics with no
asymptotically approaches the total population, N. That is, immunity, e.g., AIDS.
I(t) ↔ N as t ↔ ⇐, and that, S(t) ↔ 0 and t ↔ ⇐.
Also, as I0 increases, it is taking less longer for S(t) to decay to
zero. More and more people are also getting infected per time. For ω I(1)
0.5 30
example, at t = 4, the table below shows the number of people who
0.2 28
are infected as I0 increases.
0.1 12
0.05 4
I0 1 2 5 10
I(4) 21 25 28 30
. Figure: I0 = 1 and N = 30
.
45 46
SIR model
A more realistic model is the SIR model also called the
Kermack-Mckendrick SIR model. This model accounts for three
distinct populations: the healthy (Susceptibles), the sick Mass action incidence (ω = ωN)
(Infectives), and the recovered (Removeds). In 1927, Kermack and
dS
= ↑ωS(t)I(t),
McKendrick proposed a system of di!erential equations for the SIR dt
model. dI
= ωS(t)I(t) ↑ µI(t)
Model subdivides total population at time t, denoted N(t) into dt
.
The graph of S(t), I(t) and R(t) are shown. Initially, there are 29
susceptibles, one infective and zero recovereds. And as time
evolves, the number of susceptibles goes to zero while the number
of infectives rises up to a peak and then begins to drop.
49 . 50
Model with birth and death
Let P(t) represent the number of healthy people at time t.
Let I(t) be the number of sick people at time t.
Let
N = P(0) + I(0)
51 52
Governing Equations
Initially,
N 4N
I(0) = , P(0) =
5 5
.
53 54
55 56
Exercise 1 Exercise 1 continued
(1.) Solve the equations for I(t) and P(t) subject to (4.) Did you notice any conservation principle used in the
I(0) = N/5, P(0) = 4N/5. Provide plots in Matlab or modelling?
Mathematica. Experiment with di!erent parameter values for (4.) Ideally, the population of any species always change by integer
ε, ω, ϑ and N. amounts with time. Also, time should be discrete, not
(2.) Suppose a vaccination is now available. People in P get continuous. Therefore population and time need not to be a
vaccinated at a rate ϖP. Rewrite the governing equations for continuous variable. Population should therefore never be a
this scenario and plot your results in Mathematica. di!erentiable function of time. On what grounds am I able to
(3.) Discuss on the two model above consider the population problem as continuous?
. .
57 58
59 60
Standard Incidence: ω(N) = ω
Divide S , I and R by the population size N. That is,
S = S/N , I = I/N , R = R/N. Resulting model (after dropping
the overbar) dS
= ↑ωS(t)I(t),
SIR model (No vital dynamics) dt
dI
= ωS(t)I(t) ↑ µI(t) (8)
dS dt
= ↑ωS(t)I(t),
dt
The region of interest is given by
dI
= ωS(t)I(t) ↑ µI(t) %
dt %
T = {(S , I)%%S ⇑ 0, I ⇑ 0, S + I ⇓ 1}
dR
= µI(t)
dt
The equilibrium points for (8) is ( ω , 0)and(0, 0).
µ
dS
= f1 (S , I) = ↑ωS(t)I(t),
dt
dI
= f2 (S , I) = ωS(t)I(t) ↑ µI(t) (9)
dt
. 63 64
Disease-free equilibrium
65