ECE504: Lecture 5: D. Richard Brown III
ECE504: Lecture 5: D. Richard Brown III
ECE504: Lecture 5
30-Sep-2008
◮ Rank
◮ Matrix invertibility
Theorem
For any t0 ∈ R, any x(t0 ) ∈ Rn , and any u(t) ∈ Rp for all t ≥ t0 , there
exists a unique solution x(t) for all t ∈ R to the state-update differential
equation (1). It is given as
Z t
x(t) = Φ(t, t0 )x(t0 ) + Φ(t, τ )B(τ )u(τ ) dτ t ∈ R
t0
d
Φ(t, s) = A(t)Φ(t, s) with Φ(s, s) = I n .
dt
Theorem Remarks
◮ Note that this theorem claims two things:
1. A solution to the state-update equation always exists.
2. The solution is unique.
◮ Why is this important?
◮ Not every differential equation has a solution, e.g.
1
ẋ(t) = with x(0) = 5
t
◮ Not every differential equation has a unique solution
Let
Z t
φ(t, s) := exp a(τ ) dτ
s
d
What is dt φ(t, s)?
Let
∞
X 1
Φ(t, s) := Ak (t − s)k
k!
k=0
d
What is dt Φ(t, s)?
d
Φ(t, s) = AΦ(t, s) with Φ(s, s) = I n .
dt
Now lets try the following solution to the scalar state-update differential
equation with initial state condition x(t0 ):
Z t
x(t) = Φ(t, t0 )x(t0 ) + Φ(t, τ )B(τ )u(τ ) dτ ∀t ∈ R
t0
where the state transition matrix satisfies the matrix differential equation
d
Φ(t, s) = A(t)Φ(t, s) with Φ(s, s) = I n . (4)
dt
Note that (4) is consistent with our two warmup cases.
Show that (3) with Φ(t, s) defined according to (4) satisfies the initial
condition requirement of the state-update DE.
Show that (3) with Φ(t, s) defined according to (4) is indeed a solution to
the state-update DE.
0 0
A(t) =
t 0
While the Peano-Baker series establishes existence (and thus concludes the
proof of the existence and uniqueness theorem), it is sometimes easier to
find Φ(t, s) via the “fundamental matrix method” (Chen section 4.5).
Basic idea:
1. Consider the the continuous time DE with x(t) ∈ Rn
Let X(t) be any fundamental matrix of (5). Note that X(t) is invertible
for all t (see Chen p. 107). The state transition matrix Φ(t, s) can then be
computed as
Check:
Φ(s, s) =
d
Φ(t, s) =
dt
0 0
A(t) =
t 0
1. There are many ways to compute Φ(t, s). Some are easier than
others, but computing Φ(t, s) is almost always difficult.
2. Do different methods for computing Φ(t, s) lead to different
solutions?
3. Unlike the DT-STM Φ[k, j], the CT-STM Φ(t, s) is defined for any
(t, s) ∈ R2 . This means that we can specify an initial state x(t0 ) and
compute the system response at times prior to t0 .
4. It is easy to show that Φ(t, s) possesses the semi-group property, i.e.
What is f (x)?
Worcester Polytechnic Institute D. Richard Brown III 30-Sep-2008 19 / 43
ECE504: Lecture 5
Matrix Exponential
Similarities
◮ CT and DT solutions have same “look”.
◮ CT and DT solutions have state transition matrices with same
intuitive properties, e.g. semigroup.
Differences
◮ In DT systems, x[k] is only defined for k ≥ k0 because the DT-STM
Φ[k, k0 ] is only defined for k ≥ k0 .
◮ In CT systems, x(t) is only defined for all t ∈ R because the CT-STM
Φ(t, t0 ) is defined for all (t, t0 ) ∈ R2 .
◮ We didn’t prove this, but the CT-STM Φ(t, t0 ) is always invertible.
This is not true of the DT-STM Φ[k, k0 ].
What We Know
◮ We know how to solve discrete-time LTV and LTI systems.
“Solve” means “write an analytical expression for x[k] and y[k]
given A[k], B[k], C[k], D[k], and x[k0 ]”.
◮ We know that solutions must exist and must be unique.
Our focus is going to shift primarily to LTI systems for a little while.
Definition
S ⊂ Rn is a subspace if and only if S is closed under addition and scalar
multiplication, i.e.
x ∈ S and y ∈ S ⇒ x+y ∈S
and
x ∈ S and α ∈ R ⇒ αx ∈ S.
Definition
A spanning set for the subspace S ⊂ Rn is a set of vectors s1 , . . . sp , each
in S, such that every element of S can be expressed as a linear
combination of the vectors s1 , . . . sp , i.e.
where αi ∈ R for i = 1, . . . , p.
Example: Suppose S is the xy plane in R3 . Which of the following are
spanning sets?
82 39 82 3 2 39 82 3 2 3 2 39 82 3 2 3 9 82 3 2 3 2 39
< 1 = < 1 0 = < 1 0 0 = < 1 1 = < 1 1 0 =
405 or 405 , 415 or 405 , 415 , 405 or 405 , 415 or 405 , 415 , 415
0 0 0 0 0 1 0 0 0 0 0
: ; : ; : ; : ; : ;
Definition
The range of W is defined as the set of all y ∈ Rm such that there exists
an x satisfying W x = y. We denote this subspace of Rm as range(W ).
The range is also sometimes called the “column space” because it is the
subspace generated by linear combinations of the columns of W .
Nullspace
Rn Rm
null
Range
range
Suppose
1 1
W = 1 1 (6)
1 1
1 1 1
W = (7)
1 1 1
1 1
W = (8)
0 1
The pivot columns of A for a basis for the range of A. Note that the
echelon form matrix tells you which columns to pick from A. Example:
1 2 −1 3 0 1
−1 −2 2 −2 −1 1
A= 1
and b = (9)
2 0 4 0 6
0 0 2 2 −1 7
The pivot columns here are the first, third, and fifth. Continued...
Worcester Polytechnic Institute D. Richard Brown III 30-Sep-2008 35 / 43
ECE504: Lecture 5
You should be able to verify that these vectors are linearly independent.
The dimension of the nullspace of A (also called the nullity) is simply the
number of non-pivot columns in the echelon form.
You can use the echelon form to also find a basis for null(A) (see any
good linear algebra textbook for the details). In our example, a basis for
the nullspace is
−2 −4
1
0
0 , −1
0 1
0 0
You should be able to verify that these vectors are linearly independent
and that Ax = 0 if x is any linear combination of these basis vectors.
Most importantly, solutions to Ax = b are unique only when
dim(null(A)) = 0.
Worcester Polytechnic Institute D. Richard Brown III 30-Sep-2008 37 / 43
ECE504: Lecture 5
Rank
Definition
The rank of W is defined as the dimension of the range of W , i.e.
Matrix Transpose
Definition
Given
w11 w12 ... w1n
w21 w22 ... w2n
m×n
W = . .. .. ∈ R
.. . .
wm1 wm2 . . . wmn
C ⊤ = (AB)⊤ = B ⊤ A⊤ ∈ Rn×m
Note that the order of the matrix product has been changed by the
transpose. Do the matrix dimensions agree?
Definition
Given W ∈ Rn×n , we say that W is invertible if there exists V ∈ Rn×n
such that V W = W V = I n . The quantity V is called the matrix inverse
for W and we use the notation: V = W −1 .
The matrix inverse does not always exist, but when it does, it is unique.
W W −1 = I n
(W W −1 )⊤ = I ⊤
n
(W −1 )⊤ W ⊤ = I n
Conclusions
◮ Rank