Theoremcore
Lyapunov theorem for linear systems
Also called Lyapunov matrix equation stability test.
A is Hurwitz if and only if for each positive definite Q the equation A^T P + PA = -Q has a positive definite solution P. The solution is then unique.
This theorem says that a real square matrix is Hurwitz, with every eigenvalue in the open left half plane, exactly when the linear matrix equation has a symmetric positive definite solution for a symmetric positive definite . The theorem is a stability test: it turns a question about eigenvalues into a linear system for the entries of and a check that . The Lyapunov equation page is about the equation itself, as a problem of numerical linear algebra, and about the algorithms that solve it; that page writes the equation in the transposed form . This page is about what the solution says about . It also gives the quadratic Lyapunov function for .
Statement
Here means that is symmetric positive definite, and means symmetric positive semidefinite.
Theorem. For the following are equivalent.
- is Hurwitz: for every eigenvalue of .
- There are symmetric matrices and with .
- For every symmetric the equation has exactly one solution , and this is symmetric positive definite.
When is Hurwitz, the solution for any symmetric is
Theorem (observable form). Let and let the pair be observable. Then is Hurwitz if and only if has a solution . The solution is then unique, and it is the observability Gramian .
In plain words
To check whether a linear system settles down, one would normally compute all the eigenvalues of its matrix. The theorem gives another way. Pick any positive weight, for example the identity. Solve one linear system of equations for an unknown symmetric matrix. Then check whether the answer is positive definite, which is a simple factorization. If it is, the system settles down from every starting state, and the answer also gives an energy-like quantity that falls along every motion. If the answer is not positive definite, or if the equations have no unique answer, the system does not settle down. No eigenvalue is needed for any step. The answer also measures the total weighted energy of the motion from each starting state, summed over all time.
Proof
Two facts. For a real matrix, . For any matrix , the product rule gives
. Let be Hurwitz and . By the Hurwitz matrix page there are and with , so the integrand of is bounded in norm by , and the integral converges. is symmetric because the integrand is.
solves the equation. By (1) with ,
is positive definite. For , . The integrand is continuous and nonnegative, and it is positive at since . So .
Uniqueness. If and are solutions, satisfies . By (1), is constant, so it equals its value at . It also tends to as . So .
. Take .
. Let with , . Then , and
Both and are positive, because and are real symmetric positive definite. So .
The observable form. If is Hurwitz, the same integral with solves the equation, and the uniqueness argument is the same. For , . This is only if for all ; the derivatives at then give for all , which observability excludes. So . Conversely, let solve the equation, and let with . The computation above gives . By the Popov-Belevitch-Hautus test, observability means for every eigenvector . So .
The integral formula and this proof follow Khalil (2002, Section 4.3).
Consequences
A quadratic Lyapunov function. For and , . So the theorem says that a linear system with a Hurwitz matrix always has a quadratic, radially unbounded, strict Lyapunov function, and that a quadratic one is never missing when the system is asymptotically stable. With it gives the explicit bound
as on exponential stability. Kalman and Bertram (1960) used such bounds to estimate transients.
The indirect method. The same , computed for the Jacobian of a nonlinear system at an equilibrium, is a strict Lyapunov function for the nonlinear system near that equilibrium. That is the proof of Lyapunov's indirect method.
A test with linear algebra only. For a symmetric the equation is a linear system of equations in unknowns. Its matrix in Kronecker form is (see Kronecker product), whose eigenvalues are the sums of eigenvalues of . So the equation has a unique solution for every exactly when no two eigenvalues of add up to . To decide Hurwitz, solve the equation for and test with a Cholesky decomposition. Methods that solve the equation in operations are on the Lyapunov equation page. In exact arithmetic the test gives the same answer as the Routh-Hurwitz criterion on the characteristic polynomial, and it avoids forming that polynomial, which can be badly conditioned.
Inertia. The theorem is a special case of the inertia theorem of Ostrowski and Schneider (1962). If with and symmetric, then has no eigenvalue on the imaginary axis, is nonsingular, and the number of eigenvalues of with negative real part equals the number of positive eigenvalues of ; the same holds for positive real parts and negative eigenvalues. So an indefinite solution counts the unstable modes. For and , : one negative eigenvalue of , and one eigenvalue of in the right half plane.
Inequalities. Condition 2 can be weakened to the strict matrix inequality with , which is the same thing with . In this form one can be searched for that works for several matrices at once, which is a linear matrix inequality problem; see quadratic stability and common Lyapunov function.
Discrete time. For the analogue is the equation : the spectral radius of is less than 1 if and only if this equation has a solution for some (and then every) . The proof is the same, with the sum in place of the integral and in place of the eigenvector step.
Tightness
The example with numbers. For and , write . The three distinct entries of give
so , , . Then and , so , and is Hurwitz (its eigenvalues are and ). With and , the solution is , with ; this is the observable form, because .
Semidefinite without observability. The condition in statement 2 cannot be weakened to alone. For , and , the equation holds with , but has the eigenvalue . The pair with is not observable, since the mode is not seen. In the other direction, for the Hurwitz matrix and the unique solution is , which is not positive definite.
A solution that is not definite. When is not Hurwitz, the equation can still have a unique solution, but that solution is not positive definite, as in the inertia example , . So the test must check ; solving the equation is not enough.
No solution. For the rotation , and , which has trace . So , with trace , has no solution. Here the eigenvalues add up to .
The choice of does not matter, the choice of does. Statement 3 holds for every , but a guessed need not work: for the same Hurwitz , gives , which is indefinite. One must solve for from , not choose first.
Time-varying systems. The theorem has no frozen-time version. For , a Hurwitz at every does not make the origin asymptotically stable; see linear time-varying system.
History
Lyapunov's thesis of 1892 already treated linear equations with constant coefficients by the second method: he showed that for a system whose characteristic roots have negative real parts, a quadratic form with a prescribed derivative can be found from a system of linear equations, and that it is definite. The result became a standard tool of control engineering with the papers of Kalman and Bertram (1960), which also gave the discrete-time form and the transient bounds. Ostrowski and Schneider (1962) extended it to the inertia theorem for matrices that are not Hurwitz. Since the 1990s the inequality form has been the starting point of methods based on linear matrix inequalities and semidefinite programming.
References
- A. M. Lyapunov, The general problem of the stability of motion, translated by A. T. Fuller, International Journal of Control 55(3), 531-773, 1992, the second method applied to linear equations with constant coefficients, where the quadratic form is found from a linear system of equations
- R. E. Kalman and J. E. Bertram, Control system analysis and design via the second method of Lyapunov: I, continuous-time systems, Journal of Basic Engineering 82(2), 371-393, 1960, stability of linear stationary systems and the estimate of transient behavior from a quadratic Lyapunov function
- Hassan K. Khalil, Nonlinear Systems, third edition, Prentice Hall, 2002, Section 4.3, Linear Systems and Linearization (the Lyapunov equation, the integral formula for P and the proof)
- A. Ostrowski and H. Schneider, Some theorems on the inertia of general matrices, Journal of Mathematical Analysis and Applications 4, 72-84, 1962, the inertia theorem for the Lyapunov equation
- Roger A. Horn and Charles R. Johnson, Topics in Matrix Analysis, Cambridge University Press, 1991, Chapter 2, Stable matrices and inertia
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag QCRCV8 Edit this page History Report an error Markdown