Docsity

Solving Linear Systems of Differential Equations: A Comprehensive Guide, Lecture notes of Differential Equations

Partial preview of the text

Download Solving Linear Systems of Differential Equations: A Comprehensive Guide and more Lecture notes Differential Equations in PDF only on Docsity!

Chapter 8

Chapter 8 Systems of Linear First-order

Differential Equation

8.1 Preliminary Theory

Note

System of differential equations

P D x P D x P D x b t

P D x P D x P D x b t

P D x P D x P D x b t

n n

n n

n n nn n n

11 1 12 2 1 1

21 1 22 2 2 2

1 1 2 2

L
L
M
L

where Pij are polynomials of various degrees in the differential operator D.

System of first-order differential equations dx

dt

g t x x x

dx

dt

g t x x x

dx

dt

g t x x x

n

n

n n n

1 1 1 2

2 2 1 2

1 2

K
K
M
K

Linear Systems -- systems of linear first-order equations

Every g (^) i is linear in the dependent variables x (^) i.

dx

dt

(^1) = a 11 ( )t x 1 + a 12 ( )t x 2 + L+ a (^1) n ( )t x (^) n+f 1 ( )t

a (t)x a (t)x a (t)x f (t ) dt

dx 21 1 22 2 2 n n 2

2 = + +L+ +

dx

dt

n (^) = a (^) n 1 ( )t x 1 + a (^) n 2 ( )t x 2 + L+a (^) nn ( )t x (^) n +f (^) n( )t

where a (^) ij and fi are functions continuous on a common interval I. When fi (t) = 0, i = 1, 2,

3, ... , n, the system is said to be homogeneous ; otherwise it is called nonhomogeneous.

We also refer to the above system as nth-order linear system.

Note:

1. Equation to a System

Suppose a linear nth-order differential equation is first written as

d y

dt

a

a

y

a

a

y

a

a

y

a

a

y f t

n

n n n n

n

n

n = − − − − − − +

0 1 2 − 1 − 1 ' " ( )

( ) L

If we introduce the variables

y = x1, y' = x 2 , y" = x 3 , ... , y

(n-1) = x (^) n,

then we can get

x 1 ' = x (^2)

x 2 ' = x (^3)

x3' = x (^4)

.......

mn

t

t ij

t

t (^00)

A( s)ds a (s)ds ×

∫ =^ ∫

3. Rules for Differentiating and Integrating

d

dt

CA C

dA

dt

= , C is a matrix of constants

d

dt

A B

dA

dt

dB

dt

d

dt

AB

dA

dt

B A

dB

dt

= + the order is important

( A( t) B(t))dt A(t)dt B(t)dt

b

a

b

a

b

∫a ∫ ∫

Matrix Form of a Linear System

dX

dt

= A t X( ) +F t( )

where

n

2

1

x

x

x

X
M

a (t) a (t) a (t )

a (t) a (t) a (t)

a (t) a (t) a (t)

A

n 1 n 2 nn

21 22 2 n

11 12 1 n

L
M M O M
L
L

f (t )

f (t)

f(t)

F(t)

n

2

1

M

Initial-Value Problem

Solve:

dX

dt

= A t X( ) +F t( )

Subject to: X(t 0 ) = X 0

Existence of a Unique Solution

Let the entries of the matices A(t) and F(t) be functions continuous on a common

interval I that contains the point t 0. Then there exists a unique solution of the initial-value

problem on the interval.

Superposition Principle

Let X 1 , X 2 , ... , Xk be a set of solution vectors of the homogeneous system X' =

AX on an interval I. Then the linear combination

X = c 1 X 1 + c 2 X 2 + ... + c (^) kXk

where c (^) i , i = 1, 2, ... , k, are arbitrary constants, is also a solution in the interval.

Linear Dependence/Independence

Let X 1 , X 2 , ... , Xk be a set of solution vectors of the homogeneous system X' =

AX on an interval I. We say that the set is linearly dependent on the interval, if there

exist contants c 1 , c 2 , ... , c (^) k, not all zero, such that

c 1 X 1 + c 2 X 2 + ... + c (^) kXk= 0

for every t in the interval. If the set of vectors is not linearly dependent on the interval, it

is said to be linearly independent.

Criterion for Linear Independence

Let

n 1

21

11

1

x

x

x

X
M

n 2

22

12

2

x

x

x

X
M

nn

2 n

1 n

n

x

x

x

