The model and its solution
Discrete-time (DT) LTI system, with t ∈ N t\in\mathbb{N} t ∈ N :
x ( t + 1 ) = F x ( t ) + G u ( t ) , y ( t ) = H x ( t ) + J u ( t ) . x(t+1)=Fx(t)+Gu(t),\qquad y(t)=Hx(t)+Ju(t). x ( t + 1 ) = F x ( t ) + G u ( t ) , y ( t ) = H x ( t ) + J u ( t ) .
Iterating from x ( 0 ) x(0) x ( 0 ) :
x ( 1 ) = F x ( 0 ) + G u ( 0 ) , x(1)=Fx(0)+Gu(0), x ( 1 ) = F x ( 0 ) + G u ( 0 ) ,
x ( 2 ) = F x ( 1 ) + G u ( 1 ) = F ( F x ( 0 ) + G u ( 0 ) ) + G u ( 1 ) = F 2 x ( 0 ) + F G u ( 0 ) + G u ( 1 ) , x(2)=Fx(1)+Gu(1)=F\big(Fx(0)+Gu(0)\big)+Gu(1)=F^2x(0)+FGu(0)+Gu(1), x ( 2 ) = F x ( 1 ) + G u ( 1 ) = F ( F x ( 0 ) + G u ( 0 ) ) + G u ( 1 ) = F 2 x ( 0 ) + FG u ( 0 ) + G u ( 1 ) ,
and in general
x ( t ) = F t x ( 0 ) + ∑ k = 0 t − 1 F t − 1 − k G u ( k ) = F t x ( 0 ) ⏟ free evolution + F t − 1 G ∗ u ( t ) ⏟ forced evolution . x(t)=F^tx(0)+\sum_{k=0}^{t-1}F^{t-1-k}Gu(k)=\underbrace{F^tx(0)}_{\text{free evolution}}+\underbrace{F^{t-1}G*u(t)}_{\text{forced evolution}} . x ( t ) = F t x ( 0 ) + k = 0 ∑ t − 1 F t − 1 − k G u ( k ) = free evolution F t x ( 0 ) + forced evolution F t − 1 G ∗ u ( t ) .
Comparison with continuous time (CT): x ( t ) = e F t x ( 0 ) + ∫ 0 t e F ( t − τ ) G u ( τ ) d τ x(t)=e^{Ft}x(0)+\int_0^te^{F(t-\tau)}Gu(\tau)\,d\tau x ( t ) = e Ft x ( 0 ) + ∫ 0 t e F ( t − τ ) G u ( τ ) d τ , where the integral is the convolution e F t G ∗ u ( t ) e^{Ft}G*u(t) e Ft G ∗ u ( t ) in CT, while F t − 1 G ∗ u ( t ) F^{t-1}G*u(t) F t − 1 G ∗ u ( t ) is the convolution in DT. See 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 → for the CT case.
Output:
y ( t ) = H x ( t ) + J u ( t ) = H F t x ( 0 ) + H F t − 1 G ∗ u ( t ) + J u ( t ) = H F t x ( 0 ) + ( H F t − 1 G + J δ ( t ) ) ∗ u ( t ) , y(t)=Hx(t)+Ju(t)=HF^tx(0)+HF^{t-1}G*u(t)+Ju(t)=HF^tx(0)+\Big(HF^{t-1}G+J\delta(t)\Big)*u(t), y ( t ) = H x ( t ) + J u ( t ) = H F t x ( 0 ) + H F t − 1 G ∗ u ( t ) + J u ( t ) = H F t x ( 0 ) + ( H F t − 1 G + J δ ( t ) ) ∗ u ( t ) ,
where δ ( t ) \delta(t) δ ( t ) is the Kronecker delta , δ ( t ) = 1 \delta(t)=1 δ ( t ) = 1 for t = 0 t=0 t = 0 and 0 0 0 otherwise.
Reachability matrix
R t = ( G F G ⋯ F t − 1 G ) , \mathcal{R}_t=\begin{pmatrix}G&FG&\cdots&F^{t-1}G\end{pmatrix}, R t = ( G FG ⋯ F t − 1 G ) ,
and the forced evolution can be written as
F t − 1 G ∗ u ( t ) = R t ( u ( t − 1 ) u ( t − 2 ) ⋮ u ( 0 ) ) . F^{t-1}G*u(t)=\mathcal{R}_t\begin{pmatrix}u(t-1)\\u(t-2)\\\vdots\\u(0)\end{pmatrix}. F t − 1 G ∗ u ( t ) = R t u ( t − 1 ) u ( t − 2 ) ⋮ u ( 0 ) .
Computing F t F^t F t
Diagonalizable case. If F = T D T − 1 F=TDT^{-1} F = T D T − 1 with D D D diagonal, then
F t = T D t T − 1 = T ( λ 1 t ⋱ λ n t ) T − 1 . F^t=TD^tT^{-1}=T\begin{pmatrix}\lambda_1^t&&\\&\ddots&\\&&\lambda_n^t\end{pmatrix}T^{-1}. F t = T D t T − 1 = T λ 1 t ⋱ λ n t T − 1 .
General case: Jordan form. Let J = d i a g ( M 1 , … , M κ ) J=\mathrm{diag}(M_1,\dots,M_\kappa) J = diag ( M 1 , … , M κ ) with Jordan blocks M i = λ I + N M_i=\lambda I+N M i = λ I + N , where N N N has ones on the superdiagonal and zeros elsewhere (N N N is nilpotent).
For λ = 0 \lambda=0 λ = 0 : M i = N M_i=N M i = N and M i t M_i^t M i t has δ ( t ) \delta(t) δ ( t ) on the diagonal, δ ( t − 1 ) \delta(t-1) δ ( t − 1 ) on the first superdiagonal, and so on: M i 0 = I M_i^0=I M i 0 = I , M i 1 = M i M_i^1=M_i M i 1 = M i , M i 2 M_i^2 M i 2 has its ones on the second superdiagonal.
For λ ≠ 0 \lambda\ne0 λ = 0 : M i t = ( λ I + N ) t M_i^t=(\lambda I+N)^t M i t = ( λ I + N ) t . The Newton binomial ( a + b ) n = ∑ m = 0 n ( n m ) a n − m b m (a+b)^n=\sum_{m=0}^n\binom nm a^{n-m}b^m ( a + b ) n = ∑ m = 0 n ( m n ) a n − m b m (for a ∈ R a\in\mathbb{R} a ∈ R ) extends to matrices ( A + B ) n (A+B)^n ( A + B ) n only if A B = B A AB=BA A B = B A , which holds here because λ I \lambda I λ I commutes with N N N . The result is an upper triangular matrix
M i t = ( ( t 0 ) λ t ( t 1 ) λ t − 1 ( t 2 ) λ t − 2 ⋯ ( t 0 ) λ t ( t 1 ) λ t − 1 ⋱ ⋱ ⋱ ) , M_i^t=\begin{pmatrix}\binom t0\lambda^t&\binom t1\lambda^{t-1}&\binom t2\lambda^{t-2}&\cdots\\&\binom t0\lambda^t&\binom t1\lambda^{t-1}&\ddots\\&&\ddots&\ddots\end{pmatrix}, M i t = ( 0 t ) λ t ( 1 t ) λ t − 1 ( 0 t ) λ t ( 2 t ) λ t − 2 ( 1 t ) λ t − 1 ⋱ ⋯ ⋱ ⋱ ,
whose k k k -th superdiagonal contains ( t k ) λ t − k \binom tk\lambda^{t-k} ( k t ) λ t − k , valid for all terms with t ≥ k t\ge k t ≥ k , where ( t k ) = t ! k ! ( t − k ) ! \binom tk=\dfrac{t!}{k!\,(t-k)!} ( k t ) = k ! ( t − k )! t ! and 0 ! = 1 0!=1 0 ! = 1 .
The diagonals are
( t 0 ) λ t = λ t , ( t 1 ) λ t − 1 = t λ t − 1 , ( t 2 ) λ t − 2 = ( t 2 2 − t 2 ) λ t − 2 , … \binom t0\lambda^t=\lambda^t,\qquad\binom t1\lambda^{t-1}=t\lambda^{t-1},\qquad\binom t2\lambda^{t-2}=\Big(\frac{t^2}2-\frac t2\Big)\lambda^{t-2},\ \dots ( 0 t ) λ t = λ t , ( 1 t ) λ t − 1 = t λ t − 1 , ( 2 t ) λ t − 2 = ( 2 t 2 − 2 t ) λ t − 2 , …
So the modes of a DT system are λ t , t λ t , t 2 λ t , … \lambda^t,\ t\lambda^t,\ t^2\lambda^t,\dots λ t , t λ t , t 2 λ t , … For the full system with eigenvalues λ 1 , … , λ K \lambda_1,\dots,\lambda_K λ 1 , … , λ K the modes are λ 1 t , t λ 1 t , … , t ℓ λ K t \lambda_1^t,\ t\lambda_1^t,\dots,t^\ell\lambda_K^t λ 1 t , t λ 1 t , … , t ℓ λ K t . The behaviour of these modes is studied in 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 frequency-domain solution in Z-Transform and Transfer Function of Discrete-Time SystemsThe z-transform turns the difference equation of a discrete-time LTI system into the algebraic solution X(z) equal to z times the inverse of zI minus F times x(0) plus the inverse of zI minus F times G U(z), giving the transfer matrix W(z) and the modes through partial fractions.Z-Transform and Transfer Function of Discrete-Time Systems → .