# Lyapunov stability

Various types of stability may be discussed for the solutions of differential equations or difference equations describing dynamical systems. The most important type is that concerning the stability of solutions near to a point of equilibrium. This may be discussed by the theory of Aleksandr Lyapunov. In simple terms, if the solutions that start out near an equilibrium point ${\displaystyle x_{e}}$ stay near ${\displaystyle x_{e}}$ forever, then ${\displaystyle x_{e}}$ is Lyapunov stable. More strongly, if ${\displaystyle x_{e}}$ is Lyapunov stable and all solutions that start out near ${\displaystyle x_{e}}$ converge to ${\displaystyle x_{e}}$, then ${\displaystyle x_{e}}$ is asymptotically stable. The notion of exponential stability guarantees a minimal rate of decay, i.e., an estimate of how quickly the solutions converge. The idea of Lyapunov stability can be extended to infinite-dimensional manifolds, where it is known as structural stability, which concerns the behavior of different but "nearby" solutions to differential equations. Input-to-state stability (ISS) applies Lyapunov notions to systems with inputs.

## History

Lyapunov stability is named after Aleksandr Mikhailovich Lyapunov, a Russian mathematician who defended the thesis The General Problem of Stability of Motion at Kharkov University in 1892.[1] A. M. Lyapunov was a pioneer in successful endeavoring to develop the global approach to the analysis of the stability of nonlinear dynamical systems by comparison with the widely spread local method of linearizing them about points of equilibrium. His work, initially published in Russian and then translated to French, received little attention for many years. The mathematical theory of stability of motion, founded by A. M. Lyapunov, considerably anticipated the time for its implementation in science and technology. Moreover Lyapunov did not himself make application in this field, his own interest being in the stability of rotating fluid masses with astronomical application. He did not have doctoral students who followed the research in the field of stability and his own destiny was terribly tragic because of the Russian revolution of 1917[citation needed]. For several decades the theory of stability sank into complete oblivion. The Russian-Soviet mathematician and mechanician Nikolay Gur'yevich Chetaev working at the Kazan Aviation Institute in the 1930s was the first who realized the incredible magnitude of the discovery made by A. M. Lyapunov. Actually, his figure as a great scientist is comparable to the one of A. M. Lyapunov. The contribution to the theory made by N. G. Chetaev[2] was so significant that many mathematicians, physicists and engineers consider him Lyapunov’s direct successor and the next-in-line scientific descendant in the creation and development of the mathematical theory of stability.

