Salta al contenuto
Note per Studenti Systems and Models - Mock Exam 1 Report

Systems and Models - Mock Exam 1

Questa pagina non ha ancora la versione ripasso: qui sotto c'è il testo completo.

In questa pagina 6

The written tests of this course are not public. This mock exam is built on the notes of the course only. Official format, from the course description: a written test of 2 hours and 30 minutes with five exercises (formulating mathematical models, analysing systems in state space, identification, validation of models with experimental data, critical interpretation). The distribution of the points is a proposal of this site: each exercise is worth 6 points, for a total of 30. The data, the systems and the questions are new: it is not a copy of any real test.

Conventions used in the whole test: xx is the state, uu the input, yy the output; "a.s." means asymptotically stable; ≻0\succ 0 means positive definite. Every system is described completely in words or by its equations, so that it can be redrawn on the sheet before starting.

How to use it: work with a timer, write every formula in letters before putting the numbers in, and look at the "Result" only when a question is finished.

Exercise 1 (points 6)

A laboratory breeds insects and counts them once a week. The colony is divided into three classes: x1x_1 eggs, x2x_2 larvae, x3x_3 adults (numbers of individuals at week tt). In one week the following happens:

  • each adult lays 22 eggs, and the technician adds u(t)u(t) eggs from an external stock; all these eggs are the eggs of the next week;
  • 6060 percent of the eggs of the week become larvae the next week (the other eggs are lost);
  • 5050 percent of the larvae become adults the next week (the other larvae are lost), and 4040 percent of the adults survive to the next week (the other adults die).

The measured output is the number of adults, y(t)=x3(t)y(t) = x_3(t).

a) Write the discrete-time state-space model x(t+1)=Fx(t)+Gu(t)x(t+1) = Fx(t) + Gu(t), y(t)=Hx(t)y(t) = Hx(t). For x(0)=(100,50,20)Tx(0) = (100, 50, 20)^T and u(t)=10u(t) = 10 for all tt, compute x(1)x(1) and x(2)x(2) (2 points).

b) Compute the characteristic polynomial and the eigenvalues of FF, say which modes appear and whether the free evolution is a.s., stable or unstable. For u≡0u \equiv 0 and x(0)=(100,50,20)Tx(0) = (100, 50, 20)^T find the limit of x(t)x(t) for t→+∞t \to +\infty (2.5 points).

c) The technician now adds a constant number u(t)=10u(t) = 10 of eggs every week. Does the system have an equilibrium? What happens to the colony in the long run? Comment on the result, given the answer of part b (1.5 points).

Show the result

a) F=(0020.60000.50.4)F = \begin{pmatrix} 0 & 0 & 2 \\ 0.6 & 0 & 0 \\ 0 & 0.5 & 0.4 \end{pmatrix}, G=(100)G = \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}, H=(001)H = \begin{pmatrix} 0 & 0 & 1 \end{pmatrix}; x(1)=(50,60,33)Tx(1) = (50, 60, 33)^T, x(2)=(76,30,43.2)Tx(2) = (76, 30, 43.2)^T.

b) ΔF(λ)=λ3−0.4λ2−0.6=(λ−1)(λ2+0.6λ+0.6)\Delta_F(\lambda) = \lambda^3 - 0.4\lambda^2 - 0.6 = (\lambda - 1)(\lambda^2 + 0.6\lambda + 0.6); eigenvalues 11 and −0.3±j 0.714-0.3 \pm j\,0.714 (modulus 0.7750.775). Modes 1t1^t and 0.775tcos⁡(θt)0.775^t\cos(\theta t)-type: bounded, so the system is stable but not a.s. The limit is x(∞)=(68.2,40.9,34.1)Tx(\infty) = (68.2, 40.9, 34.1)^T.

c) No equilibrium exists. The weighted count s(t)=3x1+5x2+10x3s(t) = 3x_1 + 5x_2 + 10x_3 obeys s(t)=750+30 ts(t) = 750 + 30\,t, so the colony grows without bound, asymptotically by about (2.73,1.64,1.36)(2.73, 1.64, 1.36) individuals per week (the adults grow by about 1.361.36 per week), even though the free evolution is stable.

Show the full solution

a) Model. Each equation gives the value of one class next week (see the lab cell population in Examples of State-Space ModelsWorked state-space models: an RLC circuit, a controlled pendulum, population growth (exponential and logistic, continuous and discrete time), a three-class lab cell population and the Google PageRank iteration.Examples of State-Space Models →, where the same kind of diagram of arrows is used). Eggs: the adults give 2x32x_3 and the technician uu. Larvae: 0.6x10.6x_1. Adults: 0.5x20.5x_2 from the larvae plus 0.4x30.4x_3 survivors:

x1(t+1)=2x3(t)+u(t),x2(t+1)=0.6 x1(t),x3(t+1)=0.5 x2(t)+0.4 x3(t),y(t)=x3(t),x_1(t+1) = 2x_3(t) + u(t), \qquad x_2(t+1) = 0.6\,x_1(t), \qquad x_3(t+1) = 0.5\,x_2(t) + 0.4\,x_3(t), \qquad y(t) = x_3(t),

that is

F=(0020.60000.50.4),G=(100),H=(001).F = \begin{pmatrix} 0 & 0 & 2 \\ 0.6 & 0 & 0 \\ 0 & 0.5 & 0.4 \end{pmatrix}, \qquad G = \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}, \qquad H = \begin{pmatrix} 0 & 0 & 1 \end{pmatrix}.

For x(0)=(100,50,20)Tx(0) = (100, 50, 20)^T and u(0)=10u(0) = 10:

x(1)=(2⋅20+100.6⋅1000.5⋅50+0.4⋅20)=(506033),x(2)=(2⋅33+100.6⋅500.5⋅60+0.4⋅33)=(763043.2).x(1) = \begin{pmatrix} 2 \cdot 20 + 10 \\ 0.6 \cdot 100 \\ 0.5 \cdot 50 + 0.4 \cdot 20 \end{pmatrix} = \begin{pmatrix} 50 \\ 60 \\ 33 \end{pmatrix}, \qquad x(2) = \begin{pmatrix} 2 \cdot 33 + 10 \\ 0.6 \cdot 50 \\ 0.5 \cdot 60 + 0.4 \cdot 33 \end{pmatrix} = \begin{pmatrix} 76 \\ 30 \\ 43.2 \end{pmatrix}.

Typical mistake: putting the survival rate 0.40.4 of the adults in F33F_{33} but forgetting that the larvae pass to the adult class (the entry F32=0.5F_{32} = 0.5), or writing the eggs laid in the equation of the larvae.

b) Eigenvalues, modes, limit. Expanding det⁡(λI−F)\det(\lambda I - F) along the first row:

det⁡(λ0−2−0.6λ00−0.5λ−0.4)=λ⋅λ(λ−0.4)+(−2)⋅[(−0.6)(−0.5)−0]=λ3−0.4λ2−0.6.\det\begin{pmatrix} \lambda & 0 & -2 \\ -0.6 & \lambda & 0 \\ 0 & -0.5 & \lambda - 0.4 \end{pmatrix} = \lambda\cdot\lambda(\lambda - 0.4) + (-2)\cdot\big[(-0.6)(-0.5) - 0\big] = \lambda^3 - 0.4\lambda^2 - 0.6.

