Lyapunov’s method is a way to determine stability of an equilibrium without solving the ODE — by finding a scalar function that behaves like an energy, and showing it never increases along solution trajectories. If energy decreases, the system runs out of energy and settles down at the equilibrium.

The method is especially powerful when linearization fails (eigenvalues on the imaginary axis), where linear theory is inconclusive.

Conceptual basis

A conservative pendulum has its total energy preserved (no friction, no external forces). Solutions trace level curves of the energy function — closed orbits at constant energy. The equilibrium has minimum energy.

If the pendulum has friction, energy decreases over time. Solutions spiral inward through level curves toward the equilibrium of minimum energy. This is asymptotic stability.

Lyapunov realized: any function that has a minimum at the equilibrium and never increases along trajectories will play the same role as energy. The system “runs downhill” in until it reaches the minimum.

Definitions

A function defined on a neighborhood of the equilibrium is:

  • Positive definite on if and for all .
  • Positive semi-definite if and for all .
  • Negative definite if is positive definite.
  • Negative semi-definite if is positive semi-definite.

A typical positive-definite has a “bowl” shape with the bottom at :

The derivative along trajectories

The key quantity is the time derivative of along solutions:

You don’t need to know — just compute the gradient of and dot with . This is the rate of change of along whatever trajectory passes through .

If everywhere (except at the equilibrium), strictly decreases on every trajectory — the system runs downhill in , eventually reaching the bottom of the bowl.

Lyapunov stability theorem

Let be an isolated critical point of , and be defined on a neighborhood of with positive definite on . Then:

  1. If on , then is stable.
  2. If on , then is asymptotically stable.

Strict negative definiteness of implies asymptotic stability; semi-definite (allowing on some set) only gives stability.

Lyapunov instability theorem

Suppose and is defined on around the equilibrium. Then:

  1. If for every disk around there exists a point where and , then is unstable.
  2. If for every disk around there exists a point where and , then is also unstable.

[Note: this specific claim is from general knowledge and hasn’t been independently verified. The standard Chetaev-style instability theorem requires the slightly stronger condition that the points have (strict) and on a region adjacent to the equilibrium; some formulations allow but require additional structure.]

The instability versions are about finding some direction in which grows — that direction’s trajectory escapes the equilibrium.

Worked example

Consider:

Linearization at origin: Jacobian is the zero matrix (all first derivatives vanish at origin) — so linear theory is useless.

Try a Lyapunov candidate: for constants .

  • . ✓
  • for when . ✓ (positive definite)

Compute :

For : substitute . Then .

Treat as quadratic in : . Discriminant:

For the quadratic in (which opens downward since coefficient of is ) to be always , we need its discriminant :

Since , we need , i.e., .

For this to hold for all in some neighborhood of : is small, so is small, so any works for sufficiently small neighborhood. Specifically, guarantees it on an open set around origin.

Conclusion: with (say), is positive definite and on a neighborhood of origin. By Lyapunov’s stability theorem, origin is asymptotically stable.

This is information linearization couldn’t provide.

Finding Lyapunov functions

There’s no general algorithm — finding a Lyapunov function is sometimes an art. Strategies:

  1. For mechanical systems: try the total energy (kinetic + potential). Often works.
  2. Quadratic Lyapunov function: for some positive definite matrix . For linear systems, , and you can solve the Lyapunov equation for a chosen .
  3. Symmetric perturbations of energy: for nonlinear systems, modifications of the natural energy.
  4. Use trajectory information if you’ve simulated: should decrease along observed trajectories.

For systems where the linear theory works, see Stability of autonomous systems. For the linearization technique, see Locally linear system.