Professional Documents
Culture Documents
Difference Equation
N → R, t 7→ y(t)
∆yt = yt+1 − yt
I ∆(c yt ) = c ∆yt
∆ k y t = ∆ ( ∆ k −1 y t ) = ∆ k −1 y t +1 − ∆ k −1 y t
∆yt = 3 ⇔ yt+1 − yt = 3 ⇔ y t +1 = y t + 3
∆2 yt + 2 ∆yt = −3 ⇔
⇔ ( y t +2 − 2 y t +1 + y t ) + 2 ( y t +1 − y t ) = − 3
⇔ y t +2 = y t − 3
Problem:
Find a sequence yt which satisfies the given recursion formula for all
t ∈ N.
y1 = y0 + 3
y2 = y1 + 3 = ( y0 + 3) + 3 = y0 + 2 · 3
y3 = y2 + 3 = ( y0 + 2 · 3) + 3 = y0 + 3 · 3
...
y t = y0 + 3 t
y1 = 32 y0
3 3 3
3 2
y2 = 2 y1 = 2 ( 2 y0 ) = 2 y0
3 3 32
3 3
y3 = 2 y2 = 2 ( 2 y0 ) = 2 y0
...
3 t
yt = 2 y0
3 t
For initial value y0 = 5 we obtain yt = 5 · 2 .
y t +1 + a y t = 0
yt+1 + a yt = C βt+1 + a C βt = 0.
yt = C (− a)t
3
y t +1 − y t = 0
2
has general solution
t
3
yt = C .
2
yt = C βt = C (− a)t
oscillating ⇔ β<0
convergent ⇔ | β| < 1
t t t
yt yt yt
t t t
y t +1 + a y t = s
can be written as
yt = yh,t + y p,t
where
I ph,t is the general solution of the corresponding homogeneous
equation yt+1 + a yt = 0, and
I yh,t is some particular solution of the inhomogeneous equation.
c (t + 1) + (−1) c t = s
y t +1 + a y t = s
yt = C (− a)t + ȳ ( C 6 = 0)
y t +1 − 2 y t = 2
1 = y 0 = C 20 − 2 .
y t = 3 · 2t − 2 .
y t +1 − y t = 3
4 = y0 = C + 3 · 0 .
yt = 4 + 3 t .
p t +1 + ( j ( β + γ ) − 1 ) p t = j ( α + γ )
p t +1 + ( j ( β + γ ) − 1 ) p t = j ( α + γ )
is then
pt = C (1 − j( β + δ))t + p̄
α+γ
where p̄ = β+δ is the price in market equilibrium.
pt = ( p0 − p̄)(1 − j( β + δ))t + p̄
qd,t = qs,t
qd,t = α − βpt (α, β > 0)
qs,t = −γ + δpt−1 (γ, δ > 0)
δ α+γ
β p t + δ p t −1 = α + γ ⇔ p t +1 + p t =
β β
δ α+γ
p t +1 + p t =
β β
As all constants are positive, root − βδ < 0 and thus all solutions of such
a market model oscillate.
The solution converges to the p̄ if δ
β < 1.
D ( p) = α − βp, and S( p) = −γ + δp
qt qt
S
q5
S
q1
q3
q3
q1 q5
q2
q4
q4 q2
D D
pt pt
p3 p1 p0 p2 p4
p1 p3 p4 p2 p0
p̄ p̄
δ>β δ<β
Josef Leydold – Foundations of Mathematics – WS 2022/23 18 – Difference Equation – 23 / 44
Cobweb Model
q3
← Market equilibrium implies new q5
q̄
price p1 given implicitly by q4
D ( p1 ) = q1 . q2
D
↓ In period 2 price p1 yields pt
p1 p3 p4 p2 p0
supply q2 = S( p1 ). p̄
y t +2 + a 1 y t +1 + a 2 y t = s
y t +2 + a 1 y t +1 + a 2 y t = 0
yt = C βt , C β 6= 0
C β t +2 + a 1 C β t +1 + a 2 C β t = 0 .
β2 + a1 β + a2 = 0
β2 + a1 β + a2 = 0
has solutions s
a1 a21
β 1,2 =− ± − a2
2 4
We have three cases:
a21
1. 4 − a2 > 0: two distinct real solutions
a21
2. 4 − a2 = 0: exactly one real solution
a21
3. 4 − a2 < 0: two complex (non-real) solutions
y t +2 − 3 y t +1 + 2 y t = 0 .
Characteristic equation
β2 − 3 β + 2 = 0
β 1 = 1 and β 2 = 2 .
yt = C1 1t + C2 2t = C1 + C2 2t .
t t a1
yt = C1 β + C2 t β , with β = −
2
y t +2 − 4 y t +1 + 4 y t = 0 .
Characteristic equation
β2 − 4 β + 4 = 0
yt = C1 2t + C2 t 2t .
We then have
p
r = |z| = a2 + b2
and
b a
tan θ = because cos θ = r and sin θ = br .
a
From the rules for complex numbers one can derive purely real
solutions of the homogeneous difference equation
y t +2 + a 1 y t +1 + a 2 y t = 0
given by
yt = rt C1 cos(θt) + C2 sin(θt)
√
with r = | β| = a2 and θ = arg( β)
cos θ = a
r = − 2√a1a2
q
b a21
sin θ = r = 1 − 4 a2
y t +2 + 2 y t +1 + 4 y t = 0 .
Characteristic equation
β2 + 2 β + 4 = 0
yt = yh,t + y p,t
where
I yh,t is the general solution of the corresponding homogeneous
equation yt+2 + a1 yt+1 + a2 yt = s, and
I yh,t is some particular solution of the inhomogeneous equation.
s
y p,t =c= if a1 + a2 6= −1.
1 + a1 + a2
s
y p,t = t if a1 + a2 = −1 and a1 6= −2.
a1 + 2
yt+2 + 2 yt+1 + 4 yt = 14 .
y t +2 − 3 y t +1 + 2 y t = 2 .
yh,t = C1 + C2 2t .
yt = yh,t + y p,t = C1 + C2 2t − 2t .
y t +2 + a 1 y t +1 + a 2 y t = s
yt → ȳ for t → ∞ if | β| < 1.
I differences of sequences
I difference equation
I homogeneous and inhomogeneous linear difference equation of
first order with constant coefficients
I cobweb model
I homogeneous and inhomogeneous linear difference equation of
second order with constant coefficients
I stable and unstable fixed points