Docsity

Ordinary Differential Equations: Theory and Applications, Lecture notes of Differential Equations

Partial preview of the text

Download Ordinary Differential Equations: Theory and Applications and more Lecture notes Differential Equations in PDF only on Docsity!

Ordinary Differential Equations

Simon Brendle

  • Chapter 1. Introduction Preface vii - integrating factors §1.1. Linear ordinary differential equations and the method of
    • §1.2. The method of separation of variables
    • §1.3. Problems
  • Chapter 2. Systems of linear differential equations
    • §2.1. The exponential of a matrix
    • §2.2. Calculating the matrix exponential of a diagonalizable matrix
    • §2.3. Generalized eigenspaces and the L + N decomposition
    • §2.4. Calculating the exponential of a general n × n matrix
      • exponentials §2.5. Solving systems of linear differential equations using matrix
    • §2.6. Asymptotic behavior of solutions
    • §2.7. Problems
  • Chapter 3. Nonlinear systems
    • §3.1. Peano’s existence theorem
    • §3.2. Existence theory via the method of Picard iterates
    • §3.3. Uniqueness and the maximal time interval of existence
    • §3.4. Continuous dependence on the initial data
    • §3.5. Differentiability of flows and the linearized equation
    • §3.6. Liouville’s theorem
    • §3.7. Problems vi Contents
  • Chapter 4. Analysis of equilibrium points
    • §4.1. Stability of equilibrium points
    • §4.2. The stable manifold theorem
    • §4.3. Lyapunov’s theorems
    • §4.4. Gradient and Hamiltonian systems
    • §4.5. Problems - Bendixson theorem Chapter 5. Limit sets of dynamical systems and the Poincar´e-
    • §5.1. Positively invariant sets
    • §5.2. The ω-limit set of a trajectory
    • §5.3. ω-limit sets of planar dynamical systems
    • §5.4. Stability of periodic solutions and the Poincar´e map
    • §5.5. Problems - biology Chapter 6. Ordinary differential equations in geometry, physics, and
    • §6.1. Delaunay’s surfaces in differential geometry
    • §6.2. The mathematical pendulum
    • §6.3. Kepler’s problem
    • §6.4. Predator-prey models
    • §6.5. Mathematical models for the spread of infectious diseases
    • §6.6. A mathematical model of glycolysis
    • §6.7. Problems
  • Chapter 7. Sturm-Liouville theory - second order §7.1. Boundary value problems for linear differential equations of
    • §7.2. The Sturm comparison theorem
    • §7.3. Eigenvalues and eigenfunctions of Sturm-Liouville systems
    • §7.4. The Liouville normal form
      • system §7.5. Asymptotic behavior of eigenvalues of a Sturm-Liouville
    • §7.6. Asymptotic behavior of eigenfunctions
    • §7.7. Orthogonality and completeness of eigenfunctions
    • §7.8. Problems
  • Bibliography

Preface

These notes grew out of courses taught by the author at Stanford University

during the period of 2006 – 2009. The material is all classical. The author is

grateful to Messrs. Chad Groft, Michael Eichmair, and Jesse Gell-Redman,

who served as course assistants during that time.

vii

Chapter 1

Introduction

1.1. Linear ordinary differential equations and the method

of integrating factors

A differential equation is an equation which relates the derivatives of an

unknown function to the unknown function itself and known quantities. We

distinguish two basic types of differential equations: An ordinary differential

equation is a differential equation for an unknown function which depends on

a single variable (usually denoted by t and referred to as time). By contrast,

if the unknown function depends on two or more variables, the equation

is a partial differential equation. In this text, we will restrict ourselves to

ordinary differential equations, as the theory of partial differential equations

is considerably more difficult.

Perhaps the simplest example of an ordinary differential equation is the

equation

(1) x

′ (t) = a x(t),

where x(t) is a real-valued function and a is a constant. This is an example

of a linear differential equation of first order. Its general solution is described

in the following proposition:

Proposition 1.1. A function x(t) is a solution of (1) if and only if x(t) =

c e

at for some constant c.

Proof. Let x(t) be an arbitrary solution of (1). Then

d

dt

(e

−at x(t)) = e

−at (x

′ (t) − a x(t)) = 0.

