Definitionadvanced
Hamiltonian matrix
Also called Hamiltonian matrix of the Riccati equation.
The 2n by 2n matrix [A, -BR^(-1)B^T; -Q, -A^T], whose stable invariant subspace gives the stabilizing Riccati solution.
The Hamiltonian matrix of the continuous-time algebraic Riccati equation is the matrix
It turns the quadratic matrix equation into a linear eigenvalue problem: solves the CARE exactly when the columns of span an invariant subspace of . Its eigenvalues are symmetric about the imaginary axis. Under the hypotheses of the stabilizing solution theorem, none of them lies on the axis, so exactly are in the open left half plane. A basis of their invariant subspace gives the stabilizing solution . The Schur method computes that basis. The name comes from the general class of Hamiltonian matrices, defined below, to which belongs; that class is also the matrix form of linear Hamiltonian systems in mechanics.
Definition
Let . A real matrix is Hamiltonian if is symmetric, that is, .
Block form. Write with blocks. Then , which is symmetric if and only if , and . So the Hamiltonian matrices are exactly the matrices
The Hamiltonian matrix of the CARE is the case and . In this area, the name refers to that matrix unless the text says otherwise.
Origin in the LQR problem. The Pontryagin maximum principle for the LQR cost gives the state and costate equations and (with the costate scaled so that ). So is the coefficient matrix of the joint system in , and the optimal solution satisfies .
Eigenvalue symmetry. From and , one gets , so is similar to . Hence is an eigenvalue of if and only if is, with the same multiplicity. Since is real, is an eigenvalue too. So the spectrum is symmetric under , the reflection in the imaginary axis, and also under and .
Riccati solutions and invariant subspaces. For symmetric , with ,
The two are equal if and only if solves the CARE. Then the subspace is invariant, and the eigenvalues of on it are those of the closed loop matrix . Conversely, if spans an -dimensional invariant subspace and is invertible, then spans the same subspace, and solves the CARE, provided it is symmetric.
No eigenvalue on the imaginary axis. Let be stabilizable, detectable, and . Suppose with real. The two block rows are and . Multiply the first by on the left, take the conjugate transpose of the second and multiply it by on the right, and add. The terms and cancel, and what is left is
Both terms are at least 0, so and . Then with , so by the PBH test for detectability. Also with , so by the PBH test for stabilizability. So no eigenvector exists, and has no eigenvalue on the imaginary axis. By the symmetry, eigenvalues are in each open half plane.
The stable subspace is Lagrangian. Let the columns of span the invariant subspace of the eigenvalues in the open left half plane, so with Hurwitz. Let , which satisfies . The matrix is Hermitian because is symmetric, so . That is the Lyapunov equation with Hurwitz, whose only solution is . With , , so is Hermitian. When is invertible, this gives Hermitian, and real for a real basis. The invertibility of is part of the stabilizing solution theorem.
Examples and non-examples
Scalar. For , , with eigenvalues , . For the eigenvalue , the first row gives , so . That is the stabilizing solution of the scalar CARE. For , , and .
Double integrator. With , , and ,
The eigenvalues are , four points placed symmetrically about both axes. The stable pair is the spectrum of the optimal closed loop, and its invariant subspace gives . The unstable pair gives the other real solution .
Eigenvalues on the axis. For , and , has the double eigenvalue 0, on the imaginary axis. Detectability fails, and the CARE has no stabilizing solution.
Hamiltonian, but not from an LQR problem. is Hamiltonian ( and are symmetric), with eigenvalues . It is the Hamiltonian matrix of the scalar data , and , which violates . It is also the matrix of the harmonic oscillator , . So a Hamiltonian matrix can have all its eigenvalues on the axis, and the no-axis result needs the LQR hypotheses.
Not Hamiltonian. The identity is not Hamiltonian: is skew, not symmetric, and the eigenvalues are not mirrored by . The matrix with a nonsymmetric is not Hamiltonian either, even though its diagonal blocks have the right form.
Related definitions
- Symplectic matrices. is symplectic if . If is Hamiltonian, is symplectic for every , which is why symplectic integrators suit Hamiltonian systems. The DARE uses a symplectic matrix, with eigenvalues in pairs and , in the place of .
- Hamiltonian Schur form. If has no eigenvalue on the imaginary axis, there is a matrix that is both orthogonal and symplectic with , upper quasi-triangular (Paige and Van Loan 1981). A method that keeps this structure in floating point would give eigenvalues that are exactly mirrored. The usual Schur method uses the general Schur decomposition instead, which ignores the structure.
- Skew-Hamiltonian matrices, with skew-symmetric. The square of a Hamiltonian matrix is skew-Hamiltonian, which some structure-preserving eigenvalue methods use.
- Control Hamiltonian. The scalar function of the maximum principle (control Hamiltonian). For the LQR problem, minimizing it over and writing the state and costate equations gives the linear system with matrix .
- Extended Hamiltonian pencil. The pencil that keeps and apart, so that is never formed. It is solved with the QZ algorithm.
References
- Alan J. Laub, A Schur method for solving algebraic Riccati equations, IEEE Transactions on Automatic Control 24(6), 913-921, 1979, the Hamiltonian matrix of the CARE, its eigenvalue symmetry, and the solution from the stable invariant subspace
- Chris Paige and Charles Van Loan, A Schur decomposition for Hamiltonian matrices, Linear Algebra and its Applications 41, 11-32, 1981, the Hamiltonian Schur form under a symplectic orthogonal similarity, for matrices with no eigenvalue on the imaginary axis
- Peter Lancaster and Leiba Rodman, Algebraic Riccati Equations, Clarendon Press, Oxford, 1995, the correspondence between solutions of the Riccati equation and invariant subspaces of the Hamiltonian matrix
- Kemin Zhou, John C. Doyle and Keith Glover, Robust and Optimal Control, Prentice Hall, 1996, Chapter 13, Algebraic Riccati Equations
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 PK49RX Edit this page History Report an error Markdown