Algorithm Search⌘K

Theoremadvanced

Existence of the stabilizing Riccati solution

Also called stabilizing solution theorem.

If (A, B) is stabilizable, (Q^(1/2), A) is detectable and R > 0, the algebraic Riccati equation has a unique stabilizing solution, which is positive semidefinite.

The stabilizing solution theorem gives conditions under which the continuous-time algebraic Riccati equation ATP+PA−PBR−1BTP+Q=0A^T P + P A - P B R^{-1} B^T P + Q = 0 has exactly one solution PP that makes the closed loop A−BR−1BTPA - B R^{-1} B^T P Hurwitz. The conditions are that (A,B)(A, B) is stabilizable, that (Q1/2,A)(Q^{1/2}, A) is detectable, and that R>0R > 0. The solution is then positive semidefinite, and it is the only positive semidefinite solution. In this form the theorem is due to Kučera (1972). It is the reason that infinite-horizon LQR always gives a stabilizing gain under these conditions, and the reason that the Schur method can divide by the block X1X_1. The same statement holds for the DARE, with Schur in place of Hurwitz. The detectability is written as (Q1/2,A)(Q^{1/2}, A), in the (C,A)(C, A) order of this area: Q=CTCQ = C^T C with C=Q1/2C = Q^{1/2}.

Statement

Data. A∈Rn×nA \in \mathbb{R}^{n \times n}, B∈Rn×mB \in \mathbb{R}^{n \times m}, Q=QT≥0Q = Q^T \ge 0 and R=RT>0R = R^T > 0. Let G=BR−1BTG = B R^{-1} B^T and let H=[A−G−Q−AT]H = \begin{bmatrix} A & -G \\ -Q & -A^T \end{bmatrix} be the Hamiltonian matrix. A symmetric solution PP of the CARE is stabilizing if A−GPA - G P is Hurwitz.

Theorem (continuous time). Assume that (A,B)(A, B) is stabilizable and (Q1/2,A)(Q^{1/2}, A) is detectable. Then:

  1. HH has no eigenvalue on the imaginary axis. Let the columns of [X1X2]∈R2n×n\begin{bmatrix} X_1 \\ X_2 \end{bmatrix} \in \mathbb{R}^{2n \times n} be a basis of the invariant subspace of its nn eigenvalues in the open left half plane. Then X1X_1 is invertible.
  2. P=X2X1−1P = X_2 X_1^{-1} is symmetric, solves the CARE, and is stabilizing.
  3. PP is the only stabilizing solution.
  4. P≥0P \ge 0, and PP is the only positive semidefinite solution of the CARE.
  5. If (Q1/2,A)(Q^{1/2}, A) is observable, then P>0P > 0.

Theorem (discrete time). Assume that (A,B)(A, B) is stabilizable, (Q1/2,A)(Q^{1/2}, A) is detectable and R>0R > 0. Then the DARE P=ATPA−ATPB(R+BTPB)−1BTPA+QP = A^T P A - A^T P B (R + B^T P B)^{-1} B^T P A + Q has exactly one stabilizing solution: one with A−B(R+BTPB)−1BTPAA - B (R + B^T P B)^{-1} B^T P A Schur. It is positive semidefinite, it is the only positive semidefinite solution, and the Riccati recursion from P0=0P_0 = 0 converges to it.

In plain words

The Riccati equation is quadratic in a matrix, so it can have many solutions. Only one of them gives a feedback that brings every state to zero, and the theorem says when that one exists. Two things must hold. First, every unstable part of the system must be reachable by the input, or there is nothing the controller can do about it. Second, every unstable part of the system must show up in the cost, or the controller has no reason to act on it. If both hold and the input weight is positive, the good solution exists, there is only one, and it is the only solution with no negative directions. A solver can then look for the nonnegative solution and know it has found the right one.

Proof

The proof is for continuous time. The discrete case is proved on the infinite-horizon LQR page (its correctness proof): the recursion from 0 increases to a limit, the limit solves the DARE, detectability makes it stabilizing, and completing the square makes it unique. The same steps give "only positive semidefinite solution" there, because Lemma 4 of that proof applies to every positive semidefinite solution.

