A marble rolling in a bowl with friction ends up at the bottom, and we know this without solving any equation of motion, because its energy can only go down. Can the same reasoning prove that an equilibrium of a nonlinear system is stable, even where linearization says nothing or the question is about distant starts? This lesson develops that idea into Lyapunov’s method, then shows how LaSalle’s invariance principle handles the common case in which the energy stops decreasing for an instant while the motion goes on.
Key terms
Positive definite function
Definition Throughout this lesson is the independent variable, primes denote derivatives with respect to , is an autonomous system with continuously differentiable on an open set , and the equilibrium under study is the origin, so . Any other equilibrium can be moved there with the shift . A function defined on a neighborhood of is positive definite on if and for every with . It is positive semidefinite on if and only holds there, and it is negative definite or negative semidefinite if is positive definite or positive semidefinite. A function on all of is radially unbounded if as , where is the Euclidean length.
In plain words A positive definite function measures how far the state is from the equilibrium in some chosen way. It is zero at the equilibrium and positive at every other nearby state, so near the equilibrium its graph has its lowest point there, like the bottom of a bowl.
Example The function is positive definite on the plane, although it is not the squared distance. The function is only positive semidefinite on the plane, since it vanishes on the whole -axis. The pendulum energy is positive definite on the strip but not on the plane, because it is also zero at . The energy
is positive definite on all of , since its terms are nonnegative and all of them vanish only at the origin. It is radially unbounded, because .
Orbital derivative
Definition For a continuously differentiable function on , the orbital derivative of along the system is the function
where the dot marks a rate of change with respect to . By the chain rule, every solution that stays in satisfies
So gives, at each state, the rate at which changes along the trajectory through that state, and it is computed from alone, without solving the system. It is a function of the state, not of time, and it is zero at every equilibrium.
In plain words Stand at a state, look at the arrow of the field there, and ask how fast changes when you move along that arrow. A negative answer means the solution through that state is moving downhill in at that moment.
Example For a damped nonlinear oscillator with displacement and velocity ,
and the energy above, the gradient is , so
The spring terms cancel and only the damping term remains. At the state , for instance, and , so , which agrees with .
Lyapunov function and Lyapunov stability
Definition A Lyapunov function for the equilibrium is a continuously differentiable function that is positive definite on a neighborhood of and whose orbital derivative satisfies for every . Lyapunov’s stability theorem says that if such a function exists, then is Lyapunov stable. That is, for every there is a such that every solution with exists for all and satisfies for all . If in addition for every with , then is locally asymptotically stable, and is called a strict Lyapunov function. The proof of stability traps the solution inside a level set of . Shrink so that the closed ball of radius lies in , let be the smallest value of on the sphere , and choose with on the ball of radius . Since cannot increase along a solution, a solution that starts in the small ball never reaches the sphere, and staying inside a closed ball keeps it defined for all .
In plain words If a quantity that measures distance from the equilibrium can never increase, a state that starts on a low enough contour is trapped inside it. The function does not have to be the physical energy or the squared distance. Any function with these two properties will do.
Example For the damped oscillator, is the kinetic energy plus the potential energy of the spring, since is the integral of the restoring force . It is positive definite with , so it is a Lyapunov function and the origin is stable. The bound can be made explicit. Since , and since when ,
for all whenever . So works. The derivative is zero on the whole -axis, not only at the origin, so is not a strict Lyapunov function and the theorem by itself does not give asymptotic stability.
Negative semidefinite derivative
Definition The orbital derivative of is negative semidefinite on if for all , and negative definite if in addition for all with . A semidefinite derivative that also vanishes at states other than the origin still gives Lyapunov stability when is positive definite, but it does not by itself give asymptotic stability. A solution may pass through the zero set and keep losing afterward, or it may stay in that set forever with constant. Which of these happens is decided by the invariant sets inside the zero set.
In plain words A derivative that is only less than or equal to zero allows pauses in the decrease. A pause that lasts one instant is harmless. A pause that lasts forever can keep the state away from the equilibrium for good.
Example For the damped oscillator, vanishes on the line . These states are the turning points, where the mass has zero velocity for an instant, and the energy loss stops only for that instant. For the undamped oscillator , with , the derivative is everywhere. The solution , starts at and keeps forever, so it never approaches the origin. There the origin is stable, with , but not asymptotically stable. Both derivatives are negative semidefinite, and the conclusions differ.
Invariant set
Definition A set is invariant for if every solution that starts in stays in for all in its interval of existence, forward and backward in time. It is positively invariant if every solution that starts in stays in for all in its interval of existence. Equilibria, whole trajectories and unions of trajectories are invariant. If is continuously differentiable on with there, every sublevel set is positively invariant, because cannot increase along a solution. The largest invariant subset of a set is the union of all invariant sets contained in . It consists of the states whose entire trajectory lies in .
In plain words An invariant set is made of whole trajectories, so a solution in it has always been in it and always will be. To find the largest invariant part of a set, ask which solutions can stay in the set forever, not which ones merely touch it.
Example For the damped oscillator the line is not invariant. At the field is , which points off the line. A solution that stays in must have for all , hence , and the second equation then forces . For real the factor is positive, so . The largest invariant subset of is therefore the origin alone. In the predator-prey model , , the open first quadrant and each positive half axis are invariant sets.
LaSalle’s invariance principle
Definition Let be compact and positively invariant, and let be continuously differentiable on with for every . Let , and let be the largest invariant subset of . Then every solution that starts in exists for all , and its distance to tends to as . Here need not be positive definite. Two consequences are used most. If is a Lyapunov function on and no solution other than stays in for all , then is locally asymptotically stable. If in addition and is radially unbounded, then is globally asymptotically stable.
In plain words A trapped solution must end up near motions that keep constant forever. If the only such motion is resting at the equilibrium, every trapped solution goes there, even though may stop decreasing for an instant along the way.
Example For the damped oscillator take for any . This set is closed, it is bounded because , and it is positively invariant because . Its zero set is , and as shown above the largest invariant subset of is . So every solution that starts in tends to the origin. Every state lies in such a set for a large enough , and the origin is stable by the Lyapunov function, so the origin is globally asymptotically stable. Linearization gives only the local part of this result, through the eigenvalues of the Jacobian at the origin. For the undamped oscillator the zero set is all of , which is invariant, so the principle gives no information, in agreement with the circles traced there.
Check yourself
- Decide whether each of the functions , and is positive definite on some neighborhood of the origin in the plane, and whether it is positive definite on the whole plane.
Show the answer
The first function equals , which is zero only when and , so it is positive definite on the whole plane. The second is zero on the entire line , so it is positive semidefinite but not positive definite on any neighborhood of the origin. The third can be written . When both terms are nonnegative, and they vanish together only at the origin, so it is positive definite on the half plane and in particular on the open disk of radius . It is not positive definite on the whole plane, since its value at is .
- Use to show that the origin of , is asymptotically stable. Why can linearization not settle this?
Show the answer
The orbital derivative is
which is negative at every state other than the origin. So is a strict Lyapunov function, and the origin is locally asymptotically stable. Because is also radially unbounded and off the origin on the whole plane, every disk is compact and positively invariant with zero set , and LaSalle’s principle shows that the origin is globally asymptotically stable. The Jacobian at the origin has rows and and eigenvalues , so the equilibrium is nonhyperbolic and its linearization, a center, cannot decide stability.
- For , , the energy has . A classmate says that the origin is only stable, since is zero on the whole -axis. Decide whether the origin is asymptotically stable.
Show the answer
The derivative is , so is a Lyapunov function and the origin is stable. That is where the classmate stopped. Now apply LaSalle’s principle on a disk , which is compact and positively invariant. Its zero set is . A solution that stays in has for all , so , and the second equation gives . So the largest invariant subset of is , and every solution that starts in tends to the origin. Since every state lies in such a disk, the origin is globally asymptotically stable. Solutions only cross the -axis, at turning points, so the zeros of there do not stop the convergence. Linearization would not have helped either, because the Jacobian at the origin has eigenvalues .