Professional Documents
Culture Documents
Lecture 21
Matrix exponential method for solving systems of
differential Equations
1
0
A = P .
..
then
eA = P
0 0
2 0
1
.. . .
.. P
.
.
.
e 1
0
..
.
0
e 2
..
.
..
.
0
0
..
.
e n
1
P
1 + 1 +
e = P
0
..
.
0
21
2!
1 + 2 + 2!2 +
..
.
..
.
0
..
.
1 + n +
0
2
2n
2!
Thus
A2 A3
+
+
2!
3!
We will use this to define the exponential for any matrix and
eA = I + A +
d At
t 2 A3 t 3 A4
e = A + tA2 +
+
+ = Ae At
dt
2!
3!
Thus the solution to the IVP
x0 = Ax
x(0) = x0
is
x(t) = e At x0
Linear Algebra and Differential EquationsLecture 21 Matrix exponential
July 26, method
2016
for3 solving
/ 18
An example
Find the solution to the IVP
0
x
5 1
x
=
y
2 6
y
x(0)
y (0)
=
4
1
= 4, 7
2 2
0
2 1
2 1
v7 =
0
0
v4 =
1
1
v7 =
1
2
x
y
1
=
3
=
1 1
1 2
3e 4t + e 7t
3e 4t + 2e 7t
e 4t
0
0
e 7t
2 1
1 1
4
1
Repeated root
If A has a repeated root then the Cayley-Hamilton theorem in this case is
(A I)2 = 0
Let B = A I then B2 = 0 and
e At = e tI e Bt = e t e Bt
but B2 = 0 so
e Bt = I + Bt
Thus in this case
e At = e t (I + t(A I))
An Example
Find the solution to the IVP
0
x
6 4
x
=
y
1 2
y
x(0)
y (0)
=
3
4
=4
Complex eigenvalues
Suppose A has complex eigenvalues = i then the Cayley-Hamilton
theorem gives
(A I)2 + 2 I = 0
Let
B = A I
B2 = 2 I
Then
e At
= e tI
e Bt = e t e Bt
B2 t 2 B3 t 3
t
+
+
= e
I + Bt +
2!
3!
2t
4t 4
2t 3 4t 5
t
= e
I(1
+
+ ) + B(t
+
+ )
2!
4!
3!
5!
sin t
= e t cos tI +
(A I)
An example
Find the solution to the IVP
0
x
4 3
x
=
y
6 2
y
x(0)
y (0)
=
2
1
= 1 3i
u = f
u =
Z
f
u=
1 f dt
1 f dt
= e At
The particular solution has the form
xp = e At
e At f dt
x(0) = x0
is
x = xp + (x0 xp (0))
=P
e 1 t
0
0
e 2 t
P1
sin t
1
t
=e
cos tI
(A I)
An example
Solve the IVP
0
x
6 4
x
12t 2 12t 100
=
+
y
5 3
y
10t 2 12t 75
x(0)
y (0)
=
2
5
4 4
5 5
= 1, 2
4
5
1
1
v1 =
v2 = 0
v2 =
So
4 1
1 1
1
P=
P =
5 1
5 4
t
e
0
4e t + 5e 2t 4e t 4e 2t
1
=P
P =
0 e 2t
5e t + 5e 2t 5e t 4e 2t
b
c
+t
+
e
f
12
100
+
12
75
a
d
a
d
1
=
2
3 4
5 6
6
=
5
1 3
b
=
e
2 5
4
0
4
3
4
6
12
10
b
e
=
2
0
12
+
12
16
0
=
12
4
c
f
0
4
=
1
=
2
6 4
5 3
3 4
5 6
c
f
+
100
79
100
75
=
8
13
5e t + 5e 2t 5e t 4e 2t
5
13
2
t
2t
2t 8
112e + 122e
=
+
140e t + 122e 2t
4t + 13
x(0)
y (0)
=
3
1
= 2
1 f dt
f=e
2t
1 + 6t
6t
0
6t 3
=
6t 1 6t
t 2 e 2t
t 2 6t 3
Z
3 4
t
1
2
f dt = 1 3 3 4
3t 2t
1 6t 6t
6t
1 + 6t
1 3
3t
3 4
2t
32 t 4
21 t 4
= e 2t
1 3
3t
1 4
2t
solution is
1 4
2t
1 6t 6t
x =
+e
1 3
1 4
6t
1 + 6t
3t + 2t
1 4
t 12t + 3
= e 2t 1 3 2 1 4
t
+ 2 t 12t 1
3
2t
3
1