Lyapunov Stability Theory

⚡ Key Takeaways

Lyapunov Stability Theory studies whether solutions of a dynamical system that start near an equilibrium remain near it (stability) and whether they converge to it (asymptotic stability). Key result: if there exists a scalar "energy-like" function VV that is positive definite and whose derivative along trajectories is negative (semi)definite, then the equilibrium is (asymptotically) stable — without solving the differential equation. Applies to ODEs, control systems, mechanics, ecology, and numerical analysis. Introduced by Aleksandr Mikhailovich Lyapunov in his 1892 doctoral thesis.

💡 The Core Insight

Replace the question "where does every trajectory go?" with the simpler question "does some scalar function decrease along every trajectory?" If a positive-definite function V(x)V(x) — a generalized energy — can only decrease as the system evolves, the state cannot escape the bowl-shaped level sets of VV. Monotone decrease of VV forces the trajectory toward the bottom of the bowl, i.e., toward the equilibrium. The genius is that VV need not be the physical energy and the system need not be solved.

Formal Statement

Consider the autonomous nonlinear system

1
x˙=f(x),x∈D⊆Rn,f(0)=0,\quad \dot{x} = f(x), \qquad x \in \mathcal{D} \subseteq \mathbb{R}^n, \quad f(0) = 0,

Derivation hint: We center coordinates so the equilibrium of interest is the origin; any equilibrium x∗x^* is shifted via y=x−x∗y = x - x^*, giving y˙=f(y+x∗)\dot{y} = f(y + x^*). Here f:D→Rnf:\mathcal{D}\to\mathbb{R}^n is assumed locally Lipschitz so that solutions exist and are unique. The origin is an equilibrium because f(0)=0f(0)=0 keeps the system frozen there.

DefinitionStability in the Sense of Lyapunov

The equilibrium x=0x=0 of [1] is:

  • Stable if for every ε>0\varepsilon > 0 there exists δ=δ(ε)>0\delta = \delta(\varepsilon) > 0 such that
2
∥x(0)∥<δ  ⟹  ∥x(t)∥<ε∀ t≥0.\quad \|x(0)\| < \delta \;\Longrightarrow\; \|x(t)\| < \varepsilon \quad \forall\, t \ge 0.

Derivation hint: This is the ε\varepsilon–δ\delta definition of continuity transplanted from analysis: small initial deviations produce uniformly small future deviations; δ\delta may shrink as ε\varepsilon shrinks.

  • Asymptotically stable if it is stable and δ\delta can be chosen so that
3
∥x(0)∥<δ  ⟹  lim⁡t→∞x(t)=0.\quad \|x(0)\| < \delta \;\Longrightarrow\; \lim_{t\to\infty} x(t) = 0.

Derivation hint: Add convergence to mere boundedness; the basin of attraction is the set of all x(0)x(0) for which this limit holds.

  • Exponentially stable if there exist constants c,λ,δ>0c, \lambda, \delta > 0 with
4
∥x(t)∥≤c ∥x(0)∥ e−λt,∥x(0)∥<δ.\quad \|x(t)\| \le c\,\|x(0)\|\,e^{-\lambda t}, \qquad \|x(0)\| < \delta.

Derivation hint: Strengthen convergence to a guaranteed decay rate λ\lambda; this is the quantitative counterpart of asymptotic stability.

  • Unstable if it is not stable.
⚠️ Common mistake

Stability and asymptotic stability are logically distinct. A center (e.g., the undamped harmonic oscillator) is stable but not asymptotically stable: orbits stay near the origin forever without ever converging. Conversely, "all trajectories converge to 0" does not imply stability — there exist systems where trajectories first wander arbitrarily far before returning, violating [2] despite satisfying [3]. Both clauses matter.

To certify these properties, introduce a candidate scalar function and its derivative along trajectories.

DefinitionLyapunov Function Candidate and Its Orbital Derivative

Let V:D→RV:\mathcal{D}\to\mathbb{R} be continuously differentiable with V(0)=0V(0)=0. Define its derivative along trajectories of [1] by the chain rule:

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

Derivation hint: Differentiate V(x(t))V(x(t)) via the multivariable chain rule and substitute x˙i=fi(x)\dot{x}_i = f_i(x) from [1]; note V˙\dot V depends only on xx, not on the unknown solution. VV is positive definite on D\mathcal{D} if V(0)=0V(0)=0 and V(x)>0V(x)>0 for x≠0x\neq 0; positive semidefinite if V(x)≥0V(x)\ge 0. Negative (semi)definiteness is defined analogously for −V-V.

TheoremLyapunov's Direct (Second) Method