Step 1: no eigenvalue on the imaginary axis. Suppose H[xy]=iω[xy]H \begin{bmatrix} x \\ y \end{bmatrix} = i \omega \begin{bmatrix} x \\ y \end{bmatrix} with ω\omega real and (x,y)≠0(x, y) \ne 0. The two block rows are Ax−Gy=iωxA x - G y = i \omega x and −Qx−ATy=iωy-Q x - A^T y = i \omega y. Multiply the first by y∗y^* on the left. Take the conjugate transpose of the second and multiply by xx on the right. The sum is −y∗Gy−x∗Qx=0-y^* G y - x^* Q x = 0. Both terms are at most 0, so both are 0: BTy=0B^T y = 0 and Qx=0Q x = 0. The rows become Ax=iωxA x = i \omega x and y∗A=iω y∗y^* A = i \omega\, y^*. If x≠0x \ne 0, then xx is an eigenvector of AA on the imaginary axis with Q1/2x=0Q^{1/2} x = 0, which the PBH test for detectability forbids. If y≠0y \ne 0, then yy is a left eigenvector of AA on the imaginary axis with y∗B=0y^* B = 0, which the PBH test for stabilizability forbids. So (x,y)=0(x, y) = 0, a contradiction.

The spectrum of HH is symmetric about the imaginary axis (see the Hamiltonian matrix page), so exactly nn eigenvalues lie in the open left half plane. Their invariant subspace is real, because the set of these eigenvalues is closed under conjugation, so a real basis X=[X1X2]X = \begin{bmatrix} X_1 \\ X_2 \end{bmatrix} exists, with HX=XΛH X = X \Lambda and Λ\Lambda Hurwitz.

Step 2: X1TX2X_1^T X_2 is symmetric. This is the Lagrangian property, proved on the Hamiltonian matrix page: M=XTJXM = X^T J X satisfies ΛTM+MΛ=0\Lambda^T M + M \Lambda = 0 with Λ\Lambda Hurwitz, so M=X1TX2−X2TX1=0M = X_1^T X_2 - X_2^T X_1 = 0.

Step 3: X1X_1 is invertible. The block rows of HX=XΛH X = X \Lambda are

AX1−GX2=X1Λ,−QX1−ATX2=X2Λ.A X_1 - G X_2 = X_1 \Lambda, \qquad -Q X_1 - A^T X_2 = X_2 \Lambda.

Let v∈Cnv \in \mathbb{C}^n be in the kernel of X1X_1. Multiply the first row by v∗X2Tv^* X_2^T on the left and by vv on the right. The left side is −v∗X2TGX2v-v^* X_2^T G X_2 v, because X1v=0X_1 v = 0. The right side is v∗X2TX1Λv=v∗X1TX2Λv=(X1v)∗X2Λv=0v^* X_2^T X_1 \Lambda v = v^* X_1^T X_2 \Lambda v = (X_1 v)^* X_2 \Lambda v = 0, by Step 2. So v∗X2TGX2v=∣R−1/2BTX2v∣2=0v^* X_2^T G X_2 v = |R^{-1/2} B^T X_2 v|^2 = 0, hence BTX2v=0B^T X_2 v = 0, hence GX2v=0G X_2 v = 0. The first row applied to vv now gives X1Λv=0X_1 \Lambda v = 0. So the kernel of X1X_1 is invariant under Λ\Lambda. If it is not {0}\{0\}, it contains an eigenvector: Λv=λv\Lambda v = \lambda v with Re⁡λ<0\operatorname{Re} \lambda < 0, v≠0v \ne 0 complex, X1v=0X_1 v = 0 and BTX2v=0B^T X_2 v = 0. The second row applied to vv gives −ATX2v=λX2v-A^T X_2 v = \lambda X_2 v. The vector y=X2vy = X_2 v is not 0, because XX has full column rank and X1v=0X_1 v = 0. Then y∗A=−λˉ y∗y^* A = -\bar\lambda\, y^* with Re⁡(−λˉ)>0\operatorname{Re}(-\bar\lambda) > 0 and y∗B=0y^* B = 0. That is an uncontrollable mode in the closed right half plane, which contradicts stabilizability. So X1X_1 is invertible.

Step 4: P=X2X1−1P = X_2 X_1^{-1} is a symmetric stabilizing solution. PP is real, and P=X1−T(X1TX2)X1−1P = X_1^{-T} (X_1^T X_2) X_1^{-1} is symmetric by Step 2. The columns of XX1−1=[IP]X X_1^{-1} = \begin{bmatrix} I \\ P \end{bmatrix} span the same invariant subspace, and H[IP]=[IP]X1ΛX1−1H \begin{bmatrix} I \\ P \end{bmatrix} = \begin{bmatrix} I \\ P \end{bmatrix} X_1 \Lambda X_1^{-1}. The first block row says A−GP=X1ΛX1−1A - G P = X_1 \Lambda X_1^{-1}, which is Hurwitz. The second block row says −Q−ATP=P(A−GP)-Q - A^T P = P (A - G P), which is the CARE.