λ=1\lambda = 1 is a root (1−0.4−0.6=01 - 0.4 - 0.6 = 0), and dividing by (λ−1)(\lambda - 1) gives λ2+0.6λ+0.6\lambda^2 + 0.6\lambda + 0.6, whose roots are λ=−0.3±j0.6−0.09=−0.3±j 0.714\lambda = -0.3 \pm j\sqrt{0.6 - 0.09} = -0.3 \pm j\,0.714 with modulus ρ=0.09+0.51=0.6=0.775\rho = \sqrt{0.09 + 0.51} = \sqrt{0.6} = 0.775. The three eigenvalues are distinct, so FF is diagonalizable and every mode has k=0k = 0 (no factor tkt^k): the modes are 1t1^t and ρtcos⁡(θt)\rho^t\cos(\theta t) (with θ=∠λ\theta = \angle\lambda) and ρtsin⁡(θt)\rho^t\sin(\theta t) (see Modes and Convergence of Discrete-Time SystemsDiscrete-time modes are samples of continuous-time modes through the map lambda bar equals e to the lambda, and a mode t to the k times rho to the t times cosine of theta t converges to zero when rho is below one, stays bounded when rho equals one with k equal to zero, and diverges otherwise.Modes and Convergence of Discrete-Time Systems →). The complex pair has ρ<1\rho < 1 and converges to zero, the mode 1t1^t is bounded but does not converge: by the criterion of Equilibria and Stability of Discrete-Time LTI SystemsA discrete-time LTI system is asymptotically stable when every eigenvalue has modulus below one, stable when all modes are bounded, and unstable otherwise, and its equilibria solve an algebraic equation involving I minus F, with finite-time convergence possible when all eigenvalues are zero.Equilibria and Stability of Discrete-Time LTI Systems → the system is stable but not a.s. Typical mistake: declaring it unstable because one eigenvalue is equal to one, or a.s. because the others have modulus below one.

Limit. Only the mode of λ=1\lambda = 1 survives, so x(t)→c vx(t) \to c\,v with vv the eigenvector of λ=1\lambda = 1. From (F−I)v=0(F - I)v = 0: the first row gives −v1+2v3=0-v_1 + 2v_3 = 0, the second 0.6v1−v2=00.6v_1 - v_2 = 0; taking v3=5v_3 = 5 gives v=(10,6,5)Tv = (10, 6, 5)^T, and the third row is then satisfied (0.5⋅6−0.6⋅5=00.5 \cdot 6 - 0.6 \cdot 5 = 0). The coefficient cc comes from the diagonalization F=TDT−1F = TDT^{-1} (Linear Algebra Recap - Eigenvalues and DiagonalizationRecap of linear algebra needed for LTI systems: linear functions, bases and the matrix of a linear map, change of basis and similarity, diagonalization, eigenvalues and eigenvectors, characteristic equation, algebraic versus geometric multiplicity.Linear Algebra Recap - Eigenvalues and Diagonalization →, Solution of Discrete-Time LTI SystemsA discrete-time LTI system is solved by iterating the difference equation, which gives a free evolution F to the power t times the initial state plus a convolution with F to the power t minus one times G, and the matrix power is computed through the diagonal or Jordan form with binomial coefficients.Solution of Discrete-Time LTI Systems →): Ft=TDtT−1F^t = TD^tT^{-1}, and the row of T−1T^{-1} that multiplies the mode 1t1^t is a left eigenvector wTw^T, wTF=wTw^TF = w^T. Solving wTF=wTw^TF = w^T: 0.6w2=w10.6w_2 = w_1, 0.5w3=w20.5w_3 = w_2, 2w1+0.4w3=w32w_1 + 0.4w_3 = w_3, which gives w=(3,5,10)Tw = (3, 5, 10)^T (check: 2⋅3+0.4⋅10=102 \cdot 3 + 0.4 \cdot 10 = 10). Since wTw^T annihilates the other eigenvectors, the component of x(0)x(0) along vv is wTx(0)/(wTv)w^Tx(0)/(w^Tv):

wTv=30+30+50=110,wTx(0)=300+250+200=750,x(∞)=750110(1065)=(68.240.934.1).w^Tv = 30 + 30 + 50 = 110, \qquad w^Tx(0) = 300 + 250 + 200 = 750, \qquad x(\infty) = \frac{750}{110}\begin{pmatrix} 10 \\ 6 \\ 5 \end{pmatrix} = \begin{pmatrix} 68.2 \\ 40.9 \\ 34.1 \end{pmatrix}.

The colony settles at about 6868 eggs, 4141 larvae and 3434 adults, in the proportions 10:6:510 : 6 : 5 of the eigenvector, whatever the way it gets there.

c) Constant input. An equilibrium with ueq=10u_{eq} = 10 must satisfy (I−F)xeq=Gueq(I - F)x_{eq} = Gu_{eq}. The matrix I−FI - F is not invertible (it has the eigenvalue 1−1=01 - 1 = 0), so, by Equilibria and Stability of Discrete-Time LTI SystemsA discrete-time LTI system is asymptotically stable when every eigenvalue has modulus below one, stable when all modes are bounded, and unstable otherwise, and its equilibria solve an algebraic equation involving I minus F, with finite-time convergence possible when all eigenvalues are zero.Equilibria and Stability of Discrete-Time LTI Systems →, there are either infinitely many solutions or none. Multiply the equation on the left by wTw^T: wT(I−F)=wT−wT=0w^T(I - F) = w^T - w^T = 0, so the left-hand side is 00, while the right-hand side is wTGueq=3⋅10=30≠0w^TGu_{eq} = 3 \cdot 10 = 30 \neq 0. Hence no equilibrium exists.

What happens instead: the scalar s(t)=wTx(t)=3x1+5x2+10x3s(t) = w^Tx(t) = 3x_1 + 5x_2 + 10x_3 satisfies s(t+1)=wTFx(t)+wTGu(t)=s(t)+3u(t)s(t+1) = w^TFx(t) + w^TGu(t) = s(t) + 3u(t), so with u≡10u \equiv 10

s(t)=s(0)+30 t=750+30 t,s(t) = s(0) + 30\,t = 750 + 30\,t,

a linear growth. The components along the stable modes converge, so asymptotically x(t)≃s(t)110 vx(t) \simeq \dfrac{s(t)}{110}\,v: the colony grows without bound, by about 30110(10,6,5)=(2.73,1.64,1.36)\dfrac{30}{110}(10, 6, 5) = (2.73, 1.64, 1.36) individuals per week, in the fixed proportions 10:6:510 : 6 : 5 (for instance after 400400 weeks the adults are about 578578). Comment: "stable" in the sense of part b only says that the free evolution stays bounded; an input that is constant, and constantly excites a mode with eigenvalue one, makes the state diverge linearly (the mode is "resonant" with the input). To keep the colony bounded the technician would have to stop the eggs or remove individuals. Typical mistake: solving (I−F)x=Gu(I - F)x = Gu with a pseudo-inverse and announcing an equilibrium that does not exist.

