Salta al contenuto
Note per Studenti Positive Definite Matrices and the Sylvester Criterion Report

Positive Definite Matrices and the Sylvester Criterion

In questa pagina 4

This note collects the matrix facts that the Lyapunov approach to stability uses: the spectral theorem for symmetric matrices, the bounds it gives on a quadratic form xTPxx^TPx, the definitions of positive definite and positive semidefinite matrices, and the Sylvester criterion. See Lyapunov Equation for Continuous-Time Linear SystemsThe Lyapunov approach tests asymptotic stability of a linear system without computing eigenvalues, by solving the matrix equation minus Q equals F transpose P plus P F and checking that the solution P is unique and positive definite.Lyapunov Equation for Continuous-Time Linear Systems → for how these facts are used.

Spectral theorem for symmetric matrices

Let P∈Rn×nP\in\mathbb{R}^{n\times n} with P=PTP=P^T. The spectral theorem says that PP can be written as

P=TDTT,D=(λ1⋱λn),TT=T−1,P = T D T^T,\qquad D=\begin{pmatrix}\lambda_1 & & \\ & \ddots & \\ & & \lambda_n\end{pmatrix},\qquad T^T=T^{-1},

where the λi\lambda_i are the (real) eigenvalues of PP and TT is an orthonormal matrix, since TT=T−1T^T=T^{-1}. Define

λmin⁡P=min⁡iλi,λmax⁡P=max⁡iλi.\lambda^P_{\min}=\min_i \lambda_i,\qquad \lambda^P_{\max}=\max_i\lambda_i .

Bounds on a quadratic form

For the quadratic form V(x)=xTPxV(x)=x^TPx change coordinates with y=TTxy=T^Tx, i.e. x=Tyx=Ty:

V(x)=xTPx=yTTTPTy=yTDy=∑i=1nλi yi2.V(x)=x^TPx=y^TT^TPTy=y^TDy=\sum_{i=1}^n\lambda_i\,y_i^2 .

Hence V(x)∈[λmin⁡P∥y∥2, λmax⁡P∥y∥2]V(x)\in\big[\lambda^P_{\min}\|y\|^2,\ \lambda^P_{\max}\|y\|^2\big]. Because TT is orthonormal, ∥x∥2=∥y∥2\|x\|^2=\|y\|^2, so

V(x)∈[λmin⁡P∥x∥2, λmax⁡P∥x∥2]∀x.V(x)\in\big[\lambda^P_{\min}\|x\|^2,\ \lambda^P_{\max}\|x\|^2\big]\qquad\forall x .

Two consequences are used repeatedly:

  1. V(x)≥0V(x)\ge 0 for all xx requires λmin⁡P≥0\lambda^P_{\min}\ge 0.
  2. From λmin⁡P∥x(t)∥2≤V(x(t))\lambda^P_{\min}\|x(t)\|^2\le V(x(t)) we get ∥x(t)∥≤V(x(t))λmin⁡P,\|x(t)\|\le\sqrt{\frac{V(x(t))}{\lambda^P_{\min}}} , so if V(x(t))V(x(t)) is bounded for all tt then x(t)x(t) is bounded for all tt (this needs λmin⁡P>0\lambda^P_{\min}>0).

Definitions

For a symmetric matrix P=PTP=P^T:

  • if λmin⁡P>0\lambda^P_{\min}>0, PP is positive definiteall eigenvalues strictly positive, so that x^T P x is strictly positive for every nonzero x (PD), written P≻0P\succ0;
  • if λmin⁡P≥0\lambda^P_{\min}\ge 0, PP is positive semidefiniteall eigenvalues nonnegative, so that x^T P x is never negative (PSD), written P⪰0P\succeq0.

So V(x)=xTPx>0V(x)=x^TPx>0 for all x≠0x\neq0 corresponds to λmin⁡P>0\lambda^P_{\min}>0, and V˙(x)=−xTQx≤0\dot V(x)=-x^TQx\le 0 corresponds to λmin⁡Q≥0\lambda^Q_{\min}\ge0.

Sylvester criterion

To decide PD/PSD without computing eigenvalues, look at the minors of AA taken from the upper-left corner: the 1×11\times1 block, the 2×22\times2 block, and so on up to the full matrix.

  1. PD. If all these minors have positive determinant, then AA is PD.
  2. PSD. The whiteboard states a second criterion for PSD in terms of the signs of the determinants of the minors (the sign pattern is written as positive / negative / positive / ...). This line is doubtful as written: an alternating sign pattern is the one that characterises negative definiteness, so it should not be relied on. (Flagged as unclear.)

Example. A=(01ϵ0)A=\begin{pmatrix}0&1\\ \epsilon&0\end{pmatrix} has first minor 00 (determinant 00) and full determinant det⁡A=−ϵ\det A=-\epsilon.

Versione ripasso

  • Spectral theorem: P=PTP=P^T can be written P=TDTTP=TDT^T, DD the real eigenvalues, TT orthonormal. With y=TTxy=T^Tx: V(x)=∑iλiyi2V(x)=\sum_i\lambda_iy_i^2, so V(x)∈[λmin⁡P∥x∥2, λmax⁡P∥x∥2]V(x)\in[\lambda^P_{\min}\|x\|^2,\ \lambda^P_{\max}\|x\|^2].
  • Definitions: λmin⁡P>0\lambda^P_{\min}>0 means positive definiteall eigenvalues strictly positive, so that x^T P x is strictly positive for every nonzero x (PD, P≻0P\succ0); λmin⁡P≥0\lambda^P_{\min}\ge0 means positive semidefiniteall eigenvalues nonnegative, so that x^T P x is never negative (PSD, P⪰0P\succeq0).
  • Sylvester criterion (PD): take the minors from the upper-left corner, 1×11\times1, 2×22\times2, up to the full matrix. If all have positive determinant, the matrix is PD, without computing eigenvalues. The PSD version on the board is doubtful: do not rely on it.
  • Example: (01ϵ0)\begin{pmatrix}0&1\\ \epsilon&0\end{pmatrix} has first minor 00, so it is not PD.
  • Typical error: concluding PD from a single positive minor.

Teoria collegata