economic faculty

73
Beatrice Venturi 1 Economic Faculty STABILITY AND DINAMICAL SYSTEMS prof. Beatrice Venturi

Upload: mervin

Post on 10-Jan-2016

40 views

Category:

Documents


0 download

DESCRIPTION

Economic Faculty. STABILITY AND DINAMICAL SYSTEMS. prof. Beatrice Venturi. 1.STABILITY AND DINAMICAL SYSTEMS. We consider a differential equation:. with f a function independent of time t , represents a dynamical system. 1.STABILITY AND DINAMICAL SYSTEMS. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Economic Faculty

Beatrice Venturi 1

Economic Faculty

STABILITY AND DINAMICAL SYSTEMS

prof. Beatrice Venturi

Page 2: Economic Faculty

mathematics for economics Beatrice Venturi

2

1.STABILITY AND DINAMICAL

SYSTEMS We consider a differential equation:

)((*) xfx

dt

d

with f a function independent of time t , represents a dynamical system .(*)

Page 3: Economic Faculty

mathematics for economics Beatrice Venturi

3

a = is an equilibrium point of our system

x(t) = a is a constant value.such that

f(a)=0 The equilibrium points of our system are the

solutions of the equation

f(x) = 0

1.STABILITY AND DINAMICAL SYSTEMS

(*)

Page 4: Economic Faculty

mathematics for economics Beatrice Venturi

4

Market Price

)]()([ padt

dp

)()( apadt

dp

( )d s

dpa Q Q

dt

Page 5: Economic Faculty

mathematics for economics Beatrice Venturi

5

Dynamics Market Price

The equilibrium Point

)(

)(

p

costante)( tp

)( pfdt

dp 0)( pf

0)]()([ pa

Page 6: Economic Faculty

mathematics for economics Beatrice Venturi

6

Dynamics Market Price

)(

,))0(()(

akdove

pepptp kt

The general solution with k>0 (k<0) converges to (diverges from) equilibrium asintotically stable

(unstable)

Page 7: Economic Faculty

mathematics for economics Beatrice Venturi

7

The Time Path of the Market Price

Page 8: Economic Faculty

mathematics for economics Beatrice Venturi

8

1.STABILITY AND DINAMICAL SYSTEMS

Given

)(xdt

df

x

)(xfx

Page 9: Economic Faculty

mathematics for economics Beatrice Venturi

9

1.STABILITY AND DINAMICAL SYSTEMS

Let B be an open set and a Є B, a = is a stable equilibrium point if for any

x(t) starting in B result:

atxt

)(lim

Page 10: Economic Faculty

Mathematics for Economics Beatrice Venturi

10

A Market Model with Time Expectation:

Let the demand and supply functions be:

40)(222

2

tPdt

dP

dt

PdQd

5)(3 tPQs

Page 11: Economic Faculty

A Market Model with Time Expectation

mathematics for economics Beatrice Venturi

11

45)(522

2

tPdt

dP

dt

Pd

In equilibrium we have

sD QQ

Page 12: Economic Faculty

Mathematics for Economics Beatrice Venturi

12

A Market Model with Time Expectation

tCetP )(

tt eCdt

PdandeC

dt

dP 22

2

We adopt the trial solution:

In the first we find the solution of the homogenous equation

tt eCdt

PdandeC

dt

dP 22

2

Page 13: Economic Faculty

Mathematics for Economics Beatrice Venturi

13

A Market Model with Time Expectation

We get:

0)52( 2 teC

The characteristic equation

0522

Page 14: Economic Faculty

Mathematics for Economics Beatrice Venturi

14

A Market Model with Time Expectation

We have two different rootsiandi 2121 21

the general solution of its reduced homogeneous equation is

tectectP tt 2sin2cos)( 21

Page 15: Economic Faculty

A Market Model with Time Expectation

mathematics for economics Beatrice Venturi

15

95/45)( tP

The intertemporal equilibrium is given by the particular integral

92sin2cos)( 21 tectectP tt

Page 16: Economic Faculty

A Market Model with Time ExpectationWith the following initial conditions

mathematics for economics Beatrice Venturi

16

12)0( P

1)0(' PThe solution became

92sin22cos3)( tetetP tt

Page 17: Economic Faculty

mathematics for economics Beatrice Venturi

17

The equilibrium points of the system

))(),((

))(),(()1(

2122

2111

xyxyfdx

dy

xyxyfdx

dy

STABILITY AND DINAMICAL SYSTEMS

Page 18: Economic Faculty

mathematics for economics Beatrice Venturi

18

STABILITY AND DINAMICAL SYSTEMS

Are the solutions :

0))(),((

0))(),(()2(

212

211

xyxyf

xyxyf

Page 19: Economic Faculty

mathematics for economics Beatrice Venturi

19

)()(

)()((*)

tdytcxdt

dy

tbytaxdt

dx

The linear case

Page 20: Economic Faculty

mathematics for economics Beatrice Venturi

20

We remember that

x'' = ax' + bcx + bdyby = x' − ax

x'' = (a + d)x' + (bc − ad)x x(t) is the solution (we assume z=x)

z'' − (a + d)z' + (ad − bc)z = 0. (*)

Page 21: Economic Faculty

mathematics for economics Beatrice Venturi

21

The Characteristic Equation

If x(t), y(t) are solution of the linear system then x(t) and y(t) are solutions

of the equations (*).

The characteristic equation of (*) is

p(λ) = λ2 − (a + d)λ + (ad − bc) = 0

Page 22: Economic Faculty

mathematics for economics Beatrice Venturi

22

Knot and Focus The stable case

Page 23: Economic Faculty

mathematics for economics Beatrice Venturi

23

Knot and Focus The unstable case’

Page 24: Economic Faculty

mathematics for economics Beatrice Venturi

24

Some ExamplesCase a)λ1= 1 e λ2 = 3

)(2)(

)()(2)1(

212

211

txtxdt

dx

txtxdt

dx

Page 25: Economic Faculty

mathematics for economics Beatrice Venturi

25

Case b) λ1= -3 e λ2 = -1

)(2)(

)()(2)2(

212

211

txtxdt

dx

txtxdt

dx

Page 26: Economic Faculty

mathematics for economics Beatrice Venturi

26

Case c) Complex roots λ1 =2+i and λ2 = 2-i,

)(2)(

)()(2)3(

212

211

txtxdt

dx

txtxdt

dx

Page 27: Economic Faculty

mathematics for economics Beatrice Venturi

27

System of LINEAR Ordinary Differential Equations

Where A is the matrix associeted to the coefficients of the system:

)()(

)()(

2221

1211

xaxa

xaxaA

Page 28: Economic Faculty

mathematics for economics Beatrice Venturi

28

STABILITY AND DINAMICAL SYSTEMS

Definition of MatrixA matrix is a collection of numbers

arranged into a fixed number of rows and columns. Usually the numbers are real numbers. Here is an example of a matrix with two rows and two columns:

Page 29: Economic Faculty

mathematics for economics Beatrice Venturi

29

STABILITY AND DINAMICAL SYSTEMS

t

t

ectx

ectx2

22

11

)(

)(

Page 30: Economic Faculty

STABILITY AND DINAMICAL SYSTEMS

mathematics for economics Beatrice Venturi

30

20

01A

Page 31: Economic Faculty

mathematics for economics Beatrice Venturi

31

STABILITY AND DINAMICAL SYSTEMS

Examples

)(2

)()1(

22

11

txdt

dx

txdt

dx

Page 32: Economic Faculty

mathematics for economics Beatrice Venturi

32

STABILITY AND DINAMICAL SYSTEMS

)(2

)()2(

22

11

txdt

dx

txdt

dx

Page 33: Economic Faculty

STABILITY AND DINAMICAL SYSTEMS

mathematics for economics Beatrice Venturi

33

20

01A

Page 34: Economic Faculty

Eigenvectors and Eigenvalues of a Matrix

The eigenvectors of a square matrix are the non-zero vectors that after being multiplied by the matrix, remain parellel to the original vector.

Page 35: Economic Faculty

mathematics for economist Beatrice Venturi

35

Eigenvectors and Eigenvalues of a Matrix

Matrix A acts by stretching the vector x, not changing its direction, so x is an eigenvector of A. The vector x is an eigenvector of the matrix A with eigenvalue λ (lambda) if the following equation holds:

xAx

Page 36: Economic Faculty

Eigenvectors and Eigenvalues of a Matrix

This equation is called the eigenvalues equation.

mathematics for economist Beatrice Venturi

36

xAx

Page 37: Economic Faculty

Eigenvectors and Eigenvalues of a Matrix

The eigenvalues of A are precisely the solutions λ to the equation:

Here det is the determinant of matrix formed by

A - λI ( where I is the 2×2 identity matrix). This equation is called the characteristic equation

(or, less often, the secular equation) of A. For example, if A is the following matrix (a so-called diagonal matrix):

mathematics for economist Beatrice Venturi

37

Page 38: Economic Faculty

mathematics for economist Beatrice Venturi

38

Eigenvectors and Eigenvalues of a Matrix

Example

020

01det)det(

IA

0)2)(1(

Page 39: Economic Faculty

mathematics for economics Beatrice Venturi

39

We consider

)()()1( 212

2

xfxyadx

yda

dx

yd

STABILITY AND DINAMICAL SYSTEMS

Page 40: Economic Faculty

mathematics for economics Beatrice Venturi

40

We get the system:

)()()()(

)()2(

21122

21

xfxyxaxyadx

dy

xydx

dy

STABILITY AND DINAMICAL SYSTEMS

Page 41: Economic Faculty

mathematics for economics Beatrice Venturi

41

STABILITY AND DINAMICAL SYSTEMS

)()(

10

12 xaxaA

Page 42: Economic Faculty

mathematics for economics Beatrice Venturi

42

0)()(

1det

)det(

12

xaxa

IA

The Characteristic Equation

Page 43: Economic Faculty

mathematics for economics Beatrice Venturi

43

STABILITY AND DINAMICAL SYSTEMS

The Characteristic Equation of the matrix A is the same of the equation (1)

0)()1( 212

2

xyadx

yda

dx

yd

Page 44: Economic Faculty

mathematics for economics Beatrice Venturi

44

STABILITY AND DINAMICAL SYSTEMS

0)(23)3(2

2

txdt

xd

dt

xd

)(3)(2

)()4(

212

21

txtxdt

dx

txdt

dx

it’s equivalent to :

EXAMPLE

Page 45: Economic Faculty

mathematics for economics Beatrice Venturi

45

STABILITY AND DINAMICAL SYSTEMS

Page 46: Economic Faculty

mathematics for economics Beatrice Venturi

46

Eigenvalues

p( λ) = λ2 − (a + d) λ + (ad − bc) = 0

The solutions

are the eigenvalues of the matrix A.

Page 47: Economic Faculty

mathematics for economics Beatrice Venturi

47

STABILITY AND DINAMICAL SYSTEMS

)(3

1)()(

)()(2)()3(

2212

2111

txtxtxdt

dx

txtxtxdt

dx

Page 48: Economic Faculty

mathematics for economics Beatrice Venturi

48

STABILITY AND DINAMICAL SYSTEMS

Solving this system we find the equilibrium point of the non-linear system (3):

:

0)(3

1)()(

0)()(2)()4(

221

211

txtxtx

txtxtx

Page 49: Economic Faculty

mathematics for economics Beatrice Venturi

49

STABILITY AND DINAMICAL SYSTEMS

),()(3

1)()(

),()()(2)()3(

212212

212111

xxgtxtxtxdt

dx

xxftxtxtxdt

dx

Page 50: Economic Faculty

mathematics for economics Beatrice Venturi

50

STABILITY AND DINAMICAL SYSTEMS

)0,0(),( 21 xx

)2

1,

3

1(),( 21 xx

Page 51: Economic Faculty

mathematics for economics Beatrice Venturi

51

Jacobian Matrix

21

2

1

121 ),(

x

g

x

g

x

f

x

f

xxJ

3

1

221),(

12

12

21xx

xxxxJ

Page 52: Economic Faculty

mathematics for economics Beatrice Venturi

52

Jacobian Matrix

3

10

01)0,0(J

3

10

01)det( AI

Page 53: Economic Faculty

mathematics for economics Beatrice Venturi

53

Jacobian Matrix

??

??)2/1,3/1(J

Page 54: Economic Faculty

mathematics for economics Beatrice Venturi

54

Stability and Dynamical Systems

.01

dt

dx02

dt

dx

Page 55: Economic Faculty

mathematics for economics Beatrice Venturi

55

Stability and Dynamical Systems

Given the non linear system:

1)()(

)()()4(

22

12

211

txtxdt

dx

txtxdt

dx

Page 56: Economic Faculty

mathematics for economics Beatrice Venturi

56

Stability and Dynamical Systems

01 dt

dx

)()(

0)()(

12

21

txtx

txtx

Page 57: Economic Faculty

mathematics for economics Beatrice Venturi

57

Stability and Dynamical Systems

02 dt

dx

1)()(

01)()(

22

22

1

1

txtx

txtx

Page 58: Economic Faculty

mathematics for economics Beatrice Venturi

58

Stability and Dynamical Systems

f(x)=(x^2)-1

f(x)=x

-4.5 -4 -3.5 -3 -2.5 -2 -1.5 -1 -0.5 0.5 1 1.5 2 2.5 3 3.5 4 4.5

-4

-3

-2

-1

1

2

3

4

x

f(x)

Page 59: Economic Faculty

mathematics for economics Beatrice Venturi

59

Stability and Dynamical Systems

20

01A

11 22

t

t

ectx

ectx2

22

11

)(

)(

Page 60: Economic Faculty

mathematics for economics Beatrice Venturi

60

Stability and Dynamical Systems

f(x)=e^x

f(x)=e^(-2x)

-4.5 -4 -3.5 -3 -2.5 -2 -1.5 -1 -0.5 0.5 1 1.5 2 2.5 3 3.5 4 4.5

-4

-3

-2

-1

1

2

3

4

x

f(x)

Page 61: Economic Faculty

61

LOTKA-VOLTERRAPrey – Predator Model

Page 62: Economic Faculty

The Lotka-Volterra Equations,

Page 63: Economic Faculty

63

We shall consider an ecologic

system

PREy PREDATOR

Page 64: Economic Faculty

mathematics for economics Beatrice Venturi

64

)()()(

)()((*)

2212

2111

tdxtxtcxdt

dx

txbxtaxdt

dx

The Model

Page 65: Economic Faculty

Steady State Solutions

a x1-bx1x2=0c x1x2– d x2=0

a prey growth rate; d mortality rate

Page 66: Economic Faculty

The Jacobian Matrix

J= a11 a12

a21 a22

Page 67: Economic Faculty

mathematics for economics Beatrice Venturi

67

Eigenvalues

p( λ) = λ2 − (a + d) λ + (ad − bc) = 0

The solutions

are the eigenvalues of the matrix A.

Page 68: Economic Faculty

68

TrJ = a11+ a22

a11 a12

a21 a22 J =

THE TRACE

Page 69: Economic Faculty

69

THE DETERMINANT

Det J = a11 a22 – a12 a21

Page 70: Economic Faculty

70

The equilibrium solutions x = 0 y = 0 Unstable

x = d/g y = a/b Stable center

Page 71: Economic Faculty

71

211

22112 /xxx

xxx

dt

dx

dt

dx

22

)( dxx

1

1

)( dxx

cxxxx ||ln||ln 1122

||ln||ln),( 112221 xxxxxxF

Page 72: Economic Faculty

72

1 2 3 4 5 6 7

1

2

3

4

Cycles

Page 73: Economic Faculty

73