systems of differential equations - purdue university

39
Systems of differential equations Samy Tindel Purdue University Differential equations and linear algebra - MA 262 Taken from Differential equations and linear algebra Pearson Collections Samy T. Systems Differential equations 1 / 39

Upload: others

Post on 18-Oct-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Systems of differential equations - Purdue University

Systems of differential equations

Samy Tindel

Purdue University

Differential equations and linear algebra - MA 262

Taken from Differential equations and linear algebraPearson Collections

Samy T. Systems Differential equations 1 / 39

Page 2: Systems of differential equations - Purdue University

Outline

1 Introduction

2 Linear systems in normal form

3 Vector differential equations: nondeffective coefficient matrix

4 Complex eigenvalues

5 Variation-of-parameter method for linear systems

Samy T. Systems Differential equations 2 / 39

Page 3: Systems of differential equations - Purdue University

Outline

1 Introduction

2 Linear systems in normal form

3 Vector differential equations: nondeffective coefficient matrix

4 Complex eigenvalues

5 Variation-of-parameter method for linear systems

Samy T. Systems Differential equations 3 / 39

Page 4: Systems of differential equations - Purdue University

Spring example

Physical setting: Interacting springs

Equation:

m1d2x1dt2 = k2(x2 − x1)− k1x1 + F1(t)

m2d2x2dt2 = −k2(x2 − x1)− k3x2 + F2(t)

Samy T. Systems Differential equations 4 / 39

Page 5: Systems of differential equations - Purdue University

Second order equation as first order system

Equation:u′′ + 0.125u′ + u = 0

Change of variable: set

x1 = u, x2 = u′

New equation:

x ′1 = x2x ′2 = −x1 − 0.125x2

Samy T. Systems Differential equations 5 / 39

Page 6: Systems of differential equations - Purdue University

Outline

1 Introduction

2 Linear systems in normal form

3 Vector differential equations: nondeffective coefficient matrix

4 Complex eigenvalues

5 Variation-of-parameter method for linear systems

Samy T. Systems Differential equations 6 / 39

Page 7: Systems of differential equations - Purdue University

DefinitionsFirst order linear system: Of the form

x ′1(t) = a11(t)x1(t) +a12(t)x2(t) + · · · +a1n(t)xn(t) +f1(t)x ′2(t) = a21(t)x1(t) +a22(t)x2(t) + · · · +a2n(t)xn(t) +f2(t)... ...

x ′n(t) = an1(t)x1(t) +an2(t)x2(t) + · · · +ann(t)xn(t) +fn(t)

Homogeneous system: When

f1 = f2 = · · · = fn = 0

Nonhomogeneous system: When there exists j such that

fj 6= 0

Samy T. Systems Differential equations 7 / 39

Page 8: Systems of differential equations - Purdue University

Initial value

For the system above an initial condition is given by

x1(t0) = x1,0, . . . , xn(t0) = xn,0

Definition 1.

Example of system:x ′1 = x1 +2x2x ′2 = 2x1 −2x2

Initial condition:x1(0) = 1, x2(0) = 0

Samy T. Systems Differential equations 8 / 39

Page 9: Systems of differential equations - Purdue University

Example of initial value

Form of the general solution: We will see that

x1(t) = c1 e−3t + c2 e2t , and x2(t) = −2c1 e−3t + 12c2 e

2t

System for c1, c2:c1 +c2 = 1−4c1 +c2 = 0

Unique solution of the initial value problem:

x1(t) = 15 e−3t + 4

5 e2t , and x2(t) = −25 e−3t + 2

5 e2t

Samy T. Systems Differential equations 9 / 39

Page 10: Systems of differential equations - Purdue University

Matrix notationFirst order linear system: Of the form

x ′1(t) = a11(t)x1(t) +a12(t)x2(t) + · · · +a1n(t)xn(t) +f1(t)x ′2(t) = a21(t)x1(t) +a22(t)x2(t) + · · · +a2n(t)xn(t) +f2(t)... ...

x ′n(t) = an1(t)x1(t) +an2(t)x2(t) + · · · +ann(t)xn(t) +fn(t)

Related matrices:

A(t) =

a11(t) a12(t) a13(t) . . . a1n(t)a21(t) a22(t) a23(t) . . . a2n(t)

