Algorithm Search⌘K

Definitioncore

Lyapunov function

Also called Lyapunov candidate function.

A Lyapunov function of an equilibrium is a positive definite function that does not increase along the solutions. Its level sets trap the state, which proves Lyapunov stability.

A Lyapunov function is a scalar function of the state that is zero at an equilibrium, positive everywhere else near it, and does not increase along the solutions of the differential equation. The function plays the part of an energy: if the energy cannot grow, a solution that starts with little energy stays where the energy is small, that is, near the equilibrium. Finding such a function proves Lyapunov stability without solving the equation; this is Lyapunov's direct method. A strict decrease gives asymptotic stability. This page defines the function and its variants; the theorems that use it are on their own pages.

Definition

Setting. x˙=f(x)\dot x = f(x) with f:D→Rnf : D \to \mathbb{R}^n locally Lipschitz on a domain D⊆RnD \subseteq \mathbb{R}^n that contains the origin, and f(0)=0f(0) = 0.

Derivative along solutions. For a continuously differentiable V:D→RV : D \to \mathbb{R}, write

V˙(x)=∇V(x)⋅f(x)=∑i=1n∂V∂xi(x) fi(x).\dot V(x) = \nabla V(x) \cdot f(x) = \sum_{i=1}^n \frac{\partial V}{\partial x_i}(x)\, f_i(x) .

This is the Lie derivative LfVL_f V. Along a solution x(t)x(t), the chain rule gives ddtV(x(t))=V˙(x(t))\frac{d}{dt} V(x(t)) = \dot V(x(t)). So V˙\dot V is computed from ff alone, without any solution.

Sign words. A function VV with V(0)=0V(0) = 0 is positive definite on DD if V(x)>0V(x) > 0 for all x∈D∖{0}x \in D \setminus \{0\}, and positive semidefinite if V(x)≥0V(x) \ge 0. It is negative definite or semidefinite if −V-V is positive definite or semidefinite. For a quadratic form V=xTPxV = x^T P x with PP symmetric, VV is positive definite if and only if P>0P > 0 (see positive definite matrix).

Definition. A continuously differentiable function V:D→RV : D \to \mathbb{R} is a Lyapunov function for the equilibrium x=0x = 0 of x˙=f(x)\dot x = f(x) on DD if

  1. V(0)=0V(0) = 0 and V(x)>0V(x) > 0 for x∈D∖{0}x \in D \setminus \{0\}, and
  2. V˙(x)≤0\dot V(x) \le 0 for all x∈Dx \in D.

It is a strict Lyapunov function if also V˙(x)<0\dot V(x) < 0 for x∈D∖{0}x \in D \setminus \{0\}. It is radially unbounded if D=RnD = \mathbb{R}^n and V(x)→∞V(x) \to \infty as ∣x∣→∞|x| \to \infty.

What each kind proves, by the direct method: a Lyapunov function proves Lyapunov stability; a strict one proves asymptotic stability; a strict one that is radially unbounded on Rn\mathbb{R}^n proves global asymptotic stability. A Lyapunov function that is not strict can still prove asymptotic stability with the invariance principle.

Bounds by class K functions. If VV is continuous and positive definite on a ball Br={∣x∣<r}B_r = \{|x| < r\} in DD, there are class K functions α1,α2\alpha_1, \alpha_2 on [0,r)[0, r) with

α1(∣x∣)≤V(x)≤α2(∣x∣)for ∣x∣<r,\alpha_1(|x|) \le V(x) \le \alpha_2(|x|) \quad \text{for } |x| < r ,

and if VV is radially unbounded the functions can be taken of class K-infinity (Khalil 2002, Section 4.4). A strict Lyapunov function has in addition V˙(x)≤−α3(∣x∣)\dot V(x) \le -\alpha_3(|x|) on a smaller ball, for a class K function α3\alpha_3, because −V˙-\dot V is continuous and positive definite. The theorems on exponential stability and input-to-state stability are stated with such bounds.

Level sets. For c>0c > 0, let Ωc\Omega_c be the connected component of {x∈D:V(x)≤c}\{x \in D : V(x) \le c\} that contains the origin. If Ωc\Omega_c is bounded and its closure lies in DD, it is compact and positively invariant: a solution cannot cross the boundary {V=c}\{V = c\} outward while VV does not increase. The level sets shrink to the origin as c→0c \to 0. This is the geometric content of the direct method, and the same sets give inner estimates of the region of attraction.

Quadratic Lyapunov functions. For the linear system x˙=Ax\dot x = A x and V=xTPxV = x^T P x,

V˙(x)=xT(ATP+PA) x.\dot V(x) = x^T (A^T P + P A)\, x .

So VV is a strict Lyapunov function exactly when P>0P > 0 and ATP+PA<0A^T P + P A < 0. Such a PP exists if and only if AA is Hurwitz, and it is found from the Lyapunov equation ATP+PA=−QA^T P + P A = -Q; see Lyapunov theorem for linear systems. The same PP is a strict Lyapunov function near the origin for every nonlinear system x˙=f(x)\dot x = f(x) with ff continuously differentiable and Jacobian AA at 00; this is the proof of the indirect method.

