Professional Documents
Culture Documents
Instructions
Read the following instructions carefully before beginning to work on the homework.
• You must submit your solutions on Gradescope. It must be submitted as a single PDF
file, compiled in LATEX or written by hand and scanned into images included in your
pdf. It must be readable by our staff to be graded.
• Please start a new problem on a fresh page and mark on Gradescope all the pages corre-
sponding to each problem. Failure to do so may result in your work not graded completely.
• Clearly indicate the name and Penn email of all your collaborators on your submitted
solutions. You may discuss the problems but you cannot share solutions and whatever
you submit should be your own work. Failure to do so will result in penalties according
to Penn’s Code of Conduct policies.
• Regrades are handled via Gradescope within a week from the releasing of HW grades.
After that no regrade request is admissible. When requesting a regrade, the entire sub-
mission is regraded.
• Please submit only one pdf. If you wrote any code, you have to submit that as well.
1
Problem 2 (Lyapunov stability, 15 points). Consider the non linear system
ẋ = Ax + g(x) (2)
where g(x) is a non linear function of the state x. Prove that there exists an > 0 such that if
kg(x)k2 < kxk2 and the system
ẋ = Ax (3)
But we know that system (3) is asymptotically stable so by Lyapunov theorem we have AT P +
P A = −Q, where Q is a positive definite matrix. Furthermore by Cauchy-Schwartz inequality
we have
Problem 3 (Lyapunov Stability, 15 points). Given an n × n matrix A, show that if there exist
symmetric, positive-definite matrices M, Q ∈ Rn×n satisfying
AT QA − ρ2 Q = −ρ2 M (4)
with ρ > 0, then the eigenvalues of A satisfy |λ| < ρ. Conversely, show that if the eigenvalues
of A satisfy |λ| < ρ, then given any symmetric, positive definite matrix M ∈ Rn×n , there exists
a unique symmetric, positive definite matrix Q ∈ Rn×n that satisfies equation 4.
AT QA − ρ2 Q = −ρ2 M
A A
⇐⇒ ( )T Q − Q = −M
ρ ρ
So the system:
A
xk+1 = xk
ρ
is asymptotically stable. So the eigenvalues of Aρ all have magnitude less than 1. So the eigen-
values of A all have magnitude less than ρ.
To prove the converse, note that every step in the above argument is and if and only if
statement. So the converse holds.
2
Problem 4 (Lyapunov function, 5 points). Consider the nonlinear system
b) Guess Lyapunov function V (x) = x> P x = ax21 +bx22 , where a, b > 0. Then trivially V (0, 0) =
0 and V (x1 , x2 ) is strictly positive for all x1 , x2 except origin (we defined P to be P > 0).
Now
−x1 x22
∂V
V̇ = f (x) = [2ax1 , 2bx2 ] = −2(a − 3b)x21 x22 ≤ 0
∂x 3x21 x2
if a = 3b we prove stability in s.L (V̇ ≤ 0). If we choose a > 3b, for example, b = 1,
a = 4 then we prove asymptotic stability (even a stronger statement than is required in the
problem).
Solution 5. a) λi = {−2, −1, 1}, corresponding eigenvectors are [0, −2, 1]> , [1, 0, 0]> and [0, 1, 1]>
so
−1
0 1 0 0 1 0 0 1 0 −2 0 0 0 −1 1
At 1
e = −2 0 1 eΛt −2 0 1 = −2 0 1 0 −1 0 3 0 0
3
1 0 1 1 0 1 1 0 1 0 0 1 0 1 2
Problem 6 (15 points). Find all the values of θ, that the following system is uniformly stable.
Justify your answer (without using MATLAB).
sin(t − θ) cos(t + θ)
ẋ(t) = x(t), x(t0 ) = x0
− cos(t + θ) sin(t − θ)
β1 (t) = sin(t)and
3
cos(θ) − sin(θ)
A1 =
sin(θ) cos(θ)
and β2 (t) = − cos(t)
sin(θ) − cos(θ)
A2 =
cos(θ) sin(θ)
and
then A(t) = β1 (t)A1 + β2 (t)A2 and in this case Ai s commute with each other(Ai ’s are
rotation
R t matrices in 2 dimension) and A(t) commute with it’s integral; therefore, Φ(t, t0 ) =
exp( t0 A(s)ds) and we can write the following
Z t Z t Z t
Φ(t, t0 ) = exp( A(s)ds) = exp(A1 β1 (s)ds + A2 β2 (s)ds)
t0 t0 t0
Rotation matrices are orthogonal matrices ATi Ai = I; therefore, |λmax (ATi Ai )| = 1 and
Rt Rt
|λmax (ATi Ai ( t0 βi (s)ds)2 )| ≤ |( t0 βi (s)ds)2 | ≤ 4; therefore,
kΦ(t, t0 )k2 ≤ e8
Rotation matrices are orthogonal matrices ATi Ai = I; therefore, |λmax (ATi Ai )| = 1 and
Rt Rt
|λmax (ATi Ai ( t0 βi (s)ds)2 )| ≤ |( t0 βi (s)ds)2 | ≤ 4; therefore,
kΦ(t, t0 )k2 ≤ e8
4
if in our problem kAk ≤ 2 then obviously
which make the state transition matrix bounded immediately. Also for this problem we need to
prove :
Problem 7 (15 points). Consider system (14) and let t0 = 0. Suppose the system is uniformly
exponentially stable and ∀t ≥ 0 : kA(t)k2 ≤ a where a > 0.
∀z ∈ Rn : δm z T z ≤ z T P (t)z ≤ δM z T z
Upper bound.
Z ∞
T
z P (t)z = kφA (σ, t)zk22 dσ
t
Z ∞
≤ kφA (σ, t)k22 kzk22 dσ
Zt ∞
≤ γ 2 e−2α(σ−t) kzk22 dσ because system is exponentially stable
t
∞
γ 2 −2α(σ−t)
= e kzk22
−2α t
γ2
= kzk22
2α
Lower bound.
Z ∞
T
z P (t)z = kφA (σ, t)zk22 dσ
Zt ∞
= ky(σ, t)k22 dσ define y(σ, t) = φA (σ, t)z
t
1 ∞
Z
≥ kA(σ)k2 ky(σ, t)k22 dσ because kA(σ)k2 ≤ a
a t
1 ∞ T
Z
≥ y (σ, t)A(σ)y(σ, t) dσ from HW 2, Problem 3, part a
a t
Z ∞
1
≥ y T (σ, t)A(σ)y(σ, t)dσ
a t
5
Note that
∂ ∂
y(σ, t) = φA (σ, t)z = A(σ)φA (σ, t)z = A(σ)y(σ, t)
∂σ ∂σ
Therefore, we continue as
Z ∞
1
z T P (t)z ≥ y T (σ, t)A(σ)y(σ, t)dσ
a t
Z ∞
1 ∂
= y T (σ, t) y(σ, t)dσ
a t ∂σ
Z ∞
1 1 ∂
y T (σ, t)y(σ, t) dσ
=
a t 2 ∂σ
Z ∞
1 ∂
= ky(σ, t)k22 dσ
2a t ∂σ
∞
1
= ky(σ, t)k22
2a t
1
= lim ky(σ, t)k22 − ky(t, t)k22
2a σ→∞
First, note that
ky(t, t)k22 = kφA (t, t)zk22 = kzk22
Also, note that
ky(σ, t)k22 = kφA (σ, t)zk22 ≤ kφA (σ, t)k22 kzk22 ≤ γ 2 e−2α(σ−t) kzk22
Hence,
lim ky(σ, t)k22 ≤ lim γ 2 e−2α(σ−t) kzk22 = 0
σ→∞ σ→∞
Hint: Given continuous functions φ(t) and ν(t) defined for t ≥ t0 with ν(t) ≥ 0 for t ≥ t0 , and
some constant Ψ, then the inequality
Z t
φ(t) ≤ Ψ + ν(σ)φ(σ)dσ, t ≥ t0
t0
6
Solution 8. First, note that we can model the system as
Where ΦA is the state transition matrix for A(t). Take the norm of both sides to get
Z t
kz(t)k = ΦA (t, t0 )z0 + ΦA (t, σ)F (σ)z(σ)dσ
t0
Since the system is uniformly stable, there exists some constant γ such that kΦA (t, τ )k ≤ γ
for all t, τ . Combining this with the definition of operator norms, we can write
Z t
kz(t)k ≤ γ kz0 k + γ kF (σ)k kz(σ)k dσ
t0
R∞
And use the given fact that τ kF (σ)k dσ ≤ β to bound