Exercise 2 (points 6)

Consider the continuous-time system x˙(t)=Fx(t)+Gu(t)\dot x(t) = Fx(t) + Gu(t), y(t)=Hx(t)y(t) = Hx(t) (so J=0J = 0) with

F=(−1706),G=(01),H=(1−1).F = \begin{pmatrix} -1 & 7 \\ 0 & 6 \end{pmatrix}, \qquad G = \begin{pmatrix} 0 \\ 1 \end{pmatrix}, \qquad H = \begin{pmatrix} 1 & -1 \end{pmatrix}.

a) Compute the matrix exponential eFte^{Ft}, the impulse response w(t)w(t) and the transfer function W(s)W(s) (2 points).

b) The initial state is x(0)=(1,0)Tx(0) = (1, 0)^T and the input is the unit step, u(t)=1u(t) = 1 for t≥0t \ge 0. Compute the free response and the forced response of the output, the output y(t)y(t) and its limit for t→+∞t \to +\infty (2 points).

c) For the same initial state and input compute the state x(t)x(t). Compare the behaviour of the output with that of the state, say whether the system is stable and explain what the transfer function does and does not show (2 points).

Show the result

a) eFt=(e−te6t−e−t0e6t)e^{Ft} = \begin{pmatrix} e^{-t} & e^{6t} - e^{-t} \\ 0 & e^{6t} \end{pmatrix}; w(t)=−e−tw(t) = -e^{-t} for t≥0t \ge 0; W(s)=−1s+1W(s) = -\dfrac{1}{s + 1}.

b) Free response e−te^{-t}, forced response e−t−1e^{-t} - 1; y(t)=2e−t−1→−1y(t) = 2e^{-t} - 1 \to -1.

c) x2(t)=e6t−16x_2(t) = \dfrac{e^{6t} - 1}{6}, x1(t)=e6t6+2e−t−76x_1(t) = \dfrac{e^{6t}}{6} + 2e^{-t} - \dfrac{7}{6}: the state diverges although the output converges. The eigenvalues are −1-1 and 66: the system is unstable; the mode e6te^{6t} cancels in W(s)W(s) and in the output.

Show the full solution

a) Exponential, impulse response, transfer function. FF is upper triangular with the distinct eigenvalues −1-1 and 66. Use the Laplace transform, eFt=L−1[(sI−F)−1]e^{Ft} = \mathcal L^{-1}\big[(sI - F)^{-1}\big] (Solution of LTI Systems and the Matrix ExponentialThe autonomous LTI system x' = Fx with x(0) = x0 has solution x(t) = exp(Ft) x0, where the matrix exponential is a power series; it is computed with diagonalization or with the Laplace transform, shown on a worked 2 by 2 example.Solution of LTI Systems and the Matrix Exponential →). The determinant of sI−FsI - F is (s+1)(s−6)(s + 1)(s - 6) and, inverting the 2×22 \times 2 matrix,

(sI−F)−1=(s−6−70s+1)−1=1(s+1)(s−6)(s−670s+1)=(1s+17(s+1)(s−6)01s−6).(sI - F)^{-1} = \begin{pmatrix} s - 6 & -7 \\ 0 & s + 1 \end{pmatrix}^{-1} = \frac{1}{(s + 1)(s - 6)}\begin{pmatrix} s - 6 & 7 \\ 0 & s + 1 \end{pmatrix} = \begin{pmatrix} \dfrac{1}{s + 1} & \dfrac{7}{(s + 1)(s - 6)} \\ 0 & \dfrac{1}{s - 6} \end{pmatrix}.

The partial fractions of the corner entry are 7(s+1)(s−6)=1s−6−1s+1\dfrac{7}{(s + 1)(s - 6)} = \dfrac{1}{s - 6} - \dfrac{1}{s + 1} (check: (s+1)−(s−6)(s+1)(s−6)=7(s+1)(s−6)\dfrac{(s + 1) - (s - 6)}{(s + 1)(s - 6)} = \dfrac{7}{(s + 1)(s - 6)}). Transforming back,

eFt=(e−te6t−e−t0e6t).e^{Ft} = \begin{pmatrix} e^{-t} & e^{6t} - e^{-t} \\ 0 & e^{6t} \end{pmatrix}.

The impulse response of the course is w(t)=HeFtG+Jδ(t)w(t) = He^{Ft}G + J\delta(t) (Forced Response and Impulse Response of LTI SystemsThe state of a non-autonomous LTI system is the sum of a free evolution driven by the initial state and a forced evolution given by the convolution of the input with the matrix exponential, and the output response to a Dirac delta input is the impulse response.Forced Response and Impulse Response of LTI Systems →). Here eFtGe^{Ft}G is the second column of eFte^{Ft}, and

w(t)=(1−1)(e6t−e−te6t)=e6t−e−t−e6t=−e−t,t≥0.w(t) = \begin{pmatrix} 1 & -1 \end{pmatrix}\begin{pmatrix} e^{6t} - e^{-t} \\ e^{6t} \end{pmatrix} = e^{6t} - e^{-t} - e^{6t} = -e^{-t}, \qquad t \ge 0.

The terms e6te^{6t} cancel. The same result from the transfer matrix (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 →): W(s)=H(sI−F)−1G=1(s+1)(s−6)(1−1)(7s+1)=7−(s+1)(s+1)(s−6)=6−s(s+1)(s−6)=−1s+1W(s) = H(sI - F)^{-1}G = \dfrac{1}{(s + 1)(s - 6)}\begin{pmatrix} 1 & -1 \end{pmatrix}\begin{pmatrix} 7 \\ s + 1 \end{pmatrix} = \dfrac{7 - (s + 1)}{(s + 1)(s - 6)} = \dfrac{6 - s}{(s + 1)(s - 6)} = -\dfrac{1}{s + 1}, a zero-pole cancellation, and L−1[−1/(s+1)]=−e−t\mathcal L^{-1}\big[-1/(s + 1)\big] = -e^{-t}. Typical mistake: forgetting that the second column of eFte^{Ft} (not the second row) multiplies G=(0,1)TG = (0, 1)^T.

b) Output for a step input. The output is the sum of the free and the forced response, y(t)=HeFtx(0)+(w∗u)(t)y(t) = He^{Ft}x(0) + (w * u)(t).

Free response. HeFt=(1−1)eFt=(e−t,  e6t−e−t−e6t)=(e−t,  −e−t)He^{Ft} = \begin{pmatrix} 1 & -1 \end{pmatrix}e^{Ft} = \begin{pmatrix} e^{-t},\ \ e^{6t} - e^{-t} - e^{6t} \end{pmatrix} = \begin{pmatrix} e^{-t},\ \ -e^{-t} \end{pmatrix}, hence HeFtx(0)=e−t(x1(0)−x2(0))=e−tHe^{Ft}x(0) = e^{-t}\big(x_1(0) - x_2(0)\big) = e^{-t}.

