Professional Documents
Culture Documents
Exp Matrix
Exp Matrix
Objective: Solve
d~x
= A~x
dt
with an n n constant coefficient matrix A.
x1 (t)
Here, the unknown is the vector function ~x(t) = ... .
xn (t)
C1
~ = etA ... ,
~x(t) = etA C
Cn
where C1 , , Cn are arbitrary constants.
The solution of the initial value problem
d~x
= A~x,
dt
~x(t0 ) = ~x0
is given by
~x(t) = e(tt0 )A~x0 .
Definition (Matrix Exponential): For a square matrix A,
e
tA
X
tk
k=0
t2 2 t3 3
A = I + tA + A + A + .
k!
2!
3!
k
nalizable; that is, there are an invertible matrix P and a diagonal matrix D =
.
n
such that A = P DP
e 1 t
etA = P etD P 1 = P
6
3 2
EXAMPLE 1. Let A = 4 1 2 .
13
9 3
tA
(a) Evaluate e .
d~x
(b) Find the general solutions of
= A~x.
dt
d~x
= A~x,
(c) Solve the initial value probelm
dt
..
.
e n t
P 1 .
2
~x(0) = 1 .
4
1
1 1 1/2
D= 0
P = 1 2 1/2 ,
0
1
1
1
with
0 0
2 0 .
0 1
1 1 1/2
e
0
0
5
3 1
= 1 2 1/2 0 e2t 0 1
1
0
t
1
1
1
0 0 e
6 4 2
2
11et + e2t + 8et
~x(t) = etA 1 = 11et 2e2t 8et .
4
11et e2t + 16et
2
~x(0) = ~x0 .
We shall compare the solution formula with ~x(t) = etA ~x0 to figure out what etA is. We know
the general solutions of d~x/dt = A~x are of the following structure:
~x(t) = C1~x1 (t) + + Cn~xn (t),
where ~x1 (t), , ~xn (t) are n linearly independent particular solutions. The formula can be
rewritten as
C1
~
~ = ... .
~x(t) = [ ~x1 (t) ~xn (t) ] C
with C
Cn
~ is determined by the initial condition
For the initial value problem, C
~ = ~x0
[ ~x1 (0) ~xn (0) ] C
7 9 9
for A = 3
5 3 .
3 3 5
3
1
1
t
2t
2t
~x(t) = C1 e
1 + C2 e
1 + C3 e
0 .
1
0
1
This gives a fundamental matrix solution:
e2t
e2t
0
3et
M (t) = et
et
e2t
0 .
e2t
EXAMPLE 3. Evaluate e
tA
e2t
e2t
0
3et
= et
et
3et 3e2t
et + 2e2t
et e2t
1
3 1 1
e2t
0 1 1 0
e2t
1
0 1
3et + 3e2t
et e2t .
et + 2e2t
5 8 4
for A =
2
3 2 .
6
14 5
1 2t
2
3
~x(t) = C1 et 1 + C2 e3t 1 + C3 e3t 1/2 + t .
t
1
1
This gives a fundamental matrix solution:
t
3e
2e3t
e3t
M (t) = et
et
e3t
e3t 2te3t
1 3t
e + te3t .
2
te3t
3et
= et
et
1
3 2 1
e3t 2te3t
1 3t
e + te3t 1 1 1/2
2
1
1
0
te3t
2e3t
e3t
e3t
9 5
.
for A =
4 5
i
7
+
4i
0
2
P = 2
,
D=
.
1
1
0
7 4i
We have
tD 1
etA = P
(7+4i)t
e1 P
1
1
1
1
+
i
i
e
0
i
+
i
2
2
2
4
= 2
1
1
i
14 i
1
1
0
e(74i)t
2
2
1 1 (7+4i)t
5 (7+4i)t
( 2 4 i)e
+ ( 21 + 14 i)e(74i)t
ie
85 ie(74i)t
8
.
=
1 (74i)t
1
1
1
1
1 (7+4i)t
(7+4i)t
(74i)t
+ 2 ie
( 2 + 4 i)e
+ ( 2 4 i)e
2 ie
1 1 (7+4i)t
5 (7+4i)t
1
1
5 (74i)t
(74i)t
+ ( 2 + 4 i)e
ie
8 ie
( 2 4 i)e
8
.
=
1 (7+4i)t
1 (74i)t
1
1
1
1
2 ie
+ 2 ie
( 2 + 4 i)e(7+4i)t + ( 2 4 i)e(74i)t
Solution 3: (Use fundamental solutions and avoid complex exp functions)
A fundamental matrix solution can be obtained from the eigenvalues and eigenvectors:
7t 1
e 2 cos 4t sin 4t
e7t cos 4t + 21 sin 4t
M (t) =
.
e7t cos 4t
e7t sin 4t
The matrix exponential is
7t 1
1
e 2 cos 4t sin 4t
e7t cos 4t + 21 sin 4t
tA
1
2
e = M (t)M (0) =
e7t cos 4t
e7t sin 4t
1
7t
45 e7t sin 4t
e cos 4t + 21 e7t sin 4t
.
=
e7t sin 4t
e7t cos 4t 21 e7t sin 4t
5
1
0
1
()
The solutions of
(1) It is true that et(A+B) = etA etB if AB = BA. But in general, et(A+B) 6= etA etB .
Example: For
1 1
1 1
0 0
A=
,B =
,A+B =
,
1 1
0 0
1 1
we have
tA tB
e e
1 1 + e2t
=
2 1 e2t
1 e2t
1 + e2t
et
0
but
e
t(A+B)
1 et
1
1
=
1 et
1 et + et
=
2 et et
2 et et
,
2 et + et
0
.
et
d~x
= A(t)~x
dt
does not solve (). This even fails in the scalar case.
dx
Example: The solutions of the scalar equation
= (sin t)x is given by x(t) = e cos t C,
dt
but not et sin t C.
6
(3) Likewise,
~x(t) = e
Rt
0
A(s)ds ~
is also a wrong solution formula for (). This formula is only valid for scalar equations,
i.e., when the space dimension is 1.
Example: Consider
d~x
1
0
1
~x, ~x(0) =
=
2t 1
0
dt
1
0
where A(t) =
.
2t 1
Z
t
0
1
A(s)ds
0
te
e
2t
2
2
0
et
et
1 t
te 21 tet
2
0
, and hence
et
et
3 t
te + 21 tet
2
0
et
= 1 t 3 t
1
te + 2 te
2
0
,
et
0
.
et
All three matrix functions (eB(t) )0 , B 0 (t)eB(t) and eB(t) B 0 (t) are different from each other.
EXERCISES
[1]
[2]
[3]
[4]
[5]
[6]
[7]
5 3
Evaluate e for A =
.
1 1
4 12
tA
(a) Evaluate e for A =
.
3 8
d~x
5
= A~x, ~x(0) =
.
(b) Solve
1
dt
1 4 2
Evaluate etA for A = 3 4 0 .
3 1 3
5
4 2
Evaluate etA for A = 12 9 4 .
12 8 3
9
7
3
(a) Evaluate etA for A = 16 12 5 .
8 5
2
1
d~x
(b) Solve
= A~x, ~x(0) = 1 .
dt
1
5 4
tA
Evaluate e for A =
.
2 1
1 1 0
Evaluate etA for A = 2 3 2 .
0 2 1
tA
Answers:
3
[1]
[2]
[3]
[4]
[5]
[6]
1 2t
3 4t 3 2t
e e
e + e
2
2
2
2
etA =
1 4t 1 2t
1 4t 3 2t
e e
e + e
2
2
2
2
2t
2t
2t
e 6te
12te
tA
(a) e =
3te2t
e2t + 6te2t
2t
5
5e 42te2t
tA
=
(b) ~x(t) = e
e2t 21te2t
1
t
3e 2e2t
5et + 6e2t e3t
3et 4e2t + e3t
5et + 9e2t 3e3t
3et 6e2t + 3e3t
etA = 3et 3e2t
t
2t
t
2t
3t
3e 3e
5e + 9e 4e
3et 6e2t + 4e3t
t
3e 2et
2et 2et
et + et
4et + 5et
2et 2et
etA = 6et + 6et
6et + 6et
4et + 4et
2et et
or, equivalently,
1 (1 i)e(3+2i)t + (1 + i)e(32i)t
2ie(3+2i)t 2ie(32i)t
tA
e =
ie(3+2i)t + ie(32i)t
(1 + i)e(3+2i)t + (1 i)e(32i)t
2