Skip to main content
v2026.11,986 entries · CC-BY 4.0

Lyapunov Stability: Definitions, Lyapunov Functions and Worked Examples

What Lyapunov stability means, how Lyapunov functions prove it without solving the ODE, and which theorem to use, with two worked checks.

Written and maintained by CASRAI Editorial Board

Published

On this page

Lyapunov stability is the property that an equilibrium of a dynamical system is stable in the sense of Aleksandr Lyapunov: trajectories that start close to the equilibrium stay close to it for all later time. It is called asymptotic stability when those trajectories also converge to the equilibrium. Lyapunov’s direct method proves either property without solving the differential equations, by finding an energy-like function that never increases along trajectories.

Definition and scope

Take a system written as ẋ = f(x, t) with state x. An equilibrium x* is a point where f(x*, t) = 0 for all t. Murray, Li and Sastry define the equilibrium as locally stable if solutions that start near x* stay near x*, and locally asymptotically stable if, in addition, they tend to x* as t goes to infinity. Their illustration is a pendulum: hanging straight down it is stable, pointing straight up it is unstable, and once damping is added the hanging position is asymptotically stable.

The formal version, as stated on the Wikipedia article on Lyapunov stability, uses an ε-δ condition. The equilibrium is stable if for every ε > 0 there is a δ > 0 such that |x(0) − x*| smaller than δ implies |x(t) − x*| smaller than ε for all t ≥ 0. It is asymptotically stable if it is stable and trajectories starting within some neighbourhood also converge to x*. It is exponentially stable if the convergence is bounded by an exponential, |x(t) − x*| ≤ α|x(0) − x*|e−βt for constants α, β > 0.

Three further distinctions matter in practice:

  • Local versus global. A local result holds only for starting points in some neighbourhood of the equilibrium. A global result holds for every starting point.
  • Uniform versus non-uniform. For time-varying systems, the Caltech notes distinguish stability that depends on the start time from uniform stability that does not.
  • Stable versus asymptotically stable. A frictionless oscillator can be stable without ever settling. The stronger property needs convergence as well.

The theory originates with Lyapunov’s 1892 doctoral work, The General Problem of the Stability of Motion (English translation 1992), and was later developed in control engineering by Kalman and Bertram (1960) and by Barbashin, Krasovskii and LaSalle. The same vocabulary of stable, unstable and asymptotically stable fixed points appears in the control theory overview, where Lyapunov theory is one of the standard tools for proving that a feedback loop is stable.

The direct (second) method and Lyapunov functions

The direct method decides stability without integrating the ODE. It generalises the physical idea that a system which keeps losing energy must settle down. Instead of a physical energy, you look for a scalar function V(x) with two properties on a neighbourhood of the equilibrium: V is positive definite (V = 0 at x* and V > 0 elsewhere), and its derivative along trajectories, V̇ = (∂V/∂x) f(x), is not positive. The Caltech CDS 110 lecture describes V as an energy-like function that bounds |x|. The Caltech CDS 140a notes give the same requirement in their definition of a Liapunov function: L(x*) = 0, L > 0 elsewhere on a neighbourhood, and the derivative of L along the flow is at most zero away from x*.

The conclusion depends on how strong the sign condition on V̇ is:

  • V positive definite and V̇ negative semidefinite near the equilibrium: the equilibrium is locally stable.
  • V positive definite and V̇ negative definite: the equilibrium is locally asymptotically stable.
  • Stronger global and uniform versions exist for time-varying systems. The data table below lays them out side by side, following Table 4.1 of Murray, Li and Sastry.

Two limitations of the theorem are stated openly in the Caltech notes. First, the conditions are sufficient only: if you cannot find a V that works, that proves nothing about whether the equilibrium is stable. Second, there is no general recipe for constructing V. A converse theorem exists, saying that a stable system has some Lyapunov function, but it does not give a computable way to produce one.

Worked example: a two-state system

The CDS 110 lecture uses the system ẋ₁ = −x₁ − x₂, ẋ₂ = −x₂ with the candidate V = x₁² + x₂². The function is positive definite, and differentiating along trajectories gives