Forced response. With u=1u = 1 the convolution is ∫0tw(t−τ)⋅1 dτ=−∫0te−(t−τ)dτ=−(1−e−t)=e−t−1\int_0^t w(t - \tau)\cdot 1\,d\tau = -\int_0^t e^{-(t - \tau)}d\tau = -\big(1 - e^{-t}\big) = e^{-t} - 1.

y(t)=e−t+(e−t−1)=2e−t−1 ⟶ −1(t→+∞).y(t) = e^{-t} + \big(e^{-t} - 1\big) = 2e^{-t} - 1 \ \longrightarrow\ -1 \quad (t \to +\infty).

Check: y(0)=1=Hx(0)=1⋅1−1⋅0y(0) = 1 = H x(0) = 1 \cdot 1 - 1 \cdot 0. Typical mistake: dropping the free response, which is not zero because x(0)≠0x(0) \neq 0.

c) State and interpretation. The second equation is decoupled: x˙2=6x2+1\dot x_2 = 6x_2 + 1 with x2(0)=0x_2(0) = 0. With the formula of the forced evolution, x2(t)=∫0te6(t−τ) dτ=e6t−16x_2(t) = \int_0^t e^{6(t - \tau)}\,d\tau = \dfrac{e^{6t} - 1}{6}. Then x˙1=−x1+7x2\dot x_1 = -x_1 + 7x_2, x1(0)=1x_1(0) = 1:

x1(t)=e−t+∫0te−(t−τ) 7(e6τ−1)6 dτ=e−t+76[e6t−e−t7−(1−e−t)]=e6t6+2e−t−76.x_1(t) = e^{-t} + \int_0^t e^{-(t - \tau)}\,\frac{7\big(e^{6\tau} - 1\big)}{6}\,d\tau = e^{-t} + \frac{7}{6}\left[\frac{e^{6t} - e^{-t}}{7} - \big(1 - e^{-t}\big)\right] = \frac{e^{6t}}{6} + 2e^{-t} - \frac{7}{6}.

Check: y=x1−x2=e6t6+2e−t−76−e6t6+16=2e−t−1y = x_1 - x_2 = \dfrac{e^{6t}}{6} + 2e^{-t} - \dfrac{7}{6} - \dfrac{e^{6t}}{6} + \dfrac{1}{6} = 2e^{-t} - 1, as in part b. The two state components grow like e6t/6e^{6t}/6 and diverge, while the output converges to −1-1: the divergent parts cancel exactly in y=x1−x2y = x_1 - x_2.

The system is unstable: the eigenvalues of FF are −1-1 and 66 and Re(6)>0\mathrm{Re}(6) > 0 (Equilibrium and Stability of LTI SystemsDefinitions of equilibrium, simple stability and asymptotic stability (local and global), two counterexamples (Van der Pol oscillator, Vinograd system), and the stability conditions for LTI systems in terms of the eigenvalues of F.Equilibrium and Stability of LTI Systems →). The mode e6te^{6t} is present in the state, but it does not appear in w(t)w(t), in W(s)=−1/(s+1)W(s) = -1/(s + 1) nor in the free response of the output: this is the zero-pole cancellation of the transfer matrix. Reading the stability from W(s)W(s) alone (a single pole at −1-1) would give the wrong answer. W(s)W(s) describes the input-output behaviour of what is seen from yy, not all the modes of the state. Typical mistake: declaring the system a.s. because y(t)y(t) converges.

Exercise 3 (points 6)

A drug is injected into compartment 1 and passes to compartment 2, from which it is eliminated. With the unknown parameters θ=(θ1,θ2,θ3)\theta = (\theta_1, \theta_2, \theta_3) the model class M(θ)\mathcal M(\theta) is

x˙1=−θ1x1+θ3u,x˙2=θ1x1−θ2x2,y=x2,\dot x_1 = -\theta_1 x_1 + \theta_3 u, \qquad \dot x_2 = \theta_1 x_1 - \theta_2 x_2, \qquad y = x_2,

where uu is the injection rate, x1x_1 and x2x_2 the amounts in the compartments and only x2x_2 is measured.

a) Compute the transfer function from uu to yy and write the observational parameters of the model class as functions of θ\theta (2 points).

b) An experiment with an impulsive input and noise-free measurements gives the transfer function W^(s)=6s2+8s+12\hat W(s) = \dfrac{6}{s^2 + 8s + 12}. Find all the values of θ\theta that are compatible with it and say whether each parameter and the model class are globally identifiable, locally identifiable or unidentifiable (2 points).

c) The model is extended with an unknown sensor gain, y1=θ4x2y_1 = \theta_4 x_2. Show that the class is then unidentifiable. Then a second sensor y2=x1y_2 = x_1 is added: with the transfer functions W^1(s)=12s2+8s+12\hat W_1(s) = \dfrac{12}{s^2 + 8s + 12} (from uu to y1y_1) and W^2(s)=3s+2\hat W_2(s) = \dfrac{3}{s + 2} (from uu to y2y_2), find θ1,…,θ4\theta_1, \dots, \theta_4 (2 points).

Show the result

a) W(s)=θ1θ3s2+(θ1+θ2)s+θ1θ2W(s) = \dfrac{\theta_1\theta_3}{s^2 + (\theta_1 + \theta_2)s + \theta_1\theta_2}; observational parameters ρ1=θ1+θ2\rho_1 = \theta_1 + \theta_2, ρ2=θ1θ2\rho_2 = \theta_1\theta_2, ρ3=θ1θ3\rho_3 = \theta_1\theta_3.

b) ρ^=(8,12,6)\hat\rho = (8, 12, 6) gives exactly two solutions, (θ1,θ2,θ3)=(2,6,3)(\theta_1, \theta_2, \theta_3) = (2, 6, 3) and (6,2,1)(6, 2, 1): every parameter is locally identifiable, not globally; the model class is locally identifiable.

c) With y1=θ4x2y_1 = \theta_4 x_2 only the product θ1θ3θ4\theta_1\theta_3\theta_4 is known: infinitely many solutions, unidentifiable. With y2y_2 too: θ1=2\theta_1 = 2, θ3=3\theta_3 = 3, θ2=6\theta_2 = 6, θ4=2\theta_4 = 2, the unique solution: globally identifiable.

Show the full solution

a) Transfer function. In matrix form (see 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 →):

F=(−θ10θ1−θ2),G=(θ30),H=(01),sI−F=(s+θ10−θ1s+θ2).F = \begin{pmatrix} -\theta_1 & 0 \\ \theta_1 & -\theta_2 \end{pmatrix}, \quad G = \begin{pmatrix} \theta_3 \\ 0 \end{pmatrix}, \quad H = \begin{pmatrix} 0 & 1 \end{pmatrix}, \qquad sI - F = \begin{pmatrix} s + \theta_1 & 0 \\ -\theta_1 & s + \theta_2 \end{pmatrix}.

The determinant is (s+θ1)(s+θ2)(s + \theta_1)(s + \theta_2) and, inverting a 2×22 \times 2 matrix (swap the diagonal, change the sign of the off-diagonal entries),