Let x=0x=0 be an equilibrium of [1] and let V:D→RV:\mathcal{D}\to\mathbb{R} be C1C^1 and positive definite on a neighborhood D\mathcal{D} of the origin. 1. If V˙(x)≤0\dot V(x) \le 0 on D\mathcal{D} (negative semidefinite), then x=0x=0 is stable. 2. If V˙(x)<0\dot V(x) < 0 for all x∈D∖{0}x \in \mathcal{D}\setminus\{0\} (negative definite), then x=0x=0 is asymptotically stable. 3. If additionally D=Rn\mathcal{D}=\mathbb{R}^n, VV is radially unbounded (V(x)→∞V(x)\to\infty as ∥x∥→∞\|x\|\to\infty), and V˙<0\dot V<0 for all x≠0x\neq 0, then x=0x=0 is globally asymptotically stable.

TheoremLyapunov's Indirect (First) Method

Let A=∂f∂x∣x=0A = \left.\dfrac{\partial f}{\partial x}\right|_{x=0} be the Jacobian of ff at the origin. Then:

6
If Re⁡ λi(A)<0  ∀i  ⇒  origin asymptotically stable; if some Re⁡ λi(A)>0  ⇒  unstable.\quad \text{If } \operatorname{Re}\,\lambda_i(A) < 0 \;\forall i \;\Rightarrow\; \text{origin asymptotically stable; if some } \operatorname{Re}\,\lambda_i(A) > 0 \;\Rightarrow\; \text{unstable.}

Derivation hint: Write f(x)=Ax+g(x)f(x)=Ax+g(x) with ∥g(x)∥/∥x∥→0\|g(x)\|/\|x\|\to 0; the linear part dominates the dynamics in a neighborhood, so eigenvalue placement of AA governs local behavior. The case Re⁡λi=0\operatorname{Re}\lambda_i = 0 is inconclusive.

Why It Holds / Derivation

ProofProof of Stability — Theorem Part 1

Step 1 (Choose a sublevel set). Fix ε>0\varepsilon>0 small enough that the closed ball B‾ε⊂D\overline{B}_\varepsilon \subset \mathcal{D}. Let

7
m=min⁡∥x∥=εV(x)>0,\quad m = \min_{\|x\|=\varepsilon} V(x) > 0,

Derivation hint: VV is continuous and positive on the compact sphere {∥x∥=ε}\{\|x\|=\varepsilon\}, so the minimum exists and is strictly positive by positive definiteness.

Step 2 (Pick a trapping level). Choose 0<β<m0<\beta<m and define Ωβ={x∈Bε:V(x)≤β}\Omega_\beta = \{x\in B_\varepsilon : V(x)\le\beta\}. Because VV is continuous with V(0)=0V(0)=0, there is δ>0\delta>0 with Bδ⊂ΩβB_\delta\subset\Omega_\beta.

Step 3 (Invariance). For x(0)∈Ωβx(0)\in\Omega_\beta, since V˙≤0\dot V\le 0,

8
V(x(t))≤V(x(0))≤β<m∀ t≥0.\quad V(x(t)) \le V(x(0)) \le \beta < m \qquad \forall\, t\ge 0.

Derivation hint: Integrate V˙≤0\dot V \le 0 from 00 to tt; VV is nonincreasing along trajectories so the trajectory cannot leave the sublevel set Ωβ\Omega_\beta.

Step 4 (Confinement). Were ∥x(t1)∥=ε\|x(t_1)\| = \varepsilon for some t1t_1, then V(x(t1))≥m>βV(x(t_1))\ge m > \beta, contradicting [8]. Hence ∥x(t)∥<ε\|x(t)\|<\varepsilon for all t≥0t\ge 0. Thus ∥x(0)∥<δ⇒∥x(t)∥<ε\|x(0)\|<\delta \Rightarrow \|x(t)\|<\varepsilon, which is exactly Lyapunov stability. ■\blacksquare

∎
ProofProof of Asymptotic Stability — Theorem Part 2

Step 1. Stability holds by Part 1, so x(t)x(t) stays in Ωβ\Omega_\beta, a compact set. V(x(t))V(x(t)) is nonincreasing and bounded below by 00, hence converges to some limit V(x(t))→c≥0V(x(t))\to c\ge 0.

Step 2 (Show c=0c=0). Suppose c>0c>0. By continuity there is d>0d>0 with Bd⊂{V<c}B_d \subset \{V<c\}. Then x(t)x(t) remains in the annulus {d≤∥x∥≤ε}\{d \le \|x\| \le \varepsilon\}, on which V˙\dot V attains a negative maximum −γ<0-\gamma<0:

9
V(x(t))=V(x(0))+∫0tV˙(x(τ)) dτ≤V(x(0))−γt.\quad V(x(t)) = V(x(0)) + \int_0^t \dot V(x(\tau))\,d\tau \le V(x(0)) - \gamma t.

Derivation hint: On the compact annulus V˙\dot V is continuous and strictly negative, hence bounded above by some −γ<0-\gamma<0; integrate this bound.

Step 3 (Contradiction). The right side of [9] →−∞\to -\infty, contradicting V≥0V\ge 0. Therefore c=0c=0, forcing V(x(t))→0V(x(t))\to 0, and by positive definiteness x(t)→0x(t)\to 0. ■\blacksquare

∎
TheoremLaSalle's Invariance Principle

Let Ω\Omega be a compact positively invariant set, and let VV be C1C^1 with V˙(x)≤0\dot V(x)\le 0 on Ω\Omega. Let E={x∈Ω:V˙(x)=0}E = \{x\in\Omega : \dot V(x)=0\} and let MM be the largest invariant set contained in EE. Then every solution starting in Ω\Omega approaches MM as t→∞t\to\infty. This rescues asymptotic-stability conclusions when V˙\dot V is only negative semidefinite: if M={0}M=\{0\}, the origin is asymptotically stable even though V˙\dot V vanishes off the equilibrium.

AM
Aleksandr Mikhailovich Lyapunov
1857–1918

A student of Chebyshev at St. Petersburg, Lyapunov defended his doctoral dissertation The General Problem of the Stability of Motion (1892), creating both the direct and indirect methods at a stroke and rigorously framing the modern definitions of stability. He also founded the theory of figures of equilibrium of rotating fluids and proved a central limit theorem under the condition that bears his name (the Lyapunov condition). His work was largely unknown in the West until the 1940s–1960s, when control engineers rediscovered it and made it the backbone of nonlinear systems theory. Following the death of his wife, Lyapunov took his own life in Odessa in 1918, days after she died of tuberculosis.

Building Intuition

🧠 Intuition

Picture the level sets of VV as nested, bowl-shaped contour lines around the origin, like a topographic map of a valley with the equilibrium at the lowest point. The condition V˙≤0\dot V \le 0 says the state, as it moves, can only step downhill or sideways across these contours — never uphill. A ball placed anywhere in the bowl can never climb out, so it stays near the bottom (stability). If the rule is strictly downhill, V˙<0\dot V < 0, the ball must keep descending until it settles at the bottom (asymptotic stability). LaSalle's principle handles the subtle case where the ball can roll along a contour (where V˙=0\dot V = 0) for a while: as long as it can't stay on such a contour forever, it must eventually resume its descent.

Figure
Phase plane with a Lyapunov level set Ωβ\Omega_\beta trapping a spiraling trajectory that crosses contours inward
x₁ x₂ V = β (Ω_β) x(0) 0 trajectory crosses contours inward: V̇ < 0

Worked Examples

ExampleDamped Pendulum — Asymptotic Stability via LaSalle

Given. A pendulum with unit mass and length, gravity g=9.81 m/s2g=9.81~\mathrm{m/s^2}, length ℓ=1 m\ell = 1~\mathrm{m}, damping b=0.5 kg m2/sb = 0.5~\mathrm{kg\,m^2/s}. With x1=θx_1=\theta (angle, rad) and x2=θ˙x_2=\dot\theta (angular velocity, rad/s):

10
x˙1=x2,x˙2=−gℓsin⁡x1−b x2.\quad \dot x_1 = x_2, \qquad \dot x_2 = -\frac{g}{\ell}\sin x_1 - b\,x_2.

Derivation hint: Newton's second law for rotation θ¨=−(g/ℓ)sin⁡θ−bθ˙\ddot\theta = -(g/\ell)\sin\theta - b\dot\theta written as a first-order system.

Step 1 — Candidate (total energy). Take V=V = kinetic + potential energy:

11
V(x)=12x22+gℓ (1−cos⁡x1).\quad V(x) = \tfrac{1}{2}x_2^2 + \frac{g}{\ell}\,(1-\cos x_1).

Derivation hint: Rotational kinetic energy 12θ˙2\tfrac12 \dot\theta^2 plus gravitational potential gℓ(1−cos⁡θ)\tfrac{g}{\ell}(1-\cos\theta); VV is positive definite near the origin since 1−cos⁡x1≈x12/2>01-\cos x_1 \approx x_1^2/2 > 0.

Step 2 — Orbital derivative.

