The flow of a linear time-invariant ODE #
For a bounded linear operator A : E →L[ℝ] E on a real Banach space E, the curve
t ↦ exp (t • A) x₀ solves ẋ = A x with x 0 = x₀, and it is the only solution on every
finite interval [0, T] and on [0, ∞). No stability, spectral or diagonalizability assumption
is made. Finite-dimensional real systems are the case E = EuclideanSpace ℝ n,
A = Matrix.toEuclideanCLM A.
Trajectories #
ContinuousLinearMap.IsTrajectoryOn A x s says that at every time t ∈ s the curve x has
derivative A (x t) within s. For s = Set.Ici 0 this is a two-sided derivative at every
t > 0 and a right derivative at the initial time 0; for s = Set.Icc 0 T the endpoint T
has a left derivative. Differentiability within s implies continuity on s, so no separate
continuity hypothesis is needed.
Matrices, vectors and norms #
A real n × n matrix acts on coordinate vectors n → ℝ by Matrix.mulVec. The type n → ℝ
carries Mathlib's supremum norm, which is not the Euclidean norm, so the statements here that
involve norms (and the stability notions built on them) are stated on EuclideanSpace ℝ n, whose
norm is ℓ², through Matrix.toEuclideanCLM. Derivatives do not depend on the choice of norm,
and Matrix.isTrajectoryOn_toEuclideanCLM_iff translates between the two coordinate pictures.
The matrix exponential NormedSpace.exp (t • A) of A : Matrix n n ℝ only uses the entrywise
topology of matrices, so no matrix norm instance is chosen here; operator norms that appear later
are those of Matrix.toEuclideanCLM A, i.e. ℓ² operator norms.
Main definitions #
ContinuousLinearMap.IsTrajectoryOn A x s:xsolvesẋ = A xon the time sets.
Main results #
ContinuousLinearMap.isTrajectoryOn_exp_smul_apply:t ↦ exp (t • A) x₀is a trajectory on every time set.ContinuousLinearMap.IsTrajectoryOn.eqOn_exp_smul_apply_IccandContinuousLinearMap.IsTrajectoryOn.eqOn_exp_smul_apply_Ici: uniqueness, every trajectory on[0, T]or on[0, ∞)ist ↦ exp (t • A) (x 0)there.Matrix.toEuclideanCLM_exp:Matrix.toEuclideanCLMcommutes with the exponential.Matrix.isTrajectoryOn_toEuclideanCLM_iff: trajectories inEuclideanSpace ℝ nare coordinate curvesx : ℝ → n → ℝwithx' = A *ᵥ x.Matrix.eq_exp_smul_mulVec_of_hasDerivWithinAt: every coordinate solution ofx' = A *ᵥ xon[0, ∞)isexp (t • A) *ᵥ x 0.Matrix.exp_smul_mul_eq_of_hasDerivWithinAt: every matrix solution ofX' = A * Xon[0, ∞)isexp (t • A) * X 0, which certifies proposed closed forms ofexp (t • A) * B.
The curve x is a trajectory of the linear ODE ẋ = A x on the time set s: at every
t ∈ s it has derivative A (x t) within s. On s = Set.Ici 0 the derivative at the initial
time 0 is a right derivative.
Existence. The curve t ↦ exp (t • A) x₀ is a trajectory of ẋ = A x on every time set;
its value at 0 is x₀.
Uniqueness on a finite interval. A trajectory of ẋ = A x on [0, T] is
t ↦ exp (t • A) (x 0) there.
Uniqueness on [0, ∞). A trajectory of ẋ = A x on [0, ∞) is
t ↦ exp (t • A) (x 0) there.
Matrix.toEuclideanCLM commutes with the exponential.
The flow of Matrix.toEuclideanCLM A in coordinates is the matrix exponential.
A curve in EuclideanSpace ℝ n is a trajectory of Matrix.toEuclideanCLM A exactly when its
coordinate curve solves x' = A *ᵥ x.
Uniqueness in coordinates. Every solution x : ℝ → n → ℝ of x' = A *ᵥ x on [0, ∞),
with a right derivative at 0, is exp (t • A) *ᵥ x 0 for t ≥ 0.
Certifying a matrix exponential. If every column of a matrix curve X : ℝ → Matrix n m ℝ
solves x' = A *ᵥ x on [0, ∞), i.e. X' = A * X, then X t = exp (t • A) * X 0 for t ≥ 0.
A proposed closed form for exp (t • A) * B is thus checked by X 0 = B and the derivative
obligations, without computing a matrix exponential.