(sI−F)−1=1(s+θ1)(s+θ2)(s+θ20θ1s+θ1),W(s)=H(sI−F)−1G=1(s+θ1)(s+θ2)(θ1s+θ1)(θ30)=θ1θ3s2+(θ1+θ2)s+θ1θ2.(sI - F)^{-1} = \frac{1}{(s + \theta_1)(s + \theta_2)}\begin{pmatrix} s + \theta_2 & 0 \\ \theta_1 & s + \theta_1 \end{pmatrix}, \qquad W(s) = H(sI - F)^{-1}G = \frac{1}{(s + \theta_1)(s + \theta_2)}\begin{pmatrix} \theta_1 & s + \theta_1 \end{pmatrix}\begin{pmatrix} \theta_3 \\ 0 \end{pmatrix} = \frac{\theta_1\theta_3}{s^2 + (\theta_1 + \theta_2)s + \theta_1\theta_2}.

For an LTI SISO system the observational parameters are always the coefficients of the transfer function (A Priori Identifiability of Parametric ModelsA parametric model is identifiable a priori if its parameters can be recovered from observational parameters computed from the noise-free continuous output to an impulse input; for linear time-invariant SISO systems these are the transfer function coefficients, shown on a two-state example.A Priori Identifiability of Parametric Models →): with a unit impulse U(s)=1U(s) = 1, so Y(s)=W(s)Y(s) = W(s) and the coefficients can be computed from the output. Here the numerator is a constant, and

ρ1=θ1+θ2,ρ2=θ1θ2,ρ3=θ1θ3.\rho_1 = \theta_1 + \theta_2, \qquad \rho_2 = \theta_1\theta_2, \qquad \rho_3 = \theta_1\theta_3.

b) Solving for θ\theta. Compare W^(s)\hat W(s) with the form found in a): ρ^1=8\hat\rho_1 = 8, ρ^2=12\hat\rho_2 = 12, ρ^3=6\hat\rho_3 = 6. From the first, θ2=8−θ1\theta_2 = 8 - \theta_1; in the second, θ1(8−θ1)=12\theta_1(8 - \theta_1) = 12, that is θ12−8θ1+12=0\theta_1^2 - 8\theta_1 + 12 = 0, whose roots are θ1=2\theta_1 = 2 and θ1=6\theta_1 = 6. Then θ2=6\theta_2 = 6 or 22 and, from the third equation, θ3=6/θ1=3\theta_3 = 6/\theta_1 = 3 or 11:

(θ1,θ2,θ3)=(2,6,3)or(6,2,1).(\theta_1, \theta_2, \theta_3) = (2, 6, 3) \qquad \text{or} \qquad (6, 2, 1).

Check of the second solution: θ1θ3=6⋅1=6\theta_1\theta_3 = 6 \cdot 1 = 6, θ1+θ2=8\theta_1 + \theta_2 = 8, θ1θ2=12\theta_1\theta_2 = 12, the same W^(s)\hat W(s). The system of equations has a finite number of solutions (two) for each θi\theta_i, so by the definitions of the note each parameter is locally identifiable (not globally, since the solution is not unique, and not unidentifiable, since the solutions are not infinite), and so is the model class. The meaning: with the output x2x_2 only, the two rate constants can be exchanged, and the input gain θ3\theta_3 compensates, without changing the input-output behaviour. Typical mistake: stopping at the first solution found and declaring the model globally identifiable.

c) Extended model. With y1=θ4x2y_1 = \theta_4 x_2 one has H=(0  θ4)H = (0\ \ \theta_4) and the transfer function becomes θ4\theta_4 times the previous one:

W1(s)=θ1θ3θ4s2+(θ1+θ2)s+θ1θ2,ρ3=θ1θ3θ4.W_1(s) = \frac{\theta_1\theta_3\theta_4}{s^2 + (\theta_1 + \theta_2)s + \theta_1\theta_2}, \qquad \rho_3 = \theta_1\theta_3\theta_4.

The three equations ρ^1,ρ^2,ρ^3\hat\rho_1, \hat\rho_2, \hat\rho_3 now involve four unknowns. For every choice of θ1\theta_1 among the two roots, θ2\theta_2 is fixed and any θ3≠0\theta_3 \neq 0 can be taken, with θ4=ρ^3/(θ1θ3)\theta_4 = \hat\rho_3/(\theta_1\theta_3): infinitely many solutions, only the product θ3θ4\theta_3\theta_4 is computable, so θ3\theta_3 and θ4\theta_4 are unidentifiable and the model class is unidentifiable. Remedies of the note: change the model class or change the sensors.

Add y2=x1y_2 = x_1: now H2=(1  0)H_2 = (1\ \ 0) and, using the first row of (sI−F)−1(sI - F)^{-1} computed in a),

W2(s)=(s+θ2) θ3(s+θ1)(s+θ2)=θ3s+θ1.W_2(s) = \frac{(s + \theta_2)\,\theta_3}{(s + \theta_1)(s + \theta_2)} = \frac{\theta_3}{s + \theta_1}.

The observational parameters of W2W_2 are the pole and the gain, so from W^2(s)=3/(s+2)\hat W_2(s) = 3/(s + 2) one reads θ1=2\theta_1 = 2 and θ3=3\theta_3 = 3, uniquely. Then from W^1(s)=12/(s2+8s+12)\hat W_1(s) = 12/(s^2 + 8s + 12): ρ^1=8\hat\rho_1 = 8 gives θ2=8−2=6\theta_2 = 8 - 2 = 6 (check: θ1θ2=12\theta_1\theta_2 = 12, as ρ^2\hat\rho_2), and ρ^3=12=θ1θ3θ4=6 θ4\hat\rho_3 = 12 = \theta_1\theta_3\theta_4 = 6\,\theta_4 gives θ4=2\theta_4 = 2. All four parameters have a unique solution: the extended class with two sensors is globally identifiable. Typical mistake: counting equations and unknowns without checking that the equations are independent (here only the product θ1θ3θ4\theta_1\theta_3\theta_4 appears).

Exercise 4 (points 6)

An unknown function g:R→Rg : \mathbb R \to \mathbb R is observed through noisy samples y=g(s)+ey = g(s) + e. Consider the two parametric classes

M1(θ): g^(s;θ)=θ1+θ2s,M2(θ): g^(s;θ)=θ1+θ2s+θ3s2.\mathcal M_1(\theta):\ \hat g(s; \theta) = \theta_1 + \theta_2 s, \qquad \mathcal M_2(\theta):\ \hat g(s; \theta) = \theta_1 + \theta_2 s + \theta_3 s^2.

a) Only two samples are available, (s,y)=(0,1.6)(s, y) = (0, 1.6) and (1,2.1)(1, 2.1). Show that without any model class the reconstruction of gg is an ill-posed problem. Then find all the functions of M1\mathcal M_1 and all the functions of M2\mathcal M_2 that pass through both samples, and say in which class the problem becomes well posed (2 points).

b) A third sample (2,3.6)(2, 3.6) arrives. Find the functions of M2\mathcal M_2 that pass through the three samples. Can a function of M1\mathcal M_1 pass through all of them? Compare the number of parameters with the number of samples (2 points).

