Salta al contenuto
Note per Studenti Worked Examples - Jordan Form, Modes and Stability of Linear Systems Report

Worked Examples - Jordan Form, Modes and Stability of Linear Systems

In questa pagina 4

Every exercise below uses the same toolbox for a system x˙(t)=Fx(t)\dot x(t)=Fx(t):

  • eigenvalues from ΔF(λ)=det⁡(λI−F)\Delta_F(\lambda)=\det(\lambda I-F);
  • for each eigenvalue, the algebraic multiplicity (multiplicity as a root of ΔF\Delta_F) and the geometric multiplicity dim⁡Ker⁡(λI−F)\dim\operatorname{Ker}(\lambda I-F); the geometric multiplicity is the number of Jordan blocks associated with that eigenvalue;
  • the Jordan form JJ and the modes eλte^{\lambda t}, teλtte^{\lambda t}, ... that appear in eJte^{Jt};
  • equilibrium points =Ker⁡(F)=\operatorname{Ker}(F), since x˙=Fx=0\dot x=Fx=0 exactly for x∈Ker⁡(F)x\in\operatorname{Ker}(F);
  • stability, either from the modes (do they converge, stay bounded, or diverge?) or from the eigenvalues.

Exercise 1 - a 2x2 system with a repeated eigenvalue

x˙(t)=(−102−1)x(t)\dot x(t)=\begin{pmatrix}-1&0\\2&-1\end{pmatrix}x(t)

Questions: (1) modes of the system; (2) equilibrium points and their stability; (3) compute x(t)x(t) starting from x(0)=(11)x(0)=\begin{pmatrix}1\\1\end{pmatrix}.

(1) Modes. The characteristic polynomial is ΔF(λ)=det⁡(λI−F)=det⁡(λ+10−2λ+1)=(λ+1)2,\Delta_F(\lambda)=\det(\lambda I-F)=\det\begin{pmatrix}\lambda+1&0\\-2&\lambda+1\end{pmatrix}=(\lambda+1)^2, so λ1=−1\lambda_1=-1 with algebraic multiplicity 2.

Geometric multiplicity: Ker⁡(λ1I−F)=Ker⁡(−I−F)=Ker⁡(00−20)=⟨(01)⟩\operatorname{Ker}(\lambda_1I-F)=\operatorname{Ker}(-I-F)=\operatorname{Ker}\begin{pmatrix}0&0\\-2&0\end{pmatrix}=\left\langle\begin{pmatrix}0\\1\end{pmatrix}\right\rangle. By the rank-nullity theorem, rank⁡(⋅)+null⁡(⋅)=2\operatorname{rank}(\cdot)+\operatorname{null}(\cdot)=2 with rank 1 and nullity 1, so the geometric multiplicity is 1.

Algebraic multiplicity 2 and geometric multiplicity 1 give a single Jordan block of size 2: J=(−110−1),modes: e−t, te−t.J=\begin{pmatrix}-1&1\\0&-1\end{pmatrix},\qquad\text{modes: }e^{-t},\ te^{-t}.

(2) Equilibria and stability. The equilibria are Ker⁡(F)\operatorname{Ker}(F): Fx=0Fx=0 means Fx=λxFx=\lambda x with λ=0\lambda=0, but λ1=−1\lambda_1=-1 is the only eigenvalue of FF, so Ker⁡F={0}\operatorname{Ker}F=\{0\} and xeq=0x_{eq}=0 is the only equilibrium.

Stability can be read from the modes or via Lyapunov: both modes e−te^{-t} and te−tte^{-t} go to zero, so xeq=0x_{eq}=0 is asymptotically stable.

