Skip to content
Systems Theory

Stability: eigenvalues, BIBO stability and the Lyapunov equation

Lyapunov's definitions of stability, the eigenvalue criterion proved, marginal stability, input-output stability and hidden modes, the Lyapunov equation with proof of the theorem.

Stability is the first property required of a system: a small disturbance must not drive it far away. But “stable” has different meanings, and the difference matters: a system can give bounded outputs for every bounded input and hide inside it a mode that blows up. In this lesson we look at Lyapunov’s definitions, the eigenvalue criterion with proof, input-output stability and its difference from internal stability, and the Lyapunov equation with the proof of the theorem.

Definitions

We consider the free response around an equilibrium, which for a linear system can be moved to the origin.

  • The equilibrium is stable (in the sense of Lyapunov) if for every \varepsilon \gt  0 there exists \delta \gt  0 such that, starting at a distance less than \delta, the state stays forever at a distance less than \varepsilon. In words: starting close enough, one stays close.
  • It is asymptotically stable if it is stable and moreover the state tends to the equilibrium.
  • It is unstable if it is not stable.

A frictionless pendulum hanging down is stable but not asymptotically: it oscillates forever with its initial amplitude. With friction it becomes asymptotically stable. The inverted pendulum is unstable.

The eigenvalue criterion

For linear time-invariant systems stability is a property of the system, not of a single equilibrium, and it is read from the eigenvalues of A.

Theorem. The system \dot{x} = Ax is asymptotically stable if and only if all the eigenvalues of A have strictly negative real part.

Proof. The free response is x(t) = e^{At}x_0, and every element of e^{At} is a combination of the modes t^h e^{\lambda_i t} (lesson on the solution), with h less than the multiplicity of the eigenvalue. If all \mathrm{Re}\,\lambda_i \lt  0, every mode tends to zero, because the decaying exponential beats any power of t: so e^{At} \to 0, and x(t) \to 0 from every initial state. Moreover \|e^{At}\| is bounded, which gives stability. Conversely, if an eigenvalue has \mathrm{Re}\,\lambda \ge 0, starting from its eigenvector (or its real part, if complex) the evolution e^{\lambda t}v does not tend to zero. ∎

The borderline case: if the eigenvalues with zero real part have Jordan blocks of size 1 (i.e. enough eigenvectors), the system is marginally stable, like the frictionless oscillator. If not, growing modes t\,e^{j\omega t} appear, as in the double integrator \ddot{y} = 0, which with a non-zero initial velocity drifts away forever. In discrete time the criterion is the same with |\lambda_i| \lt  1. To check it without computing the eigenvalues, the Routh-Hurwitz criterion is applied to the characteristic polynomial (Automatic Control lesson on stability).

Internal stability and input-output stability

A system is BIBO stable (bounded input, bounded output) if every bounded input gives a bounded output, starting from zero state. It is checked on the transfer function: all the poles of G(s) must have negative real part.

Asymptotic stability implies BIBO stability, because the poles of G(s) are among the eigenvalues of A. The converse does not hold: if an unstable eigenvalue cancels with a zero in the transfer function, the corresponding mode does not appear in the output, but it is there.

Example. With A = \begin{pmatrix} 1 & 0 \\ 0 & -2 \end{pmatrix}, B = \begin{pmatrix} 0 \\ 1 \end{pmatrix}, C = (1\ \ 1) one gets G(s) = 1/(s + 2): BIBO stable. But the first state evolves as e^{t}x_1(0), and any noise or initial condition makes it grow without bound, until something saturates or breaks. The unstable mode is not reachable from the input, which is why the transfer function does not see it (lessons on reachability and observability). The practical rule: never cancel an unstable pole with a zero of the controller.

The Lyapunov equation

Lyapunov’s second method proves stability by finding an “energy” function that decreases along trajectories, without solving the equations. For linear systems a quadratic function V(x) = x^TPx is sought, with P symmetric and positive definite, so that V \gt  0 for every x \ne 0 and its level curves are ellipsoids around the origin.

Level curves of a quadratic Lyapunov function and a trajectory crossing them inwards
The dashed ellipses are the curves V(x) equal to a constant. The system trajectory always crosses them from outside to inside, because V decreases along the motion, and ends at the origin.

Theorem. If there exist symmetric positive definite matrices P and Q such that

    \[ A^TP + PA = -Q \]

then the system \dot{x} = Ax is asymptotically stable.

Proof. Along a trajectory, the derivative of V = x^TPx is

    \[ \dot{V} = \dot{x}^TPx + x^TP\dot{x} = x^TA^TPx + x^TPAx = x^T(A^TP + PA)x = -x^TQx \]

which is negative for every x \ne 0. So V strictly decreases along every trajectory not at the origin. Since Q and P are positive definite, there is c \gt  0 with x^TQx \ge c\,x^TPx (one can take the ratio of the smallest eigenvalue of Q to the largest of P), so \dot{V} \le -cV and V(t) \le V(0)e^{-ct}: V tends to zero exponentially, and so does x. ∎

The converse also holds: if the system is asymptotically stable, for every positive definite Q the Lyapunov equation has a unique positive definite solution P, given by P = \int_0^\infty e^{A^Tt}Qe^{At}dt. In practice one chooses Q = I, solves the linear equation for P and checks whether P is positive definite. In discrete time the equation becomes A^TPA - P = -Q.

The value of the method lies above all in non-linear systems, where eigenvalues are not enough (lesson on non-linear systems), and in the fact that V also gives an estimate of how fast the state converges.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x