c) A fourth sample is taken at the same point as one already available, (1,2.5)(1, 2.5). Can any function g^\hat g, in any class, pass through all the four samples? What does this say about the term ee and about what we ask of g^\hat g? (2 points)

Show the result

a) Without a class: g^(0)=1.6\hat g(0) = 1.6, g^(1)=2.1\hat g(1) = 2.1 and an arbitrary value elsewhere (infinitely many choices). M1\mathcal M_1: exactly one function, g^=1.6+0.5s\hat g = 1.6 + 0.5s. M2\mathcal M_2: infinitely many, g^=1.6+(0.5−θ3)s+θ3s2\hat g = 1.6 + (0.5 - \theta_3)s + \theta_3s^2 with θ3\theta_3 free. The problem is well posed in M1\mathcal M_1 (2 parameters, 2 samples).

b) M2\mathcal M_2: exactly one function, g^=1.6+0.5s2\hat g = 1.6 + 0.5s^2 (3 parameters, 3 samples). M1\mathcal M_1: none (the line through the first two samples gives 2.62.6 at s=2s = 2, not 3.63.6).

c) No function can pass through (1,2.1)(1, 2.1) and (1,2.5)(1, 2.5): a function has one value at s=1s = 1. The difference 0.40.4 must be attributed to the disturbance ee; interpolating all the data is impossible and not even desirable, the goal is a g^\hat g that approximates the samples and generalises to points not in the data.

Show the full solution

a) Ill-posedness and the two classes. The note on the estimation problem (System Identification - Estimation Problem and Parametric Model ClassesEstimation means reconstructing an unknown function from noisy samples; the problem is ill posed, so one fixes a parametric model class, and the basic objects (statistic, estimator, estimate) are defined, with the gray-box and black-box versions for dynamical systems.System Identification - Estimation Problem and Parametric Model Classes →) gives the example of the two samples (0,0)(0, 0) and (1,1)(1, 1): any g^\hat g with g^(0)=0\hat g(0) = 0 and g^(1)=1\hat g(1) = 1 is acceptable and its value at every other point is arbitrary. Here too: g^(0)=1.6\hat g(0) = 1.6, g^(1)=2.1\hat g(1) = 2.1, and e.g. g^(2)=2.6\hat g(2) = 2.6 or g^(2)=100\hat g(2) = 100 are equally compatible with the data. There are "too many" choices: the problem is ill posed.

Class M1\mathcal M_1. The conditions g^(0)=1.6\hat g(0) = 1.6 and g^(1)=2.1\hat g(1) = 2.1 give θ1=1.6\theta_1 = 1.6 and θ1+θ2=2.1\theta_1 + \theta_2 = 2.1, so θ2=0.5\theta_2 = 0.5: one function, g^(s)=1.6+0.5s\hat g(s) = 1.6 + 0.5s (two equations in two unknowns).

Class M2\mathcal M_2. The same conditions give θ1=1.6\theta_1 = 1.6 and θ1+θ2+θ3=2.1\theta_1 + \theta_2 + \theta_3 = 2.1, i.e. θ2=0.5−θ3\theta_2 = 0.5 - \theta_3 with θ3\theta_3 free (two equations, three unknowns):

g^(s)=1.6+(0.5−θ3)s+θ3s2.\hat g(s) = 1.6 + (0.5 - \theta_3)s + \theta_3s^2.

For example g^(2)=1.6+2(0.5−θ3)+4θ3=2.6+2θ3\hat g(2) = 1.6 + 2(0.5 - \theta_3) + 4\theta_3 = 2.6 + 2\theta_3 can take any value. Choosing a class makes the problem finite-dimensional, but a class that is too large (more parameters than samples) leaves it ill posed. The problem is well posed in M1\mathcal M_1. Typical mistake: saying that a bigger class is always better, since it contains more candidates.

b) Three samples. With (2,3.6)(2, 3.6) the conditions in M2\mathcal M_2 are

θ1=1.6,θ1+θ2+θ3=2.1,θ1+2θ2+4θ3=3.6.\theta_1 = 1.6, \qquad \theta_1 + \theta_2 + \theta_3 = 2.1, \qquad \theta_1 + 2\theta_2 + 4\theta_3 = 3.6.

From the second, θ2+θ3=0.5\theta_2 + \theta_3 = 0.5; from the third, 2θ2+4θ3=2.02\theta_2 + 4\theta_3 = 2.0, i.e. θ2+2θ3=1.0\theta_2 + 2\theta_3 = 1.0. Subtracting: θ3=0.5\theta_3 = 0.5, then θ2=0\theta_2 = 0. The unique function is g^(s)=1.6+0.5s2\hat g(s) = 1.6 + 0.5s^2 (check: 1.6+0.5=2.11.6 + 0.5 = 2.1 and 1.6+2=3.61.6 + 2 = 3.6). Three equations, three unknowns, a unique solution: the number of parameters equals the number of samples.

In M1\mathcal M_1 the first two samples already fix g^(s)=1.6+0.5s\hat g(s) = 1.6 + 0.5s, which at s=2s = 2 gives 2.6≠3.62.6 \neq 3.6: no function of M1\mathcal M_1 passes through the three samples (three equations in two unknowns, inconsistent). With more samples than parameters one must give up the exact interpolation and choose a criterion for the "closest" function, which is what least squares does (Least Squares Estimation - Linear and Weighted Least SquaresThe least squares estimator minimises the sum of squared deviations between observed and predicted outputs; for models linear in the parameters it has a closed form given by the normal equation, extended to weighted least squares and illustrated on a straight-line fit and on a DC motor.Least Squares Estimation - Linear and Weighted Least Squares →). Typical mistake: forcing M1\mathcal M_1 through all points by changing the data.

c) Repeated sample. The samples (1,2.1)(1, 2.1) and (1,2.5)(1, 2.5) have the same ss and different yy. A function has only one value g^(1)\hat g(1), so no g^\hat g can pass through both, whatever the class (even a class with infinitely many parameters). This is exactly the role of the term ee in y=g(s)+ey = g(s) + e: the two measurements of the same g(1)g(1) differ by the disturbance, and at least one of the two errors is non zero (the difference is 0.40.4). Consequence: asking the model to reproduce the samples exactly would make it reproduce the noise as well. The goal of the estimation, as the note says, is a g^\hat g that generalises, i.e. g^(s)≈g(s)\hat g(s) \approx g(s) also at points that are not among the samples, and not a g^\hat g with zero error on the data. Typical mistake: deleting one of the two measurements to restore the interpolation.

Exercise 5 (points 6)

The three pictures of the course for the stability of the equilibrium of a second-order LTI system are a closed orbit around the origin, a spiral towards the origin and a hyperbolic-type curve that moves away along the x1x_1 axis. Consider the systems x˙=Fix\dot x = F_ix with

F1=(06−10),F2=(−16−1−1),F3=(100−6),F_1 = \begin{pmatrix} 0 & 6 \\ -1 & 0 \end{pmatrix}, \qquad F_2 = \begin{pmatrix} -1 & 6 \\ -1 & -1 \end{pmatrix}, \qquad F_3 = \begin{pmatrix} 1 & 0 \\ 0 & -6 \end{pmatrix},

F4=(000−6),F5=(0100).F_4 = \begin{pmatrix} 0 & 0 \\ 0 & -6 \end{pmatrix}, \qquad F_5 = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}.

a) Compute the eigenvalues of F1F_1, F2F_2, F3F_3 and match each one with one of the three pictures. For each say whether the origin is stable, asymptotically stable or unstable. For F1F_1 show that V(x)=x12+6x22V(x) = x_1^2 + 6x_2^2 is constant along the trajectories and use it to find, for every ϵ>0\epsilon > 0, a δ(ϵ)\delta(\epsilon) that satisfies the definition of stability (2.5 points).

b) For F4F_4 and F5F_5 find all the equilibria and compute x(t)x(t). Say for each whether its equilibria are stable, asymptotically stable or unstable, using the definitions with ϵ\epsilon and δ\delta (2 points).

c) Say whether each statement is true or false, with a one-line justification taken from the examples above: (i) "if all the trajectories of an LTI system are bounded, its origin is asymptotically stable"; (ii) "Re(λ)≤0\mathrm{Re}(\lambda) \le 0 for all the eigenvalues is enough for stability"; (iii) "an asymptotically stable LTI system can have an equilibrium different from the origin" (1.5 points).

Show the result

a) F1F_1: λ=±j6\lambda = \pm j\sqrt 6, closed orbits (ellipses x12+6x22=x_1^2 + 6x_2^2 = constant), stable, not a.s.; δ(ϵ)=ϵ/6\delta(\epsilon) = \epsilon/\sqrt 6 works. F2F_2: λ=−1±j6\lambda = -1 \pm j\sqrt 6, spirals towards the origin, a.s. F3F_3: λ=1,−6\lambda = 1, -6, hyperbolic-type curves, unstable.

b) F4F_4: equilibria (c,0)T(c, 0)^T for every cc (the kernel of F4F_4), x(t)=(x1(0), e−6tx2(0))Tx(t) = (x_1(0),\ e^{-6t}x_2(0))^T: all stable (δ=ϵ\delta = \epsilon), none a.s. F5F_5: equilibria (c,0)T(c, 0)^T, x(t)=(x1(0)+t x2(0), x2(0))Tx(t) = (x_1(0) + t\,x_2(0),\ x_2(0))^T: all unstable.

c) (i) False: F1F_1 and F4F_4 have bounded trajectories and are not a.s. (ii) False: F5F_5 has λ=0\lambda = 0 twice and is unstable (Re(λ)=0\mathrm{Re}(\lambda) = 0 but ν≠g\nu \neq g). (iii) False: if the system is a.s. the origin is the only equilibrium.

Show the full solution

a) The three pictures. For F1F_1: det⁡(λI−F1)=λ2+6\det(\lambda I - F_1) = \lambda^2 + 6, λ=±j6\lambda = \pm j\sqrt 6, purely imaginary: the first picture (closed orbit). For F2F_2: (λ+1)2+6=0(\lambda + 1)^2 + 6 = 0, λ=−1±j6\lambda = -1 \pm j\sqrt 6, complex with negative real part: the spiral towards the origin. For F3F_3: diagonal, λ=1\lambda = 1 and λ=−6\lambda = -6 (opposite signs), x(t)=(etx1(0), e−6tx2(0))x(t) = (e^tx_1(0),\ e^{-6t}x_2(0)) and x16x2=x_1^6x_2 = constant: the hyperbolic-type curves of the third picture (see Trajectories of Second-Order LTI SystemsThe shape of the trajectories of a second-order LTI system in the plane depends on its eigenvalues: hyperbolic, parabolic, elliptical or spiral curves; rectilinear trajectories occur when the initial state is an eigenvector.Trajectories of Second-Order LTI Systems →).

Stability, with Equilibrium and Stability of LTI SystemsDefinitions of equilibrium, simple stability and asymptotic stability (local and global), two counterexamples (Van der Pol oscillator, Vinograd system), and the stability conditions for LTI systems in terms of the eigenvalues of F.Equilibrium and Stability of LTI Systems →: F2F_2 has Re(λ)=−1<0\mathrm{Re}(\lambda) = -1 < 0 for both eigenvalues, so the origin is asymptotically stable. F3F_3 has λ=1>0\lambda = 1 > 0: eF3te^{F_3t} is not bounded and the origin is unstable. F1F_1 has Re(λ)=0\mathrm{Re}(\lambda) = 0 with two distinct eigenvalues (ν=g=1\nu = g = 1 for each): eF1te^{F_1t} is bounded, the origin is stable, but not a.s. since the orbits are closed and x(t)x(t) does not tend to 00.

The definition for F1F_1: along the trajectories V˙=2x1x˙1+12x2x˙2=2x1(6x2)+12x2(−x1)=12x1x2−12x1x2=0\dot V = 2x_1\dot x_1 + 12x_2\dot x_2 = 2x_1(6x_2) + 12x_2(-x_1) = 12x_1x_2 - 12x_1x_2 = 0, so V(x(t))=V(x(0))V(x(t)) = V(x(0)) and each trajectory runs on an ellipse. Since x12+x22≤x12+6x22≤6(x12+x22)x_1^2 + x_2^2 \le x_1^2 + 6x_2^2 \le 6\big(x_1^2 + x_2^2\big),

∥x(t)∥2≤V(x(t))=V(x(0))≤6∥x(0)∥2⟹∥x(t)∥≤6 ∥x(0)∥  ∀t≥0.\|x(t)\|^2 \le V(x(t)) = V(x(0)) \le 6\|x(0)\|^2 \quad\Longrightarrow\quad \|x(t)\| \le \sqrt 6\,\|x(0)\|\ \ \forall t \ge 0.

Given ϵ>0\epsilon > 0 take δ(ϵ)=ϵ/6\delta(\epsilon) = \epsilon/\sqrt 6: if ∥x(0)∥<δ\|x(0)\| < \delta then ∥x(t)∥<ϵ\|x(t)\| < \epsilon for every t≥0t \ge 0 (the bound 6\sqrt 6 is the ratio between the long and the short semi-axis of the ellipses, 6=2.449\sqrt 6 = 2.449). The condition on attractiveness fails: VV constant and non zero prevents x(t)→0x(t) \to 0 for x(0)≠0x(0) \neq 0. Typical mistake: calling F1F_1 asymptotically stable because the orbits are bounded.

b) Equilibria with a nontrivial kernel. For an LTI system the equilibria are the points of Ker(F)\mathrm{Ker}(F) (they are all the points with Fx=0Fx = 0). Both F4F_4 and F5F_5 have Ker(F)={(c,0)T}\mathrm{Ker}(F) = \{(c, 0)^T\}, the x1x_1 axis: infinitely many equilibria.

F4F_4. x(t)=eF4tx(0)=(x1(0), e−6tx2(0))Tx(t) = e^{F_4t}x(0) = \big(x_1(0),\ e^{-6t}x_2(0)\big)^T. Take the equilibrium xeq=(c,0)Tx_{eq} = (c, 0)^T: x(t)−xeq=(x1(0)−c, e−6tx2(0))Tx(t) - x_{eq} = \big(x_1(0) - c,\ e^{-6t}x_2(0)\big)^T and ∥x(t)−xeq∥≤∥x(0)−xeq∥\|x(t) - x_{eq}\| \le \|x(0) - x_{eq}\|, so δ(ϵ)=ϵ\delta(\epsilon) = \epsilon works: every equilibrium is stable. None is a.s.: from a state with x1(0)≠cx_1(0) \neq c the trajectory converges to (x1(0),0)T(x_1(0), 0)^T, a different equilibrium, and not to xeqx_{eq}. So convergence does not mean asymptotic stability of a given equilibrium.

F5F_5. eF5t=(1t01)e^{F_5t} = \begin{pmatrix} 1 & t \\ 0 & 1 \end{pmatrix} (course example), so x(t)=(x1(0)+t x2(0), x2(0))Tx(t) = \big(x_1(0) + t\,x_2(0),\ x_2(0)\big)^T. Take xeq=(c,0)Tx_{eq} = (c, 0)^T and the initial state x(0)=xeq+(0,δ/2)Tx(0) = x_{eq} + (0, \delta/2)^T, which is as close as we want to xeqx_{eq} for a small δ\delta. Then x1(t)−c=tδ/2x_1(t) - c = t\delta/2, which exceeds any ϵ\epsilon for t>2ϵ/δt > 2\epsilon/\delta: whatever δ\delta, the trajectory leaves the ϵ\epsilon-ball, so the definition of stability fails and every equilibrium is unstable. The trajectories are horizontal lines: a straight line does not mean a stable one. Typical mistake: calling F5F_5 stable because its trajectories are straight lines and its eigenvalue is 00.

c) True or false.

(i) False. F1F_1 (closed orbits) and F4F_4 (trajectories that stop on the x1x_1 axis) have all the trajectories bounded and the origin is not a.s. (the condition Re(λ)<0\mathrm{Re}(\lambda) < 0 is needed for a.s.).

(ii) False. Re(λ)=0\mathrm{Re}(\lambda) = 0 gives a bounded eFte^{Ft} only if ν=g\nu = g (algebraic multiplicity equal to the geometric one, purely oscillatory modes). F5F_5 has λ=0\lambda = 0 with ν=2\nu = 2 and g=1g = 1 (the kernel has dimension one), so eF5te^{F_5t} contains the term tt and the system is unstable.

(iii) False. If the system is a.s., all eigenvalues have Re(λ)<0\mathrm{Re}(\lambda) < 0, so 00 is not an eigenvalue, Ker(F)={0}\mathrm{Ker}(F) = \{0\} and the origin is the only equilibrium; in an LTI system all the equilibria have the same behaviour. (For nonlinear systems each equilibrium can have its own behaviour.)

Self-assessment grid
Exercise Points What must be in the answer for full marks Typical mistakes
Exercise 1 6 FF, GG, HH read correctly from the description, x(1)=(50,60,33)Tx(1) = (50, 60, 33)^T and x(2)=(76,30,43.2)Tx(2) = (76, 30, 43.2)^T (2); ΔF(λ)=λ3−0.4λ2−0.6\Delta_F(\lambda) = \lambda^3 - 0.4\lambda^2 - 0.6, eigenvalues 11 and −0.3±0.714j-0.3 \pm 0.714j, stable not a.s., eigenvector (10,6,5)T(10, 6, 5)^T, left eigenvector (3,5,10)T(3, 5, 10)^T, limit (68.2,40.9,34.1)T(68.2, 40.9, 34.1)^T (2.5); no equilibrium because wT(I−F)=0w^T(I - F) = 0 and wTG≠0w^TG \neq 0, linear growth of s(t)=750+30ts(t) = 750 + 30t, comment on stable versus bounded (1.5) Entry F32F_{32} missing or eggs and larvae mixed; eigenvalue one read as instability; limit computed without the left eigenvector; announcing an equilibrium although I−FI - F is singular
Exercise 2 6 eFte^{Ft} with the entry e6t−e−te^{6t} - e^{-t}, w(t)=−e−tw(t) = -e^{-t} (second column of eFte^{Ft} times HH), W(s)=−1/(s+1)W(s) = -1/(s + 1) (2); free response e−te^{-t}, forced response e−t−1e^{-t} - 1, y(t)=2e−t−1→−1y(t) = 2e^{-t} - 1 \to -1 (2); x2=(e6t−1)/6x_2 = (e^{6t} - 1)/6 and x1=e6t/6+2e−t−7/6x_1 = e^{6t}/6 + 2e^{-t} - 7/6, diverging state, unstable system, mode e6te^{6t} cancelled in W(s)W(s) and in yy (2) Row instead of column of eFte^{Ft}; free response forgotten; stability read from W(s)W(s) or from the convergence of yy; error in the integral for x1x_1
Exercise 3 6 W(s)=θ1θ3/(s2+(θ1+θ2)s+θ1θ2)W(s) = \theta_1\theta_3/\big(s^2 + (\theta_1 + \theta_2)s + \theta_1\theta_2\big) and the three observational parameters (2); two solutions (2,6,3)(2, 6, 3) and (6,2,1)(6, 2, 1), locally identifiable (2); only the product θ1θ3θ4\theta_1\theta_3\theta_4, unidentifiable; with y2y_2 the unique solution (2,6,3,2)(2, 6, 3, 2) (2) Only one root taken; equations counted but not independent; cancellation s+θ2s + \theta_2 not performed in W2W_2; confusing local and global identifiability
Exercise 4 6 Ill-posedness without a class; M1\mathcal M_1 unique 1.6+0.5s1.6 + 0.5s, M2\mathcal M_2 with the free θ3\theta_3 (2); M2\mathcal M_2 unique 1.6+0.5s21.6 + 0.5s^2 with three samples, M1\mathcal M_1 inconsistent, parameters against samples (2); two values at the same ss: no function interpolates, role of ee, aim of generalising (2) Bigger class judged always better; M1\mathcal M_1 forced through three points; deleting a measurement to restore the interpolation; confusing "zero error on the data" with a good estimate
Exercise 5 6 Eigenvalues ±j6\pm j\sqrt 6, −1±j6-1 \pm j\sqrt 6, 11 and −6-6 matched with the three pictures and with stable, a.s., unstable; VV constant on F1F_1 and δ(ϵ)=ϵ/6\delta(\epsilon) = \epsilon/\sqrt 6 (2.5); F4F_4 and F5F_5: lines of equilibria, x(t)x(t) computed, F4F_4 stable not a.s., F5F_5 unstable with the ϵ\epsilon-δ\delta argument (2); three statements false with the counterexamples F1F_1, F4F_4, F5F_5 and the uniqueness of the origin (1.5) Bounded orbits taken as a.s.; F5F_5 called stable because its eigenvalue is zero; convergence to another equilibrium taken as asymptotic stability; δ\delta chosen larger than ϵ\epsilon without checking the bound