Docsity

Gozzi-Economia-2017.4, Dispense di Microeconomia

Toggle sidebar
bg1
First order DE/ODE, linear homogeneous
and with constant coefficients
Lectures: October 4-5
We study the case when the maps gand fin (16)
and (17) are autonomous and linear in the variable
x.
First let us explain the words used in the title. In
many textbooks, when gand fare linear in x, one
says that the DE/ODE is “linear homogeneous”, whi-
le it is said “linear non homogeneous” when gand f
are affine.
Moreover on says that a linear DE/ODE “with con-
stant coefficients” when it is autonomous.
78
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24

Anteprima parziale del testo

Scarica Gozzi-Economia-2017.4 e più Dispense in PDF di Microeconomia solo su Docsity!

First order DE/ODE, linear homogeneous and with constant coefficients

Lectures: October 4- We study the case when the maps g and f in (16) and (17) are autonomous and linear in the variable x. First let us explain the words used in the title. In many textbooks, when g and f are linear in x, one says that the DE/ODE is “linear homogeneous”, whi- le it is said “linear non homogeneous” when g and f are affine. Moreover on says that a linear DE/ODE “with con- stant coefficients” when it is autonomous.

Example

In the simple case of the bank account with con- stant interest rate we know the initial capital x(0) and the following evolution law:

  • (discrete time) x(t + 1) = x(t) + rx(t);
  • (continuous time) x′(t) = δx(t).

We introduce the linear operators S (DT case) e D (CT case) as follows

(Sx)(t) = x(t + 1) , (Dx)(t) = x′(t) (20)

Then we rewrite the above equation as:

(Sx)(t) − (1 + r)x(t) = 0, t ∈ N (Dx)(t) − δx(t) = 0, t ∈ R+.

Notice! What bare domain and arrival space of S and D? Are they linear operators?

Theorem 30. Case n = 1, DE.

(1) We have, for x(·) ∈ RN

x(t+1) = ax(t), ∀t ∈ N ⇐⇒ x(·) ∈ ker(S−aI). (22)

(2) If we add the initial condition x(0) = x 0 , the unique solution of the associated CP-DE is x(t) = x(t; 0, x 0 ) = atx 0. (23)

(3) The general solution (i.e. the se of all solutions) of the DE (22) is then the set: {x(t) = atx 0 , x 0 ∈ R} ≤ RN. (24) Consequently the general solution of the DE (22) is a SSV of RN^ of dimension 1. PROOF (1). It follows from the fact that, as seen in the example above, for t ∈ N, x(t+1) = ax(t), ⇐⇒ (S−aI)x = 0. (25)

(2). The fact that the map in (23) is a solution (of the DE: the initial condition is obviously verified) follows by substituting it, for t ∈ N, into the DE: x(t + 1) = at+1x 0 , ax(t) = a · atx 0 = at+1x 0.

Uniqueness of the solution of the CP-DE is shown using the induction principle as follows

Let x(·) be a solution. We want to prove that, for all t ∈ N, we have x(t) = atx 0. Let us call p(t) such a statement.

p(0) is x(0) = x 0 , which is true thanks to the initial condition.

Now we show that p(t) (inductive hypothesis) im- plies p(t + 1).

Using first the DE and then the inductive hypo- thesis, we get

x(t + 1) = ax(t) = a · atx 0 = at+1x 0

The claim then follows from the induction principle.

(3). We only need to prove that the SSV in (24) has dimension 1. This follows from the fact that such SSV is done by all multiples of a given nonze- ro function. Hence there is only one LI generating vector, i.e. 1 dimension.

(2). The fact that the map in (27) is a solution (of the DE: the initial condition is obviously verified) follows by substituting it (using that it belongs to C^1 (R+)), for t ∈ R+, into the ODE:

x′(t) = aetax 0 , ax(t) = a · etax 0.

We now prove uniqueness. First of all let x 1 (·) and x 2 (·) be two solutions of the CP-ODE. Then their difference y(t) := x 1 (t) − x 2 (t) (t ≥ 0 ) solve the same CP-ODE but with zero initional condition. Indeed

y′(t) = x′ 1 (t) − x′ 2 (t) = a(x 1 (t) − x 2 (t)) = ay(t),

and y(0) = x 1 (0) − x 2 (0) = x 0 − x 0 = 0.

It is now enough to prove that, when x 0 = 0, the unique solution of the CP-ODE is the one identically