2 1. Introduction

Therefore, the function e

−at x(t) is constant. Consequently, x(t) = c e

at for

some constant c.

Conversely, suppose that x(t) is a function of the form x(t) = c e

at for

some constant c. Then x

′ (t) = ca e

at = a x(t). Therefore, any function of

the form x(t) = c eat^ is a solution of (1). 

We now consider a more general situation. Specifically, we consider the

differential equation

(2) x

′ (t) = a(t) x(t) + f (t).

Here, a(t) and f (t) are given continuous functions which are defined on some

interval J ⊂ R. Like (1), the equation (2) is a linear differential equation

of first order. However, while the equation (1) has constant coefficients,

coefficients in the equation (2) are allowed to depend on t. In the following

proposition, we describe the general solution of (2):

Proposition 1.2. Fix a time t 0 ∈ J, and let ϕ(t) =

∫ (^) t

t 0

a(s) ds. Then a

function x(t) is a solution of (2) if and only if

x(t) = e

ϕ(t)

( ∫ (^) t

t 0

e

−ϕ(s) f (s) ds + c

for some constant c.

Proof. Let x(t) be an arbitrary solution of (2). Then

d

dt

(e

−ϕ(t) x(t)) = e

−ϕ(t) (x

′ (t) − ϕ

′ (t) x(t))

= e

−ϕ(t) (x

′ (t) − a(t) x(t))

= e

−ϕ(t) f (t).

Integrating this identity, we obtain

e

−ϕ(t) x(t) =

∫ (^) t

t 0

e

−ϕ(s) f (s) ds + c

for some constant c. This implies

x(t) = e

ϕ(t)

t

t 0

e

−ϕ(s) f (s) ds + c

for some constant c.

Conversely, suppose that x(t) is of the form

x(t) = e

ϕ(t)

t

t 0

e

−ϕ(s) f (s) ds + c

4 1. Introduction

To solve this equation, we observe that

1 1+x^2

dx = arctan(x). Hence, if

x(t) is a solution of the given differential equation, then

d

dt

arctan(x(t)) =

1 + x(t)

2

x

′ (t) = t.

Integrating this equation, we obtain

arctan(x(t)) =

t

2

  • c

for some constant c. Thus, we conclude that

x(t) = tan

t

2

  • c

1.3. Problems

Problem 1.1. Find the solution of the differential equation x

′ (t) = −

2 t 1+t^2

x(t)+

1 with initial condition x(0) = 1.

Problem 1.2. Find the solution of the differential equation x

′ (t) =

t t+

y(t)+

1 with initial condition x(0) = 0.

Problem 1.3. Find the general solution of the differential equation x

′ (t) =

x(t) (1 − x(t)). This differential is related to the logistic growth model.

Problem 1.4. Find the general solution of the differential equation x

′ (t) =

x(t) log

1 x(t)

. This equation describes the Gompertz growth model.

Problem 1.5. Let x(t) be the solution of the differential equation x

′ (t) =

cos x(t) with initial condition x(0) = 0.

(i) Using separation of variables, show that

log(1 + sin x(t)) − log(1 − sin x(t)) = 2t.

(Hint: Write

2 cos x

cos x 1+sin x

cos x 1 −sin x

(ii) Show that

x(t) = arcsin

e

t − e

−t

et^ + e−t

= arctan(e

t ) − arctan(e

−t ).

Chapter 2

Systems of linear

differential equations

2.1. The exponential of a matrix

Let A ∈ C

n×n be an n × n matrix. The operator norm of A is defined by

‖A‖op = sup x∈Cn, ‖x‖≤ 1

‖Ax‖.

It is straightforward to verify that the operator norm is submultiplicative;

that is,

‖AB‖op ≤ ‖A‖op ‖B‖op.

Iterating this estimate, we obtain

‖A

k ‖op ≤ ‖A‖

k op

for every nonnegative integer k. This implies that the sequence

∑^ m

k=

k!

A

k

is a Cauchy sequence in C

n×n

. Its limit

exp(A) := lim m→∞

∑^ m

k=

k!

A

k

is referred to as the matrix exponential of A.

Proposition 2.1. Let A, B ∈ C

n×n be two n × n matrices satisfying AB =

BA. Then

exp(A + B) = exp(A) exp(B).

2.2. Calculating the matrix exponential of a diagonalizable matrix 7

Proof. We compute

exp(A) −

I +

m

A

)m

[

exp

m

A

)]m