Step 5: uniqueness. Let P1P_1 and P2P_2 be stabilizing solutions, and D=P1−P2D = P_1 - P_2. Subtracting the two equations gives (A−GP1)TD+D(A−GP2)=0(A - G P_1)^T D + D (A - G P_2) = 0. The eigenvalues of (A−GP1)T(A - G P_1)^T and A−GP2A - G P_2 all have negative real parts, so no two of them sum to 0, and this Sylvester equation has only the solution D=0D = 0.

Step 6: P≥0P \ge 0. Write the CARE with Ac=A−GPA_c = A - G P: AcTP+PAc=−(Q+PGP)A_c^T P + P A_c = -(Q + P G P). The right side is negative semidefinite and AcA_c is Hurwitz, so

P=∫0∞eAcTt(Q+PGP)eAct dt ≥ 0.P = \int_0^\infty e^{A_c^T t} (Q + P G P) e^{A_c t}\, dt \ \ge\ 0.

Step 7: every positive semidefinite solution is stabilizing. Let X≥0X \ge 0 solve the CARE, let AX=A−GXA_X = A - G X, and let AXv=λvA_X v = \lambda v with v≠0v \ne 0. The CARE in the form AXTX+XAX=−(Q+XGX)A_X^T X + X A_X = -(Q + X G X) gives 2Re⁡(λ) v∗Xv=−v∗Qv−v∗XGXv2 \operatorname{Re}(\lambda)\, v^* X v = -v^* Q v - v^* X G X v. If Re⁡λ≥0\operatorname{Re} \lambda \ge 0, the left side is at least 0 and the right side at most 0, so Q1/2v=0Q^{1/2} v = 0 and BTXv=0B^T X v = 0. Then Av=AXv+GXv=λvA v = A_X v + G X v = \lambda v, an unobservable mode of (Q1/2,A)(Q^{1/2}, A) in the closed right half plane, which detectability forbids. So AXA_X is Hurwitz, and by Step 5, X=PX = P.

Step 8: P>0P > 0 under observability. If Pv=0P v = 0, the integral of Step 6 gives ∫0∞(∣Q1/2eActv∣2+∣R−1/2BTPeActv∣2) dt=0\int_0^\infty (|Q^{1/2} e^{A_c t} v|^2 + |R^{-1/2} B^T P e^{A_c t} v|^2)\, dt = 0. So BTPeActv=0B^T P e^{A_c t} v = 0 for all tt, hence x(t)=eActvx(t) = e^{A_c t} v solves x˙=Ax\dot x = A x, so x(t)=eAtvx(t) = e^{A t} v. Also Q1/2eAtv=0Q^{1/2} e^{A t} v = 0 for all tt. Observability then forces v=0v = 0. □\square

Consequences

  • Infinite-horizon LQR. Under the hypotheses, u=−R−1BTPxu = -R^{-1} B^T P x is the optimal input for every initial state, the optimal cost is x0TPx0x_0^T P x_0, and the closed loop is Hurwitz (infinite-horizon LQR).
  • The Kalman-Bucy filter. By duality, if (C,A)(C, A) is detectable and (A,W1/2)(A, W^{1/2}) is stabilizable, the filter Riccati equation has a unique stabilizing solution, and the steady-state Kalman-Bucy filter has a Hurwitz error dynamics.
  • Solvers. The Schur method may compute P=X2X1−1P = X_2 X_1^{-1}, because Step 3 makes X1X_1 invertible. A solver that returns a positive semidefinite solution has returned the stabilizing one, by Step 7. The Kleinman iteration converges to this PP from any stabilizing gain.
  • Order. PP is the largest symmetric solution of the CARE. It also bounds the Riccati inequality: if XX is symmetric and R(X)=ATX+XA−XGX+Q≥0\mathcal{R}(X) = A^T X + X A - X G X + Q \ge 0, then X≤PX \le P (proof on the CARE page).
  • The sharp condition. For Q≥0Q \ge 0 and R>0R > 0, the stabilizing solution exists if and only if (A,B)(A, B) is stabilizable and (Q1/2,A)(Q^{1/2}, A) has no unobservable mode on the imaginary axis. Necessity: if Ax=iωxA x = i \omega x and Qx=0Q x = 0, then H[x0]=iω[x0]H \begin{bmatrix} x \\ 0 \end{bmatrix} = i \omega \begin{bmatrix} x \\ 0 \end{bmatrix}, but the spectrum of HH is that of A−GPA - G P and its mirror image, which avoids the axis. (The similarity with [I0PI]\begin{bmatrix} I & 0 \\ P & I \end{bmatrix} turns HH into [A−GP−G0−(A−GP)T]\begin{bmatrix} A - G P & -G \\ 0 & -(A - G P)^T \end{bmatrix}.) Sufficiency follows from Steps 2 to 6, which use only this weaker condition through Step 1. Detectability is what adds Step 7, the uniqueness among positive semidefinite solutions.
  • A rule of thumb. When the hypotheses hold only barely, for example with a weakly damped mode that QQ hardly sees, HH has eigenvalues close to the imaginary axis and PP is sensitive to the data.

