Salta al contenuto
Note per Studenti Matrix Exponential - Worked Examples Report

Matrix Exponential - Worked Examples

Background: Jordan Form and Modal Analysis of LTI SystemsThe Jordan form of the state matrix, built from algebraic and geometric multiplicities of its eigenvalues, lists the modes of an LTI system and so decides how each part of the state behaves, as shown on a two-eigenvalue case and on a block-diagonal example with a parameter.Jordan Form and Modal Analysis of LTI Systems → and Transfer Matrix of Continuous-Time LTI SystemsThe Laplace transform turns an LTI state-space model into the transfer matrix W(s) equal to H times the inverse of sI minus F times G plus J, which is invariant under a change of state basis, has the modes of the system as poles, and can hide modes through zero-pole cancellations.Transfer Matrix of Continuous-Time LTI Systems →.

Exercise 1: Jordan structure and matrix exponential

LTI system with F=(−10000020−1)F=\begin{pmatrix}-1&0&0\\0&0&0\\2&0&-1\end{pmatrix}. Tasks: find the structure of JJ and compute eFte^{Ft} (so that x(t)=eFtx(0)x(t)=e^{Ft}x(0)).

Characteristic polynomial.

ΔF(λ)=det⁡(λI−F)=∣λ+1000λ0−20λ+1∣=(λ+1)∣λ00λ+1∣=(λ+1)2λ.\Delta_F(\lambda)=\det(\lambda I-F)=\begin{vmatrix}\lambda+1&0&0\\0&\lambda&0\\-2&0&\lambda+1\end{vmatrix}=(\lambda+1)\begin{vmatrix}\lambda&0\\0&\lambda+1\end{vmatrix}=(\lambda+1)^2\lambda .

  • λ1=0\lambda_1=0: algebraic multiplicity 1 = geometric multiplicity (which is >0>0).
  • λ2=−1\lambda_2=-1: algebraic multiplicity 2. Geometric multiplicity: Ker(−I−F)=Ker((−1−1−1)−(−10000020−1))=Ker(0000−10−200),\mathrm{Ker}(-I-F)=\mathrm{Ker}\left(\begin{pmatrix}-1&&\\&-1&\\&&-1\end{pmatrix}-\begin{pmatrix}-1&0&0\\0&0&0\\2&0&-1\end{pmatrix}\right)=\mathrm{Ker}\begin{pmatrix}0&0&0\\0&-1&0\\-2&0&0\end{pmatrix}, of dimension 1 (equal to n−rankn-\mathrm{rank}), so the geometric multiplicity is 1: one Jordan block of size 2.

Therefore

J=(−1100−10000).J=\begin{pmatrix}-1&1&0\\0&-1&0\\0&0&0\end{pmatrix}.

Generalized eigenvectors (computed on the board as a side remark, not needed for the exam). Recall F=TJT−1F=TJT^{-1}, with TT made of the (generalized) eigenvectors. For λ2=−1\lambda_2=-1 there is one proper eigenvector and one generalized eigenvector:

Ker(−I−F)=⟨(001)⟩=⟨e3⟩,Ker(−I−F)2=Ker(000010000)=⟨e3,e1⟩.\mathrm{Ker}(-I-F)=\left\langle\begin{pmatrix}0\\0\\1\end{pmatrix}\right\rangle=\langle e_3\rangle,\qquad \mathrm{Ker}(-I-F)^2=\mathrm{Ker}\begin{pmatrix}0&0&0\\0&1&0\\0&0&0\end{pmatrix}=\langle e_3,e_1\rangle .

The chain of generalized eigenvectors associated with λ2=−1\lambda_2=-1 is v1=e1v_1=e_1, v2=(−I−F)v1=(00−2)v_2=(-I-F)v_1=\begin{pmatrix}0\\0\\-2\end{pmatrix}. The eigenvector for λ1=0\lambda_1=0 is Ker(F)=⟨e2⟩\mathrm{Ker}(F)=\langle e_2\rangle. The change of basis is

T=(010001−200).T=\begin{pmatrix}0&1&0\\0&0&1\\-2&0&0\end{pmatrix}.

Computing x(t)x(t) and eFte^{Ft} with the Laplace transform. X(s)=(sI−F)−1x(0)X(s)=(sI-F)^{-1}x(0), and (sI−F)−1=L[eFt](s)(sI-F)^{-1}=\mathcal{L}[e^{Ft}](s) with

(sI−F)−1=adj(sI−F)ΔF(s),sI−F=(s+1000s0−20s+1),ΔF(s)=s(s+1)2.(sI-F)^{-1}=\frac{\mathrm{adj}(sI-F)}{\Delta_F(s)},\qquad sI-F=\begin{pmatrix}s+1&0&0\\0&s&0\\-2&0&s+1\end{pmatrix},\quad \Delta_F(s)=s(s+1)^2 .

The result is