(3) The solution. x(t)=eFtx(0)=TeJtT−1x(0)x(t)=e^{Ft}x(0)=Te^{Jt}T^{-1}x(0), or, in the Laplace domain, X(s)=(sI−F)−1x(0)X(s)=(sI-F)^{-1}x(0): (sI−F)−1=(s+10−2s+1)−1=1(s+1)2(s+102s+1)=(1s+102(s+1)21s+1).(sI-F)^{-1}=\begin{pmatrix}s+1&0\\-2&s+1\end{pmatrix}^{-1}=\frac{1}{(s+1)^2}\begin{pmatrix}s+1&0\\2&s+1\end{pmatrix}=\begin{pmatrix}\dfrac1{s+1}&0\\[2mm]\dfrac2{(s+1)^2}&\dfrac1{s+1}\end{pmatrix}. X(s)=(1s+102(s+1)21s+1)(11)=(1s+11s+1+2(s+1)2).X(s)=\begin{pmatrix}\dfrac1{s+1}&0\\[2mm]\dfrac2{(s+1)^2}&\dfrac1{s+1}\end{pmatrix}\begin{pmatrix}1\\1\end{pmatrix}=\begin{pmatrix}\dfrac1{s+1}\\[2mm]\dfrac1{s+1}+\dfrac2{(s+1)^2}\end{pmatrix}. Applying the inverse Laplace transform L−1\mathcal L^{-1}: x(t)=(e−te−t+2te−t).x(t)=\begin{pmatrix}e^{-t}\\ e^{-t}+2te^{-t}\end{pmatrix}.

Exercise 2 - block-diagonal system with an output

F=(1100110000100011)=(F100F2),F1=(1111), F2=(1011),H=(0011).F=\begin{pmatrix}1&1&0&0\\1&1&0&0\\0&0&1&0\\0&0&1&1\end{pmatrix}=\begin{pmatrix}F_1&0\\0&F_2\end{pmatrix},\qquad F_1=\begin{pmatrix}1&1\\1&1\end{pmatrix},\ F_2=\begin{pmatrix}1&0\\1&1\end{pmatrix},\qquad H=\begin{pmatrix}0&0&1&1\end{pmatrix}.

Questions: (1) determine the modes of y(t)=Hx(t)y(t)=Hx(t); (2) determine JJ.

(1) Modes of the output. Because eFte^{Ft} is block diagonal, y(t)=HeFtx(0)=(0011)(eF1t00eF2t)x(0)=(11)eF2t(x3(0)x4(0)).y(t)=He^{Ft}x(0)=\begin{pmatrix}0&0&1&1\end{pmatrix}\begin{pmatrix}e^{F_1t}&0\\0&e^{F_2t}\end{pmatrix}x(0)=\begin{pmatrix}1&1\end{pmatrix}e^{F_2t}\begin{pmatrix}x_3(0)\\x_4(0)\end{pmatrix}. Only the block F2F_2 is seen in the output, so the modes of yy are those of F2F_2 (computed below: ete^{t} and tette^{t}).

(2) Jordan form. J=(J1J2)J=\begin{pmatrix}J_1&\\&J_2\end{pmatrix} block by block.

  • Block F1F_1: ΔF1(λ)=det⁡(λ−1−1−1λ−1)=(λ−1)2−1=λ(λ−2)\Delta_{F_1}(\lambda)=\det\begin{pmatrix}\lambda-1&-1\\-1&\lambda-1\end{pmatrix}=(\lambda-1)^2-1=\lambda(\lambda-2). Eigenvalues λ1=0\lambda_1=0 (mode e0t=1e^{0t}=1) and λ2=2\lambda_2=2 (mode e2te^{2t}), both simple.
  • Block F2=(1011)F_2=\begin{pmatrix}1&0\\1&1\end{pmatrix}: eigenvalue λ3=1\lambda_3=1 with algebraic multiplicity 2. Ker⁡(λ3I−F2)=Ker⁡(00−10)\operatorname{Ker}(\lambda_3I-F_2)=\operatorname{Ker}\begin{pmatrix}0&0\\-1&0\end{pmatrix} has dimension 1, so the geometric multiplicity is 1 and J2=(1101),modes et, tet.J_2=\begin{pmatrix}1&1\\0&1\end{pmatrix},\qquad\text{modes }e^{t},\ te^{t}.

Exercise 3 - a 3x3 system: Jordan form and stability

