Fiveable

๐ŸŽ›๏ธControl Theory Unit 6 Review

QR code for Control Theory practice questions

6.4 Lyapunov functions

6.4 Lyapunov functions

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
๐ŸŽ›๏ธControl Theory
Unit & Topic Study Guides

Definition of Lyapunov functions

A Lyapunov function is a scalar function that lets you determine whether a system is stable without actually solving the differential equations describing it. The core idea is borrowed from physics: if you can show that some "energy-like" quantity is always decreasing along system trajectories, the system must be settling down toward equilibrium.

Named after the Russian mathematician Aleksandr Lyapunov (who introduced the concept in the late 19th century), these functions generalize the notion of energy in physical systems. The real power here is that they work for nonlinear systems, where eigenvalue-based methods from linear analysis don't directly apply.

Properties of Lyapunov functions

A valid Lyapunov function must satisfy several properties. Missing even one of these can invalidate your stability conclusions, so pay close attention.

Positive definiteness

A function V(x)V(x) is positive definite if:

  • V(0)=0V(0) = 0 (it's zero at the equilibrium)
  • V(x)>0V(x) > 0 for all xโ‰ 0x \neq 0 (it's strictly positive everywhere else)

This is the most fundamental requirement. Think of it as saying the "energy" is zero only at equilibrium and positive anywhere else. Simple examples: V(x)=x2V(x) = x^2 in one dimension, or V(x)=x12+x22V(x) = x_1^2 + x_2^2 in two dimensions.

Continuous differentiability

Lyapunov functions must be continuously differentiable (C1C^1). This means V(x)V(x) has partial derivatives that are themselves continuous. You need this because the entire method hinges on computing Vห™(x)\dot{V}(x), the time derivative along system trajectories. Without continuous differentiability, that derivative may not exist or may behave erratically.

Radial unboundedness

A function V(x)V(x) is radially unbounded if V(x)โ†’โˆžV(x) \rightarrow \infty as โˆฅxโˆฅโ†’โˆž\|x\| \rightarrow \infty. This property ensures the "energy" grows without bound as you move farther from the origin.

Radial unboundedness is specifically needed for global stability conclusions. Without it, you can only claim stability in some local region. For example, V(x)=x12+x22V(x) = x_1^2 + x_2^2 is radially unbounded, but V(x)=x21+x2V(x) = \frac{x^2}{1 + x^2} is not (it saturates at 1).

Note: V(x)=x2+y2V(x) = \sqrt{x^2 + y^2} is radially unbounded but is not differentiable at the origin, so it wouldn't qualify as a valid Lyapunov function despite satisfying this particular property.

Lyapunov stability theory

Lyapunov stability vs. asymptotic stability

These two terms sound similar but mean different things:

  • Lyapunov stable: Trajectories that start near the equilibrium stay near it. The system doesn't blow up, but it also doesn't necessarily converge. Think of a ball rolling in a perfectly flat-bottomed bowl with no friction.
  • Asymptotically stable: Trajectories not only stay near the equilibrium but actually converge to it as tโ†’โˆžt \rightarrow \infty. Now the bowl has friction, and the ball eventually comes to rest.

Asymptotic stability is strictly stronger. Every asymptotically stable system is Lyapunov stable, but not the other way around.

Lyapunov stability theorems

Lyapunov's direct method (also called the second method) gives sufficient conditions for stability based on the properties of V(x)V(x) and its time derivative Vห™(x)\dot{V}(x):

  1. Lyapunov stability: If V(x)V(x) is positive definite and Vห™(x)โ‰ค0\dot{V}(x) \leq 0 (negative semi-definite), then the equilibrium is Lyapunov stable.
  2. Asymptotic stability: If V(x)V(x) is positive definite and Vห™(x)<0\dot{V}(x) < 0 for all xโ‰ 0x \neq 0 (negative definite), then the equilibrium is asymptotically stable.
  3. Global asymptotic stability: If, in addition to condition 2, V(x)V(x) is also radially unbounded, then the equilibrium is globally asymptotically stable.

The time derivative Vห™(x)\dot{V}(x) is computed along system trajectories using the chain rule:

Vห™(x)=โˆ‡V(x)โ‹…f(x)\dot{V}(x) = \nabla V(x) \cdot f(x)

where f(x)f(x) is the system dynamics from xห™=f(x)\dot{x} = f(x). You never need to solve for x(t)x(t) explicitly.

Lyapunov instability theorem

The logic also works in reverse for proving instability. If you can find a continuously differentiable function V(x)V(x) such that:

  • V(0)=0V(0) = 0
  • V(x)>0V(x) > 0 for some xx arbitrarily close to the origin
  • Vห™(x)>0\dot{V}(x) > 0 for all xโ‰ 0x \neq 0 in a neighborhood of the origin

then the equilibrium is unstable. The "energy" is increasing, so trajectories are being pushed away from equilibrium.

Positive definite functions, Lyapunov Stability Analysis of Certain Third Order Nonlinear Differential Equations

Construction of Lyapunov functions

Finding a Lyapunov function is often the hardest part of the analysis. There's no universal recipe, but several standard approaches exist depending on the system type.

Quadratic Lyapunov functions

The most common form is:

V(x)=xTPxV(x) = x^T P x

where PP is a symmetric positive definite matrix. This function is automatically positive definite and radially unbounded.

For a linear system xห™=Ax\dot{x} = Ax, you can systematically find PP by solving the Lyapunov equation:

ATP+PA=โˆ’QA^T P + P A = -Q

where QQ is any positive definite matrix you choose (often Q=IQ = I, the identity matrix). If AA is stable (all eigenvalues have negative real parts), this equation has a unique positive definite solution PP, and the resulting V(x)=xTPxV(x) = x^T P x proves asymptotic stability.

Steps to construct a quadratic Lyapunov function for a linear system:

  1. Choose a positive definite matrix QQ (e.g., Q=IQ = I).
  2. Solve ATP+PA=โˆ’QA^T P + P A = -Q for PP.
  3. Verify that PP is positive definite (check that all eigenvalues of PP are positive).
  4. If PP is positive definite, then V(x)=xTPxV(x) = x^T P x is a valid Lyapunov function and the system is asymptotically stable.

Non-quadratic Lyapunov functions

For systems with complex nonlinearities, quadratic forms may not work. Alternatives include:

  • Polynomial Lyapunov functions: Higher-degree polynomials, sometimes found using sum-of-squares (SOS) optimization techniques
  • Logarithmic Lyapunov functions: Useful in population dynamics and certain chemical systems
  • Energy-based functions: Directly use the physical energy (kinetic + potential) of the system

Constructing these typically requires insight into the specific system's structure. There's no one-size-fits-all method.

Lyapunov functions for linear vs. nonlinear systems

For linear systems xห™=Ax\dot{x} = Ax, the problem is essentially solved: if all eigenvalues of AA have negative real parts, the Lyapunov equation gives you a valid quadratic function. The process is algorithmic.

For nonlinear systems, things get harder. Common strategies include:

  • Linearization: Use the Jacobian at the equilibrium to get a local quadratic Lyapunov function. This only proves local stability.
  • Energy-based methods: If the system has a physical interpretation, try the total energy as a candidate.
  • Variable gradient method: Assume a form for โˆ‡V\nabla V and solve for VV.
  • SOS programming: Use computational tools to search for polynomial Lyapunov functions.

The choice depends heavily on the specific system. Trial and error is common, and there's no guarantee you'll find one even if the system is stable.

Applications of Lyapunov functions

Stability analysis of equilibrium points

The most direct application: given a nonlinear system, propose a candidate Lyapunov function, compute Vห™(x)\dot{V}(x), and check its sign. Classic examples include the damped pendulum (where total mechanical energy serves as a natural Lyapunov function) and the Van der Pol oscillator.

Stability analysis of periodic orbits

Lyapunov functions can also assess stability of periodic orbits (limit cycles), not just equilibrium points. You construct a Lyapunov-like function in a neighborhood of the orbit and show it decreases toward the orbit. This appears in biological oscillator models like the FitzHugh-Nagumo model and in chaotic systems like the Lorenz system.

Controller design

Lyapunov functions are not just analysis tools; they're also design tools. The idea is to choose a control input uu that makes Vห™(x)\dot{V}(x) negative definite for a chosen V(x)V(x). This approach underpins several major control design methods:

  • Feedback linearization: Cancel nonlinearities and impose linear closed-loop dynamics
  • Backstepping: Build up a Lyapunov function and controller recursively for systems in strict-feedback form
Positive definite functions, Lyapunov Stability Analysis of Certain Third Order Nonlinear Differential Equations

Adaptive control

In adaptive control, system parameters are unknown and must be estimated online. Lyapunov functions guide the design of both the control law and the parameter adaptation law simultaneously. You augment the Lyapunov function to include parameter estimation errors, then derive update laws that keep Vห™โ‰ค0\dot{V} \leq 0. This is the foundation of model reference adaptive control (MRAC) and adaptive observer design.

Limitations of Lyapunov functions

Conservativeness

Lyapunov's theorems give sufficient conditions, not necessary ones. A system can be perfectly stable, yet you might fail to prove it because you picked the wrong candidate function. This conservativeness can also lead to overly cautious controller designs that sacrifice performance for guaranteed stability margins.

Difficulty in construction

For complex nonlinear systems, finding a suitable Lyapunov function remains an open challenge. There is no systematic procedure that works for all systems. The search often relies on physical intuition, educated guessing, and computational tools. This is the single biggest practical limitation of Lyapunov-based methods.

Extensions of Lyapunov stability theory

Barbalat's lemma

Barbalat's lemma helps you conclude asymptotic convergence in cases where Vห™\dot{V} is only negative semi-definite. It states: if f(t)f(t) is uniformly continuous and limโกtโ†’โˆžโˆซ0tf(ฯ„)โ€‰dฯ„\lim_{t \to \infty} \int_0^t f(\tau) \, d\tau exists and is finite, then f(t)โ†’0f(t) \rightarrow 0 as tโ†’โˆžt \rightarrow \infty.

This is particularly useful in adaptive control, where Vห™โ‰ค0\dot{V} \leq 0 can be shown but Vห™<0\dot{V} < 0 cannot. Barbalat's lemma lets you bridge that gap and still prove that certain signals converge to zero.

LaSalle's invariance principle

LaSalle's invariance principle is another way to extract asymptotic stability conclusions from a Lyapunov function with only Vห™(x)โ‰ค0\dot{V}(x) \leq 0. It states:

If V(x)V(x) is positive definite with Vห™(x)โ‰ค0\dot{V}(x) \leq 0, then all bounded trajectories converge to the largest invariant set contained in {x:Vห™(x)=0}\{x : \dot{V}(x) = 0\}.

If the only invariant set within {x:Vห™(x)=0}\{x : \dot{V}(x) = 0\} is the origin itself, you can conclude asymptotic stability even though Vห™\dot{V} is only negative semi-definite. This principle is extremely useful in practice because finding a strictly negative definite Vห™\dot{V} is often much harder than finding a negative semi-definite one.

Lyapunov-like functions

These are generalizations that relax one or more classical Lyapunov function requirements. Examples include:

  • Semi-definite Lyapunov functions: V(x)โ‰ฅ0V(x) \geq 0 but not necessarily V(x)>0V(x) > 0 for all xโ‰ 0x \neq 0
  • Vector Lyapunov functions: Use a vector of scalar functions instead of a single scalar, useful for large-scale interconnected systems
  • Integral Lyapunov functions: Incorporate integral terms, useful for systems with time-varying or non-smooth dynamics

These extensions broaden the class of systems that can be analyzed using Lyapunov-based reasoning, though they come with their own technical conditions and subtleties.