... ... ... . . . ...an1(t) an2(t) an3(t) . . . ann(t)

and f(t) =

f1(t)f2(t)...

fn(t)

Samy T. Systems Differential equations 10 / 39

Page 11: Systems of differential equations - Purdue University

Matrix notation (2)Vector of unknown: We set

x(t) =

x1(t)x2(t)...

xn(t)

, and x′(t) =

x ′1(t)x ′2(t)...

x ′n(t)

Vector form of the linear system:

x′(t) = A(t) x(t) + f(t)

Initial data:x(t0) = x0

Samy T. Systems Differential equations 11 / 39

Page 12: Systems of differential equations - Purdue University

Józef Maria Hoene-Wroński

Wronski: A philosopher-mathematicianBorn in Poland (1776)Lived mostly in FranceHero of the Polish armywhen defeated by the RussiansMathematicianWronskian is his main contributionPhilosophical system based on mathOusted from the observatorybecause of his philosophical viewsDied in poverty, aged 76

Samy T. Systems Differential equations 12 / 39

Page 13: Systems of differential equations - Purdue University

Some vector space notions

Space Vn(I): For an interval I we set

Vn(I) = {y : I → Rn} .

Then Vn(I) is a vector space.

Wronskian: Letx1(t), . . . , xn(t) vectors in Vn(I)

The Wronskian of those vectors is

W [x1, . . . , xn](t) = det ([x1(t), . . . , xn(t)])

Samy T. Systems Differential equations 13 / 39

Page 14: Systems of differential equations - Purdue University

Wronskian and independence

Letx1(t), . . . , xn(t) vectors in Vn(I).Assume that W [x1, . . . , xn](t0) 6= 0 for a given t0 ∈ I

Then

{x1, . . . , xn} is linearly independent.

Theorem 2.

Samy T. Systems Differential equations 14 / 39

Page 15: Systems of differential equations - Purdue University

Example of WronskianVector function:

x1(t) =[et

2et

], and x2(t) =

[3 sin(t)cos(t)

]

Wronskian: We have

W [x1, x2](t) =∣∣∣∣∣ et 3 sin(t)2et cos(t)

∣∣∣∣∣ = et (cos(t)− 6 sin(t))

Linear independence: We have

W [x1, x2](0) = 1 6= 0.

Therefore {x1, x2} is linearly independent

Samy T. Systems Differential equations 15 / 39

Page 16: Systems of differential equations - Purdue University

Homogeneous equation

Consider the system

x′(t) = A(t) x(t), x(t) ∈ Rn, A(t) ∈ Mn,n.

Hypothesis:The mapping t 7→ A(t) is continuous

Then the following holds true:1 The general solution set is a vector space of dimension n2 The system with initial data x(t0) = x0

admits a unique solution

Theorem 3.

Samy T. Systems Differential equations 16 / 39

Page 17: Systems of differential equations - Purdue University

Fundamental solutions

ConsiderThe system x′(t) = A(t) x(t)A set {x1, . . . , xn} of n linearly independentsolutions of the system

Then:1 The set

{x1, . . . , xn}

is called fundamental solution set of the system2 The matrix

X(t) = [x1, . . . , xn]

is called fundamental matrix of the system

Definition 4.

Samy T. Systems Differential equations 17 / 39

Page 18: Systems of differential equations - Purdue University

Wronskian and fundamental solutions

ConsiderThe system x′(t) = A(t) x(t) on an interval IA set {x1, . . . , xn} of n solutions of the systemt0 ∈ I

Then:1 If W [x1, . . . , xn](t0) 6= 0 then {x1, . . . , xn}

is a fundamental solution set of the system2 The general solution of the system can be written as

x(t) = c1x1(t) + · · ·+ cnxn(t)

Theorem 5.

Samy T. Systems Differential equations 18 / 39

Page 19: Systems of differential equations - Purdue University

Example of application

System under consideration:

x′ = Ax, with[1 2−2 1

](1)

Solutions:

x1(t) =[−et cos(2t)et sin(2t)

], and x2(t) =

[et sin(2t)et cos(2t)

]

Remark:One can check that x1 and x2 solve (1)