X
M

be n solution vectors of the homogeneous system X' = AX on an interval I. A necessary

and sufficient condition that the set of solutions be linearly independent is that the

Wronskian

x x x

x x x

x x x

WX,X , ,X

n 1 n 2 nn

21 22 2 n

11 12 1 n

1 2 k = ≠

L
M M O M
L
L
L

for every t in I.

In fact, it can be shown that if X 1 , X 2 , ... , Xn are solution vectors of X' = AX, then

for every t in I either

W ( X 1 ,X 2 ,L, Xn) ≠ 0 or W (X 1 ,X 2 ,L,Xn) = 0

Thus, if we can show that W ≠ 0 for some t 0 in I, then W ≠ 0 for every t and hence the

solutions are linearly independent on the interval.

Proof: We try to confirm the following statements: If there is a specific value t 0 in the

interval to make W = 0, then W = 0 for every t in the interval.

From the assumption, we find that X 1 (t 0 ), X 2 (t 0 ), ... , Xn(t 0 ) are linearly dependent.

This indicates that we can find n constants c 1 , c 2 , ... , c (^) n, not all zero to make

X 0 = c 1 X 1 (t 0 ) + c 2 X 2 (t 0 ) + ... + c (^) nXn(t 0 ) = 0

Using these constant, we can form a vector

X(t) = c 1 X 1 (t) + c 2 X 2 (t) + ... + cnXn(t)

In particular, X(t 0 ) = 0. From the superposition principle, we know that X(t) is a solution

of X' = AX. If we solve the differential equation X' = AX subject to X(t 0 ) = X 0 = 0, the

solution vector should be unique, and we find that it is the zero vector. That is, X(t) = 0.

for every t in the interval. Since ci is not all zero, X 1 (t), X 2 (t), ... , Xn(t) are linearly

dependent for every t in the interval. Therefore, W = 0 for every t in the interval.

Fundamental set of solutions

Any set X 1 , X 2 , ... , Xn of n linearly independent solution vectors of the

homogeneous system X' = AX on an interval I is said to be a fundamental set of solutions

on the interval.

Existence of a Fundamental Set

There exists a fundamental set of solutions for the homogeneous system X' = AX

on an interval I.

Proof: We can find n solutions vectors subject to the following n initial values

respectively:

X 1 (t 0 ) M

X 2 (t 0 ) M

X (^) n (t 0 ) M

A

and then

det( A − λI ) = −( λ + 3 )( λ + 4 )( λ− 5 ) = 0

and so eigenvalues are -3, -4, and 5. The associated eigenvectors are

K 1 ,
K 2 ,
K 3

The general solution is

5 t 3

4 t 2

3 t 1 e

1

e c

1

e c

1

X c

⎥

− −

8.2.2 Repeated Eigenvalues

If λ 1 is an eigenvalue of mutiplicity m, then we distinguish two possibilities:

(1) For some A, it is possible to find m linearly independent eigenvectors K 1 , K 2 , ... ,

Km corresponding to eigenvalue λ 1 of multiplicity m for m ≠ n. In this case the

general solution contains the linear combination

c 1 K 1 e

λ 1 t

  • c 2 K 2 e

λ 1 t

  • .... + cmKme

λ 1 t

Example: Solve X

2 2 1

X

Solution: det(A-λI)=0 yields

− ( λ + 1 ) ( λ− 5 ) = 0

2

and λ = -1, -1, 5.

For λ = -1, the associated eigenvectors are

K 1 and ⎟

K 2

For λ = 5, the eigenvector is

K 3

The general solution is

5 t 3

t 2

t 1 e

1

e c

1

e c

0

X c

− − −

(2) If there is only one eigenvector corresponding to the eigenvalue of multiplicity m,

then m linearly independent solutions of the form

X K e

t 1 11 = λ^1

X K te K e

t t 2 21 22 = λ^1 + λ^1

........

X K

t

m

e K

t

m

m m e^ K^ e

m t m

m t mm

t

−

− −

1

1

2

2

1 1 1 ( )! ( )!

λ λ λ L

can always be found.

Note: For the intermediate cases, we can still use (2)'s method to find the missing

solutions.

Eigenvalue of multiplicity 2

We try the solution form

X Kte Pe

t t 2 = λ^1 + λ^1

and substitute it into the homogeneous equation:

[ AK K]te [( A I)P K]e 0

t 1

t 1 − λ λ^1 + −λ − λ^1 =

