598 Lecture 16
598 Lecture 16
Matthew M. Peet
Arizona State University
Thanks to S. Lall and P. Parrilo for guidance and supporting material
Stability of Systems with Positive States: Not all states can be negative...
• Cell Populations/Concentrations
• Volume/Mass/Length
We want:
V (x) = xT P x ≥ 0 for all x≥0
T T
V̇ (x) = x (A P + P A)x ≤ 0 for all x≥0
Verify:
T
x Px ≥ 0 for all x≥0
M. Peet Lecture 16: 2 / 33
Optimization of Polynomials:
Some Examples: Robust Control
Theorem 1.
There exists an F (δ) such that kS(P (δ), K(0, 0, 0, F (δ)))kH∞ ≤ γ for all
δ ∈ ∆ if there exist Y > 0 and Z(δ) such that
Y A(δ)T + A(δ)Y + Z(δ)T B2 (δ)T + B2 (δ)Z(δ) ∗T ∗T
B1 (δ)T −γI ∗T < 0 for all δ ∈ ∆
C1 (δ)Y + D12 (δ)Z(δ) D11 (δ) −γI
The system
ẋ(t) = A0 x(t) + M p(t), p(t) = ∆(t)q(t),
q(t) = N x(t) + Qp(t), ∆∈∆
Lower Bound for µ: µ ≥ γ if there exists a P (δ) such that
P (δ) ≥ 0 for all δ
V̇ = xT P (δ)(A0 x + M p) + (A0 x + M p)T P (δ)x < xT x
for all x, p, δ such that
( )
X
(x, p, δ) ∈ x, p, δ : p = diag(δi )(N x + Qp), δi2 ≤γ
i
M. Peet Lecture 16: 4 / 33
Overview
In this lecture, we will show how the LMI framework can be expanded
dramatically to other forms of control problems.
1. Positivity of Polynomials
1.1 Sum-of-Squares
2. Positivity of Polynomials on Semialgebraic sets
2.1 Inference and Cones
2.2 Positivstellensatz
3. Applications
3.1 Nonlinear Analysis
3.2 Robust Analysis and Synthesis
3.3 Global optimization
max bx
x
subject to Ax ∈ C
max γ
V ,γ
subject to
V (x) − xT x ≥ 0 ∀x
T T
∇V (x) f (x) + γx x ≤ 0 ∀x
and
Z4 (x1 )T = 1 x1 x21 x32 x41
Linear Representation
• Any polynomial of degree d can be represented with a vector c ∈ Rm
p(x) = cT Zd (x)
• c is the vector of parameters (decision variables).
• Zd (x) doesn’t change (fixed).
T
2x21 + 6x1 x2 + 4x2 + 1 = 1 0 4 6 2 0 1 x1 x2 x1 x2 x21 x22
subject to
V (x) − xT x ≥ 0 ∀x
T T
∇V (x) f (x) + γx x ≤ 0 ∀x
subject to
cT Z(x) − xT x ≥ 0 ∀x
T T
c ∇Z(x)f (x) + γx x ≤ 0 ∀x
max bT x
n
X
subject to A0 (y) + xi Ai (y) 0 ∀y
i
Definition 4.
A Polynomial, f , is called Positive SemiDefinite (PSD) if
The Primary Problem: How to enforce the constraint f (x) ≥ 0 for all x?
Easy Proof: Certificate of Infeasibility
• A Proof that f is NOT PSD.
• i.e. To show that
f (x) ≥ 0 for all x ∈ Rn
is FALSE, we need only find a point x with f (x) < 0.
Complicated Proof: It is much harder to identify a Certificate of Feasibility
• A Proof that f is PSD.
But is any PSD polynomial the sum, product, or ratio of squared polynomials?
• An old Question....
Definition 5.
A polynomial, p(x) ∈ R[x] is a Sum-of-Squares (SOS), denoted p ∈ Σs if
there exist polynomials gi (x) ∈ R[x] such that
k
X
p(x) = gi (x)2 .
i
g(x)
p(x) =
h(x)
where g, h ∈ Σs .
x2i )d for some d.
P
• If p is positive definite, then we can assume h(x) = ( i
That is,
(x21 + · · · + x2n )d p(x) ∈ Σs
• If we can’t find a SOS representation (certificate) for p(x), we can try
x2i )d p(x) for higher powers of d.
P
( i
Of course this doesn’t answer the question of how we find SOS representations.
Quadratic Form:
Moreover: Any SOS polynomial has a quadratic rep. with a PSD matrix.
Suppose: p(x) = i gi (x)2 is degree 2d (gi are degree d).
P
• Each matrix ci cT T
P
i ≥ 0. Hence Q = i ci ci ≥ 0.
• We conclude that if p ∈ Σs , there is a Q ≥ 0 with p(x) = Zd (x)QZd (x).
Lemma 6.
Suppose M is polynomial of degree 2d. M ∈ Σs if and only if there exists some
Q 0 such that
M (x) = Zd (x)T QZd (x).
Summarizing, e.g., for Lyapunov stability, we have variables M > 0, Q > 0 with
the constraint
−vec(M )T A = vec(Q)T AB
Feasibility implies stability since
T
z 0 1 0 0 0 1 z 0
yz 0 0 1 1 −1 0 yz 0
(y 2 + 1)z 2
yz
4 2 = 0 1 0 1 1 −1 0 0 1
yz y + y − 2y + 1
0 y 0 −1 −1 1 0 0 y
2 2
0 y 1 0 0 0 1 0 y
T
z 0 z 0
yz 0 yz 0
0 1 1 −1 0 T 0 1
1 −1 0
= 0 1
1 0 0
0 1
0 0 1 1 0 0 0 1
y 0 y
2 2
0 y 0 y
T
yz 1 − y yz 1 − y
= 2 2 ∈ Σs
z y z y
Proposition 1.
Suppose: p(x) = Zd (x)T QZd (x) for some Q > 0. Then p(x) ≥ 0 for all
x ∈ Rn
Refinement 2: Suppose ( i x2i )q p(x) = Zd (x)T QZd (x) for some P > 0,
P
q ∈ N. Then p(x) ≥ 0 for all x ∈ Rn .
2 4 4 2 2 2
M (x, y) = x y + x y + 1 − 3x y
1.2
0.8
0.6
0.4
0.2
1
0.5 1
0 0.5
0
−0.5
−0.5
−1 −1
y
x