Lyapunov Stability, Invariant Sets & Regions of Attraction
Lyapunov analysis proves stability without solving every trajectory by finding a scalar function that decreases along the dynamics. Its sign conditions distinguish stability, asymptotic convergence, exponential decay, and invariance; sublevel sets can certify local regions of attraction, but a candidate function is only as strong as the region where its derivative condition is proved.
For with equilibrium shifted to , a Lyapunov function is an energy-like scalar whose value constrains motion. Instead of integrating every initial condition, show that trajectories cannot climb its level sets and, under stronger conditions, must descend toward the equilibrium.
A decreasing makes a sublevel set invariant when the derivative condition holds on its boundary. The largest certified set need not equal the true basin.
Stability notions #
An equilibrium is:
- stable in the sense of Lyapunov if every sufficiently small initial displacement remains small for all future time;
- asymptotically stable if it is stable and nearby trajectories converge to it;
- exponentially stable if convergence is bounded by an exponential rate;
- globally asymptotically stable if all initial states in the state space converge, subject to existence of solutions.
Attraction without stability is possible in pathological systems, so “trajectories seem to return” is not the full definition.
Direct method #
Let be continuously differentiable in a neighborhood of the origin. If
and
then the origin is stable. If for every nonzero in , it is locally asymptotically stable. Bounds of the form
imply local exponential stability.
For a global claim, the inequalities must hold globally and normally must be radially unbounded— as —or another argument must establish bounded trajectories.
Semidefinite derivative and LaSalle #
If but equals zero away from the equilibrium, strict descent is unavailable. LaSalle's invariance principle says bounded trajectories approach the largest invariant subset of
For the damped pendulum, mechanical energy has
The set contains every state with instantaneous zero velocity, but most immediately accelerate and leave. The invariant subset determines the actual limit behavior. Replacing this reasoning with “, therefore asymptotically stable” is a common error.
Worked one-dimensional basin #
Consider
Equilibria are . Choose
Then
Thus for and for . The sublevel set , equivalent to , lies inside the region of attraction of the origin; here it is exact. The same quadratic candidate does not support a global claim.
This example shows why the proof region belongs in the result.
Linear Lyapunov equation #
For , if is Hurwitz, then for any there is a unique solving
Then has
Conversely, existence of such characterizes Hurwitz stability. This converts a pole condition into an energy certificate and generalizes naturally to uncertainty, switching, and nonlinear local analysis.
Numerically, solve the Lyapunov equation with a stable algorithm; do not form Kronecker inverses casually for ill-conditioned large systems. Check symmetry, positive definiteness, residual , and scaling.
Certified invariant sets and regions of attraction #
A sublevel set
is positively invariant if trajectories on its boundary point inward or tangent, for example if throughout it. If the origin is the only invariant set with , trajectories in converge to it.
To estimate a region of attraction:
- choose a candidate from physical energy, a linearized Lyapunov equation, or structured search;
- find the largest for which the set respects state constraints and (or a valid LaSalle condition);
- prove the inequality over the continuous set, not just sampled grid points;
- compare with simulation from boundary-adjacent initial conditions as a falsification check.
The certified set is an inner approximation. Failure to certify outside it is not proof of instability.
Control Lyapunov functions #
For , a control Lyapunov function requires that for each nonzero state there exists an admissible making . Constructing a feedback law also requires continuity, actuator bounds, and robustness. An unconstrained that makes the derivative negative may be physically impossible.
Similarly, barrier functions certify avoidance rather than convergence by preventing trajectories from crossing a boundary. Stability and safety certificates can conflict when the stabilizing action violates a barrier or input limit; controller synthesis must satisfy both.
Common Lyapunov functions and uncertainty #
If one decreases for every model in an uncertainty family, it certifies robust stability for that family. The condition is sufficient and can be conservative: stable members may lack a common quadratic Lyapunov function. For switched systems, a common function can certify arbitrary switching; mode-dependent functions require explicit switching/dwell conditions.
Proof discipline #
State every Lyapunov claim with:
- the exact closed-loop dynamics and equilibrium;
- the domain and differentiability assumptions;
- positive-definiteness and radial-unboundedness conditions actually proved;
- the expression for and where its sign holds;
- any LaSalle invariant-set argument;
- state/input constraints and resulting certified sublevel set;
- whether the result is local, regional, global, asymptotic, or exponential.
Lyapunov analysis is powerful because it replaces trajectory enumeration with a scalar certificate. Omitting the certificate's domain turns that power into overclaiming.