Hence,

(A - λ 1 I)K = 0

(A - λ 1 I)P = K

We can find K first and then find P.

Example: Solve X 2 9

X ⎥

Solution: We find the eigenvalues from

det( A − λI ) = ( λ + 3 ) = 0

2

and it is -3 of multiplicity 2. We first find the associated eigenvector

K

and then we find the vector P:

P

P can be gievn by

P.

The two independent solutions are

3 t 1 e 1

X

− ⎥ ⎦

3 t 3 t 2 e 0

te 1

X

− − ⎥ ⎦

Eigenvalue of Multiplicity 3

We try the solution form

X K

t e Pte Qe

t t t 3

2

= 1 + 1 +^1

λ λ λ

改寫成Eigenvector的實部及虛部

By defining

B 1 K 1 K 1

= + and B

i 2 K 1 K 1 2

then

t Re(X 1 ) B 1 cos t B 2 sin te

α = β − β

t Im(X 1 ) B 2 cos t B 1 sin te

α = β + β

are linearly independent solutions of the homogeneous system.

Example: Solve X 1 2

X ⎥

Solution: The eigenvalues are given by

det( A − λI )= λ + =

2 4 0

and they are 2i and -2i. The associated eigenvector for λ = 2i is

2 2 i K (^1)

The matrices

B 1 ReK 1 , and ( ) ⎥

B 2 ImK 1

The general solution is

= sin 2 t 1

cos 2 t 0

sin 2 t c 0

cos 2 t 1

X c 1 2

sin 2 t

2 cos 2 t 2 sin 2 t c cos 2 t

2 cos 2 t 2 sin 2 t c (^12)

8.3 Variation of Parameters

A Fundamental Matrix

Let

n 1

21

11

1

x

x

x

X
M

n 2

22

12

2

x

x

x

X
M

nn

2 n

1 n

n

x

x

x

X
M

be a fundamental set of n solution vectors of the homogeneous system X' = AX on an

interval I. The matrix

n 1 n 2 nn

21 22 2 n

11 12 1 n

x x x

x x x

x x x

(t)

L
M M O M
L
L

is said to be a fundamental matrix of the system on the interval. Then the general solution

of the homogeneous system X' = AX can be written as

X = ΦC

where C is an n × 1 column vector of arbitrary constants.

The Fundamental Matrix is Nonsingular

The linear independence of the columns of Φ(t) on an interval I guarantees that

detΦ≠ 0 for every t in the interval; that is, Φ(t) is nonsingular on the interval.

The Fundamental Matrix Equation

Φ'(t) = AΦ(t)

Note:

1. The Fundamental Matrix Has an Inverse

Let Φ(t) be a fundamental matrix of the homogeneous system X' = AX on an

interval I. Then Φ

  • (t) exists for every value of t in the interval. 2. Special Matrix

Let V 1 , V 2 , ... , Vn be solution vectors of X' = AX that satisfy the conditions

V 1 (t 0 ) M

V 2 (t 0 ) M

V (^) n (t 0 ) M

Here t 0 is an arbitrary chosen point in the interval on which the general solution of the

system is defined. The matrix

Ψ( )t = V 1 ( )t V 2 ( )t L V (^) n( )t

is a special fundamental matrix which has the property

(t 0 )

L
O
L
L
= I

where I is the n × n multiplicative identity.

Note: Suppose a constant matrix

v C such that

Ψ ( )t = Φ( )t C

v

Ψ is the identity at t = t 0. Therefore,

Ψ ( t 0 ) = I = Φ( t 0 )C

v

i.e., v C = t

− Φ( 0 )

1

and

Ψ ( )t = Φ ( )t Φ( t )

− 0

1

Example:

−

−

2 t

2 t

1 e

e X (^) and ⎥

6 t

6 t

2 5 e

3 e X

are two solution of X 5 3

X ⎥

= on the interval I = (-_, _). Since

W X X

e e

e e

e

t t

t t

t ( 1 , 2 )

2 6

2 6

−

−

Thus, a matrix that diagonalizes the coefficient matrix is

P

The matrix D is

D

and the solution of Y is

−

5 t 3

t 2

2 t 1

ce

c e

ce

Y

The solution of X is

−

5 t 3

t 2

5 t 3

t 2

5 t 3

t 2

2 t 1

c e c e

2 c e c e

ce 2 c e c e

X PY

Nonhomogeneous Linear Systems