Samy T. Systems Differential equations 19 / 39

Page 20: Systems of differential equations - Purdue University

Example of application (2)Wronskian computation:

W [x1, x2](t) =∣∣∣∣∣−et cos(2t) et sin(2t)et sin(2t) et cos(2t)

∣∣∣∣∣ = −e−2t

Conclusion: Since W [x1, x2](t) 6= 0 for all t ∈ R,

{x1, x2} is a fundamental solution set

General form of the solution to (1):

x(t) =[et (−c1 cos(2t) + c2 sin(2t))et (c1 sin(2t) + c2 cos(2t))

]

Samy T. Systems Differential equations 20 / 39

Page 21: Systems of differential equations - Purdue University

Outline

1 Introduction

2 Linear systems in normal form

3 Vector differential equations: nondeffective coefficient matrix

4 Complex eigenvalues

5 Variation-of-parameter method for linear systems

Samy T. Systems Differential equations 21 / 39

Page 22: Systems of differential equations - Purdue University

Aim

General objective: Solve homogeneous systems of the form

x′(t) = Ax(t),

withx(t) ∈ Rn, A ∈ Mn,n.

Methodology:Based on eigenvalues/eigenvectors decomposition of A

Samy T. Systems Differential equations 22 / 39

Page 23: Systems of differential equations - Purdue University

Solutions and eigenvectors

Consider the system with constant matrix

x′(t) = Ax(t), x(t) ∈ Rn, A ∈ Mn,n. (2)Hypothesis:

A admits n lin. independ. eigen. uk with eigenval. λk

Conclusion:1 The following are linearly independent solutions to (2):

xk(t) = eλk tuk

2 The general solution of (2) is of the form

x(t) = c1 eλ1tu1 + · · ·+ cn eλntun

Theorem 6.

Samy T. Systems Differential equations 23 / 39

Page 24: Systems of differential equations - Purdue University

Example with real eigenvalues

Equation:

x′ =[1 14 1

]x

Eigenvalue decomposition:

λ1 = 3, u(1) =[12

]; λ2 = −1, u(2) =

[1−2

]

Samy T. Systems Differential equations 24 / 39

Page 25: Systems of differential equations - Purdue University

Example with real eigenvalues (2)

Fundamental solutions:

x1(t) =[12

]e3t , x2(t) =

[1−2

]e−t .

Wronskian:

W [x1, x2](t) =∣∣∣∣∣ e3t e−t

2e3t −2e−t

∣∣∣∣∣ = −4e2t 6= 0.

Conclusion: x1 and x2 are linearly independent

Samy T. Systems Differential equations 25 / 39

Page 26: Systems of differential equations - Purdue University

Example with real eigenvalues (3)

General solution:

x(t) = c1[12

]e3t + c2

[1−2

]e−t .

Samy T. Systems Differential equations 26 / 39

Page 27: Systems of differential equations - Purdue University

Outline

1 Introduction

2 Linear systems in normal form

3 Vector differential equations: nondeffective coefficient matrix

4 Complex eigenvalues

5 Variation-of-parameter method for linear systems

Samy T. Systems Differential equations 27 / 39

Page 28: Systems of differential equations - Purdue University

Method for complex eigenvalues

Consider the system with constant matrix

x′(t) = Ax(t), x(t) ∈ Rn, A ∈ Mn,n. (3)

Hypothesis: We have complex eigenvalues/eigenvectors

λ = α± ıβ and u = a± ıb.

Conclusion: We have 2 real valued independent solutions to (3)

x1(t) = eαt (cos(βt)a− sin(βt)b)x2(t) = eαt (sin(βt)a + cos(βt)b) .

Theorem 7.

Samy T. Systems Differential equations 28 / 39

Page 29: Systems of differential equations - Purdue University

Example with complex eigenvalues

Equation:

x′ =(−1

2 1−1 −1

2

)x

Eigenvalue decomposition:

λ1 = −12 + ı, u1 =

[1ı

]; λ2 = −1

2 − ı, u2 =[

1−ı

]

Samy T. Systems Differential equations 29 / 39

Page 30: Systems of differential equations - Purdue University

Example with complex eigenvalues (2)

Fundamental solutions:

x1(t) =[

cos(t)− sin(t)

]e− 1