Ways to find one. There is no general recipe, but there are standard sources:

  • the physical energy, for mechanical and electrical systems;
  • a quadratic form from the linearization, valid near the equilibrium;
  • the variable gradient method: choose ∇V\nabla V with free coefficients so that V˙≤0\dot V \le 0, then check that ∇V\nabla V is a gradient (Khalil 2002, Section 4.1);
  • Krasovskii's choice V=f(x)TPf(x)V = f(x)^T P f(x), which works when the Jacobian J(x)J(x) of ff satisfies PJ(x)+J(x)TP≤−QP J(x) + J(x)^T P \le -Q with P>0P > 0, Q>0Q > 0, and when f(x)=0f(x) = 0 only at x=0x = 0;
  • a search over polynomials by sum-of-squares programming, which turns the two sign conditions into a semidefinite program.

The converse Lyapunov theorem says that a Lyapunov function exists for every asymptotically stable equilibrium of a system with locally Lipschitz ff, but its proof builds VV from the solutions, so it does not give a formula.

Examples and non-examples

  • Damped pendulum. x˙1=x2\dot x_1 = x_2, x˙2=−sin⁡x1−bx2\dot x_2 = -\sin x_1 - b x_2 with b>0b > 0. The energy V=12x22+1−cos⁡x1V = \tfrac12 x_2^2 + 1 - \cos x_1 is positive definite on D={∣x1∣<2π}D = \{|x_1| < 2\pi\}, and V˙=x2sin⁡x1+x2(−sin⁡x1−bx2)=−bx22≤0\dot V = x_2 \sin x_1 + x_2(-\sin x_1 - b x_2) = -b x_2^2 \le 0. So VV is a Lyapunov function, and the bottom equilibrium is Lyapunov stable. It is not strict: V˙=0\dot V = 0 on the whole line x2=0x_2 = 0. The invariance principle still gives asymptotic stability.
  • A cubic decay. For x˙=−x3\dot x = -x^3, V=x2/2V = x^2/2 gives V˙=−x4\dot V = -x^4, a strict and radially unbounded Lyapunov function: the origin is globally asymptotically stable. No quadratic VV satisfies V˙≤−k3∣x∣2\dot V \le -k_3 |x|^2 here, since the origin is not exponentially stable.
  • The check matrix. A=[01−2−3]A = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix} and P=[5/41/41/41/4]P = \begin{bmatrix} 5/4 & 1/4 \\ 1/4 & 1/4 \end{bmatrix} give ATP+PA=−IA^T P + P A = -I exactly, so V=54x12+12x1x2+14x22V = \tfrac54 x_1^2 + \tfrac12 x_1 x_2 + \tfrac14 x_2^2 has V˙=−(x12+x22)\dot V = -(x_1^2 + x_2^2).
  • The wrong quadratic for the same system (non-example). With V=x12+x22V = x_1^2 + x_2^2 and the same AA, V˙=2xTAx=−2x1x2−6x22\dot V = 2 x^T A x = -2 x_1 x_2 - 6 x_2^2. At x=(−1,0.1)x = (-1, 0.1) this is 0.2−0.06=0.14>00.2 - 0.06 = 0.14 > 0. So ∣x∣2|x|^2 is not a Lyapunov function, although AA is Hurwitz. A failed choice of VV proves nothing about the system.
  • Not positive definite (non-example). On R2\mathbb{R}^2, V=x12V = x_1^2 is zero on the whole x2x_2 axis, so it is only positive semidefinite. It cannot be used in the direct method as it stands, although the invariance principle accepts some such functions.
  • Not radially unbounded. V=x12/(1+x12)+x22V = x_1^2 / (1 + x_1^2) + x_2^2 is positive definite on R2\mathbb{R}^2, but the level sets {V≤c}\{V \le c\} with c≥1c \ge 1 are unbounded, because V<1+x22V < 1 + x_2^2 for every x1x_1. A strict Lyapunov function of this form does not prove global asymptotic stability; the direct method page gives a system where the conclusion fails.
  • Control Lyapunov function: for x˙=f(x,u)\dot x = f(x, u), a positive definite VV such that for each x≠0x \ne 0 some input makes V˙<0\dot V < 0. It is a design tool.
  • Common Lyapunov function: one VV that decreases for each mode of a switched system.
  • Barrier certificate: a function whose sign separates safe and unsafe states. It proves safety, not stability.
  • ISS-Lyapunov function: a VV with V˙≤−α3(∣x∣)+σ(∣u∣)\dot V \le -\alpha_3(|x|) + \sigma(|u|); see input-to-state stability.
  • Chetaev function: a function that is positive and increasing on a region that touches the equilibrium; it proves instability. It is used on Lyapunov's indirect method.
  • Converse Lyapunov theorem: conditions under which a Lyapunov function must exist.

References

  1. A. M. Lyapunov, The general problem of the stability of motion, translated by A. T. Fuller, International Journal of Control 55(3), 531-773, 1992, the second method, in which a function of the state with a sign-definite derivative along the motion decides stability
  2. Hassan K. Khalil, Nonlinear Systems, third edition, Prentice Hall, 2002, Section 4.1 (Lyapunov functions for autonomous systems, the pendulum examples and the variable gradient method), Section 4.3 (quadratic functions for linear systems) and Section 4.4 (bounds by class K functions)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/Q3981F/text.yaml