Tightness

Without detectability, positive semidefinite does not mean stabilizing. Take a=1a = 1, b=r=1b = r = 1 and q=0q = 0. The CARE 2p−p2=02 p - p^2 = 0 has the two solutions p=0p = 0 and p=2p = 2, both positive semidefinite. Only p=2p = 2 is stabilizing. Part 4 fails, but a stabilizing solution still exists, because the unobservable mode +1+1 is not on the axis.

Without detectability, the largest solution may not be stabilizing. Take a=0a = 0, b=r=1b = r = 1 and q=0q = 0. The CARE is −p2=0-p^2 = 0, its only (so its largest) solution is p=0p = 0, and the closed loop is 00, not Hurwitz. The unobservable mode 00 is on the imaginary axis, and H=[0−100]H = \begin{bmatrix} 0 & -1 \\ 0 & 0 \end{bmatrix} has the double eigenvalue 0.

Without stabilizability. Take a=1a = 1, b=0b = 0 and q=r=1q = r = 1. The CARE is 2p+1=02 p + 1 = 0, so p=−1/2p = -1/2. It is not positive semidefinite, and the closed loop is 11 for every gain.

R>0R > 0 is needed. With RR singular, R−1R^{-1} does not exist, and the problem is a singular (cheap control) problem with a different theory. With RR indefinite, GG is indefinite, Steps 1 and 6 fail, and the equation is of the H-infinity type.

Positive definiteness needs observability. In the first example, p=2>0p = 2 > 0 although (q1/2,a)(q^{1/2}, a) is not observable, so observability is not necessary for P>0P > 0. With a=−1a = -1, b=r=1b = r = 1 and q=0q = 0, the system is detectable but not observable, the CARE −2p−p2=0-2 p - p^2 = 0 has the stabilizing solution p=0p = 0, and P>0P > 0 fails.

History

Kalman (1960) treated the infinite-interval regulator under conditions of controllability and observability. Wonham (1968) studied the algebraic equation of stochastic control under weaker conditions. Kučera (1972) gave the result in the form stated here, with stabilizability and detectability, using the eigenvectors of the Hamiltonian matrix. The book of Lancaster and Rodman (1995) collects the theory, including the indefinite case and the discrete equation.

References

  1. Vladimír Kučera, A contribution to matrix quadratic equations, IEEE Transactions on Automatic Control 17(3), 344-347, 1972, the existence and uniqueness of the stabilizing solution under stabilizability and detectability, through the eigenvectors of the Hamiltonian matrix
  2. W. M. Wonham, On a matrix Riccati equation of stochastic control, SIAM Journal on Control 6(4), 681-697, 1968, the positive semidefinite solution of the algebraic Riccati equation and the stability of the closed loop
  3. R. E. Kalman, Contributions to the theory of optimal control, Boletín de la Sociedad Matemática Mexicana 5(2), 102-119, 1960, the regulator problem on an infinite interval
  4. Peter Lancaster and Leiba Rodman, Algebraic Riccati Equations, Clarendon Press, Oxford, 1995, the existence of extremal and stabilizing solutions of the continuous and discrete equations
  5. Kemin Zhou, John C. Doyle and Keith Glover, Robust and Optimal Control, Prentice Hall, 1996, Chapter 13, Algebraic Riccati Equations, with the stabilizing solution in terms of the Hamiltonian matrix

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/A0YPQ3/text.yaml