12
V˙=gℓsin⁡x1 x˙1+x2 x˙2=gℓsin⁡x1 x2+x2 ⁣(−gℓsin⁡x1−bx2)=−b x22≤0.\quad \dot V = \frac{g}{\ell}\sin x_1\,\dot x_1 + x_2\,\dot x_2 = \frac{g}{\ell}\sin x_1\,x_2 + x_2\!\left(-\frac{g}{\ell}\sin x_1 - b x_2\right) = -b\,x_2^2 \le 0.

Derivation hint: Substitute [10] into [5]; the cross terms cancel, leaving only the dissipation term −bx22-b x_2^2.

Step 3 — LaSalle. V˙=0  ⟺  x2=0\dot V = 0 \iff x_2 = 0. On the set {x2=0}\{x_2=0\}, the dynamics give x˙2=−(g/ℓ)sin⁡x1\dot x_2 = -(g/\ell)\sin x_1, so to remain invariant we need sin⁡x1=0⇒x1=0\sin x_1 = 0 \Rightarrow x_1=0 (locally). The largest invariant set is {0}\{0\}.

Result.

The origin (pendulum hanging at rest) is asymptotically stable; numeric −bx22=−0.5 x22 J/s.\boxed{\text{The origin (pendulum hanging at rest) is asymptotically stable; numeric } -b x_2^2 = -0.5\,x_2^2~\mathrm{J/s}.}
ExampleLinear System — Solving the Lyapunov Equation

Given. The stable linear system x˙=Ax\dot x = Ax with

13
A=(01−2−3),eigenvalues λ=−1,−2.\quad A = \begin{pmatrix} 0 & 1 \\ -2 & -3 \end{pmatrix}, \qquad \text{eigenvalues } \lambda = -1, -2.

Derivation hint: det⁡(A−λI)=λ2+3λ+2=(λ+1)(λ+2)\det(A-\lambda I) = \lambda^2 + 3\lambda + 2 = (\lambda+1)(\lambda+2); both eigenvalues have negative real part.

Step 1 — Lyapunov equation. Seek V=x⊤PxV = x^\top P x with P=P⊤≻0P=P^\top \succ 0 solving

14
A⊤P+PA=−Q,Q=I.\quad A^\top P + P A = -Q, \qquad Q = I.

Derivation hint: V˙=x⊤(A⊤P+PA)x\dot V = x^\top(A^\top P + P A)x; choosing −Q-Q negative definite forces V˙<0\dot V<0. For Hurwitz AA and any Q≻0Q\succ 0, a unique P≻0P\succ 0 exists.

Step 2 — Solve. Writing P=(p11p12p12p22)P=\begin{pmatrix}p_{11}&p_{12}\\p_{12}&p_{22}\end{pmatrix} and matching entries of A⊤P+PA=−IA^\top P + PA = -I:

15
−4p12=−1,p11−3p12−2p22=0,2p12−6p22=−1.\quad -4p_{12} = -1,\quad p_{11}-3p_{12}-2p_{22}=0,\quad 2p_{12}-6p_{22}=-1.

Derivation hint: Expand the matrix product symbolically and equate the three independent (symmetric) entries to those of −I-I.

Step 3 — Values. From these: p12=14p_{12}=\tfrac14, then p22=16 ⁣(1+2⋅14)=14p_{22}=\tfrac{1}{6}\!\left(1+2\cdot\tfrac14\right)=\tfrac14, and p11=3⋅14+2⋅14=54p_{11}=3\cdot\tfrac14+2\cdot\tfrac14=\tfrac54.

P=(1.250.250.250.25),det⁡=0.25>0, p11>0⇒P≻0, V=x⊤Px certifies global asymptotic stability.\boxed{P = \begin{pmatrix} 1.25 & 0.25 \\ 0.25 & 0.25 \end{pmatrix},\quad \det = 0.25 > 0,\ p_{11}>0 \Rightarrow P\succ 0,\ V=x^\top P x \text{ certifies global asymptotic stability.}}

Common Misconceptions

⚠️ Common mistake

A failed Lyapunov candidate does not prove instability. If you try some VV and find V˙\dot V is positive somewhere, you have learned nothing about stability — only that this particular VV does not work. Lyapunov's conditions are sufficient, not necessary, in the constructive sense. To prove instability you need a separate tool (Chetaev's theorem) or the indirect method with an eigenvalue in the right half-plane.

⚠️ Common mistake

V˙<0\dot V < 0 for all x≠0x\neq 0 is not enough for global asymptotic stability without radial unboundedness. Without V(x)→∞V(x)\to\infty, level sets can be unbounded and trajectories can escape to infinity along them while VV stays bounded. Forgetting this hypothesis is the single most common error in global stability claims.