x˙(t)=Fx(t),F=(0000−310−1−1).\dot x(t)=Fx(t),\qquad F=\begin{pmatrix}0&0&0\\0&-3&1\\0&-1&-1\end{pmatrix}. Questions: (1) JJ; (2) stability.

(1) Jordan form. F=(F1F2)F=\begin{pmatrix}F_1&\\&F_2\end{pmatrix} with F1=[0]F_1=[0] and F2=(−31−1−1)F_2=\begin{pmatrix}-3&1\\-1&-1\end{pmatrix}.

  • F1=[0]⇒J1=[0]F_1=[0]\Rightarrow J_1=[0], mode e0t=1e^{0t}=1.
  • ΔF2(λ)=det⁡(λ+3−11λ+1)=(λ+3)(λ+1)+1=λ2+4λ+4=(λ+2)2\Delta_{F_2}(\lambda)=\det\begin{pmatrix}\lambda+3&-1\\1&\lambda+1\end{pmatrix}=(\lambda+3)(\lambda+1)+1=\lambda^2+4\lambda+4=(\lambda+2)^2. So λ1=−2\lambda_1=-2 with algebraic multiplicity 2.
  • Ker⁡(λ1I−F2)=Ker⁡(−2I−F2)=Ker⁡(1−11−1)=⟨(11)⟩\operatorname{Ker}(\lambda_1I-F_2)=\operatorname{Ker}(-2I-F_2)=\operatorname{Ker}\begin{pmatrix}1&-1\\1&-1\end{pmatrix}=\left\langle\begin{pmatrix}1\\1\end{pmatrix}\right\rangle, dimension 1: the geometric multiplicity of λ1\lambda_1 is 1, hence one Jordan block J2=(−210−2),modes e−2t, te−2t.J_2=\begin{pmatrix}-2&1\\0&-2\end{pmatrix},\qquad\text{modes }e^{-2t},\ te^{-2t}.

(2) Stability. There are two converging modes e−2t,te−2te^{-2t},te^{-2t} and one constant (bounded) mode 11, so the system is stable but not asymptotically stable.

Alternatively, look at the eigenvalues: λ1=−2\lambda_1=-2 has Re⁡(λ1)<0\operatorname{Re}(\lambda_1)<0; λ2=0\lambda_2=0 has Re⁡(λ2)=0\operatorname{Re}(\lambda_2)=0 and algebraic multiplicity == geometric multiplicity =1=1 (so the eigenvalue on the imaginary axis is harmless).

What if λ2=0\lambda_2=0 had algebraic multiplicity 2 and geometric multiplicity 1? Then J1=(0100)J_1=\begin{pmatrix}0&1\\0&0\end{pmatrix} and eJ1t=(1t01)e^{J_1t}=\begin{pmatrix}1&t\\0&1\end{pmatrix}: the diverging mode tt would make the system unstable.

Equilibria. x˙=Fx=0\dot x=Fx=0 gives Ker⁡F=⟨(100)⟩\operatorname{Ker}F=\left\langle\begin{pmatrix}1\\0\\0\end{pmatrix}\right\rangle: all the vectors (∗00)\begin{pmatrix}*\\0\\0\end{pmatrix} with ∗* nonzero are equilibrium points. Starting from x(0)=(∗00)x(0)=\begin{pmatrix}*\\0\\0\end{pmatrix} one has x˙(t)=0\dot x(t)=0, a point-like trajectory (the system stays at the starting point on the x1x_1 axis).

Exercise 4 - modes, stability and rectilinear trajectories of a parametric 4x4 system

x˙1=x2,x˙2=−αx2,x˙3=12x3−x4,x˙4=βx3,α,β∈R.\dot x_1=x_2,\quad\dot x_2=-\alpha x_2,\quad\dot x_3=\tfrac12x_3-x_4,\quad\dot x_4=\beta x_3,\qquad\alpha,\beta\in\mathbb R. Questions: (1) find the modes and discuss their convergence or divergence; (2) discuss stability; (3) find all rectilinear trajectories passing through the origin with x3(0)=0x_3(0)=0.