−

I +

m

A

)m

m∑− 1

l=

[

exp

m

A

)]m−l− 1 [

exp

m

A

− I −

m

A

] (

I +

m

A

)l

.

This gives

∥ ∥ ∥ exp(A)^ −

I +

m

A

)m∥ ∥ ∥ op

m∑− 1

l=

∥ exp

m

A

m−l− 1

op

∥ exp

m

A

− I −

m

A

op

∥I^ +

m

A

l

op

m∑− 1

l=

e

m−l− 1 m ‖A‖op

∥ exp

m

A

− I −

m

A

op

m

‖A‖op

)l

m∑− 1

l=

e

m−l− 1 m ‖A‖op

∥ exp

m

A

− I −

m

A

op

e

l m ‖A‖op

= m e

m− 1 m ‖A‖op

∥ exp

m

A

− I −

m

A

op

On the other hand,

exp

m

A

− I −

m

A =

∞ ∑

k=

k!

mk^

A

k ,

hence

∥ exp

m

A

− I −

m

A

op

∞ ∑

k=

k!

m

k

‖A‖

k op ≤^

m

2

‖A‖

2 op e^

1 m ‖A‖op^.

Putting these facts together, we conclude that

∥ ∥ ∥ exp(A) −

I +

m

A

)m∥ ∥ ∥ op

m

‖A‖

2 op e

‖A‖op .

From this, the assertion follows easily. 

2.2. Calculating the matrix exponential of a diagonalizable

matrix

In this section, we consider a matrix A ∈ C

n×n which is diagonalizable.

In other words, there exists an invertible matrix S ∈ C

n×n and a diagonal

8 2. Systems of linear differential equations

matrix

D =

λ 1 0... 0

0 λ 2... 0

. . .

0...... λn

such that A = SDS

− 1

. Equivalently, a matrix A is diagonalizable if there

exists a basis of C

n which consists of eigenvectors of A.

In order to compute the exponential of such a matrix we need two aux-

iliary results. The first one relates the matrix exponentials of two matrices

that are similar to each other.

Proposition 2.5. Suppose that A, B ∈ C

n×n are similar, so that A =

SBS

− 1 for some invertible matrix S ∈ C

n×n

. Then exp(tA) = S exp(tB)S

− 1

for all t ∈ R.

Proof. Using induction on k, it is easy to show that A

k = SB

k S

− 1 for all

integers k ≥ 0. Consequently,

exp(tA) =

∑^ ∞

k=

t

k

k!

A

k

∑^ ∞

k=

t

k

k!

SB

k S

− 1 = S exp(tB)S

− 1 .

This completes the proof. 

The second result gives a formula for the exponential of a diagonal ma-

trix:

Proposition 2.6. Suppose that

D =

λ 1 0... 0

0 λ 2... 0

. . .

0...... λn

is a diagonal matrix. Then

exp(tD) =

e

tλ 1 0... 0

0 e

tλ 2

... 0

. . .

0...... e

tλn

Proof. Using induction on k, we can show that

D

k

λ

k 1 0...^0

0 λ

k 2...^0 . . .

0...... λ

k n

10 2. Systems of linear differential equations

Therefore, the matrix exponential of A is given by

exp(tA) = S

[

e

t(α+iβ) 0

0 e

t(α−iβ)

]

S

− 1

[

i −i

] [

e

t(α+iβ) 0

0 e

t(α−iβ)

] [

1 2

i 2 1 2

i 2

]

