Lyapunov function: Nonlinear Function
Created: January 04, 2024
Modified: January 04, 2024

Lyapunov function

This page is from my personal notes, and has not been specifically reviewed for public consumption. It might be incomplete, wrong, outdated, or stupid. Caveat lector.

Used in analyzing the stability of an equilibrium of a dynamical system. A Lyapunov function is a scalar-valued function of the state space that

  1. decreases along trajectories of the systemFormally, for system x˙=g(x)\dot{x} = g(x) a Lyapunov function V(x)V(x) must satisfy Vg0\nabla V \cdot g \le 0 for all xx. and
  2. is positive everywhere but the equilibrium, where it decreases to zero.

If such a function can be constructed for a given system and equilibrium point, it demonstrates that the equilibrium is stable.

A trivial example: for gradient descent on a function f(x)f(x) minimized at zero (e.g., an error rate or similar nonnegative loss function), the objective ff is itself a Lyapunov function of the gradient dynamics.