F=(01000−α000012−100β0)=(F1100F22).F=\left(\begin{array}{cc|cc}0&1&0&0\\0&-\alpha&0&0\\\hline0&0&\tfrac12&-1\\0&0&\beta&0\end{array}\right)=\begin{pmatrix}F_{11}&0\\0&F_{22}\end{pmatrix}.

(1) First block F11=(010−α)F_{11}=\begin{pmatrix}0&1\\0&-\alpha\end{pmatrix} (triangular). Eigenvalues λ1=0\lambda_1=0 (mode eλ1t=1e^{\lambda_1t}=1) and λ2=−α\lambda_2=-\alpha (mode e−αte^{-\alpha t}).

  • α>0\alpha>0: e−αte^{-\alpha t} decays to zero;
  • α<0\alpha<0: e−αte^{-\alpha t} diverges;
  • α=0\alpha=0: F11=(0100)F_{11}=\begin{pmatrix}0&1\\0&0\end{pmatrix}, one Jordan block, geometric multiplicity 1, modes eλ1t,teλ1te^{\lambda_1t},te^{\lambda_1t}, i.e. 11 and tt (linear divergence).

Second block F22=(12−1β0)F_{22}=\begin{pmatrix}\tfrac12&-1\\\beta&0\end{pmatrix}. ΔF(λ)=det⁡(λI−F22)=(λ−12)λ+β=0\Delta_F(\lambda)=\det(\lambda I-F_{22})=(\lambda-\tfrac12)\lambda+\beta=0, so λ1/2=14±1214−4β.\lambda_{1/2}=\frac14\pm\frac12\sqrt{\frac14-4\beta}.

  1. 14−4β<0\frac14-4\beta<0: complex eigenvalues λ1/2=14±jγ\lambda_{1/2}=\frac14\pm j\gamma; the modes behave like et/4cos⁡(γt)e^{t/4}\cos(\gamma t), an oscillation with growing amplitude (sketched on the board).
  2. 14−4β>0\frac14-4\beta>0: real eigenvalues λ1/2=14±12γ\lambda_{1/2}=\frac14\pm\frac12\gamma (with γ2=14−4β\gamma^2=\frac14-4\beta). The plus sign gives λ1>0\lambda_1>0. For the minus sign: if 14<12γ\frac14<\frac12\gamma then λ2<0\lambda_2<0; if 14>12γ\frac14>\frac12\gamma then λ2>0\lambda_2>0.
  3. 14−4β=0\frac14-4\beta=0 (that is β=116\beta=\frac1{16}): λ1=14\lambda_1=\frac14 with algebraic multiplicity 2. Ker⁡(F22−λ1I)=Ker⁡(14−1116−14)=⟨(114)⟩\operatorname{Ker}(F_{22}-\lambda_1I)=\operatorname{Ker}\begin{pmatrix}\tfrac14&-1\\\tfrac1{16}&-\tfrac14\end{pmatrix}=\left\langle\begin{pmatrix}1\\\tfrac14\end{pmatrix}\right\rangle, geometric multiplicity 1, so the modes are eλ1t,teλ1te^{\lambda_1t},te^{\lambda_1t}.

(2) Stability. The board moves on to part (3) after listing the modes. From the eigenvalues computed above one sees that in every case F22F_{22} has an eigenvalue with positive real part (14\frac14 in case 1, λ1>0\lambda_1>0 in case 2, 14\frac14 in case 3), so the system is unstable for every α,β\alpha,\beta. This conclusion is a direct consequence of the computed eigenvalues, not a line written on the board.