[

1 2

(et(α+iβ)^ + et(α−iβ^ ) −

i 2

(et(α+iβ)^ + et(α−iβ)) i 2

(et(α+iβ)^ + et(α−iβ))

1 2

(et(α+iβ)^ + et(α−iβ^ )

]

[

e

αt cos(βt) e

αt sin(βt)

−e

αt sin(βt) e

αt cos(βt)

]

2.3. Generalized eigenspaces and the L + N decomposition

In order to compute the exponential of a matrix that is not diagonaliz-

able, it will be necessary to consider decompositions of C

n into generalized

eigenspaces. We will need the following theorem due to Cayley and Hamil-

ton:

Theorem 2.7. Let A be a n×n matrix, and let pA(λ) = det(λI −A) denote

the characteristic polynomial of A. Then pA(A) = 0.

Proof. The proof involves several steps.

Step 1: Suppose first that A is a diagonal matrix with diagonal entries

λ 1 ,... , λn, i.e.

A =

λ 1 0... 0

0 λ 2... 0

. . .

0...... λn

Then

p(A) =

p(λ 1 ) 0... 0

0 p(λ 2 )... 0

. . .

0...... p(λn)

for every polynomial p. In particular, if p = pA is the characteristic polyno-

mial of A, then pA(λj ) = 0 for all j, hence pA(A) = 0.

Step 2: Suppose next that A is an upper triangular matrix whose diag-

onal entries are pairwise distinct. In this case, A has n distinct eigenvalues.

In particular, A is diagonalizable. Hence, we can find a diagonal matrix B

and an invertible matrix S such that A = SBS

− 1

. Clearly, A and B have

the same characteristic polynomial, so pA(A) = pB (A) = SpB (B)S

− 1 = 0

by Step 1.

2.3. Generalized eigenspaces and the L + N decomposition 11

Step 3: Suppose now that A is a arbitrary upper triangular matrix. We

can find a sequence of matrices Ak such that limk→∞ Ak = A and each

matrix Ak is upper triangular with n distinct diagonal entries. This implies

pA(A) = limk→∞ pAk (Ak) = 0.

Step 4: Finally, if A is a general n × n matrix, we can find an upper

triangular matrix B such that A = SBS

− 1

. Again, A and B have the same

characteristic polynomial, so we obtain pA(A) = pB (A) = SpB (B)S

− 1 = 0

by Step 3. 

We will also need the following tool from algebra:

Proposition 2.8. Suppose that f (λ) and g(λ) are two polynomials that are

relatively prime. (This means that any polynomial that divides both f (λ)

and g(λ) must be constant, i.e. of degree 0 .) Then we can find polynomials

p(λ) and q(λ) such that p(λ) f (λ) + q(λ) g(λ) = 1.

This is standard result in algebra. The polynomials p(λ) and q(λ) can be

found using the Euclidean algorithm. A proof can be found in most algebra

textbooks.

Proposition 2.9. Let A be an n × n matrix, and let f (λ) and g(λ) be two

polynomials that are relatively prime. Moreovr, let x be a vector satisfying

f (A) g(A) x = 0. Then there exists a unique pair of vectors y, z such that

f (A) y = 0, g(A) z = 0, and y + z = x. In other words, ker(f (A) g(A)) =

ker f (A) ⊕ ker g(A).

Proof. Since the polynomials f (λ) and g(λ) are relatively prime, we can

find polynomials p(λ) and q(λ) such that

p(λ) f (λ) + q(λ) g(λ) = 1.

This implies

p(A) f (A) + q(A) g(A) = I.

In order to prove the existence part, we define vectors y, z by y = q(A) g(A) x

and z = p(A) f (A) x. Then

f (A) y = f (A) q(A) g(A) x = q(A) f (A) g(A) x = 0,

g(A) z = g(A) p(A) f (A) x = p(A) f (A) g(A) x = 0,

and

y + z = (p(A) f (A) + q(A) g(A)) x = x.

Therefore, the vectors y, z have all the required properties.

In order to prove the uniqueness part, it suffices to show that ker f (A) ∩

ker g(A) = { 0 }. Assume that x lies in the intersection of ker f (A) and

ker g(A), so that f (A) x = 0 and g(A) x = 0. This implies p(A) f (A) x = 0

and q(A) g(A) x = 0. Adding both equations, we obtain x = (p(A) f (A) +

2.3. Generalized eigenspaces and the L + N decomposition 13

Consider the linear transformation from C

n into itself that sends a vector x ∈

ker(A − λj I)

νj to λj x (j = 1,... , m). Let L be the n × n matrix associated

with this linear transformation. This implies Lx = λj x for all x ∈ ker(A −

λj I)

νj

. Clearly, ker(L − λj I) = ker(A − λj I)

νj for j = 1,... , m. Therefore,

there exists a basis of C

n that consists of eigenvectors of L. Consequently,

L is diagonalizable.

We claim that A and L commute, i.e. LA = AL. It suffices to show that

LAx = ALx for all vectors x ∈ ker(A − λj I)

νj and all j = 1,... , m. Indeed,

if x belongs to the generalized eigenspace ker(A − λj I)

νj , then Ax lies in

the same generalized eigenspace. Therefore, Lx = λj x and LAx = λj Ax.

Putting these facts together, we obtain LAx = λj Ax = ALx, as claimed.

Therefore, LA = AL.

We now put N = A − L. Clearly, L + N = A and LN = LA − L

2

AL − L

2 = N L. Hence, it remains to show that N

n = 0. As above, it

is enough to show that N

n x = 0 for all vectors x ∈ ker(A − λj I)

νj and all

j = 1,... , m. By definition of L and N , we have N x = Ax−Lx = (A−λj I)x

for all x ∈ ker(A−λj I)

νj

. From this it is easy to see that N

n x = (A−λj I)

n x.

However, (A − λj I)

n x = 0 since x ∈ ker(A − λj I)

νj and νj ≤ n. Thus, we

conclude that N

n x = 0 for all x ∈ ker(A − λj I)

νj

. This completes the proof

of the existence part.

We next turn to the proof of the uniqueness statement. Suppose that

L, N ∈ C

n×n satsify (i) – (iv). We claim that Lx = λj x for all vectors

x ∈ ker(A − λj I)

νj and all j = 1,... , m. To this end, we use the formula

L − λj I = (A − λj I) − N. Since N commutes with A − λj I, it follows that

(L − λj I)

2 n

∑^2 n

l=

2 n

l

(−N )

l (A − λj I)

2 n−l .

Using the identity N

n = 0, we obtain

(L − λj I)

2 n

n− 1 ∑

l=

2 n

l

(−N )

l (A − λj I)

2 n−l .

Suppose that x ∈ ker(A − λj I)

νj

. Since νj ≤ n, we have (A − λj I)

2 n−l x =

0 for all l = 0,... , n − 1. This implies (L − λj I)

2 n x = 0. Since L is

diagonalizable, we it follows that (L − λj I)x = 0. Thus, we conclude that

Lx = λj x for all vectors x ∈ ker(A − λj I)

νj and all j = 1,... , m.

Since

C

n = ker(A − λ 1 I)

ν 1 ⊕... ⊕ (A − λmI)

νm ,

there is exactly one matrix L such that Lx = λj x for x ∈ ker(A − λj I)

νj and

j = 1,... , m. This completes the proof of the uniqueness statement. 

14 2. Systems of linear differential equations

As an example, let us compute the L + N decomposition of the matrix

A =

We begin by computing the eigenvalues and eigenvectors of A. The charac-

teristic polynomial of A is given by

det(λI − A) = det

λ − 2 − 3 4

0 λ − 1 − 2 4

1 2 λ + 4 − 6

0 1 2 λ − 3

= λ det

λ − 1 − 2 4

2 λ + 4 − 6

1 2 λ − 3

 (^) + det

λ − 1 − 2 4

1 2 λ − 3

= λ(λ

3 − λ) + (3λ

2

= λ

4

  • 2λ

2

  • 1

= (λ − i)

2 (λ + i)

2 .

Thus, the eigenvalues of A are i and −i, and they both have algebraic

multiplicity 2. A straightforward calculation shows that the generalized

eigenspaces are given by

ker(A − iI)

2 = ker

− 4 − 4 i − 6 i −2 + 8i

− 2 − 2 i 2 − 4 i −4 + 8i

4 + 2i −2 + 4i −4 + 8i 6 − 12 i

2 2 i 4 i − 6 i

= span{v 1 , v 2 }

and

ker(A + iI)

2 = ker

− 4 4 i 6 i − 2 − 8 i

− 2 2 i 2 + 4i − 4 − 8 i

4 − 2 i − 2 − 4 i − 4 − 8 i 6 + 12i

2 − 2 i − 4 i 6 i

= span{v 3 , v 4 },