Laplace transforms of LTI responses and the transfer function #
For a real LTI system ẋ = A x + B u, y = C x + D u (LTISystem) with response kernel
h t = C exp (t A) B and transfer function H s = C (s I - A)⁻¹ B + D
(LTISystem.transferFunction), this file proves the frequency-domain form of the time-domain
output formula of CslibFrontier.Foundations.Analysis.ODE.StateSpace. Real signals are read
over ℂ coordinatewise, t ↦ fun i => (y t i : ℂ), and transformed with laplace.
The growth hypothesis #
The half-planes are explicit in the growth of the flow: the hypothesis
|exp (t • A) i j| ≤ M exp (ω t) for t > 0 and all entries. Every real matrix satisfies one
(Matrix.exists_abs_exp_smul_apply_le, with ω the L∞ operator norm of A), and a decay
bound ‖x t‖ ≤ M exp (-α t) ‖x 0‖ on the trajectories of ẋ = A x, as in
ContinuousLinearMap.IsExponentiallyStable, gives one with ω = -α
(Matrix.abs_exp_smul_apply_le_of_forall_norm_le). No diagonalizability, minimality,
controllability or observability is assumed.
Results #
- The resolvent (
Matrix.laplace_exp_smul_apply_ofReal): onre s > ω,s I - Ais invertible (Matrix.isUnit_smul_one_sub_map_of_abs_exp_smul_apply_le) and the entries of the flow have transformslaplace (exp (t • A) i j) s = (s I - A)⁻¹ i j. - The impulse response (
LTISystem.laplace_responseKernel,LTISystem.laplace_responseKernel_eq_transferFunction_sub): onre s > ω,laplace (h i j) s = (C (s I - A)⁻¹ B) i j = H s i j - D i j. The feedthrough is an impulseD δ₀, which a function transform cannot see; the impulse response as a measure, with transform exactlyH, is inCslibFrontier.Foundations.Analysis.ODE.LaplaceImpulseResponse. - The transfer-function theorem (
LTISystem.IsSolutionOn.laplace_output): for a solution on[0, ∞)with zero initial state and an input continuous on[0, ∞)whose transform converges ats, withre s > ω, the outputy = C x + D uhaslaplace y s = H s *ᵥ laplace u s, feedthroughDincluded. It is derived from the output formulay = D u + h ∗ u(LTISystem.IsSolutionOn.output_eq_Ici), the convolution theoremlaplace_causalConvolutionand the resolvent theorem, not from an assumed identity. For an input of exponential orderσthe hypothesis onuholds onre s > σ(LTISystem.IsSolutionOn.laplace_output_of_norm_le). - Poles and stability. The transform of
his holomorphic onre s > ω(LTISystem.differentiableOn_laplace_responseKernel), soH = laplace h + Dis holomorphic there (LTISystem.differentiableOn_transferFunction_of_abs_exp_smul_apply_le). A pole of an entryH i jis a pointzwithmeromorphicOrderAt (fun s => H s i j) z < 0(Mathlib's order of a meromorphic function;H i jis rational, hence meromorphic). Every pole hasre z ≤ ω(LTISystem.re_le_of_meromorphicOrderAt_transferFunction_neg); under exponential stability, for instance from an acceptedCslib.LinearAlgebra.LyapunovCert, there isα > 0with every pole inre z ≤ -α(LTISystem.exists_pos_re_le_of_meromorphicOrderAt_neg_of_isExponentiallyStable). IfAis Hurwitz, every entry ofHis moreover bounded onre s ≥ 0, by the bound on the transformnorm_laplace_le_of_norm_le_exp(LTISystem.exists_norm_transferFunction_le_of_isHurwitz).
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 > -1 although A has the eigenvalue 1 (for instance when the mode of
1 is neither controllable nor observable). The stability certificate concerns A, not H.
References #
- [Widder1941], Chapter II, for scalar functions and Laplace integrals that may converge
conditionally. Compare §12, Theorem 12.1a, pp. 91–92: the transform of the resultant
∫₀^t a(t - u) b(u) duis the product of the transforms (the scalar counterpart oflaplace_causalConvolution, through whichy = D u + h ∗ uis transformed); and §5, Theorem 5a, p. 57: a Laplace integral is analytic in its half-plane of convergence (the scalar counterpart ofLTISystem.differentiableOn_laplace_responseKernel, from which the bound on the poles follows). - S. Boyd, EE263: Introduction to Linear Dynamical Systems, Stanford, lecture notes
"Linear dynamical systems with inputs & outputs" (Stanford Engineering Everywhere handout
13-lin-sys.pdf), slides 13–6 to 13–8: the transform of the forced solution, the transfer functionH(s) = C (sI - A)⁻¹ B + D, andY(s) = H(s) U(s)for zero initial state. - S. Boyd, EE263: Introduction to Linear Dynamical Systems, Stanford, lecture notes
"Solution via Laplace transform and matrix exponential" (Stanford Engineering Everywhere
handout
10-expm.pdf), slide 10–11: the poles of the entries of the resolvent are eigenvalues ofA, but cancellation can hide an eigenvalue.
A decay bound on trajectories bounds the entries of the flow. If every trajectory of
ẋ = A x on [0, ∞) satisfies ‖x t‖ ≤ M exp (-α t) ‖x 0‖ in the Euclidean norm, then
|exp (t • A) i j| ≤ M exp (-α t) for t > 0 and all entries.
Every real matrix has an exponential growth bound for the entries of its flow:
|exp (t • A) i j| ≤ M exp (ω t) for t > 0, with M = 1 and ω the L∞ operator norm of
A read over ℂ.
The entries of the real flow have convergent Laplace transforms on re s > ω under the
growth bound |exp (t • A) i j| ≤ M exp (ω t) for t > 0.
s I - A is invertible on the half-plane of growth. Under the growth bound
|exp (t • A) i j| ≤ M exp (ω t) for t > 0, the complex matrix s • 1 - A is invertible for
every s with ω < re s.
The Laplace transform of the real flow is the resolvent. Under the growth bound
|exp (t • A) i j| ≤ M exp (ω t) for t > 0, for every s with ω < re s,
laplace (fun t => exp (t • A) i j) s = (s • 1 - A)⁻¹ i j with A read over ℂ.
The impulse response #
The entries of the response kernel have convergent Laplace transforms on re s > ω under
the growth bound |exp (t • A) i j| ≤ M exp (ω t) for t > 0.
The transform of the impulse response. Under the growth bound
|exp (t • A) i j| ≤ M exp (ω t) for t > 0, for every s with ω < re s the entries of the
response kernel h t = C exp (t A) B have transforms
laplace (fun t => h t i j) s = (C (s I - A)⁻¹ B) i j, with the matrices read over ℂ.
The transform of the impulse response is H - D. Under the growth bound
|exp (t • A) i j| ≤ M exp (ω t) for t > 0, for every s with ω < re s,
laplace (fun t => h t i j) s = H s i j - D i j.
Poles and stability #
The transform of the impulse response is holomorphic on the half-plane of growth. Under
the growth bound |exp (t • A) i j| ≤ M exp (ω t) for t > 0, s ↦ laplace (h i j) s is complex
differentiable on re s > ω.
The transfer function is holomorphic on the half-plane of growth, via the Laplace
transform. Under the growth bound |exp (t • A) i j| ≤ M exp (ω t) for t > 0, every entry of
H is complex differentiable on re s > ω, because H = laplace h + D there.
A stable transfer function is holomorphic past, and bounded on, the closed right
half-plane. If A is Hurwitz, there is α > 0 such that each entry of H is holomorphic on
re s > -α and bounded on re s ≥ 0: there, H = laplace h + D with |h t| ≤ K exp (-α t).
Every pole of the transfer function lies in re z ≤ ω. Under the growth bound
|exp (t • A) i j| ≤ M exp (ω t) for t > 0, every pole z of an entry of H, i.e. every z
with meromorphicOrderAt (fun s => H s i j) z < 0, has re z ≤ ω.
Stable systems have their poles in a half-plane re z ≤ -α with α > 0. If ẋ = A x
is exponentially stable in the Euclidean norm, for instance by
Cslib.LinearAlgebra.LyapunovCert.isExponentiallyStable_of_check, there is α > 0 such that
every pole z of every entry of the transfer function (meromorphicOrderAt (H · i j) z < 0) has
re z ≤ -α.
The transfer-function theorem #
Convergence of the transform of the output. For a solution on [0, ∞) with zero
initial state, driven by an input continuous on [0, ∞) whose transform converges at s, the
transform of the output y = C x + D u, read over ℂ, converges at every such s with
ω < re s, where |exp (t • A) i j| ≤ M exp (ω t) for t > 0.
The transfer-function theorem laplace y s = H s *ᵥ laplace u s. Let x solve the state
equation on [0, ∞) with zero initial state x 0 = 0, driven by an input u continuous on
[0, ∞), and let |exp (t • A) i j| ≤ M exp (ω t) for t > 0. For every s with ω < re s at
which the transform of u converges, the output y = C x + D u, read over ℂ, has
laplace y s = H s *ᵥ laplace u s, where H s = C (s I - A)⁻¹ B + D is the transfer function,
including the feedthrough D.
The transfer-function theorem for an input of exponential order. As
LTISystem.IsSolutionOn.laplace_output, with the convergence of the input's transform replaced
by the bound ‖u t‖ ≤ K exp (σ t) for t > 0: then laplace y s = H s *ᵥ laplace u s for every
s with σ < re s and ω < re s.