1. Undetermined Coefficients

Example: Solve

dx

dt

x y te

t = + − +

− 5 3 2 1

dy

dt

x y e t

t = − + + − +

− 5 7

solution: The coefficient matrix is

A

and the eigenvalues are 2 and 4. The associated eigenvectors are

K 1 , ⎥
K 2.

The complementary function is

4 t 2

2 t c 1 e 1

e c 1

X c ⎥ ⎦

The function F(t) is

−

7

t 5

e 1

F( t)

t

and no coincidence of the terms with the complementary function occurs. Then we can

assume the particular function is

−

1

1

2

t^2

3

3 p b

a t b

a e b

a X

Note: If there is a coincidence of terms, the same rule as the nth-order case should be

followed.

2. Variation of Parameters

The nonhomogeneous system

X' = AX + F(t)

can solved by first solving the homogeneous system

X' = AX

The associated general solution, i.e., the complementary function, is

Xc = Φ(t)C

where Φ(t) is a fundamental matrix of the system. By using variation of parameters to

find the particular solution, we can replace the constant vector C with a column matrix of

functions

Xp = Φ(t)U(t)

where

u (t )

u (t)

u (t)

U(t)

n

2

1

M

Substituting it into the nonhomogeneous system gives

Φ'(t)U(t) + Φ(t)U'(t) = AΦ(t)U(t) + F(t)

Since Φ'(t) = AΦ(t), the above equation is simplified as

Φ(t)U'(t) = F(t)

Hence,

− U( t)= Φ (t)F(t)dt

1

and the particular solution is

X = Φ(t) Φ−^1 (t)F(t)dt p

The general solution is

− X = Φ(t)C+Φ(t) Φ (t)F(t)dt

1

Note: 上述式子在計算矩陣積分時須特別注意:對矩陣各element的積分,積分下限

必須一致。

Example: Solve

= (^) −t e

3 t X 2 4

X

Solution: The characteristic equation of the coefficient matrix is

(λ + 2)(λ + 5) = 0

The roots are -2 and -5. The associated eigenvectors are

K 1 , ⎥
K 2.

The fundamental matrix is

− −

− −

2 t 5 t

2 t 5 t

e 2 e

e e (t)

and the inverse matrix is

t 5

7

t 5

1

e

e Y 0 5

Y

Hence, the solution of Y is

5 t 2

t 20

7

1

t 5

1

e c e

e c Y

The solution of the original system is

5 t 1 2

t 4

3

5 t 1 2

t 2

1

e 2 c c e

e c 2 c e X PY

  1. 降階方程組成為Normal Form X’ = AX + F(t),其中A是常係數矩陣
  2. 求出A的Eigenvalue及Eigenvector。對於重根時,若有必要則須找出K, P, Q….
  3. 由 2 之結果求出足夠的獨立解,針對共軛解則改以實部及虛部代之
  4. 將獨立排成Fundamental Matrix Φ
  5. 計算Special Fundamental Matrix Ψ ( )t = Φ ( )t Φ ( t )

− 1

− = Ψ +Ψ Ψ

t

t

1 0 0

X (t)X (t) (s)F(s)ds

8.4 Matrix Exponential

Definition: For any nxn matrix A whose entries are constants,

= ∑ = + + +L

∞

=

2

2

n 0

n tA A 2!

t I tA n!

tA e

Note: 1. e I

0

d

dt

e Ae

tA tA

  1. e

tA e

-sA = e

(t-s)A

  1. e

tA is a fundamental matrix of the system X' = AX: Ψ(t) = e

tA

The result of 2. indicates that the solution of X' = AX + F(t) can be written as

− = +

t

t

tA tA sA

0

X e C e e F(s)ds

which is written with Ψ(t) as

t

t (^0)

X (t)C (t s)F(s)ds

Example: Use the exponential matrix to find a general solution of

X

dt

dX ⎥ ⎦

Solution: The matrix A = I + B where I is the identity matrix while

B

The separation is due to the fact that

At It Bt e =e e

where

It t e =Ie

and

e I Bt

Bt = +

since

B B

2 3 = = L= 0

The special fundamental matrix Ψ(t) is

t

t t

t

t At

0 e

e te

0 1

1 t

0 e

e 0 (t) e

The general solution is

t

t

2

t

1 e

te c 0

e X c

Note: The simplicity of the computations in this example is due to the fact that A is an

upper triangular matrix.