Beatrice Venturi1 Economic Faculty STABILITY AND DINAMICAL SYSTEMS prof. Beatrice Venturi.

Post on 28-Mar-2015

226 views 2 download

Tags:

transcript

Beatrice Venturi 1

Economic Faculty

STABILITY AND DINAMICAL SYSTEMS

prof. Beatrice Venturi

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 .(*)

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

(*)

mathematics for economics Beatrice Venturi

4

Market Price

)]()([ padt

dp

)()( apadt

dp

( )d s

dpa Q Q

dt

mathematics for economics Beatrice Venturi

5

Dynamics Market Price

The equilibrium Point

)(

)(

p

costante)( tp

)( pfdt

dp 0)( pf

0)]()([ pa

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)

mathematics for economics Beatrice Venturi

7

The Time Path of the Market Price

mathematics for economics Beatrice Venturi

8

1.STABILITY AND DINAMICAL SYSTEMS

Given

)(xdt

df

x

)(xfx

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

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

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

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

Mathematics for Economics Beatrice Venturi

13

A Market Model with Time Expectation

We get:

0)52( 2 teC

The characteristic equation

0522

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

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

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

mathematics for economics Beatrice Venturi

17

The equilibrium points of the system

))(),((

))(),(()1(

2122

2111

xyxyfdx

dy

xyxyfdx

dy

STABILITY AND DINAMICAL SYSTEMS

mathematics for economics Beatrice Venturi

18

STABILITY AND DINAMICAL SYSTEMS

Are the solutions :

0))(),((

0))(),(()2(

212

211

xyxyf

xyxyf

mathematics for economics Beatrice Venturi

19

)()(

)()((*)

tdytcxdt

dy

tbytaxdt

dx

The linear case

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. (*)

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

mathematics for economics Beatrice Venturi

22

Knot and Focus The stable case

mathematics for economics Beatrice Venturi

23

Knot and Focus The unstable case’

mathematics for economics Beatrice Venturi

24

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

)(2)(

)()(2)1(

212

211

txtxdt

dx

txtxdt

dx

mathematics for economics Beatrice Venturi

25

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

)(2)(

)()(2)2(

212

211

txtxdt

dx

txtxdt

dx

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

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

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:

mathematics for economics Beatrice Venturi

29

STABILITY AND DINAMICAL SYSTEMS

t

t

ectx

ectx2

22

11

)(

)(

STABILITY AND DINAMICAL SYSTEMS

mathematics for economics Beatrice Venturi

30

20

01A

mathematics for economics Beatrice Venturi

31

STABILITY AND DINAMICAL SYSTEMS

Examples

)(2

)()1(

22

11

txdt

dx

txdt

dx

mathematics for economics Beatrice Venturi

32

STABILITY AND DINAMICAL SYSTEMS

)(2

)()2(

22

11

txdt

dx

txdt

dx

STABILITY AND DINAMICAL SYSTEMS

mathematics for economics Beatrice Venturi

33

20

01A

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.

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

Eigenvectors and Eigenvalues of a Matrix

This equation is called the eigenvalues equation.

mathematics for economist Beatrice Venturi

36

xAx

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

mathematics for economist Beatrice Venturi

38

Eigenvectors and Eigenvalues of a Matrix

Example

020

01det)det(

IA

0)2)(1(

mathematics for economics Beatrice Venturi

39

We consider

)()()1( 212

2

xfxyadx

yda

dx

yd

STABILITY AND DINAMICAL SYSTEMS

mathematics for economics Beatrice Venturi

40

We get the system:

)()()()(

)()2(

21122

21

xfxyxaxyadx

dy

xydx

dy

STABILITY AND DINAMICAL SYSTEMS

mathematics for economics Beatrice Venturi

41

STABILITY AND DINAMICAL SYSTEMS

)()(

10

12 xaxaA

mathematics for economics Beatrice Venturi

42

0)()(

1det

)det(

12

xaxa

IA

The Characteristic Equation

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

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

mathematics for economics Beatrice Venturi

45

STABILITY AND DINAMICAL SYSTEMS

mathematics for economics Beatrice Venturi

46

Eigenvalues

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

The solutions

are the eigenvalues of the matrix A.

mathematics for economics Beatrice Venturi

47

STABILITY AND DINAMICAL SYSTEMS

)(3

1)()(

)()(2)()3(

2212

2111

txtxtxdt

dx

txtxtxdt

dx

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

mathematics for economics Beatrice Venturi

49

STABILITY AND DINAMICAL SYSTEMS

),()(3

1)()(

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

212212

212111

xxgtxtxtxdt

dx

xxftxtxtxdt

dx

mathematics for economics Beatrice Venturi

50

STABILITY AND DINAMICAL SYSTEMS

)0,0(),( 21 xx

)2

1,

3

1(),( 21 xx

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

mathematics for economics Beatrice Venturi

52

Jacobian Matrix

3

10

01)0,0(J

3

10

01)det( AI

mathematics for economics Beatrice Venturi

53

Jacobian Matrix

??

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

mathematics for economics Beatrice Venturi

54

Stability and Dynamical Systems

.01

dt

dx02

dt

dx

mathematics for economics Beatrice Venturi

55

Stability and Dynamical Systems

Given the non linear system:

1)()(

)()()4(

22

12

211

txtxdt

dx

txtxdt

dx

mathematics for economics Beatrice Venturi

56

Stability and Dynamical Systems

01 dt

dx

)()(

0)()(

12

21

txtx

txtx

mathematics for economics Beatrice Venturi

57

Stability and Dynamical Systems

02 dt

dx

1)()(

01)()(

22

22

1

1

txtx

txtx

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)

mathematics for economics Beatrice Venturi

59

Stability and Dynamical Systems

20

01A

11 22

t

t

ectx

ectx2

22

11

)(

)(

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)

61

LOTKA-VOLTERRAPrey – Predator Model

The Lotka-Volterra Equations,

63

We shall consider an ecologic

system

PREy PREDATOR

mathematics for economics Beatrice Venturi

64

)()()(

)()((*)

2212

2111

tdxtxtcxdt

dx

txbxtaxdt

dx

The Model

Steady State Solutions

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

a prey growth rate; d mortality rate

The Jacobian Matrix

J= a11 a12

a21 a22

mathematics for economics Beatrice Venturi

67

Eigenvalues

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

The solutions

are the eigenvalues of the matrix A.

68

TrJ = a11+ a22

a11 a12

a21 a22 J =

THE TRACE

69

THE DETERMINANT

Det J = a11 a22 – a12 a21

70

The equilibrium solutions x = 0 y = 0 Unstable

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

71

211

22112 /xxx

xxx

dt

dx

dt

dx

22

)( dxx

1

1

)( dxx

cxxxx ||ln||ln 1122

||ln||ln),( 112221 xxxxxxF

72

1 2 3 4 5 6 7

1

2

3

4

Cycles

73