2 t

x2(t) =[

sin(t)cos(t)

]e− 1

2 t .

Remark: Only λ1,u1 are used in order to compute x1 and x2

Samy T. Systems Differential equations 30 / 39

Page 31: Systems of differential equations - Purdue University

Outline

1 Introduction

2 Linear systems in normal form

3 Vector differential equations: nondeffective coefficient matrix

4 Complex eigenvalues

5 Variation-of-parameter method for linear systems

Samy T. Systems Differential equations 31 / 39

Page 32: Systems of differential equations - Purdue University

Aim

General objective: Solve nonhomogeneous systems of the form

x′(t) = Ax(t) + f(t),

withx(t) ∈ Rn, A ∈ Mn,n, b(t) ∈ Rn.

Methodology: Based on two bricks1 We know how to solve the homogeneous system2 D’Alembert’s variation of parameter method

Samy T. Systems Differential equations 32 / 39

Page 33: Systems of differential equations - Purdue University

Variation-of-parameter method

Consider the nonhomogeneous system with constant matrix

x′(t) = Ax(t)+f(t), x(t) ∈ Rn, A ∈ Mn,n, f(t) ∈ Rn. (4)

Hypothesis:Fundamental matrix of the homogeneous system is available

X(t) = [x1(t), x2(t), . . . , xn(t)]

Conclusion: A particular solution to (4) satisfies

xp(t) = X(t)v(t), with v such that X(t)v′(t) = f(t)

Theorem 8.

Samy T. Systems Differential equations 33 / 39

Page 34: Systems of differential equations - Purdue University

Application of the method

System under consideration:

x′(t) = Ax(t) + f(t), (5)

withA =

[1 24 3

], f(t) =

[12 e3t

18 e2t

], x(0) =

[30

]

Eigenvalue decomposition for A:

λ1 = −1, u1 =[−11

]; λ2 = 5, u2 =

[12

]

Samy T. Systems Differential equations 34 / 39

Page 35: Systems of differential equations - Purdue University

Application of the method (2)

Fundamental solutions:

x1(t) = et[−11

], x2(t) = e5t

[12

]

Fundamental matrix:

X(t) =[−e−t e5t

e−t 2e5t

]

Equation for the particular solution:

xp(t) = X(t)v(t), with v such that X(t)v′(t) = f(t) (6)

Samy T. Systems Differential equations 35 / 39

Page 36: Systems of differential equations - Purdue University

Application of the method (3)

Solving (6) with Cramer’s rule: we have

det(X(t)) = −3e4t .

Therefore

v′1(t) = −

∣∣∣∣∣12e3t e5t

18e2t 2e5t

∣∣∣∣∣3e4t = −8e4t + 6e3t

and

v′2(t) = −

∣∣∣∣∣−e−t 12e3t

e−t 18e2t

∣∣∣∣∣3e4t = 6e−3t + 4e−2t

Samy T. Systems Differential equations 36 / 39

Page 37: Systems of differential equations - Purdue University

Application of the method (4)

Expression for v: Integrating v′1, v′2 we get

v(t) =[−2e4t + 2e3t

−2e−2t − 2e−3t

]

Particular solution for (5): We get

xp(t) = X(t)u(t) =[−e−t e5t

e−t 2e5t

] [−2e4t + 2e3t

−2e−2t − 2e−3t

]

=[−4e2t

−2e2t − 6e3t

]

Samy T. Systems Differential equations 37 / 39

Page 38: Systems of differential equations - Purdue University

Application of the method (5)

General solution for system (5):

x(t) = c1et[−11

]+ c2e5t

[12

]−[

4e2t

2e2t + 6e3t

]

Initial value problem: The initial data

x(0) =[30

]

requires that

−c1 + c2 = 7, and c1 + 2c2 = 8

Samy T. Systems Differential equations 38 / 39

Page 39: Systems of differential equations - Purdue University

Application of the method (6)

Unique solution of the initial data problem:

x(t) =[

2e−t + 5e5t − 4e2t

−2e−t + 10e5t − 2(e2t + 3e3t)

]

Remark: asymptotic direction for x as t →∞ is given by

v2 =[12

]

Samy T. Systems Differential equations 39 / 39