Professional Documents
Culture Documents
Much of the power of the method comes from its simplicity – one does not need to know
any solutions: Knowing only the differential (or difference) equation one can easily establish
whether such an output function is decreasing along solutions. However, while it is easy
to see that for every asymptotically stable system there exists many, even smooth, such
Lyapunov functions, in many cases it is almost impossible to get one’s hands onto one such
Lyapunov function. They are easy to construct for e.g. linear systems, and many strategies
are available for special classes – in general it is a true art to come up with explicit formulas
for good candidate Lyapunov functions.
M.Kawski, APM 581 Diff Equns Intro to Lyapunov theory. November 15, 2009 2
Example 1 For a damped pendulum, write the equation of motion m`φ̈+mk φ̇+mg sin φ = 0
as a first order system:
ẋ = y
ẏ = − g` sin x − ky
A natural candidate Lyapunov function is obtained from the total energy E = Epot + Ekin =
mg`(1 − cos φ) + 12 m`2 φ̇2 . In the (x, y) coordinates this yields, after division by m, the
candidate Lyapunov function
M.Kawski, APM 581 Diff Equns Intro to Lyapunov theory. November 15, 2009 3
1
V (x, y) = g`(1 − cos x) + `2 y 2
2
Near the origin, the graph of this function looks very similar to a paraboloid – but globally
it has other features which will motivate more detailed studies later. It is easily seen (and
discussed in detail below) that the rate of change of V along solutions of the system for
positive friction k > 0, as long as y 6= 0, (with common abuse of notation)
V̇ (x, y) = (DV )(x, y) · (ẋ, ẏ) = g`y sin x + `2 y(− g` sin x − ky) = −k · `2 y 2 ≤ 0
clearly is negative. It makes sense that at the instances when the angular velocity y = φ̇
is zero (i.e. when the pendulum changes directions), there is no loss of energy. But since
the pendulum cannot stay in any of these states, it will continue to lose energy, and settle
into an equilibrium corresponding to V = 0. The detailed analysis of situations in which
the Lyapunov function is not strictly decreasing along trajectories culminates in Lasalle’s
Invariance Principle.
Definition 1
Proposition 1
A continuous function V : Rn 7→ [0, ∞) is radially unbounded if and only if it is proper.
Proof.
• The interval [0, M ] is compact, and since f is proper, the preimage K = V −1 ([0, M ])
is compact.
• If x ∈ Rn such that kxk > R, then x 6∈ K = V −1 ([0, M ]), and thus V (x) > M .
• Since V is radially unbounded, there exists R ∈ R so that V (Rn \ B n (0, R)) ⊆ (M, ∞).
Note: Even if a continuous function V goes to infinity along along every ray r 7→ (r cos θ, r sin θ)
as r goes to infinity, it need not be radially unbounded as the following simple example shows.
r2 r2
V (−r, 0) = 1+r2
+ r2 and V (r cos θ, r sin θ) = 1+r2
+ r2 (1 − 1
1+(r−tan( θ2 ))2
) if θ 6= π.
There are many versions of Lyapunov stability theorems that make different regularity as-
sumptions, that are local or global in nature, that concern continuous or discrete dynamical
systems (differential or difference equations), deterministic or stochastic, finite or infinite
(PDE) dimensional. They all have in common the picture sketched above, but the technical
details may offer many challenges.
A function V satisfying the hypotheses of this theorem is called a Lyapunov function for the
(flow of the) system x0 = f (x).
Proof.
• Hence for every p ∈ B n (0, δ) and all t ≥ 0, Φ(t, p) ∈ B n (0, ε1 ) ⊆ B n (0, ε).
• To show that the origin is attractive, fix any p ∈ Rn and define
c = lim inf V (Φ(t, p)) = lim V (Φ(t, p))
t≥0 t→∞
For time-varying systems x0 = f (t, x) there exists a parallel rich theory which utilizes time
varying Lyapunov functions V (t, x). The main additional technical feature that one needs
M.Kawski, APM 581 Diff Equns Intro to Lyapunov theory. November 15, 2009 6
Proof.
Proof.
M.Kawski, APM 581 Diff Equns Intro to Lyapunov theory. November 15, 2009 7
• Therefore
|V (q2 ) − V (q1 )| ≤ |V (q2 ) − V (Φ(t2 , p))| + |V (Φ(t2 , p)) − V (Φ(t1 , p))| + |V (Φ(t1 , p)) − V (q1 )|
< ε4 + ε2 + ε4 = ε.
There are many theorems that guarantee for every asymptotically stable system the existence
of Lyapunov functions, even with various additional properties such as being C ∞ , or being
homogeneous. But these theorems are mainly useful for theoretical purposes, since, even
though their proofs are generally very constructive, they rely on knowing the solutions of
the system!
In practical applications, where one tries to find a candidate Lyapunov function to establish
asymptotic stability, it generally is considered an art to come up with good candidates. Even
if one has found a Lyapunov function, it may be very difficult to rigorously prove that its
derivative along solution curves is negative definite.
A few general suggestions:
• For asymptotically stable linear systems one always can find a quadratic Lyapunov
function. There is a rich literature in engineering about effectively computing suitable
Lyapunov functions. One of their main uses is to establish robustness properties,
i.e. showing that suitable perturbations of an asymptotically stable system are still
asymptotically stable.
M.Kawski, APM 581 Diff Equns Intro to Lyapunov theory. November 15, 2009 8
• In systems arising from modeling physical models, the total energy of the system, and
various similarly inspired output functions often serve as good starting points.
• Taking Taylor approximations of smooth systems yields systems with polynomial right
hand sides. These suggest that one try polynomial functions as candidate Lyapunov
functions. These are finitely parameterized, and one obtains inequalities for definite-
ness of V and V̇ that have a finite number of parameters, and thus may be amenable to
plain calculus methods for establishing that some minimum is nonnegative for suitable
choices of parameters.
• In general it may be easier to start with a desired negative definite V̇ , use this to
compute the corresponding V , and then show that V is positive definite!
This is demonstrated in the following simple theorem for linear systems.
Proof.
• Sufficiency is immediate.
• Conversely suppose that all eigenvalues of A have strictly negative real parts and
Q = QT is positive definite.
R∞ T
• Define P = 0 etA QetA dt.
This integral converges absolutely because the norm of the integrand is bounded by a
function of the form CtN e−αt for some positive constants C, N, α.
• Since for every t, etA is invertible, this implies x = 0 proving that P is positive definite.
• To show that the function V (x) = xT P x has the desired derivative along solutions,
first note that formally V̇ (x) = ẋT P x + xT P dotx = xT (P A + AT P )x. Now calculate
Z ∞
T T T
PA + A P = etA QetA A + AT etA QetA dt
Z0 ∞
d tAT tA
= dt
e Qe dt
0
∞
T
= etA QetA = −Q.
0
M.Kawski, APM 581 Diff Equns Intro to Lyapunov theory. November 15, 2009 9
• To show uniqueness, suppose P, P̃ ∈ Rn×n are both positive definite, symmetric and
satisfy P A + AT P = P̃ A + AT P̃ = −Q.
• Then (P − P̃ )A + AT (P − P̃ ) = 0, and hence for every t ≥ 0
T
etA (P − P̃ )A + AT (P − P̃ ) etA = 0
d tAT
• But the expression on the left hand side is the time derivative dt
e (P − P̃ ))etA .
T
• Since the derivative vanishes identically, the product etA (P − P̃ )etA must be a constant
function of t, and in particular, must at every time be equal to its value at t = 0.
Therefore for all t ≥ 0,
T T
etA (P − P̃ ))etA = e0·A (P − P̃ )e0·A = P − P̃ .
• On the other hand, since the origin was assumed to be asymptotically stable, as t goes
to infinity, etA goes to zero, and therefore
T
(P − P̃ ) = lim etA (P − P̃ ))etA = 0 · (P − P̃ )) · 0 = 0.
t−→∞
Proofs of converse theorem for nonlinear systems use a similar constructions. One technical
difficulty is that the solution Rmight not converge exponentially fast to the equilibrium, and
∞
hence integrals like V (x) = 0 kΦ(t, x)k2 dt need not converge. Moreover, one needs to
establish that even if this defines a function value V (x) at every point, that the so-defined
function is indeed continuously differentiable. It turns out that one can always achieve that
V is even C ∞ , compare classic theorems by Massera and Kurzweil.
As a hands-on example to illustrate the construction, consider the system x0 = Ax where
0 −1 −1 0
A= , and define − Q = −I = .
1 −1 0 −1
Make the Ansatz V (x) = xT P x = p11 x21 + 2p12 x1 x2 + p22 x22 with pij ∈ R.
Calculate the derivative along solutions of x0 = Ax.
V̇ (x) = (Ax)T P x + xT P (Ax)
= 2p11 x1 x2 − 2p12 x22 + 2p12 x21 − 2p12 x1 x2 + p22 x1 x2 − p22 x22
= 2p12 x21 + 2(−p11 − p12 + p22 )x1 x2 + 2(−p12 − p22 )x22
!
= −x21 − x22 .
This defines a linear system for the entries of P
0 2 0 p11 −1
−2 −2 2 · p12 = 0
0 −2 −2 p22 −1
which has the unique solution 3
− 12
P = 2 .
− 12 1
When trying to adapt Lyapunov methods for stability to an instability theorem, a first
thought might be to keep V positive definite and argue with indefinite V̇ . But unlike in
stability theorems, one does need to consider all trajectories. Hence it suffices to identify a
suitable region in which both V and V̇ have the same sign. The following statement and
arguments use the delicate intersection of a closed set F with the open set V −1 (0, ∞).
M.Kawski, APM 581 Diff Equns Intro to Lyapunov theory. November 15, 2009 10
Proof.
• Using the continuity of V and V̇ there exist m = min V̇ (x) and M = max V (x).
x∈K x∈K
• Let I ⊆ [0, ∞) be the maximal interval of existence for φ: I 7→ E such that φ(0) = z,
and φ0 = f ◦ φ.
• Since V is bounded above by M , T is also bounded above. Let t0 the the least upper
bound of T .
• Since for all t ∈ [0, t0 ), φ(t) ∈ K, and for every δ > 0 there exist t ∈ I, t0 < t < t0 + δ
such that φ(t) 6∈ K it follows that φ(t0 ) lies on the boundary of the set K.
• Since W was arbitrary, this shows that the origin is an unstable equilibrium of f .
This is a very first draft, likely with many many type-ohs. Comments are appreciated.