Lecture 11
Lecture 11
Lecture 11
Lecturer: Pablo A. Parrilo Scribe: ???
In this lecture we continue our study of SOS polynomials. After presenting a couple of applications,
we focus here on the dual side, and provide a natural probabilistic interpretation of the corresponding
problem. We further present some recent results on the density of the cone of SOS polynomials relative
to that of the nonnegative polynomials.
1 SOS applications
1.1 Lyapunov functions
The possibility of reformulating conditions for a polynomial to be a sumofsquares as an SDP is very
useful, since we can use the SOS property in a control context as a convenient sufficient condition for
polynomial nonnegativity. Recent work has applied the sumofsquares approach to the problem of
finding a Lyapunov function for nonlinear systems [Par00, PP02]. This approach allows one to search
over affinely parametrized polynomial or rational Lyapunov functions for systems with dynamics of the
form
ẋi (t) = fi (x(t)) for all i = 1, . . . , n
where the functions fi are polynomials or rational functions. Then the condition that the Lyapunov
function be positive, and that its Lie derivative be negative, are both directly imposed as sumofsquares
constraints in terms of the coefficients of the Lyapunov function.
As an example, consider the following system:
ẋ = −x + (1 + x)y
ẏ = −(1 + x)x.
Using SOSTOOLS [PPP05] we easily find a quartic polynomial Lyapunov function, which after rounding
(for purely cosmetic reasons) is given by
It can be readily verified that both V (x, y) and (−V̇ (x, y)) are SOS, since
⎡ ⎤T ⎡ ⎤⎡ ⎤
x 6 −1 0 0 0 x ⎡ ⎤T ⎡ ⎤⎡ ⎤
⎢−1 8 x 10 1 −1 1 x
⎢y⎥ 0 0 −1⎥ ⎢y⎥
⎢y⎥ ⎢1 2 1 −2 ⎥⎢ y ⎥
−V˙ = ⎢
⎢ 2⎥ ⎢ ⎥ ⎢ 2⎥
⎢x ⎥
⎢0 0 3 0 0⎥
V =⎢ ⎥ ⎢x ⎥ ,
⎥ ⎢ ⎥ ⎥ ⎢ ⎥⎢ ⎥,
⎢ ⎣ x2 ⎦ ⎣−1 1 12 0 ⎦ ⎣ x2 ⎦
⎣xy ⎦ ⎣0 0 0 6 0 ⎦ ⎣xy ⎦
xy 1 −2 0 6 xy
y2 0 −1 0 0 3 y2
and the matrices in the expression above are positive definite. Similar approaches may also be used for
finding Lyapunov functionals for certain classes of hybrid systems.
111
n1 n2
where for simplicity we have restricted ρ, xi , yi to be real. Here xi ∈ Rn1 , yi ∈ Rn2 , and ρ ∈ S+ .
How to recognize if a state is entangled or not?
Complete ToDo
2 Moments
Consider a nonnegative measure µ on R (or if you prefer, a realvalued random variable X). We can
then define the moments, which are the expectation of powers of X.
�
µk := E[X ] = xk dµ
k
(1)
What constraints, if any, should the µk satisfy? Is is true that for any set of numbers µ0 , µ1 , . . . , µk ,
there always exists a nonnegative measure having exactly these moments?
It should be apparent that some conditions are required. For instance, consider (1) for an even value
of k. Since the measure µ is nonnegative, it is clear that in this case we have µk ≥ 0.
However, that’s clearly not enough, and more restrictions should hold. A simple one can be derived by
recalling the relationship between the first and second moments and the variance of a random variable,
i.e., var(X) = E[X 2 ] − E[X]2 = µ2 − µ12 . Since the variance is always nonnegative, we should have
µ2 − µ21 ≥ 0.
How to systematically derive conditions of this kind? Notice that the previous inequality can be
obtained by noticing that for all a, b,
� �T � �� �
a 1 µ1 a
0 ≤ E[(a + bX)2 ] = a2 + 2abE[X] + b2 E[X 2 ] = ,
b µ1 µ2 b
which implies that the 2 × 2 matrix above must be positive semidefinite. Interestingly, the inequality
obtained earlier is exactly equal to the determinant of this matrix.
Exactly the same procedure can be done for higherorder moments. Proceeding this way, we have
that the higher order moments must always satisfy:
⎡ ⎤
1 µ1 µ2 ··· µd
⎢µ1
⎢ µ2 µ3 · · · µd+1 ⎥
⎥
⎢µ2
⎢ µ3 µ4 · · · µd+2 ⎥
⎥ � 0. (2)
⎢ .. .. .. . . . ⎥
.
⎣. . . . . ⎦
µd µd+1 µd+2 ··· µ2d
Notice that the diagonal elements correspond to the evenorder moments, which should obviously be
nonnegative.
Remark 1. For unbounded intervals, the SDP conditions characterize the closure of the set of moments,
but not necessarily the whole set. As an example, consider the set of moments given by µ = (1, 0, 0, 0, 1),
corresponding to the Hankel matrix ⎡ ⎤
1 0 0
⎣0 0 0⎦ .
0 0 1
112
Although the matrix above is PSD, it is not hard to see that there is no nonnegative measure corresponding
to those moments. However, the parametrized atomic measure given by
ε4 1 ε4 1
µε = · δ(x + ) + (1 − ε4 ) · δ(x) + · δ(x − )
2 ε 2 ε
has as first five moments (1, 0, ε2 , 0, 1), and thus as ε → 0 the corresponding Hankel matrix is the one
given above.
where the first inequality follows since 1 ± X is always nonnegative, since X is supported on [−1, 1].
Notice the similarities (in fact, the duality) with the conditions for polynomial nonnegativity.
113
1
0.8
0.6
0.4
0.2
µ3
−0.2
−0.4
−0.6
−0.8 1
0.5
−1
1 0
0.5 −0.5
0 −1
µ1
µ2
Figure 1: Set of valid moments (µ1 , µ2 , µ3 ) of a probability measure on [−1, 1]. This is the convex hull
of the moment curve (t, t2 , t3 ), for −1 ≤ t ≤ 1. An explicit SDP representation is given in (3).
References
[Par00] P. A. Parrilo. Structured semidefinite programs and semialgebraic geometry methods in robust
ness and optimization. PhD thesis, California Institute of Technology, May 2000. Available at
http://resolver.caltech.edu/CaltechETD:etd05062004055516.
[PP02] A. Papachristodoulou and S. Prajna. On the construction of Lyapunov functions using the
sum of squares decomposition. In Proceedings of the 41th IEEE Conference on Decision and
Control, 2002.
114