2 Modelling with Difference Equations Flashcards
difference equations
also called recurrence/ iterative relations/ maps.
*models aiming to describe how a pop changes in time
*relationships between quantities that change over discrete intervals of time, e.g. over time t = 0, 1, 2, . . . , where t represents the generation number t
*for generations that do not overlap
E.g difference equations can be used
Insects often have well-defined annual non-overlapping generations
Adults may lay eggs in spring and then die
The eggs hatch out into larvae, which eat and grow and then overwinter in a pupal stage to reach adulthood the following spring. The size of this population can be modelled with a first-order difference equations giving a relationship between the size in generations t and t + 1
working assumptions for difference equations
(i) evolution happens in synchrony
(reproduction/death occurs at same discrete time);
(ii) populations are large and spatially homogeneous (no space, no fluctuations);
(iii) populations grow asexually (no genetics, no
mating).
Simple growth models
Malthusian growth model
assumes that a population of initial size N_0
vary by a factor λ > 0 each year
t=1: N_1=λN_0
t=2 N_2=λ^2N_0
N_{t+1}= λN_t
scalar first-order map
N_t= λ^tN_0
pop size in gen t
This map is of the first order, since
N_{t+1}= λN_t
scalar first-order map
it is relation between N_{t+1} and N_t,
and
is linear since the right-hand-side depends linearly on N_t
.
growth rate
In a small abuse of language, λ is sometimes called “growth rate”. Stricly speaking the growth rate GR
of the quantity Nt is its “fractional change per unit time”, that is
GR ≡ (1/∆t){N_{t+∆t} − N_t}/N_t
for the case with differential equations
r-1 is actually
limiting term 1-(N_t/K)
Simple growth models
Malthusian growth model
N_t
when t → ∞,
referred to as simple “exponential growth”
as the “geometric growth model”, when λ > 1.
when t → ∞,
Nt →
{∞ if λ > 1
{0 if λ < 1
{N_0 if λ = 1.
when λ > 1 the population grows without bounds (“explodes”): there is exponential or geometric growth
when λ < 1 population decreases and goes extinct exponentially (geometrically)
when λ = 1. its size remains constant if λ = 1.
malthusian growth negative
This is generally not realistic! In most applications, growth depends on finite resources: exponential growth occurs initially, when there are plenty of resources, and then slows down as resources become more scarce.
This has motivated modifications of Malthus’ model. The basic idea is to assume that resources are limited and that a population size cannot be maintained above certain carrying capacity
growth limiting term/factor model
Nₜ₊₁= rNₜ + F(Nₜ)
Nₜ₊₁ results from the growth of Nₜ at a rate r that is limited by a growth term F(Nₜ)
Usually F(N_t)=-(r/K) Nₜ²
with r>0
0 < K < ∞ is the carrying capacity.
Growth limiting factor ensures pop size Nₜ positive and doesn’t exceed K when 0<N_0≤K
and 0 < r ≤ 4
initially exponential growth for small pops then increase to limiting capacity 1 - (N_0/k) where slows stops growing decreases
difference equation for the pop model with growth limiting term.
SCALED
Nₜ₊₁= rNₜ[ 1- (Nₜ/K)]
xₜ= Nₜ/K of the carrying capacity used at time t
substituting to find the first-order difference equation
xₜ₊₁= rxₜ [1-xₜ]
0 < r ≤ 4
0<x₀<1
ensures x_t in [0,1] for all t in N_0={1,2,3,…}
xₜ=Nₜ/K is the pop size relative to carrying capacity that it can never exceed
logistic map
xₜ₊₁= rxₜ [1-xₜ]
nonlinear difference equation of first-order
generic form of a scalar first-order linear difference equation, or “one-dimensional first- order linear map”
xₜ₊₁= aₜxₜ +bₜ
for t=0,1,…
*coeffs aₜ and bₜ can be functions of the discrete time t
* equation is scalar (1D) as consist of one variable
*LINEAR since RHS dep only linearly on x_t
*FIRST ORDER because x at t+1 def only of its value at prev iteration
The linear first-order scalar map is autonomous if
a_t = a and b_t = b are independent of t,
and non-autonomous otherwise
The linear first-order scalar map is homogeneous if
b_t=0
inhomogeneous otherwise
x_{t+1}=2x_t +1 is…
linear autonomous and inhomogeneous
x_{t+1}=2t x_t is….
linear non-autonomous and homogeneous
scalar first-order autonomous linear map
x_{t+1} = ax_t + b
with given initial condition x_0 where a,b are constant and t=0,1,…
LINEAR FIRST ORDER MEANS IT CAN BE SOLVED BY THE PRINCIPLE OF SUPERPOSITION
we can find an explicit eq for x_t prediction without iterating
x_{t+1} = ax_t + b
with given initial condition x_0 where a,b are constant and t=0,1,..
SOLVING BY THE PRINCIPLE OF SUPERPOSITION
1) seek general sol of homogeneous eq
x⁽ʰ⁾ₜ₊₁ = ax⁽ʰ⁾ₜ
x⁽ʰ⁾ₜ₊₁ = aᵗ *constant. dep on IC but found later?
2) particular sol of inhomogeneous eq
x⁽ᵖ⁾ₜ₊₁ = ax⁽ᵖ⁾ₜ + b
x⁽ᵖ⁾ₜ = b/(1-a) if a≠1
3)GENERAL SOL
xₜ = x⁽ʰ⁾ₜ + x⁽ᵖ⁾ₜ
Constant= found now
How is the particular solution found?
particular sol of inhomogeneous eq
x⁽ᵖ⁾ₜ₊₁ = ax⁽ᵖ⁾ₜ + b
x⁽ᵖ⁾ₜ₊₁ = ax⁽ᵖ⁾ₜ + b
suppose x⁽ᵖ⁾ₜ = constant C
C=aC+b
C= (1-a)/b
x⁽ᵖ⁾ₜ = b/(1-a) if a≠1
x_{t+1} = ax_t + b
with given initial condition x_0 where a,b are constant and t=0,1,..
**
SOLUTION BY THE PRINCIPLE OF SUPERPOSITION**
xₜ =
{x₀aᵗ + b [(1-aᵗ)/(1-a) ]. if a≠1
{x₀ +bt if a =1
Constant =in homogeneous gen sol found at the end
solution by principle of superposition
In the special case a = 1,
the homogeneous equation becomes
x⁽ʰ⁾ₜ₊₁ = x⁽ʰ⁾ₜ
general sol
x⁽ʰ⁾ₜ₊₁ = c
particular sol
x⁽ᵖ⁾ₜ₊₁ = x⁽ᵖ⁾ₜ + b
x⁽ᵖ⁾ₜ = dt
substitution d(t+1)=dt+b d=b
x⁽ᵖ⁾ₜ = bt
xₜ = c+bt
c=x_0 found
xₜ =
{x₀aᵗ + b [(1-aᵗ)/(1-a) ]. if a≠1
{x₀ +bt if a =1
long term behaviour of map
t → ∞:
x_t →∞. when|a|>1
x_t →0. when|a|<1.
x_t grows/decreases exponentially in t when |a|≠ 1
When a < 0, solution x_t decreases (if −1 < a < 0)
or
increases (if a < −1) and its sign changes, or “switches”, with t.
When a = 1, x_t grows linearly with t.
difference equations
scalar first-order nonlinear map
nonlinear maps
one single variable x
difference equations for which x_{t+1) depends nonlinearly on x_t,x_(t-1)
when x_{t+1} depends nonlinearly only on x_t we have a scalar first order nonlinear map with general form
x_(t+1)=f(x_t)
function generally. nonlinear we focus on autonomous not dep on t
nonlinear cannot solve analytically
example of a scalar first-order nonlinear map
Logistic map
logistic map
x_(t+1)=f(x_t)
f(x_t)= rxₜ [1-xₜ]
xₜ₊₁= rxₜ [1-xₜ]
with 0 < r ≤ 4 as ensures 0<x≤1 we require this as x represents the density of a pop
nonlinear maps can’t be solved exactly but we use linear stability analysis and cobweb by looking for FPs