CounterexampleConvergence without stability

Consider a planar system in polar coordinates where every trajectory eventually reaches the equilibrium but must first traverse a long excursion: trajectories from points just off the positive xx-axis travel almost fully around a circle before spiraling in. Formally one constructs ff so that r(t)→0r(t)\to 0 for all initial conditions (so [3] holds), yet for any δ\delta there is a start with ∥x(0)∥<δ\|x(0)\|<\delta whose trajectory reaches ∥x∥=1\|x\|=1 (so [2] fails for ε<1\varepsilon<1). Moral: attractivity does not imply Lyapunov stability; the full definition of asymptotic stability requires both clauses.

CounterexampleThe borderline case of the indirect method

For x˙=−x3\dot x = -x^3 the Jacobian at 00 is A=0A=0, with eigenvalue λ=0\lambda=0 — the indirect method is silent. Yet V=x2V=x^2 gives V˙=−2x4<0\dot V = -2x^4 < 0, so the origin is asymptotically stable. For x˙=+x3\dot x = +x^3 the Jacobian is also 00 but the origin is unstable. Identical linearizations, opposite conclusions: when Re⁡λi=0\operatorname{Re}\lambda_i=0, nonlinear terms decide the outcome and only the direct method (or center-manifold analysis) resolves it.

Connections

connection

Lyapunov theory sits at the crossroads of several fields. The indirect method reduces to Linear Systems Theory and the eigenvalue (Hurwitz) criterion near equilibria. For linear systems, solving [14] is an instance of the algebraic <span class="wiki-link-missing">Lyapunov Equation</span>, intimately tied to controllability and observability Gramians. The notion of an energy-decreasing function generalizes the Hamiltonian Mechanics energy and connects to dissipativity and passivity in Control Theory. LaSalle's principle and ω\omega-limit sets link to <span class="wiki-link-missing">Dynamical Systems</span> and ergodic theory, while converse theorems relate to the smoothness theory of flows. The discrete-time analog replaces V˙\dot V with ΔV=V(xk+1)−V(xk)\Delta V = V(x_{k+1})-V(x_k) and connects to Markov Chains via stochastic Lyapunov (Foster–Lyapunov) drift conditions.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1788 — Lagrange's theorem: an equilibrium of a conservative mechanical system at a strict minimum of potential energy is stable — the conceptual seed of energy methods.
- 1892 — Lyapunov's doctoral dissertation The General Problem of the Stability of Motion (Kharkov) introduces both the direct and indirect methods and the modern stability definitions.
- 1907 — French translation by Édouard Davaux published in Annales de Toulouse, giving the work limited Western circulation.
- 1949 — N. G. Chetaev publishes Stability of Motion, adding the Chetaev instability theorem and consolidating the Soviet school.
- 1950s — Translation efforts and the work of Malkin, Krasovskii, and Barbashin extend converse theorems and global results (Barbashin–Krasovskii).
- 1960 — Joseph LaSalle's invariance principle generalizes asymptotic-stability conclusions to negative-semidefinite V˙\dot V.
- 1961 — LaSalle & Lefschetz's monograph Stability by Liapunov's Direct Method brings the theory firmly into Western control engineering.
- 1960s–70s — Kalman, Yakubovich, and Popov connect Lyapunov functions to frequency-domain criteria (KYP lemma, Popov criterion, absolute stability).
- 1994–present — Boyd et al. recast Lyapunov conditions as linear matrix inequalities (LMIs), making computational search for quadratic and sum-of-squares Lyapunov functions tractable.

Subtleties & Limits

open-problem

The construction problem. Converse theorems (Massera, Kurzweil) guarantee that an asymptotically stable equilibrium admits a smooth Lyapunov function, yet there is no universal constructive procedure for nonlinear systems. Sum-of-squares (SOS) programming searches polynomial VV but is limited by polynomial degree and the gap between nonnegativity and SOS representability (Motzkin-type counterexamples). Estimating the region of attraction sharply is generically hard; Lyapunov sublevel sets typically give conservative under-estimates. For time-varying and switched systems, common vs. multiple Lyapunov functions raise deep existence questions, and deciding stability of switched linear systems under arbitrary switching is undecidable in general. Finally, data-driven / learned Lyapunov functions (neural Lyapunov functions) currently lack the rigorous, scalable verification guarantees that classical certificates enjoy.

See Also

LaSalle's Invariance Principle · Lyapunov Equation · Input-to-State Stability · Control Theory · Dynamical Systems · Hamiltonian Mechanics · Linear Systems Theory · Linear Matrix Inequalities · Lyapunov Exponents