(3) Rectilinear trajectories through the origin. If x(0)x(0) is an eigenvector of FF corresponding to a real λ\lambda, then x(t)=eFtx(0)=eλtx(0)x(t)=e^{Ft}x(0)=e^{\lambda t}x(0). With x3(0)=x4(0)=0x_3(0)=x_4(0)=0 the eigenvectors have the form v=(v1,v2,0,0)Tv=(v_1,v_2,0,0)^T and Fv=(F11(v1v2)00)=λv,Fv=\begin{pmatrix}F_{11}\begin{pmatrix}v_1\\v_2\end{pmatrix}\\0\\0\end{pmatrix}=\lambda v, so one needs the eigenvectors of F11F_{11}.

  • λ1=0\lambda_1=0: x(t)=x(0)x(t)=x(0), a constant (point-like) trajectory. (The board adds a set {0}\{0\} next to this line; its meaning is not clearly readable.)
  • λ2=−α\lambda_2=-\alpha with α≠0\alpha\ne0: F11v=−αvF_{11}v=-\alpha v reads (v2−αv2)=(−αv1−αv2)\begin{pmatrix}v_2\\-\alpha v_2\end{pmatrix}=\begin{pmatrix}-\alpha v_1\\-\alpha v_2\end{pmatrix}, so v2=−αv1v_2=-\alpha v_1 and Ker⁡(F11+αI)=⟨(−1α)⟩\operatorname{Ker}(F_{11}+\alpha I)=\left\langle\begin{pmatrix}-1\\\alpha\end{pmatrix}\right\rangle. Hence x(0)∈⟨(−1,α,0,0)T⟩x(0)\in\left\langle(-1,\alpha,0,0)^T\right\rangle and the rectilinear trajectory passing through the origin is x(t)=e−αtx(0)x(t)=e^{-\alpha t}x(0).

See also Worked Examples - Lyapunov Equation, Output Response and Rectilinear TrajectoriesOne worked exercise on a 3x3 continuous-time linear system with a parameter: stability decided by solving the Lyapunov equation block by block, the output response for two different output matrices, and the rectilinear trajectories through the origin.Worked Examples - Lyapunov Equation, Output Response and Rectilinear Trajectories → for the same technique on a 3x3 system, and Worked Examples - Stability of Nonlinear Systems by Linearization and Lyapunov FunctionsWorked exercises on the stability of an equilibrium of nonlinear systems: the linearization theorem, the critical cases where it is inconclusive, and the use of a Lyapunov function (or the total energy of a pendulum) to decide them.Worked Examples - Stability of Nonlinear Systems by Linearization and Lyapunov Functions → for the nonlinear case.

