Lecture 7: Lti Odes & The Matrix Exponential
Lecture 7: Lti Odes & The Matrix Exponential
Disclaimer: These notes have not been subjected to the usual scrutiny reserved for formal publications.
They may be distributed outside this class only with the permission of the Instructor.
ẋ = Ax, x ∈ Rn , A ∈ Rn×n
At A2 t2
eAt = I + + + ···
1! 2!
where I is the n × n identity matrix.
∂
Φ(t, t0 ) = AΦ(t, t0 )
∂t
and
∂
exp(A(t − t0 ))x0 = A exp(A(t − t0 ))x0
∂t
In addition, Φ(t0 , t0 ) = I and exp(A(t0 − t0 )) = I. Hence, Φ(t, t0 ) and exp(A(t − t0 )) satisfy the same ODE
so they are equal.
Hence, the matrix exponential is our friend and we need computational approaches for expressing this little
monster.
First, we note that the matrix exponential has several important properties.
7-1
7-2 Lecture 7: LTI ODEs & the Matrix Exponential
1. e0 = I
2. eA(t+s) = eAt eAs
3. e(A+B)t = eAt eBt ⇐⇒ AB = BA
4. (eAt )−1 = e−At
d At
5. dt e = AeAt = eAt · A
6. Let z(t) ∈ Rn×n . Then the solution to
ż(t) = Az(t)
with z(0) = I is
z(t) = eAt
Recall that
∞
X xk
exp(x) =
k!
k=0
Fact 2.1 Note also that Cayley-Hamilton implies that the matrix exponential is expressible as a polyno-
mial of order n − 1!
Using the series representation of eAt to compute eAt is difficult unless, e.g., the matrix A is nilpotent in
which case the series yields a closed form solution.
Example. Consider
0 1
A=
0 0
Then
0 0
A2 =
0 0
so that
At 1 t
e = I + At =
0 1
u(t − a)
0 a t
• Integration: Z ∞
F (s)
L f (τ ) dτ =
0− s
so that
sX̂(s) − AX̂(s) = I =⇒ X̂(s) = (sI − A)−1
We know (from property 6) that X(t) = eAt so that
so that
s −1
(sI − A) =
0 s
Recall that the inverse of a 2 × 2 matrix
a b
A=
c d
is
−1 1 d −b
A = .
ad − bc −c a
Now, 1 1
1 s 1
(sI − A)−1 = = s s2
1
s2 0 s 0 s
F (s) 1
where we recall that L(f (t)) = s so that L(1) = s; it is also easy to show that the ramp function
transforms to s12 . Hence, 1 1
1 t
eAt = L−1 s s2
1 =
0 s 0 1
7-4 Lecture 7: LTI ODEs & the Matrix Exponential
Example. Consider
1 1
A=
0 1
Then
−1
−1 s−1 −1 1 s−1 1
(sI − A) = =
0 s−1 (s − 1) 2 0 s−1
1
where we recall that Leat = s−a , s > a which can be verified by direct integration. Hence,
1 1 t
tet
e
eAt = L−1 s−1 (s−1)2
=
0 1
s−1
0 et
ẋ = Ax + Bu
y = Cx + Du
where
A ∈ Rn×n , B ∈ Rn×m , C ∈ Rp×n , D ∈ Rp×m
so that
Note that
H(s) = C(sI − A)−1 B + D
is what is normally referred to as the transfer function. It is a map from input to output.
is Z t
A(t−t0 )
x(t) = e x0 + eA(t−τ ) Bu(τ ) dτ (7.1)
t0
Proof. All we need to do is the usual trick of checking that it satisfies the differential equation and initial
condition (then invoke the existence/uniqueness theorem). Indeed,
Z t
d A(t−t0 ) d
ẋ = e x0 + eA(t−τ ) Bu(τ ) dτ
dt dt t0
Z t
A(t−t0 )
= Ae x0 + A(0)Bu(t) + AeA(t−τ ) Bu(τ ) dτ
t0
= Ax(t) + Bu(t)
Z t0 :0
A(0)
A(t0 −τ
)
x(t0 ) = e x0 + e Bu(τ ) dτ = x0
t
0