(sI−F)−1=(1s+10001s02(s+1)201s+1) ⟹ eFt=L−1[(sI−F)−1](t)=(e−t000102te−t0e−t).(sI-F)^{-1}=\begin{pmatrix}\frac1{s+1}&0&0\\0&\frac1s&0\\\frac2{(s+1)^2}&0&\frac1{s+1}\end{pmatrix}\ \Longrightarrow\ e^{Ft}=\mathcal{L}^{-1}\Big[(sI-F)^{-1}\Big](t)=\begin{pmatrix}e^{-t}&0&0\\0&1&0\\2te^{-t}&0&e^{-t}\end{pmatrix}.

Exercise 2: modes seen from the output

F=(F1F2)F=\begin{pmatrix}F_1&\\&F_2\end{pmatrix} block diagonal with two 2×22\times2 blocks, and H=(0011)∈R1×4H=\begin{pmatrix}0&0&1&1\end{pmatrix}\in\mathbb{R}^{1\times4}. Question: which modes are seen from the output y(t)y(t)?

y(t)=Hx(t)=HeFtx(0)=H(eF1teF2t)x(0)=(0011)(eF1teF2t)(x1(0)x2(0)x3(0)x4(0)).y(t)=Hx(t)=He^{Ft}x(0)=H\begin{pmatrix}e^{F_1t}&\\&e^{F_2t}\end{pmatrix}x(0)=\begin{pmatrix}0&0&1&1\end{pmatrix}\begin{pmatrix}e^{F_1t}&\\&e^{F_2t}\end{pmatrix}\begin{pmatrix}x_1(0)\\x_2(0)\\x_3(0)\\x_4(0)\end{pmatrix}.

Because the first two entries of HH are zero, the first block drops out and only eF2te^{F_2t} acting on (x3(0)x4(0))\begin{pmatrix}x_3(0)\\x_4(0)\end{pmatrix} remains (the board writes the result as eF2t(x3(0)x4(0))e^{F_2t}\begin{pmatrix}x_3(0)\\x_4(0)\end{pmatrix}; the row vector (11)\begin{pmatrix}1&1\end{pmatrix} of HH multiplies it).

Block F2=(1011)F_2=\begin{pmatrix}1&0\\1&1\end{pmatrix}: eigenvalue λ=1\lambda=1 with algebraic multiplicity 2. Ker(I−F2)=Ker(00−10)\mathrm{Ker}(I-F_2)=\mathrm{Ker}\begin{pmatrix}0&0\\-1&0\end{pmatrix} has dimension 1, equal to the geometric multiplicity, so J2=(1101)J_2=\begin{pmatrix}1&1\\0&1\end{pmatrix}, with modes et, tete^t,\ te^t. These are the modes seen from the output. (The entries of F1F_1 are not clearly legible on the board; they do not matter, since F1F_1's modes are not seen from yy.)

Versione ripasso

  • Ex. 1: F=(−10000020−1)F=\begin{pmatrix}-1&0&0\\0&0&0\\2&0&-1\end{pmatrix}, ΔF=(λ+1)2λ\Delta_F=(\lambda+1)^2\lambda. λ=0\lambda=0: one block. λ=−1\lambda=-1: algebraic multiplicity 2, Ker(−I−F)\mathrm{Ker}(-I-F) of dimension 1, so one Jordan block of size 2: J=(−1100−10000)J=\begin{pmatrix}-1&1&0\\0&-1&0\\0&0&0\end{pmatrix}.
  • Generalized eigenvectors (not needed): v1=e1v_1=e_1, v2=(−I−F)v1=(0,0,−2)Tv_2=(-I-F)v_1=(0,0,-2)^T, eigenvector e2e_2 for 00, T=(010001−200)T=\begin{pmatrix}0&1&0\\0&0&1\\-2&0&0\end{pmatrix}.
  • Via Laplace: (sI−F)−1=(1s+10001s02(s+1)201s+1)(sI-F)^{-1}=\begin{pmatrix}\tfrac1{s+1}&0&0\\0&\tfrac1s&0\\\tfrac2{(s+1)^2}&0&\tfrac1{s+1}\end{pmatrix}, so eFt=(e−t000102te−t0e−t)e^{Ft}=\begin{pmatrix}e^{-t}&0&0\\0&1&0\\2te^{-t}&0&e^{-t}\end{pmatrix}.
  • Ex. 2: F=diag(F1,F2)F=\mathrm{diag}(F_1,F_2), H=(0,0,1,1)H=(0,0,1,1): y=HeFtx(0)y=He^{Ft}x(0) depends only on eF2te^{F_2t} and (x3(0),x4(0))(x_3(0),x_4(0)). F2=(1011)F_2=\begin{pmatrix}1&0\\1&1\end{pmatrix}: λ=1\lambda=1, algebraic multiplicity 2, geometric multiplicity 1, J2=(1101)J_2=\begin{pmatrix}1&1\\0&1\end{pmatrix}, modes seen at the output: et,tete^t,te^t.

Teoria collegata