V̇ = 2x₁(−x₁ − x₂) + 2x₂(−x₂) = −2x₁² − 2x₁x₂ − 2x₂² = −(x₁ + x₂)² − x₁² − x₂².

Each of the three squares is non-negative and they vanish together only at the origin, so V̇ is negative definite. The origin is therefore asymptotically stable. Because V also grows without bound as |x| grows (it is radially unbounded, a property the Wikipedia article identifies as needed for global conclusions), the conclusion holds for every initial condition. Notice that nothing was solved: the argument is a short algebraic check.

Finding a Lyapunov function

The CDS 110 lecture notes that, before about 2000, finding V was largely guesswork, and that more recently SOSTOOLS (a MATLAB toolbox) can search for a V automatically when the system is polynomial. A quadratic V = xᵀPx with P = Pᵀ positive definite often works, and its level sets are ellipsoids. To prove instability, the lecture looks for a positive definite V whose derivative is also positive definite.

Linear systems and the Lyapunov equation

For a linear system ẋ = Ax, take V = xᵀPx. Then V̇ = xᵀ(AᵀP + PA)x, so you need AᵀP + PA = Q with Q negative definite. The CDS 110 lecture points out that this equation is linear in P, which gives a practical route: choose Q = −I, solve for P, and check whether P is positive definite.

A small instance, worked here from that equation: let A have rows (−1, 0) and (−1, −1), and Q = −I. Writing P with entries p₁, p₂ on the first row and p₂, p₃ on the second, the three scalar equations are −2p₁ − 2p₂ = −1, −2p₂ − p₃ = 0 and −2p₃ = −1. The solution is p₃ = 1/2, p₂ = −1/4, p₁ = 3/4. This P has positive diagonal and determinant 3/4 · 1/2 − 1/16 = 5/16 > 0, so it is positive definite, and the origin is asymptotically stable. The same system is a lower-triangular matrix with both eigenvalues equal to −1, which agrees with the eigenvalue test below.

The indirect method: linearisation

Lyapunov’s indirect method linearises a nonlinear system at the equilibrium, A = ∂f/∂x evaluated at 0. If the system is time-invariant and every eigenvalue of A lies in the open left half of the complex plane, the origin is locally asymptotically stable. The Caltech notes add two cautions: counterexamples exist when the linearisation is not (uniformly) asymptotically stable, and the proof gives only a conservative estimate of the region of attraction. In discrete time, for xt+1 = Axt, the corresponding eigenvalue test is that every eigenvalue has modulus below 1 (Wikipedia).

This is also where Lyapunov stability meets the local stability analysis used for bifurcations. Pages such as Hopf bifurcation examine what happens as the eigenvalues of a linearisation cross the imaginary axis, which is the boundary the linearisation test cannot decide on its own.

LaSalle’s invariance principle

Often V̇ is only negative semidefinite, which proves stability but not convergence. LaSalle’s invariance principle (Theorem 4.7 in Murray, Li and Sastry; the Caltech CDS 140a notes credit it to Barbashin and Krasovskii, popularised by LaSalle and Lefschetz in 1961) closes that gap. Suppose V is positive definite and V̇ ≤ 0 on a compact set Ωc = {V ≤ c}, and let S be the set where V̇ = 0. Then every trajectory starting in Ωc tends to the largest invariant set contained in S. If that set is only the origin, the origin is asymptotically stable. The principle also gives an estimate of the region of attraction.

The notes illustrate it with a nonlinear spring-mass-damper, using the energy V = x₂²/2 plus the integral of the spring force. There V̇ = −x₂f(x₂) is only semidefinite, so the basic theorem gives stability alone, and LaSalle’s principle upgrades it to asymptotic stability. The notes also warn that the principle applies to autonomous or periodic systems and has no significant generalisation to non-periodic time-varying ones.

Lyapunov stability and Lyapunov exponents share a name and are easily confused. Stability is a property of an equilibrium, established with a function V or a linearisation. Exponents measure the average exponential rate at which nearby trajectories separate, and are discussed on the nonlinear dynamics page. The table compares the three Lyapunov-style tools on this page.