Versione ripasso

  • Recipe for x˙=Fx\dot x=Fx: eigenvalues from ΔF(λ)=det⁡(λI−F)\Delta_F(\lambda)=\det(\lambda I-F); for each eigenvalue the algebraic multiplicity (root multiplicity) and the geometric multiplicity dim⁡Ker⁡(λI−F)\dim\operatorname{Ker}(\lambda I-F), which is the number of Jordan blocks; the modes come from eJte^{Jt}, so a block of size 2 gives eλte^{\lambda t} and teλtte^{\lambda t}; equilibria =Ker⁡F=\operatorname{Ker}F.
  • Ex. 1, F=(−102−1)F=\begin{pmatrix}-1&0\\2&-1\end{pmatrix}: ΔF=(λ+1)2\Delta_F=(\lambda+1)^2, so λ=−1\lambda=-1 with algebraic multiplicity 2. Ker⁡(−I−F)=⟨(0,1)T⟩\operatorname{Ker}(-I-F)=\langle(0,1)^T\rangle, geometric multiplicity 1, so one block: J=(−110−1)J=\begin{pmatrix}-1&1\\0&-1\end{pmatrix}, modes e−te^{-t} and te−tte^{-t}. Ker⁡F={0}\operatorname{Ker}F=\{0\} is the only equilibrium, and it is asymptotically stable.
  • Ex. 1 solution from x(0)=(1,1)Tx(0)=(1,1)^T: (sI−F)−1=(1s+102(s+1)21s+1)(sI-F)^{-1}=\begin{pmatrix}\frac1{s+1}&0\\ \frac2{(s+1)^2}&\frac1{s+1}\end{pmatrix}, so X(s)=(1s+1, 1s+1+2(s+1)2)TX(s)=\big(\frac1{s+1},\ \frac1{s+1}+\frac2{(s+1)^2}\big)^T and x(t)=(e−t, e−t+2te−t)Tx(t)=(e^{-t},\ e^{-t}+2te^{-t})^T.
  • Ex. 2, block diagonal F=diag(F1,F2)F=\mathrm{diag}(F_1,F_2), F1=(1111)F_1=\begin{pmatrix}1&1\\1&1\end{pmatrix}, F2=(1011)F_2=\begin{pmatrix}1&0\\1&1\end{pmatrix}, H=(0 0 1 1)H=(0\ 0\ 1\ 1): the output sees only F2F_2, so its modes are ete^t and tette^t. J1=diag(0,2)J_1=\mathrm{diag}(0,2), J2=(1101)J_2=\begin{pmatrix}1&1\\0&1\end{pmatrix}.
  • Ex. 3, F=diag([0],F2)F=\mathrm{diag}([0],F_2) with F2=(−31−1−1)F_2=\begin{pmatrix}-3&1\\-1&-1\end{pmatrix}: ΔF2=(λ+3)(λ+1)+1=(λ+2)2\Delta_{F_2}=(\lambda+3)(\lambda+1)+1=(\lambda+2)^2. The kernel Ker⁡(−2I−F2)=⟨(1,1)T⟩\operatorname{Ker}(-2I-F_2)=\langle(1,1)^T\rangle has dimension 1, so J2=(−210−2)J_2=\begin{pmatrix}-2&1\\0&-2\end{pmatrix}, and the modes are e−2te^{-2t}, te−2tte^{-2t} and the constant 11 from [0][0]. The system is stable but not asymptotically stable (the zero eigenvalue has equal algebraic and geometric multiplicity). A zero eigenvalue with a Jordan block of size 2 would give the diverging mode tt.
  • Ex. 3 equilibria: Ker⁡F=⟨(1,0,0)T⟩\operatorname{Ker}F=\langle(1,0,0)^T\rangle, so every point (c,0,0)T(c,0,0)^T is an equilibrium; starting there, x˙=0\dot x=0.
  • Ex. 4, x˙1=x2\dot x_1=x_2, x˙2=−αx2\dot x_2=-\alpha x_2, x˙3=12x3−x4\dot x_3=\tfrac12x_3-x_4, x˙4=βx3\dot x_4=\beta x_3, with F11=(010−α)F_{11}=\begin{pmatrix}0&1\\0&-\alpha\end{pmatrix} and F22=(12−1β0)F_{22}=\begin{pmatrix}\tfrac12&-1\\ \beta&0\end{pmatrix}.
    • First block: eigenvalues 00 and −α-\alpha. For α>0\alpha>0 the mode e−αte^{-\alpha t} decays, for α<0\alpha<0 it diverges. For α=0\alpha=0 the block is one Jordan block with modes 11 and tt (linear divergence).
    • Second block: λ1/2=14±1214−4β\lambda_{1/2}=\tfrac14\pm\tfrac12\sqrt{\tfrac14-4\beta}. With 14−4β<0\tfrac14-4\beta<0 the modes oscillate with growing amplitude et/4e^{t/4}; with 14−4β>0\tfrac14-4\beta>0 the root with the plus sign is positive; with β=116\beta=\tfrac1{16} the eigenvalue 14\tfrac14 has modes et/4e^{t/4} and tet/4te^{t/4}.
    • Stability: F22F_{22} always has an eigenvalue with positive real part, so the system is unstable for all α,β\alpha,\beta.
    • Rectilinear trajectories with x3(0)=x4(0)=0x_3(0)=x_4(0)=0: for λ=0\lambda=0, x(t)=x(0)x(t)=x(0); for λ=−α≠0\lambda=-\alpha\ne0, x(0)∈⟨(−1,α,0,0)T⟩x(0)\in\langle(-1,\alpha,0,0)^T\rangle and x(t)=e−αtx(0)x(t)=e^{-\alpha t}x(0).
  • Typical mistake: forgetting to check the geometric multiplicity (one block of size 2 gives the extra mode teλtte^{\lambda t}).

Teoria collegata