HW2 Sol
HW2 Sol
HW2 Sol
HW #2 Solutions
For a matrix W , with compatible dimensions, the matrix Pi has the following properties
(which can be directly verified):
Thus,
(Pi Ji Pi−1 )kj = (Pi (λi I + S)Pi )kj = (Pi (λi I + S))k(ni −j) = (λi I + S)(ni −k)(ni −j)
1
Now, notice that
(
1, ni − j = (ni − k) + 1
S(ni −k)(ni −j) =
0, otherwise
(
1, k =j+1
=
0, otherwise
= Sjk .
And since λi I is a diagonal matrix with the same entries on the diagonal, we have
Pi Ji Pi−1 = JiT .
Thus, we can permute each Jordan blocks (which by the way do not couple with each other)
and hence, there does exist a permutation matrix P s.t. Claim (a) is true.
J 2 = P −1 AP P −1 AP = P −1 A2 P = P −1 AP = J.
Note that J 2 = J is a block diagonal matrix and hence the individual Jordan blocks do not
interact when computing J 2 . So, without loss of generality, we can consider a single general
Jordan block Ji and show that Ji is 1 × 1 with Ji = 1 ot Ji = 0.
Thus, we see that
The first term is a diagonal matrix, the second term is a matrix with 2λi on locations (i, i + 1)
and 1’s on locations (i, i + 2). But we know that J 2 = J, which has λi on the diagonal, 1’s on
locations (i, i + 1) and zeros everywhere else. Thus, we see that S 2 = 0 and
λ2i = λi ,
whose only solutions are 0 and 1. Since for either of these solutions 2λi 6= 1, we conclude that
S = 0 and hence Ji is in in fact 1 × 1, with Ji = 1 or Ji = 0.
(iii) A1 is upper-triangular. So, its eigenvalues are the diagonal elements, which are all
distinct. So, A1 is diagonalizable. So, the Jordan form of A1 is
1 0 0
J1 = 0 4 0 .
0 0 6
Eigenvalues of A2 are {0, 0} (trace and determinant, which give the sum and product of
eigenvalues are each zero). So, dimension of nullspace of A2 can be 1 or 2. But if the
dimension is 2 then whole of R2 would be the nullspace, which is clearly not the case as
1 1
A2 = .
0 −1
2
So, algebraic multiplicity of eigenvalue 0 is 2 while the geometric multiplicity is 1. So, the
Jordan form of A2 is
0 1
J2 = .
0 0
By part (i) A3 and AT3 have the same Jordan form up to reordering of the blocks. But AT3 is
already in the Jordan form and since the Jordan form of a matrix is unique up to reordering
of the blocks. So, the Jordan form of A3 , J3 = AT3 .
Thus,
which implies
ż = Φ(t0 , t)B(t)u.
where we have used the fact that z(t0 ) = Φ(t0 , t0 )x(t0 ) = x(t0 ). This is the variation of
constants formula.
3. Consider
ẋ = A(t)x, x ∈ Rn
3
(i) Express Φ(t, t0 ) in terms of Φ(t, 0) := g(t), a differentiable function of time t.
(ii) Write A(t) in terms of the function g.
(iii) Repeat (i) and (ii) in the specific case of
(iv) For the A(t) matrix from (iii), compute the eigenvalues of A(t) for a fixed t.
(v) Classify this system in terms of Lyapunov stability with justification.
For parts (iii) and (iv), you may use any symbolic math tools such as MATLAB, MATHE-
MATICA, MAPLE, or anything equivalent.
Solution: (i) First, notice that for each t, the matrix g(t) is invertible. Then,
So (from MATLAB),
" #
3 cos(4t)
2 − 12 2 − 3 sin(4t)
2
A(t) = −3 sin(4t) .
2 −2 − 3 cos(4t)
2 − 21
(iv) Again from MATLAB, the eigenvalues of A(t) for any given t are:
√
1 7
− ± i.
2 2
So, for any fixed t, the matrix A(t) is a “stable” matrix.
(v) Consider the initial condition x(0) = [1 0]T . Then,
t
e cos 2t ∞
lim x(t) = lim Φ(t, 0)x(0) = lim t = .
t→∞ t→∞ t→∞ −e sin 2t 0
ẋ = Ax, x ∈ Rn
and suppose that there exists a positive constant µ and positive-definite matrices P and
Q ∈ Rn×n such that
AT P + P A + 2µP = −Q.
4
Show that all eigenvalues of A have real parts less than −µ. A matrix A with this property
is said to be asymptotically stable with stability margin µ.
Solution: We can rewrite the equation in the question as
where the notation < 0 means a negative-definite matrix. Then, by the Lyapunov stability
theorem we know that the matrix (A + µI) is Hurwitz (meaning all its eigenvalues have
negative real parts).
But notice that if λ is an eigenvalue of the matrix (A + µI) with eigenvector x then, that is,
(A + µI)x = λx,
then
Ax = (λ − µ)x,