Let x(·) be a solution of the CP-ODE which is 0 at t = 0. Define the function v as follows:

v(t) := e−atx(t), t ≥ 0

Deriving and using the ODE we have, for all t > 0 ,

v′(t) = −ae−atx(t) + e−atx′(t) =

= −ae−atx(t) + e−atax(t) = 0 Since v′(t) = 0 for all t > 0 , from Lagrange mean value theorem we get that v(t) = v(0) = 0 for all t > 0. It follows that x(t) = 0 for all t > 0.

(3). We only need to prove that the SSV in (28) has dimension 1. This follows from the fact that such SSV is done by all multiples of a given nonze- ro function. Hence there is only one LI generating vector, i.e. 1 dimension.

Exponential of a matrix We call function of matrix a map F : MR(n, n) → MR(n, n).

Recalling the Taylor series (with x 0 = 0) of the exponential function,

et^ = 1 + t +

t^2 +

t^3 + · · · +

k!

tk^ + · · ·

we get, for all a ∈ R:

eat^ = 1 + at +

(at)^2 +

(at)^3 + · · · +

k!

(at)k^ + · · · (33)

In analogy with this, we define

eAt^ = I+At+

(At)^2 +

(At)^3 +· · ·+

k!

(At)k+· · · (34) It is possible to prove that such a series converges for every t ∈ R, hence such function of matrix is well defined.

Theorem 33. Case n > 1 , ODE.

(1) We have, for x(·) ∈ C^1 (R+, Rn)

x′(t) = Ax(t), ∀t ∈ R+ ⇐⇒ x(·) ∈ ker(D−AI). (35)

(2) If we add the initial condition x(0) = x 0 , the unique solution of the associated CP-ODE is x(t) = x(t; 0, x 0 ) = etAx 0 (36)

(3) The general solution (i.e. the set of all solutions) of the ODE (35) is then the set: {x(t) = etAx 0 , x 0 ∈ Rn} ≤ C^1 (R+, Rn). (37) Consequently the general solution of the ODE (35) is: is a of C^1 (R+, Rn) of dimension n.

Proof. As in the case n = 1 with some technical compli- cations. We do not provide it.

EXAMPLES:

A =

A =

A =

Case with Jordan blocks

Block of order 2:

A =

a 1 0 a

Arguing by induction we get (exercise!)

At^ =

at^ tat−^1 0 at

Moreover, using the exponential series, one can prove that

etA^ =

eat^ teat 0 eat

See an alternative proof at the TA session.

Moreover

etA^ = etλ

1 t t

2 2 · · ·^

tn−^2 (n−2)!

tn−^2 (n−1)! 0 1 t...^ · · · t

n− 2 (n−2)! ... 0...... t^2 2

... ...... (^1) t t^2 2 0 0 · · · 0 1 t 0 0 · · · · · · 0 1

Such formulae can be found directly from the ODE (see TA session).

Very Important! Call block matrix a matrix which has, along the main diagonal, square blocks, each one in canonical form. All the other elements are 0. If A is block matrix, then At^ (etA) is a block matrix, too. Moreover each block is the power (ex- ponential) of the corresponding block of A.

Example

A =

a 0 0 0 a 1 0 0 a

At^ =

at^0 0 at^ tat−^1 0 0 at

etA^ =

eta^0 0 eta^ teta 0 0 eta

We also recall that, in the case of complex eigenva- lues, the matrix has the diagonal complex form (in the basis of complex eigenvectors)

A =

a + ib 0 0 a − ib

In such form it is obvious that, by De Moivre for- mula,

At^ =

(a + ib)t^0 0 (a − ib)t

ρt(cos(tθ) + i sin(tθ)) 0 0 ρt(cos(tθ) + i sin(tθ))

Hence, by Euler formula

etA^ =

et(a+ib)^0 0 et(a−ib)

eta(cos(tb) + i sin(tb)) 0 0 eta(cos(tb) − i sin(tb))

Exercise *. Find At^ and etA^ as in the previous pa- ge using the ones of the current page and a suitable change of basis.

General case If A is not in canonical form we can compute At, eAt^ (and, more generally, any function of ma- trix written as series of powers) using the spectral decomposition of A. Let F the basis of eigenvectors. We have At^ = UAt FU−^1 (38) Similarly, using the power series (34) eAt^ = UeAFtU−^1 ,