Tool What you need What it proves Stated limitation
Direct method A function V positive definite near the equilibrium, with the sign of V̇ checked Stability, asymptotic stability, or global versions, by the strength of the conditions Sufficient only; no general way to construct V
Indirect method The Jacobian A at the equilibrium and its eigenvalues Local asymptotic stability when all eigenvalues are in the open left half-plane Local only; conservative region estimate; counterexamples if the linearisation is not asymptotically stable
LaSalle principle V with V̇ ≤ 0 on a compact set, plus the largest invariant set where V̇ = 0 Convergence to that invariant set, hence asymptotic stability if it is the origin Autonomous or periodic systems only

Where it matters in laboratory and instrument settings

Laboratory instruments that regulate a quantity, such as a temperature, a position or a flow, are feedback systems, and the control-theory sources above are the standard way to analyse whether such a loop settles. The practical point from those sources is that Lyapunov results are statements about a mathematical model of the loop. A proof of asymptotic stability holds for the model that was analysed, and the region of attraction the proof certifies may be much smaller than the region where the real loop behaves well, because both the theorems and the linearisation bound are conservative. This is an editorial reading of the sources, not a statement from them about any particular instrument.

Common misunderstandings

  • Failing to find V does not mean instability. The theorem gives sufficient conditions only. Instability needs its own proof, such as a function with positive definite V̇.
  • Stable does not mean convergent. Lyapunov stability keeps trajectories near the equilibrium; asymptotic stability adds convergence.
  • Negative eigenvalues of the linearisation are a local statement. They say nothing by themselves about a large disturbance.
  • LaSalle is not a time-varying tool. It applies to autonomous or periodic systems.
  • Lyapunov function and Lyapunov exponent are different objects.

Frequently asked questions

What is Lyapunov stability in simple terms?

An equilibrium is Lyapunov stable if trajectories that begin near it stay near it. It is asymptotically stable if they also converge to it as time goes on.

What is a Lyapunov function?

It is a scalar, energy-like function that is zero at the equilibrium and positive elsewhere near it, whose derivative along trajectories is not positive. Finding one proves stability without solving the equations.

What is the difference between stable and asymptotically stable?

Stable means trajectories stay near the equilibrium. Asymptotically stable means they stay near and also tend to the equilibrium as t goes to infinity.

Does failing to find a Lyapunov function mean the system is unstable?

No. The Lyapunov conditions are sufficient, not necessary, so a failed search is inconclusive.

When do you use LaSalle’s invariance principle?

When V̇ is only negative semidefinite, so the basic theorem gives stability but not convergence. It applies to autonomous or periodic systems.

How is stability of a linear system checked?

Either by the eigenvalues of A (all in the open left half-plane) or by solving AᵀP + PA = Q for P with Q negative definite and confirming P is positive definite.

Sources

Data: Lyapunov stability theorem: conditions on V and its derivative by conclusion

Compares the four conclusions of the basic Lyapunov stability theorem (Table 4.1 in Murray, Li and Sastry) by the required properties of the candidate function V and of its derivative along trajectories, and by whether the result is local or global. Compiled from the Caltech lecture notes cited, with the radial unboundedness note taken from the Wikipedia article.

Lyapunov stability theorem: conditions on V and its derivative by conclusion
ConclusionCondition on VCondition on V-dot (derivative along trajectories)Scope
StableLocally positive definiteLess than or equal to 0 locallyLocal
Uniformly stableLocally positive definite and decrescentLess than or equal to 0 locallyLocal, uniform in start time
Uniformly asymptotically stableLocally positive definite and decrescentNegative of V-dot locally positive definiteLocal, uniform in start time
Globally uniformly asymptotically stablePositive definite and decrescent (radially unbounded for global conclusions)Negative of V-dot positive definiteGlobal, uniform in start time

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about Lyapunov Stability: Definitions, Lyapunov Functions and Worked Examples

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →