Transfer functions of LTI systems #
For an LTISystem ẋ = A x + B u, y = C x + D u with real matrices, the transfer function is
the complex matrix-valued function H s = C (s I - A)⁻¹ B + D (LTISystem.transferFunction), with
A, B, C, D read over ℂ. It is defined algebraically, without the Laplace transform; the
inverse is Matrix.inv, which is a genuine inverse exactly when s I - A is invertible, i.e. when
s is not an eigenvalue of A (spectrum.notMem_iff), equivalently not a root of the
characteristic polynomial (Matrix.isUnit_smul_one_sub_map_iff). At an eigenvalue Lean's junk
value (s I - A)⁻¹ = 0 gives H s = D.
- Every entry of
His complex differentiable (holomorphic) at everysthat is not an eigenvalue ofA(LTISystem.differentiableAt_transferFunction): matrix inversion is differentiable at invertible elements. - If every trajectory of
ẋ = A xsatisfies‖x t‖ ≤ M exp (-α t) ‖x 0‖, every eigenvalue has real part at most-α(Matrix.re_le_of_forall_norm_le), soHis holomorphic on the half-planere s > -α(LTISystem.differentiableOn_transferFunction_of_norm_le); in particular, under exponential stability, for instance from an acceptedCslib.LinearAlgebra.LyapunovCert, on an open half-plane containing the closed right half-planere s ≥ 0(LTISystem.differentiableOn_transferFunction_of_isExponentiallyStable).
The converse fails: a pole of (s I - A)⁻¹ can cancel in C (s I - A)⁻¹ B, so H can be
holomorphic on re s ≥ 0 although A has an unstable eigenvalue (a hidden mode); the tests check
such an example. Internal stability is a property of A, not of H.
Main definitions #
LTISystem.transferFunction:H s = C (s I - A)⁻¹ B + Doverℂ.
Main results #
s I - A is invertible over ℂ iff s is not a root of the characteristic polynomial of the
real matrix A.
The transfer function H s = C (s I - A)⁻¹ B + D of an LTI system, a complex p × m
matrix for each s : ℂ, with the real system matrices read over ℂ. The inverse is a genuine
inverse when s is not an eigenvalue of A; at an eigenvalue it is 0 and H s = D.
The transfer function is holomorphic off the spectrum. Every entry of
H s = C (s I - A)⁻¹ B + D is complex differentiable at every s that is not an eigenvalue of
A.
Holomorphy on a half-plane from a decay rate. If every trajectory of ẋ = A x on [0, ∞)
satisfies ‖x t‖ ≤ M exp (-α t) ‖x 0‖ in the Euclidean norm, every entry of the transfer function
is holomorphic on the open half-plane re s > -α.
Stable systems have transfer functions holomorphic on the closed right half-plane. If
ẋ = A x is exponentially stable in the Euclidean norm, for instance by
Cslib.LinearAlgebra.LyapunovCert.isExponentiallyStable_of_check, then there is α > 0 such that
every entry of the transfer function is holomorphic on re s > -α, an open half-plane containing
re s ≥ 0.