Bài giảng Mô hình hóa toán học - Chapter 6: Dynamical Systems

Dynamical Systems  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
Chapter 6  
Dynamical Systems  
Discrete Mathematics II/Mathematical Modelling  
Contents  
Introduction  
Malthusian Growth  
Model  
Properties of the  
systems  
System of ODEs  
Homeworks  
Nguyen An Khuong, Huynh Tuong Nguyen  
Faculty of Computer Science and Engineering  
University of Technology, VNU-HCM  
6.1  
Dynamical Systems  
Contents  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
1 Introduction  
Contents  
2 Malthusian Growth Model  
3 Properties of the systems  
4 System of ODEs  
5 Homeworks  
Introduction  
Malthusian Growth  
Model  
Properties of the  
systems  
System of ODEs  
Homeworks  
6.2  
Dynamical Systems  
Change?!  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
Dynamical systems: Tools for constructing and manipulating  
models  
•
So we often have to model dynamic systems.  
Contents  
•
Discrete −→ difference equations (“linear" vs “nonlinear",  
Introduction  
“single variable" vs “multivariate")  
Malthusian Growth  
Model  
•
Continuous −→ differential equations (“ordinary" vs “partial";  
“linear" vs “nonlinear")  
Properties of the  
systems  
•
•
We will formulate the equations, analyze their properties and  
learn how to solve them.  
System of ODEs  
Homeworks  
To start there are many good references on this subject,  
including:  
•
F.R. Giordano, W.P. Fox & S.B. Horton, A First Course in  
Mathematical Modeling, 5th ed., Cengage, 2014.  
•
A Iserles, A First Course in the Numerical Analysis of  
Differential Equations, 2nd. Cambridge University Press, 2008  
6.3  
Dynamical Systems  
Single Species Equations: Growth  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
Basic concept that individuals divide to increase a population  
can be modeled mathematically using a differential equation  
Contents  
Introduction  
Malthusian Growth  
Model  
•
Can loosely be applied to populations that don’t divide to  
populate  
Properties of the  
systems  
•
Attributed to Malthus, who in 1798 found small group of  
organisms obeyed growth law  
System of ODEs  
Homeworks  
•
The solution to the equation concerned him greatly  
6.4  
Dynamical Systems  
Exponential Growth  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
As an example, consider the classic example of bacteria on a  
petri dish.  
•
Let’s say the number on the plate grows by 10% each hour  
and the initial population is x0 = 1000.  
Contents  
Introduction  
•
•
After the first hour: x1 = 1000 + (0.1) ∗ 1000 = 1000 ∗ (1.1)  
Malthusian Growth  
Model  
After the second hour:  
Properties of the  
systems  
x2 = 1000 ∗ (1.1) + (0.1) ∗ (1000 ∗ 1.1) =  
1000 ∗ (1.1) ∗ (1.1) = 1000 ∗ (1.1)2  
System of ODEs  
Homeworks  
After the third hour: x3 = 1000 ∗ (1.1)3 etc.  
•
•
In general, xt = xo(1 + r)t which can be written as xt = x0at  
where a = (1 + r) The solution for the Bacteria is thus an  
exponential function of base 1 + r.  
•
The (discrete) dynamical system: xt = axt−1. (recurrent  
relation/difference equation)  
6.5  
Dynamical Systems  
Instantaneous Exponential Growth  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
In the last slide we examined growth at some kind of finite  
increment using an average growth rate r over that increment.  
•
•
What happens if the growth process is continuous?  
Divide the growth process over the time increment into nt  
r
n
stages with the growth rate for each stage being where r is  
Contents  
the average growth over the increment.  
Introduction  
Malthusian Growth  
Model  
r
x(t) = xo(1 + )nt.  
(1)  
(2)  
Properties of the  
systems  
n
System of ODEs  
Homeworks  
•
•
Look at the limit as we divide our interval into ∞ pieces.  
r
lim x0[(1 +  
)
n/r]rt.  
n→∞  
n
We can pull x0 out of the limit. In brackets we have the  
irrational number e:  
x(t) = x0ert.  
(3)  
6.6  
Dynamical Systems  
Instantaneous Exponential Growth (cont’d)  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
Our time-dependent population equation satisfies the  
fundamental differential equation:  
dx  
x˙ =  
= x0 = rx  
(4)  
dt  
where r is the (in this situation) constant growth rate.  
Contents  
(See how to derive the equation above in page 462, [Giordano  
et al.], eqn(11.5).)  
The solution to these equation can be found by separating  
variables and integrating.  
Introduction  
Malthusian Growth  
Model  
•
•
Properties of the  
systems  
System of ODEs  
Homeworks  
ln|x(t)| = rt + c  
(5)  
and applying the initial condition that x(0) = xo at t = 0 to  
get  
ln |x(t)| = rt + ln |xo|  
Take the exponential of both sides to give the exact solution  
to the instantaneous growth equation  
(6)  
x(t) = xoert  
(7)  
6.7  
Dynamical Systems  
Exponential Growth: Solution properties  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
We can calculate the time to double the population (known  
as the "rule of 70" in financial circles)  
ln(2)  
.70  
tdouble  
=
∼
.
(8)  
r
r
Contents  
•
What does the solution look like? On a log plot, it is a  
straight line of slope r.  
Introduction  
Malthusian Growth  
Model  
Properties of the  
systems  
System of ODEs  
Homeworks  
•
Is this realistic?  
6.8  
Dynamical Systems  
What if our growth rate was negative?: Mortality  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
x˙ = −mx  
(9)  
•
We have exponential decay. Solution will tend toward zero, no  
matter what the initial condition was  
Contents  
Introduction  
Malthusian Growth  
Model  
Properties of the  
systems  
System of ODEs  
Homeworks  
•
•
Most systems have both growth and decay terms.  
Example, our phytoplankton equation will have terms for  
growth as a function of light, temperature, and nutrients, and  
decay (mortality).  
6.9  
Dynamical Systems  
More realistic model: Finite Resources  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
We now know that growth cannot continue forever because of  
finite resources and in fact in simplified scenarios will reach a  
given constant level K know as the carrying capacity of the  
system.  
Contents  
Introduction  
•
Verhulst noticed that simple populations appear to be capped  
and added an additional term to remove excess capacity.  
Malthusian Growth  
Model  
Properties of the  
systems  
x
x˙ = rx(1 −  
)
(10)  
(11)  
System of ODEs  
Homeworks  
K
•
•
We can always nondimensionalize this by the carrying  
capacity to give  
x˙ = rx(1 − x)  
This is commonly known as logistic growth  
6.10  
Dynamical Systems  
Logistic Growth: Solution  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
This equation has solutions that tend toward K for all initial  
conditions except for x = xo for which there is no growth  
Contents  
Introduction  
(assuming there is no such thing as a negative population).  
Malthusian Growth  
Model  
•
So, this is mathematically equivalent to a density dependent  
growth rate r0 = r(1 − x).  
Properties of the  
systems  
•
Solution to this equation is  
System of ODEs  
Homeworks  
xoK  
x(t) =  
(12)  
xo + (K − xo)e−rt  
6.11  
Dynamical Systems  
Arbitrary Growth: Polynomial  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
These equations are of the general form  
x˙ = g(x)  
(13)  
where g(x) is a polynomial: g(x) = ao + a1x + a2x2....  
Contents  
•
Malthus, all coefficients are zero except for a1 = r. Growth  
rate constant  
Verhults (logistic), growth rate decreases monotonically  
a0 = 0 by argument that a population can’t spontaneously  
exist  
One can fit any population, but will not elucidate any  
dynamics  
Allee effect: Growth rate might be maximal somewhere in  
between x = 0 and the carrying capacity. Low numbers, can’t  
find mates, high numbers, competition/resources.  
Introduction  
Malthusian Growth  
Model  
•
•
Properties of the  
systems  
System of ODEs  
Homeworks  
•
•
g(x) = a0 + a1x + a2x2  
If a1 > 0 and a2 < 0 we have the Allee effect  
(14)  
•
6.12  
Dynamical Systems  
Critical Points (Fixed Points)  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
Fixed points are steady state solutions of ordinary differential  
equations.  
•
For example, consider the general form of our single species  
population equation x˙ = f(x):  
Contents  
Introduction  
Malthusian Growth  
Model  
x˙ = 0 ⇒ f(x) = 0  
(15)  
Properties of the  
systems  
•
•
In ecosystem dynamics, these fixed points are also known as  
critical points. For the Malthus system (exponential growth),  
we have:  
System of ODEs  
Homeworks  
x˙ = αx = 0 ⇒ xˆ = 0  
(16)  
There is only one critical point (x = 0). How could we reach  
this solution?  
6.13  
Dynamical Systems  
Stability of Critical Points  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
What is the nature of the solution near the critical point? Consider,  
two possibilities for a frog pond starting from a steady state:  
1 Five frogs are killed in a freak accident. The frog population  
returns to the steady state. stable  
Contents  
Introduction  
2 The frog population crashes: unstable  
Malthusian Growth  
Model  
•
Let’s look at the stability of our exponential growth x˙ = αx  
critical point x = 0.  
Properties of the  
systems  
System of ODEs  
Homeworks  
•
If we perturb x to x = 5, what will happen?  
x(t) = xoeαt = 5eαt  
(17)  
•
System will grow exponentially away from the critical point:  
critical point is unstable  
6.14  
Dynamical Systems  
Stability of Critical Points: cont’d  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
Contents  
Introduction  
Malthusian Growth  
Model  
Properties of the  
systems  
System of ODEs  
Homeworks  
•
•
B: Unstable  
A: Stable  
This example relates to states of potential energy, but the analogy  
holds for energy in an ecosystem.  
6.15  
Dynamical Systems  
Stability of Critical Points: Logistic Equation  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
Logistic equation:  
x
x˙ = αx(1 −  
)
(18)  
K
Contents  
Solve for fixed points with x˙ = f(x) = 0. Two fixed points:  
Introduction  
1 xˆ = 0 Nothing exists  
1
Malthusian Growth  
Model  
2 xˆ = K Population is at carrying capacity  
2
Properties of the  
systems  
Though experiment: Are these stable:  
System of ODEs  
Homeworks  
1 x = 0: Perturb system from nothing, what will happen:  
growth! (Unstable)  
2 x = K: Perturb system from carrying capacity, what will  
happen return to K (Stable)  
We will analyze this more rigorously  
6.16  
Dynamical Systems  
Stability of Linear Systems  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
For linear ODEs of the form: x˙ = αx, the stability can be  
determined simply from the sign of α:  
Contents  
•
•
α > 0: Unstable (growth)  
Introduction  
α < 0: Stable (decay)  
Malthusian Growth  
Model  
This is obvious from the solution: x(t) = xoeαt.What about  
Properties of the  
systems  
nonlinear ODEs:  
x
System of ODEs  
Homeworks  
x˙ = αx(1 − )?  
(19)  
K
Trick is to linearize about the critical point. What is linearization:  
We approximate a nonlinear function with a linear function that is  
quite accurate at a given point.  
6.17  
Dynamical Systems  
Linearization  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
We linearize a function near a given point using a Taylor  
Series.  
•
•
For example, take a nonlinear function g(x).  
With approximation theory, we can show that the following  
series f(x) converges to the exact function g(x) at x = a  
Contents  
Introduction  
Malthusian Growth  
Model  
f(x) = g(a) + g0 (a)(x − a) + H.O.T.  
(20)  
Properties of the  
systems  
•
If we retain only the first two terms (zeroth order and linear)  
we have the linearization L(x) of the function g(x) about the  
point a.  
System of ODEs  
Homeworks  
•
•
L(x) = g(a) + g0 (a)(x − a) ∼ g(x)  
What do we need to compute this linearization?  
(21)  
1 The first derivative of the function g(x) evaluated at the  
point x = a  
2 The value of the function at a (g(a))  
6.18  
Dynamical Systems  
Linearization example: Sin  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
•
The sin function is a complex, irrational function.  
However, if we are working around small angles, we can often  
replace it with a more compact function using the  
linearization.  
•
For example, the governing equation for a pendulum is:  
Contents  
Introduction  
Malthusian Growth  
Model  
¨
IΘ + mgl sin Θ = 0  
(22)  
Properties of the  
systems  
where Θ is the angle of perturbation from the vertical.  
System of ODEs  
Homeworks  
•
•
We can simplify the solution if we linearize sin about Θ = 0:  
L(sin Θ) = 0 + cos(Θ)|T heta=0(Θ − 0) = Θ  
(23)  
Using the so-called small angle approximation: we can  
simplify the D.E. to be:  
¨
IΘ + mglΘ = 0  
(24)  
6.19  
Dynamical Systems  
Stability of the Logistic Equation  
Nguyen An Khuong,  
Huynh Tuong Nguyen  
•
Let’s analyze the stability of the critical points of the Logistic  
Equation.  
•
First, let’s evaluate the first derivative:  
Contents  
Introduction  
2αx  
Malthusian Growth  
Model  
f0(x) = α −  
(25)  
(26)  
K
Properties of the  
systems  
•
At the point x = 0, we have, for the Linearization:  
System of ODEs  
Homeworks  
L(x) = 0 + α(x − 0) = αx  
•
•
So, near the critical point x = 0, our logistic equation  
behaves as L(x) = αx (why is this not surprising).  
Thus it is an unstable critical point.  
6.20  
Tải về để xem bản đầy đủ
pdf 40 trang myanh 20300 Free
Bạn đang xem 20 trang mẫu của tài liệu "Bài giảng Mô hình hóa toán học - Chapter 6: Dynamical Systems", để tải tài liệu gốc về máy hãy click vào nút Download ở trên

File đính kèm:

  • pdfbai_giang_mo_hinh_hoa_toan_hoc_chapter_6_dynamical_systems.pdf