The interest in it suddenly skyrocketed during the Cold War period when the so-called "Second Method of Lyapunov" (see below) was found to be applicable to the stability of aerospace guidance systems which typically contain strong nonlinearities not treatable by other methods. A large number of publications appeared then and since in the control and systems literature.[3][4][5][6][7] More recently the concept of the Lyapunov exponent (related to Lyapunov's First Method of discussing stability) has received wide interest in connection with chaos theory. Lyapunov stability methods have also been applied to finding equilibrium solutions in traffic assignment problems.[8]

## Definition for continuous-time systems

Consider an autonomous nonlinear dynamical system

${\displaystyle {\dot {x}}=f(x(t)),\;\;\;\;x(0)=x_{0}}$ ,

where ${\displaystyle x(t)\in {\mathcal {D}}\subseteq \mathbb {R} ^{n}}$  denotes the system state vector, ${\displaystyle {\mathcal {D}}}$  an open set containing the origin, and ${\displaystyle f:{\mathcal {D}}\rightarrow \mathbb {R} ^{n}}$  continuous on ${\displaystyle {\mathcal {D}}}$ . Suppose ${\displaystyle f}$  has an equilibrium at ${\displaystyle x_{e}}$  so that ${\displaystyle f(x_{e})=0}$  then

1. This equilibrium is said to be Lyapunov stable, if, for every ${\displaystyle \epsilon >0}$ , there exists a ${\displaystyle \delta >0}$  such that, if ${\displaystyle \|x(0)-x_{e}\|<\delta }$ , then for every ${\displaystyle t\geq 0}$  we have ${\displaystyle \|x(t)-x_{e}\|<\epsilon }$ .
2. The equilibrium of the above system is said to be asymptotically stable if it is Lyapunov stable and there exists ${\displaystyle \delta >0}$  such that if ${\displaystyle \|x(0)-x_{e}\|<\delta }$ , then ${\displaystyle \lim _{t\rightarrow \infty }\|x(t)-x_{e}\|=0}$ .
3. The equilibrium of the above system is said to be exponentially stable if it is asymptotically stable and there exist ${\displaystyle \alpha >0,\beta >0,\delta >0}$  such that if ${\displaystyle \|x(0)-x_{e}\|<\delta }$ , then ${\displaystyle \|x(t)-x_{e}\|\leq \alpha \|x(0)-x_{e}\|e^{-\beta t}}$ , for all ${\displaystyle t\geq 0}$ .

Conceptually, the meanings of the above terms are the following:

1. Lyapunov stability of an equilibrium means that solutions starting "close enough" to the equilibrium (within a distance ${\displaystyle \delta }$  from it) remain "close enough" forever (within a distance ${\displaystyle \epsilon }$  from it). Note that this must be true for any ${\displaystyle \epsilon }$  that one may want to choose.
2. Asymptotic stability means that solutions that start close enough not only remain close enough but also eventually converge to the equilibrium.
3. Exponential stability means that solutions not only converge, but in fact converge faster than or at least as fast as a particular known rate ${\displaystyle \alpha \|x(0)-x_{e}\|e^{-\beta t}}$ .

The trajectory x is (locally) attractive if

${\displaystyle \|y(t)-x(t)\|\rightarrow 0}$

(where ${\displaystyle y(t)}$  denotes the system output) for ${\displaystyle t\rightarrow \infty }$  for all trajectories that start close enough, and globally attractive if this property holds for all trajectories.

That is, if x belongs to the interior of its stable manifold, it is asymptotically stable if it is both attractive and stable. (There are examples showing that attractivity does not imply asymptotic stability. Such examples are easy to create using homoclinic connections.)

If the Jacobian of the dynamical system at an equilibrium happens to be a stability matrix (i.e., if the real part of each eigenvalue is strictly negative), then the equilibrium is asymptotically stable.

### Lyapunov's second method for stability

Lyapunov, in his original 1892 work, proposed two methods for demonstrating stability.[1] The first method developed the solution in a series which was then proved convergent within limits. The second method, which is now referred to as the Lyapunov stability criterion or the Direct Method, makes use of a Lyapunov function V(x) which has an analogy to the potential function of classical dynamics. It is introduced as follows for a system ${\displaystyle {\dot {x}}=f(x)}$  having a point of equilibrium at ${\displaystyle x=0}$ . Consider a function ${\displaystyle V:\mathbb {R} ^{n}\rightarrow \mathbb {R} }$  such that

• ${\displaystyle V(x)=0}$  if and only if ${\displaystyle x=0}$
• ${\displaystyle V(x)>0}$  if and only if ${\displaystyle x\neq 0}$
• ${\displaystyle {\dot {V}}(x)={\frac {d}{dt}}V(x)=\sum _{i=1}^{n}{\frac {\partial V}{\partial x_{i}}}f_{i}(x)=\nabla V\cdot f(x)\leq 0}$  for all values of ${\displaystyle x\neq 0}$  . Note: for asymptotic stability, ${\displaystyle {\dot {V}}(x)<0}$  for ${\displaystyle x\neq 0}$  is required.

Then V(x) is called a Lyapunov function and the system is stable in the sense of Lyapunov (Note that ${\displaystyle V(0)=0}$  is required; otherwise for example ${\displaystyle V(x)=1/(1+|x|)}$  would "prove" that ${\displaystyle {\dot {x}}(t)=x}$  is locally stable). An additional condition called "properness" or "radial unboundedness" is required in order to conclude global stability. Global asymptotic stability (GAS) follows similarly.

It is easier to visualize this method of analysis by thinking of a physical system (e.g. vibrating spring and mass) and considering the energy of such a system. If the system loses energy over time and the energy is never restored then eventually the system must grind to a stop and reach some final resting state. This final state is called the attractor. However, finding a function that gives the precise energy of a physical system can be difficult, and for abstract mathematical systems, economic systems or biological systems, the concept of energy may not be applicable.

Lyapunov's realization was that stability can be proven without requiring knowledge of the true physical energy, provided a Lyapunov function can be found to satisfy the above constraints.

## Definition for discrete-time systems

The definition for discrete-time systems is almost identical to that for continuous-time systems. The definition below provides this, using an alternate language commonly used in more mathematical texts.

Let (X, d) be a metric space and f : XX a continuous function. A point x in X is said to be Lyapunov stable, if,

${\displaystyle \forall \epsilon >0\ \exists \delta >0\ \forall y\in X\ \left[d(x,y)<\delta \Rightarrow \forall n\in \mathbf {N} \ d\left(f^{n}(x),f^{n}(y)\right)<\epsilon \right].}$

We say that x is asymptotically stable if it belongs to the interior of its stable set, i.e. if,

${\displaystyle \exists \delta >0\left[d(x,y)<\delta \Rightarrow \lim _{n\to \infty }d\left(f^{n}(x),f^{n}(y)\right)=0\right].}$

## Stability for linear state space models

A linear state space model

${\displaystyle {\dot {\textbf {x}}}=A{\textbf {x}}}$ ,

where ${\displaystyle A}$  is a finite matrix, is asymptotically stable (in fact, exponentially stable) if all real parts of the eigenvalues of ${\displaystyle A}$  are negative. This condition is equivalent to the following one [9]:

${\displaystyle A^{T}M+MA}$

is negative definite for some positive definite matrix ${\displaystyle M=M^{T}}$ . (The relevant Lyapunov function is ${\displaystyle V(x)=x^{T}Mx}$ .)

Correspondingly, a time-discrete linear state space model

${\displaystyle {{\textbf {x}}_{t+1}}=A{\textbf {x}}_{t}}$

is asymptotically stable (in fact, exponentially stable) if all the eigenvalues of ${\displaystyle A}$  have a modulus smaller than one.

This latter condition has been generalized to switched systems: a linear switched discrete time system (ruled by a set of matrices ${\displaystyle \{A_{1},\dots ,A_{m}\}}$ )

${\displaystyle {{\textbf {x}}_{t+1}}=A_{i_{t}}{\textbf {x}}_{t},\quad A_{i_{t}}\in \{A_{1},\dots ,A_{m}\}}$

is asymptotically stable (in fact, exponentially stable) if the joint spectral radius of the set ${\displaystyle \{A_{1},\dots ,A_{m}\}}$  is smaller than one.

## Stability for systems with inputs

A system with inputs (or controls) has the form

${\displaystyle {\dot {\textbf {x}}}={\textbf {f(x,u)}}}$

where the (generally time-dependent) input u(t) may be viewed as a control, external input, stimulus, disturbance, or forcing function. It has been shown [10] that near to a point of equilibrium which is Lyapunov stable the system remains stable under small disturbances. For larger input disturbances the study of such systems is the subject of control theory and applied in control engineering. For systems with inputs, one must quantify the effect of inputs on the stability of the system. The main two approaches to this analysis are BIBO stability (for linear systems) and input-to-state stability (ISS) (for nonlinear systems)

## Example

Consider an equation, where compared to the Van der Pol oscillator equation the friction term is changed:

${\displaystyle {\ddot {y}}+y-\varepsilon \left({\frac {{\dot {y}}^{3}}{3}}-{\dot {y}}\right)=0.}$

The equilibrium is at: ${\displaystyle {\ddot {y}}=y=0.}$

Here is a good example of an unsuccessful try to find a Lyapunov function that proves stability:

Let

${\displaystyle x_{1}=y,x_{2}={\dot {y}}}$

so that the corresponding system is

${\displaystyle {\dot {x}}_{2}=-x_{1}+\varepsilon \left({\frac {x_{2}^{3}}{3}}-{x_{2}}\right).}$

Let us choose as a Lyapunov function

${\displaystyle V={\frac {1}{2}}\left(x_{1}^{2}+x_{2}^{2}\right)}$

which is clearly positive definite. Its derivative is

${\displaystyle {\dot {V}}=x_{1}{\dot {x}}_{1}+x_{2}{\dot {x}}_{2}=x_{1}x_{2}-x_{1}x_{2}+\varepsilon {\frac {x_{2}^{4}}{3}}-\varepsilon {x_{2}^{2}}=\varepsilon {\frac {x_{2}^{4}}{3}}-\varepsilon {x_{2}^{2}}.}$

It seems that if the parameter ${\displaystyle \varepsilon }$  is positive, stability is asymptotic for ${\displaystyle x_{2}^{2}<3.}$  But this is wrong, since ${\displaystyle {\dot {V}}}$  does not depend on ${\displaystyle x_{1}}$ , and will be 0 everywhere on the ${\displaystyle x_{1}}$  axis. The system is Lyapunov stable.

## Barbalat's lemma and stability of time-varying systems

Assume that f is function of time only.

• Having ${\displaystyle {\dot {f}}(t)\to 0}$  does not imply that ${\displaystyle f(t)}$  has a limit at ${\displaystyle t\to \infty }$ . For example, ${\displaystyle f(t)=\sin(\ln(t)),\;t>0}$ . Comment: This is a standard counterexample and yet, it is wrong. In sin(wt) where w is a constant, w represents the frequency in rad/sec. We can write sin(w(t)t), where w(t) represents a changing frequency, or T(t)=2π/w(t) represents the changing period. Writing ${\displaystyle f(t)=sin((ln(t)/t)t)}$  gives the frequency w(t)=ln(t)/t or the period T(t)=2πt/ln(t). One can see that, as one goes forward in time, the period T(t) keeps increasing and ends as lim(t-->∞){T(t)}=∞. So, what is the "sine" with an infinite period? Although we do not know what the limit is, the function ${\displaystyle f(t)=\sin(\ln(t)),\;t>0}$  does end in a constant limit.
• Having ${\displaystyle f(t)}$  approaching a limit as ${\displaystyle t\to \infty }$  does not imply that ${\displaystyle {\dot {f}}(t)\to 0}$ . For example, ${\displaystyle f(t)=\sin(t^{2})/t,\;t>0}$ .
• Having ${\displaystyle f(t)}$  lower bounded and decreasing (${\displaystyle {\dot {f}}\leq 0}$ ) implies it converges to a limit. But it does not say whether or not ${\displaystyle {\dot {f}}\to 0}$  as ${\displaystyle t\to \infty }$ .

Barbalat's Lemma says:

If ${\displaystyle f(t)}$  has a finite limit as ${\displaystyle t\to \infty }$  and if ${\displaystyle {\dot {f}}}$  is uniformly continuous (or ${\displaystyle {\ddot {f}}}$  is bounded), then ${\displaystyle {\dot {f}}(t)\to 0}$  as ${\displaystyle t\to \infty }$ .

The following example is taken from page 125 of Slotine and Li's book Applied Nonlinear Control.

Consider a non-autonomous system

${\displaystyle {\dot {e}}=-e+g\cdot w(t)}$
${\displaystyle {\dot {g}}=-e\cdot w(t).}$

This is non-autonomous because the input ${\displaystyle w}$  is a function of time. Assume that the input ${\displaystyle w(t)}$  is bounded.

Taking ${\displaystyle V=e^{2}+g^{2}}$  gives ${\displaystyle {\dot {V}}=-2e^{2}\leq 0.}$

This says that ${\displaystyle V(t)\leq V(0)}$  by first two conditions and hence ${\displaystyle e}$  and ${\displaystyle g}$  are bounded. But it does not say anything about the convergence of ${\displaystyle e}$  to zero. Moreover, the invariant set theorem cannot be applied, because the dynamics is non-autonomous.

Using Barbalat's lemma:

${\displaystyle {\ddot {V}}=-4e(-e+g\cdot w)}$ .

This is bounded because ${\displaystyle e}$ , ${\displaystyle g}$  and ${\displaystyle w}$  are bounded. This implies ${\displaystyle {\dot {V}}\to 0}$  as ${\displaystyle t\to \infty }$  and hence ${\displaystyle e\to 0}$ . This proves that the error converges.

## References

1. ^ a b Lyapunov, A. M. The General Problem of the Stability of Motion (In Russian), Doctoral dissertation, Univ. Kharkov 1892 English translations: (1) Stability of Motion, Academic Press, New-York & London, 1966 (2) The General Problem of the Stability of Motion, (A. T. Fuller trans.) Taylor & Francis, London 1992. Included is a biography by Smirnov and an extensive bibliography of Lyapunov's work.
2. ^ Chetaev, N. G. On stable trajectories of dynamics, Kazan Univ Sci Notes, vol.4 no.1 1936; The Stability of Motion, Originally published in Russian in 1946 by ОГИЗ. Гос. изд-во технико-теорет. лит., Москва-Ленинград.Translated by Morton Nadler, Oxford, 1961, 200 pages.
3. ^ Letov, A. M. (1955). Устойчивость нелинейных регулируемых систем [Stability of Nonlinear Control Systems] (in Russian). Moscow: Gostekhizdat. English tr. Princeton 1961
4. ^ Kalman, R. E.; Bertram, J. F (1960). "Control System Analysis and Design via the Second Method of Lyapunov". J. Basic Engrg. 88: 371, 394. doi:10.1115/1.3662604.
5. ^ LaSalle, J. P.; Lefschetz, S. (1961). Stability by Lyapunov's Second Method with Applications. New York: Academic Press.
6. ^ Parks, P. C. (1962). "Liapunov's method in automatic control theory". Control. I Nov 1962 II Dec 1962.
7. ^ Kalman, R. E. (1963). "Lyapunov functions for the problem of Lur'e in automatic control". Proc Natl Acad Sci USA. 49 (2): 201–205. Bibcode:1963PNAS...49..201K. doi:10.1073/pnas.49.2.201. PMC 299777. PMID 16591048.
8. ^ Smith, M. J.; Wisten, M. B. (1995). "A continuous day-to-day traffic assignment model and the existence of a continuous dynamic user equilibrium". Annals of Operations Research. 60 (1): 59–79. doi:10.1007/BF02031940.
9. ^ Goh, B. S. (1977). "Global stability in many-species systems". The American Naturalist. 111 (977): 135–143. doi:10.1086/283144.
10. ^ Malkin I.G. Theory of Stability of Motion, Moscow 1952 (Gostekhizdat) Chap II para 4 (Russian) Engl. transl, Language Service Bureau, Washingotn AEC -tr-3352; originally On stability under constantly acting disturbances Prikl Mat 1944, vol. 8 no.3 241-245 (Russian); Amer. Math. Soc. transl. no. 8