Mathematical Methods Handbook

Linear systems

First-order systems, matrix exponentials and transform methods.

In this chapter 4

Tick a unit to add it to your PDF basket.

  1. Systems of linear equations

Systems of linear equations

4

Method

Linear systems and the matrix exponential

Adapted

Gives the solution of the first-order linear system x' = A(t)x in terms of a fundamental matrix, shows that for constant A the fundamental matrix is exp(tA) and the unique solution of the initial-value problem is exp(tA)x_0, and turns this into a recipe that reads the solution off the eigenvalues and eigenvectors of A, including the two real solutions carried by each complex conjugate pair.

Prerequisites: Functions of matrices and the matrix exponential, Structure of linear equations and the Wronskian, Eigenvalues and eigenvectors, Jordan normal form, Existence and uniqueness of solutions, Determinants, Linear systems and rank, Generalized eigenproblems and normal modes

Definition(The system, its fundamental matrices and its propagator)AdaptedAdapted from Dummit & Foote (2004), §12.3, the discussion between Exercises 52 and 53, pp. 505-506

Fix an interval I⊆RI \subseteq \mathbb{R} together with an n×nn \times n matrix A(t)A(t) whose entries are continuous complex-valued functions of t∈It \in I. The homogeneous linear system is

x′(t)=A(t) x(t),x'(t) = A(t)\, x(t) ,

where a solution is a differentiable function x:I→Cnx : I \to \mathbb{C}^n satisfying this identity at every t∈It \in I; derivatives and integrals of vector- and matrix-valued functions are taken entry by entry. When AA does not depend on tt the system is said to have constant coefficients, and we write it x′=Axx' = Ax.

An n×nn \times n matrix-valued function Φ\Phi on II whose nn columns are linearly independent solutions of the system is called a fundamental matrix of it. Equivalently — reading the defining equation column by column — Φ\Phi satisfies the matrix differential equation

Φ′(t)=A(t) Φ(t)\Phi'(t) = A(t)\, \Phi(t)

and its columns are linearly independent as functions on II. If moreover Φ(t0)=In\Phi(t_0) = I_n for a chosen t0∈It_0 \in I, we call Φ\Phi the principal fundamental matrix at t0t_0. (Throughout the unit ImI_m denotes the m×mm \times m identity matrix, the letter II without a subscript being reserved for the interval.) The two-variable matrix

U(t,t0)=Φ(t) Φ(t0)−1U(t, t_0) = \Phi(t)\, \Phi(t_0)^{-1}

built from any fundamental matrix is called the propagator (or state-transition matrix) of the system: the statements below show that it does not depend on which Φ\Phi was used, and that it carries the state at time t0t_0 to the state at time tt.

Method(Existence, uniqueness and the dimension of the solution space)AdaptedAdapted from Coddington (1989), Ch. 6, §7, Theorem 6, p. 256; Dummit & Foote (2004), §12.3, the discussion preceding Exercise 53, p. 506

Let A(t)=[ajk(t)]A(t) = [a_{jk}(t)] and b(t)=(b1(t),…,bn(t))b(t) = (b_1(t), \dots, b_n(t)) have entries continuous on an interval II containing t0t_0. For every x0∈Cnx_0 \in \mathbb{C}^n the initial-value problem

x′=A(t)x+b(t),x(t0)=x0x' = A(t)x + b(t), \qquad x(t_0) = x_0

has one and only one solution on the whole of II ((Coddington (1989), Ch. 6, §7, Theorem 6, p. 256)). Three consequences, for the homogeneous system b≡0b \equiv 0:

  1. The solution space. The set of solutions of x′=A(t)xx' = A(t)x on II is a vector space of dimension exactly nn over C\mathbb{C}, and for each fixed t1∈It_1 \in I the evaluation map x↦x(t1)x \mapsto x(t_1) is a linear isomorphism of it onto Cn\mathbb{C}^n.
  2. Fundamental matrices are nonsingular everywhere or nowhere. If Φ\Phi solves Φ′=A(t)Φ\Phi' = A(t)\Phi on II, then either det⁡Φ(t)≠0\det \Phi(t) \neq 0 for every t∈It \in I, in which case Φ\Phi is a fundamental matrix, or det⁡Φ(t)=0\det \Phi(t) = 0 for every t∈It \in I. In particular it is enough to test one point.
  3. The general solution and the propagator. If Φ\Phi is a fundamental matrix then every solution is x(t)=Φ(t)cx(t) = \Phi(t)c for exactly one constant vector c∈Cnc \in \mathbb{C}^n, the solution with x(t0)=x0x(t_0) = x_0 being x(t)=Φ(t)Φ(t0)−1x0x(t) = \Phi(t)\Phi(t_0)^{-1}x_0. Consequently the propagator U(t,t0)=Φ(t)Φ(t0)−1U(t,t_0) = \Phi(t)\Phi(t_0)^{-1} is the same for every fundamental matrix Φ\Phi, and ΦQ\Phi Q is again a fundamental matrix for every nonsingular constant matrix QQ ((Dummit & Foote (2004), §12.3, Exercise 54, p. 506)).

The interval is not shrunk anywhere: linear systems have non-local existence, and the solution lives as long as the coefficients are continuous. Coddington reaches it by observing that the successive-approximation proof of his local existence theorem, which is stated for an interval ∣t−t0∣≤a|t - t_0| \le a, goes through unchanged on an arbitrary interval α≤t≤β\alpha \le t \le \beta containing t0t_0 ((Coddington (1989), Ch. 6, §7, p. 256)); II may even be infinitely long.

Idea of the proofOriginal

Everything here is the single sentence "the solution is determined by its value at one instant", which is what existence and uniqueness say, read in three directions. Read as a statement about a linear map it says that evaluation at t1t_1 is injective (uniqueness) and surjective (existence) from the solution space onto Cn\mathbb{C}^n, which forces the dimension to be nn. Read as a statement about a matrix of solutions it says that a nontrivial linear relation between the columns at one instant propagates to every instant, because the solution that the relation builds vanishes at that instant and therefore vanishes identically. Read as a formula it says that the only freedom in a solution is the constant vector cc of coefficients, and matching Φ(t0)c\Phi(t_0)c to x0x_0 fixes cc.

ProofOriginal

We take the existence-and-uniqueness theorem as given and derive parts 1-3 from it.

  1. The solution space. The set SS of solutions on II is a complex vector space: if xx and yy solve the system and α,β∈C\alpha, \beta \in \mathbb{C}, then (αx+βy)′=αAx+βAy=A(αx+βy)(\alpha x + \beta y)' = \alpha A x + \beta A y = A(\alpha x + \beta y), because differentiation is linear and A(t)A(t) acts linearly. Fix t1∈It_1 \in I and let E:S→CnE : S \to \mathbb{C}^n be E(x)=x(t1)E(x) = x(t_1), which is linear. EE is surjective: given v∈Cnv \in \mathbb{C}^n, the theorem applied with t0=t1t_0 = t_1, x0=vx_0 = v produces a solution on all of II with that value. EE is injective: if x∈Sx \in S and x(t1)=0x(t_1) = 0, then xx and the zero function are both solutions of the initial-value problem with data (t1,0)(t_1, 0) — the zero function solves it because 0′=0=A(t)⋅00' = 0 = A(t)\cdot 0 — so uniqueness gives x≡0x \equiv 0. A linear isomorphism onto Cn\mathbb{C}^n forces dim⁡S=n\dim S = n.

  2. Nonsingular everywhere or nowhere. Suppose det⁡Φ(t1)=0\det \Phi(t_1) = 0 for some t1∈It_1 \in I. Then the columns of Φ(t1)\Phi(t_1) are linearly dependent, so there is c≠0c \neq 0 with Φ(t1)c=0\Phi(t_1)c = 0. The function y(t)=Φ(t)cy(t) = \Phi(t)c is a solution of y′=A(t)yy' = A(t)y, since y′=Φ′c=AΦc=Ayy' = \Phi' c = A\Phi c = Ay — here cc being constant is what lets it pass through the derivative — and y(t1)=0y(t_1) = 0. By the injectivity just proved, y≡0y \equiv 0, that is Φ(t)c=0\Phi(t)c = 0 for every tt with the same c≠0c \neq 0. Hence det⁡Φ(t)=0\det \Phi(t) = 0 for every t∈It \in I. Contrapositively, if det⁡\det is nonzero at one point it is nonzero at all of them; and then at each tt the columns of Φ(t)\Phi(t) are independent vectors, so the columns of Φ\Phi are independent as functions and Φ\Phi is a fundamental matrix. (Conversely, if the columns are independent as functions, they cannot be dependent at any single point, by the argument just given, so the determinant never vanishes. The two descriptions of a fundamental matrix in the definition therefore agree.)

  3. The general solution. Let Φ\Phi be a fundamental matrix and xx any solution. Put c=Φ(t1)−1x(t1)c = \Phi(t_1)^{-1}x(t_1) for some fixed t1∈It_1 \in I, legitimate by part 2. Then Φ(t)c\Phi(t)c and x(t)x(t) are solutions agreeing at t1t_1, so they agree on II by injectivity again; and cc is unique because Φ(t1)c=Φ(t1)c~\Phi(t_1)c = \Phi(t_1)\tilde c with Φ(t1)\Phi(t_1) invertible gives c=c~c = \tilde c. Choosing t1=t0t_1 = t_0 and c=Φ(t0)−1x0c = \Phi(t_0)^{-1}x_0 gives the stated formula. If Ψ\Psi is another fundamental matrix, each of its columns is Φ(⋅)cj\Phi(\cdot)c_j for some cjc_j, so Ψ=ΦQ\Psi = \Phi Q with QQ the constant matrix of columns cjc_j, and Q=Φ(t0)−1Ψ(t0)Q = \Phi(t_0)^{-1}\Psi(t_0) is invertible; therefore

Ψ(t)Ψ(t0)−1=Φ(t)QQ−1Φ(t0)−1=Φ(t)Φ(t0)−1,\Psi(t)\Psi(t_0)^{-1} = \Phi(t) Q Q^{-1} \Phi(t_0)^{-1} = \Phi(t)\Phi(t_0)^{-1} ,

so the propagator is independent of the choice. Running this backwards, for any nonsingular constant QQ the matrix ΦQ\Phi Q satisfies (ΦQ)′=Φ′Q=AΦQ(\Phi Q)' = \Phi' Q = A \Phi Q and has determinant det⁡Φ⋅det⁡Q≠0\det \Phi \cdot \det Q \neq 0, so it is a fundamental matrix. □\square

Method(Constant coefficients: the exponential is the propagator)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §6.4, the Theorem on p. 129; Dummit & Foote (2004), §12.3, Exercise 53, p. 506

Let AA be a constant n×nn \times n complex matrix. Then t↦exp⁡(tA)t \mapsto \exp(tA) is a fundamental matrix of x′=Axx' = Ax on all of R\mathbb{R}; it is the principal one at t=0t = 0. The unique solution of

x′=Ax,x(0)=x0x' = Ax , \qquad x(0) = x_0

is x(t)=exp⁡(tA) x0x(t) = \exp(tA)\,x_0 ((Hirsch, Smale & Devaney (2013), §6.4, Theorem, p. 129)), and the propagator depends only on the elapsed time:

U(t,t0)=exp⁡((t−t0)A).U(t, t_0) = \exp\bigl((t - t_0)A\bigr) .

Three readings of the same fact are worth separating. (i) Algebraically, exp⁡(tA)\exp(tA) is invertible with inverse exp⁡(−tA)\exp(-tA), so the state can be propagated backwards as well as forwards. (ii) Dynamically, U(t+s,t0+s)=U(t,t0)U(t+s, t_0+s) = U(t, t_0): the system is autonomous, and only elapsed time matters. (iii) Structurally, exp⁡((t+s)A)=exp⁡(tA)exp⁡(sA)\exp\bigl((t+s)A\bigr) = \exp(tA)\exp(sA), so {exp⁡(tA)}t∈R\{\exp(tA)\}_{t \in \mathbb{R}} is a one-parameter group of matrices whose generator is AA; this is the finite-dimensional case of the semigroup picture of evolution equations.

Idea of the proofOriginal

All of it comes from the one differentiation rule ddtexp⁡(tA)=Aexp⁡(tA)\frac{d}{dt}\exp(tA) = A\exp(tA) established in the unit on the matrix exponential: that rule is literally the statement Φ′=AΦ\Phi' = A\Phi for Φ(t)=exp⁡(tA)\Phi(t) = \exp(tA), and exp⁡(0⋅A)=In\exp(0 \cdot A) = I_n is nonsingular, so the previous statement does the rest with no new work. The time-translation form of the propagator then follows from the product rule for exponentials of commuting matrices, since tAtA and −t0A-t_0A always commute.

ProofAdaptedAdapted from Hirsch, Smale & Devaney (2013), §6.4, the Theorem on p. 129
  1. exp⁡(tA)\exp(tA) is a fundamental matrix. By the properties of the exponential (matrix exponential) the matrix-valued function Φ(t)=exp⁡(tA)\Phi(t) = \exp(tA) is differentiable with Φ′(t)=Aexp⁡(tA)=AΦ(t)\Phi'(t) = A\exp(tA) = A\Phi(t), so each of its columns solves x′=Axx' = Ax. At t=0t = 0 the series collapses to its first term, Φ(0)=In\Phi(0) = I_n, which is nonsingular, so by part 2 of the previous statement Φ\Phi is a fundamental matrix, and by construction it is principal at t=0t = 0.

  2. The initial-value problem. By part 3 of the previous statement with t0=0t_0 = 0, the unique solution with x(0)=x0x(0) = x_0 is Φ(t)Φ(0)−1x0=exp⁡(tA)x0\Phi(t)\Phi(0)^{-1}x_0 = \exp(tA)x_0. This is the theorem of (Hirsch, Smale & Devaney (2013), §6.4, p. 129), whose own proof is self-contained: it differentiates exp⁡(tA)x0\exp(tA)x_0 to verify that it is a solution, and for uniqueness sets z(t)=exp⁡(−tA)y(t)z(t) = \exp(-tA)y(t) for a second solution yy and computes z′≡0z' \equiv 0, so that zz is the constant x0x_0. That route needs only the differentiation rule and the invertibility of the exponential, not the dimension count of the previous statement.

  3. The propagator. The matrices tAtA and −t0A-t_0A commute, so the product rule for exponentials of commuting matrices gives

U(t,t0)=exp⁡(tA)exp⁡(t0A)−1=exp⁡(tA)exp⁡(−t0A)=exp⁡((t−t0)A),U(t,t_0) = \exp(tA)\exp(t_0A)^{-1} = \exp(tA)\exp(-t_0A) = \exp\bigl((t-t_0)A\bigr) ,

using also exp⁡(t0A)−1=exp⁡(−t0A)\exp(t_0A)^{-1} = \exp(-t_0A). Replacing (t,t0)(t, t_0) by (t+s,t0+s)(t+s, t_0+s) changes neither t−t0t - t_0 nor therefore UU; and the same identity with t0t_0 replaced by −s-s reads exp⁡((t+s)A)=exp⁡(tA)exp⁡(sA)\exp\bigl((t+s)A\bigr) = \exp(tA)\exp(sA). □\square

Method(Reading the solution off the spectrum)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §6.1, p. 108 and the Theorem on p. 111

Let AA be a constant n×nn \times n matrix.

  1. Eigensolutions. If Av=λvAv = \lambda v with v≠0v \neq 0, then x(t)=eλtvx(t) = e^{\lambda t}v solves x′=Axx' = Ax. Conversely every solution of the form eλtve^{\lambda t}v with v≠0v \neq 0 arises this way.
  2. Diagonalizable AA. If AA has eigenvectors v1,…,vnv_1, \dots, v_n forming a basis of Cn\mathbb{C}^n, with Avj=λjvjAv_j = \lambda_j v_j, then
x(t)=∑j=1ncjeλjtvj,c∈Cn,x(t) = \sum_{j=1}^{n} c_j e^{\lambda_j t} v_j , \qquad c \in \mathbb{C}^n ,

is the general solution, and c=S−1x0c = S^{-1}x_0 where SS is the matrix with columns vjv_j. This covers in particular the case of nn distinct eigenvalues, in which Hirsch, Smale and Devaney obtain exactly this formula by diagonalizing and solving the decoupled system ((Hirsch, Smale & Devaney (2013), §6.1, p. 108)). 3. Real form for a complex pair. Let AA be real, let λ=α+iβ\lambda = \alpha + i\beta with β≠0\beta \neq 0 be an eigenvalue and v=p+iqv = p + iq (with p,q∈Rnp, q \in \mathbb{R}^n) a corresponding eigenvector. Then

xre(t)=eαt(pcos⁡βt−qsin⁡βt),xim(t)=eαt(psin⁡βt+qcos⁡βt)x_{\mathrm{re}}(t) = e^{\alpha t}\bigl( p\cos\beta t - q \sin\beta t \bigr) , \qquad x_{\mathrm{im}}(t) = e^{\alpha t}\bigl( p\sin\beta t + q\cos\beta t\bigr)

are real solutions of x′=Axx' = Ax, they are linearly independent over R\mathbb{R} — and hence, both being real-valued, over C\mathbb{C} as well — and their complex span is the same as the complex span of the two complex eigensolutions belonging to λ\lambda and λˉ\bar\lambda. They are the real and imaginary parts of eλtve^{\lambda t}v, and this is the device by which real solutions are extracted from a complex one in (Hirsch, Smale & Devaney (2013), §3.2, pp. 44-47). 4. Defective AA. If AA is not diagonalizable, parts 1-3 do not supply enough solutions, and the missing ones are obtained from exp⁡(tA)\exp(tA) by the splitting A=D+NA = D + N with DD diagonalizable, NN nilpotent and DN=NDDN = ND (matrix exponential). Every entry of exp⁡(tA)\exp(tA) is then a sum of terms (polynomial in t)×eλt(\text{polynomial in } t) \times e^{\lambda t} over the eigenvalues λ\lambda, the degree of the polynomial attached to λ\lambda being at most one less than the size of the largest Jordan block for λ\lambda.

Hirsch, Smale and Devaney state part 2 together with part 3 in a single theorem for the case of nn distinct eigenvalues, k1k_1 of them real and k2k_2 conjugate pairs: the change of coordinates TT built from the eigenvectors (and from the real and imaginary parts of the complex ones) puts AA into a block form with the real eigenvalues on the diagonal and 2×22\times 2 blocks (αjβj−βjαj)\begin{pmatrix} \alpha_j & \beta_j \\ -\beta_j & \alpha_j\end{pmatrix}, and the general solution is TT applied to the explicit column of exponentials, sines and cosines displayed there ((Hirsch, Smale & Devaney (2013), §6.1, Theorem, p. 111)). The version above separates the two hypotheses, because a diagonalizable matrix with repeated eigenvalues — a real symmetric matrix, for instance — is covered by part 2 but not by a theorem that assumes the eigenvalues distinct.

Idea of the proofOriginal

A single eigendirection reduces the system to one scalar equation, because along vv the matrix AA only multiplies by λ\lambda; so the whole of parts 1 and 2 is the scalar fact x′=λx⇒x=ceλtx' = \lambda x \Rightarrow x = ce^{\lambda t}, applied once per eigendirection and reassembled. Part 3 is bookkeeping with conjugation: a real matrix maps real vectors to real vectors, so it commutes with taking real and imaginary parts, and therefore the real and imaginary parts of any complex solution are separately solutions. The two real solutions so obtained are not new information — they span the same thing as the conjugate pair of complex eigensolutions — but they are the form in which an answer to a real physical problem has to be delivered.

ProofOriginal
  1. Eigensolutions. If Av=λvAv = \lambda v, then x(t)=eλtvx(t) = e^{\lambda t}v has x′(t)=λeλtv=eλt(λv)=eλtAv=Ax(t)x'(t) = \lambda e^{\lambda t} v = e^{\lambda t}(\lambda v) = e^{\lambda t}Av = A x(t), using the linearity of AA to move the scalar eλte^{\lambda t} across it. Conversely if x(t)=eλtvx(t) = e^{\lambda t}v with v≠0v \neq 0 solves the system, then differentiating and cancelling the nonzero scalar eλte^{\lambda t} gives λv=Av\lambda v = Av, so λ\lambda is an eigenvalue with eigenvector vv.

  2. Diagonalizable AA. Each eλjtvje^{\lambda_j t}v_j is a solution by part 1, so by linearity every ∑jcjeλjtvj\sum_j c_j e^{\lambda_j t}v_j is one. These exhaust the solutions by a dimension count: let Φ(t)\Phi(t) be the matrix with columns eλjtvje^{\lambda_j t}v_j. Then Φ(0)=S\Phi(0) = S, which is nonsingular because the vjv_j form a basis, so Φ\Phi is a fundamental matrix by part 2 of the existence statement, and by part 3 of it every solution is Φ(t)c\Phi(t)c — which is the displayed sum. Setting t=0t = 0 gives x0=Scx_0 = Sc, hence c=S−1x0c = S^{-1}x_0.

  3. Real form for a complex pair. Expanding eλtve^{\lambda t}v with Euler's formula and v=p+iqv = p + iq,

e(α+iβ)t(p+iq)=eαt(cos⁡βt+isin⁡βt)(p+iq)=xre(t)+i xim(t)e^{(\alpha + i\beta)t}(p + iq) = e^{\alpha t}\bigl(\cos\beta t + i \sin\beta t\bigr)(p + iq) = x_{\mathrm{re}}(t) + i\,x_{\mathrm{im}}(t)

with xre,ximx_{\mathrm{re}}, x_{\mathrm{im}} exactly as displayed, and both are real because pp, qq, cos⁡βt\cos \beta t and sin⁡βt\sin\beta t are. Write z(t)=eλtvz(t) = e^{\lambda t}v, a solution by part 1. Since AA has real entries, Aw‾=Aw‾A\overline{w} = \overline{Aw} for every w∈Cnw \in \mathbb{C}^n — this is where the hypothesis that AA is real is used, and it is the only place — so taking complex conjugates in z′=Azz' = Az gives z‾′=Az‾\overline{z}' = A\overline{z}: the conjugate is a solution too. Hence so are the combinations

xre=12(z+z‾),xim=12i(z−z‾),x_{\mathrm{re}} = \tfrac12(z + \overline z), \qquad x_{\mathrm{im}} = \tfrac1{2i}(z - \overline z) ,

and these are the real and imaginary parts. The same two formulas, read backwards as z=xre+iximz = x_{\mathrm{re}} + i x_{\mathrm{im}} and z‾=xre−ixim\overline z = x_{\mathrm{re}} - ix_{\mathrm{im}}, show that the complex span of {xre,xim}\{x_{\mathrm{re}}, x_{\mathrm{im}}\} equals that of {z,z‾}\{z, \overline z\}; and z‾(t)=eλˉtv‾\overline{z}(t) = e^{\bar\lambda t}\overline v is the eigensolution for λˉ\bar\lambda, since conjugating Av=λvAv = \lambda v gives Av‾=λˉv‾A \overline v = \bar\lambda \overline v.

For linear independence over R\mathbb{R}, suppose a xre+b xim=0a\,x_{\mathrm{re}} + b\,x_{\mathrm{im}} = 0 on an interval with a,ba, b real. At t=0t = 0 this reads ap+bq=0ap + bq = 0. Differentiating and evaluating at t=0t = 0, using xre′(0)=αp−βqx_{\mathrm{re}}'(0) = \alpha p - \beta q and xim′(0)=αq+βpx_{\mathrm{im}}'(0) = \alpha q + \beta p, gives a(αp−βq)+b(αq+βp)=0a(\alpha p - \beta q) + b(\alpha q + \beta p) = 0; subtracting α\alpha times the first relation leaves β(bp−aq)=0\beta(bp - aq) = 0, and β≠0\beta \neq 0 gives bp−aq=0bp - aq = 0. Combining,

a(ap+bq)+b(bp−aq)=(a2+b2) p=0,b(ap+bq)−a(bp−aq)=(a2+b2) q=0.a(ap + bq) + b(bp - aq) = (a^2 + b^2)\,p = 0, \qquad b(ap+bq) - a(bp - aq) = (a^2+b^2)\,q = 0 .

Now pp and qq cannot both be zero, since v=p+iq≠0v = p + iq \neq 0; so a2+b2=0a^2 + b^2 = 0 and hence a=b=0a = b = 0.

Independence over C\mathbb{C} follows from the real case because both functions take values in Rn\mathbb{R}^n: if a xre+b xim=0a\,x_{\mathrm{re}} + b\,x_{\mathrm{im}} = 0 with a,b∈Ca, b \in \mathbb{C}, splitting that relation into its real and imaginary parts gives the two real relations (Re⁡a) xre+(Re⁡b) xim=0(\operatorname{Re}a)\,x_{\mathrm{re}} + (\operatorname{Re}b)\,x_{\mathrm{im}} = 0 and (Im⁡a) xre+(Im⁡b) xim=0(\operatorname{Im}a)\,x_{\mathrm{re}} + (\operatorname{Im}b)\,x_{\mathrm{im}} = 0, whose coefficients all vanish by the paragraph above; hence a=b=0a = b = 0. This is what makes the comparison of complex spans in the previous paragraph a comparison of two-dimensional spaces.

  1. Defective AA. This is the content of the method for computing exp⁡(tA)\exp(tA) in the matrix exponential, combined with the statement above that exp⁡(tA)\exp(tA) is a fundamental matrix; nothing further is proved here. □\square
Remark(Where the hypotheses are used, and what fails without them)Original
  • Continuity of AA on the whole interval is what makes existence non-local. For the scalar system x′=11−txx' = \frac{1}{1-t}x on I=(−∞,1)I = (-\infty, 1) the solution through x(0)=1x(0) = 1 is x(t)=(1−t)−1x(t) = (1-t)^{-1}, which blows up as t→1−t \to 1^-: the interval on which the coefficient is continuous is exactly the interval of existence, and no larger one is claimed.
  • Linearity is what rules out blow-up inside II and what makes the solution set a vector space. The nonlinear scalar equation x′=x2x' = x^2 with x(0)=1x(0) = 1 has solution (1−t)−1(1-t)^{-1} although its right-hand side is continuous everywhere; so the non-local conclusion of the existence-and-uniqueness theorem — that the solution lives on the whole interval on which the coefficients are continuous — is not a consequence of continuity alone, and linearity in xx is what buys it.
  • AA real is used only in part 3 of the spectral statement, to conjugate the equation. For complex AA an eigenvalue need not come with its conjugate, and there is no real form to extract.
  • β≠0\beta \neq 0 in part 3 is needed for the independence of xrex_{\mathrm{re}} and ximx_{\mathrm{im}}: at β=0\beta = 0 they become eαtpe^{\alpha t}p and eαtqe^{\alpha t}q, which are dependent whenever pp and qq are parallel — as they may be for a real eigenvalue, where vv can be scaled to be real and q=0q = 0.
  • A basis of eigenvectors is what part 2 needs, not distinct eigenvalues. Conversely, distinctness is sufficient but is also strictly stronger: A=I2A = I_2 has a repeated eigenvalue and is diagonalizable, while A=(0100)A = \begin{pmatrix} 0&1\\0&0\end{pmatrix} has a repeated eigenvalue and is not, and for it exp⁡(tA)=(1t01)\exp(tA) = \begin{pmatrix}1&t\\0&1\end{pmatrix} carries a solution (t,1)T(t, 1)^{\mathsf T} that is not of the form eλtve^{\lambda t}v at all. That is why part 4 cannot be dispensed with.
  • Φ\Phi nonsingular at one point is all that part 2 of the existence statement requires, and the conclusion genuinely uses that Φ\Phi solves the differential equation: an arbitrary matrix-valued function can of course be singular at some points and not others. For n=1n = 1 this is the familiar fact that a nontrivial solution of a linear scalar equation has no zeros.
Method(Solving x' = Ax with constant A)Original
  1. Compute the characteristic polynomial and its roots. p(λ)=det⁡(λIn−A)p(\lambda) = \det(\lambda I_n - A); its roots are the eigenvalues, with algebraic multiplicities (eigenvalues and eigenvectors). For 2×22\times2 matrices use p(λ)=λ2−(tr⁡A)λ+det⁡Ap(\lambda) = \lambda^2 - (\operatorname{tr}A)\lambda + \det A.
  2. For each eigenvalue λ\lambda, solve (A−λIn)v=0(A - \lambda I_n)v = 0 and record the dimension of the kernel (the geometric multiplicity). If the geometric multiplicities add up to nn, AA is diagonalizable and steps 3-4 finish the job; otherwise go to step 5.
  3. Real eigenvalue λ\lambda: each basis vector vv of its eigenspace contributes the solution eλtve^{\lambda t}v.
  4. Complex pair λ=α±iβ\lambda = \alpha \pm i\beta, β>0\beta > 0, with AA real: take an eigenvector v=p+iqv = p + iq for α+iβ\alpha + i\beta only — the conjugate eigenvalue contributes nothing new — and write down the two real solutions
eαt(pcos⁡βt−qsin⁡βt),eαt(psin⁡βt+qcos⁡βt).e^{\alpha t}(p\cos\beta t - q\sin\beta t), \qquad e^{\alpha t}(p\sin\beta t + q\cos\beta t) .

Do not also use α−iβ\alpha - i\beta: that would double-count. 5. Defective eigenvalue: either compute exp⁡(tA)\exp(tA) by the splitting A=D+NA = D + N of the matrix exponential and take its columns, or build a chain of generalized eigenvectors v1,…,vmv_1, \dots, v_m with (A−λIn)v1=0(A - \lambda I_n)v_1 = 0 and (A−λIn)vk+1=vk(A-\lambda I_n)v_{k+1} = v_k, which contributes the mm solutions

eλt∑j=0k−1tjj! vk−j(k=1,…,m)e^{\lambda t}\sum_{j=0}^{k-1} \frac{t^{j}}{j!}\, v_{k-j} \qquad (k = 1, \dots, m)

— that is, eλtv1e^{\lambda t}v_1, then eλt(v2+tv1)e^{\lambda t}(v_2 + t v_1), then eλt(v3+tv2+12t2v1)e^{\lambda t}(v_3 + tv_2 + \tfrac12 t^2 v_1), and so on. 6. Assemble the fundamental matrix Φ(t)\Phi(t) from the nn solutions as columns, and check det⁡Φ(t)≠0\det\Phi(t) \neq 0 at the single convenient point t=0t = 0. 7. Fit the initial condition by solving the linear system Φ(0)c=x0\Phi(0)c = x_0 (linear systems); the answer is x(t)=Φ(t)cx(t) = \Phi(t)c. Equivalently x(t)=Φ(t)Φ(0)−1x0x(t) = \Phi(t)\Phi(0)^{-1}x_0, and exp⁡(tA)=Φ(t)Φ(0)−1\exp(tA) = \Phi(t)\Phi(0)^{-1} if the exponential itself is wanted. 8. Two cheap checks. x(0)x(0) must equal x0x_0, and x′(0)x'(0) must equal Ax0Ax_0; and det⁡exp⁡(tA)=ettr⁡A\det \exp(tA) = e^{t \operatorname{tr}A}, so det⁡Φ(t)=det⁡Φ(0) ettr⁡A\det\Phi(t) = \det\Phi(0)\,e^{t\operatorname{tr}A} (determinants).

Reading the answer without computing it. The real parts of the eigenvalues decide the fate of every solution: Re⁡λ<0\operatorname{Re}\lambda < 0 for all λ\lambda means every solution decays to 00; one eigenvalue with Re⁡λ>0\operatorname{Re}\lambda > 0 means almost every solution grows; Im⁡λ=±β\operatorname{Im}\lambda = \pm\beta contributes oscillation at angular frequency β\beta, that is period 2π/β2\pi/\beta. Eigenvalues of very different magnitude make the system stiff and its numerical solution delicate (stiffness); the planar case is classified completely in the classification of planar linear systems.

Remark(Scalar equations are systems)AdaptedAdapted from Coddington (1989), Ch. 6, §8, pp. 258-259; Dummit & Foote (2004), §12.3, Exercise 57 and the discussion preceding it, p. 507

A scalar equation of order nn,

y(n)+a1y(n−1)+⋯+an−1y′+any=0,y^{(n)} + a_1 y^{(n-1)} + \dots + a_{n-1}y' + a_n y = 0 ,

becomes a first-order system in the vector of derivatives: setting x=(y,y′,…,y(n−1))Tx = (y, y', \dots, y^{(n-1)})^{\mathsf T}, the first n−1n-1 components of x′=Axx' = Ax restate the definitions xk′=xk+1x_k' = x_{k+1}, and the last restates the equation. Coddington uses exactly this substitution to transfer existence and uniqueness from systems to nn-th order equations ((Coddington (1989), Ch. 6, §8, Theorems 7 and 8, pp. 259-260)); Dummit and Foote note that the resulting coefficient matrix is the transpose of the companion matrix of the characteristic polynomial, and that the first row of a fundamental matrix of the system is a basis of solutions of the scalar equation ((Dummit & Foote (2004), §12.3, Exercise 57 and the preceding discussion, p. 507)).

Two consequences are worth keeping. The characteristic polynomial of the companion matrix is the characteristic polynomial of the scalar equation, so "eigenvalues of AA" and "roots of the indicial polynomial" of the constant-coefficient equation are the same list, and a root of multiplicity mm gives a single Jordan block of size mm. (That last point is ours, not the sources': for the matrix AA above, deleting the first column and the last row of A−λInA - \lambda I_n leaves a triangular matrix with 11's on the diagonal, so rank⁡(A−λIn)≥n−1\operatorname{rank}(A - \lambda I_n) \ge n-1 and every eigenspace is one-dimensional — a companion matrix is maximally defective, and step 5 of the method is unavoidable for a scalar equation with a repeated root.) And the Wronskian of the theory of linear equations is the determinant of the corresponding fundamental matrix, which is why the two nonvanishing criteria match. In the other direction, a system can always be reduced to a single scalar equation of order nn by elimination, but the matrix route is the one that generalizes and the one that numerical software uses.

Example(A three-dimensional system with one real and one complex pair of eigenvalues)Original

Take the real system x′=Axx' = Ax with

A=(010−5−2100−1),x0=(004).A = \begin{pmatrix} 0 & 1 & 0 \\ -5 & -2 & 1 \\ 0 & 0 & -1 \end{pmatrix} , \qquad x_0 = \begin{pmatrix} 0 \\ 0 \\ 4\end{pmatrix} .

Written out, this is a damped oscillator u′′+2u′+5u=wu'' + 2u' + 5u = w driven by a variable ww that decays on its own: x=(u,u′,w)Tx = (u, u', w)^{\mathsf T} with w′=−ww' = -w.

1. Eigenvalues (step 1). The last row of AA has only the entry −1-1 on the diagonal, so expanding det⁡(λI3−A)\det(\lambda I_3 - A) along its last row gives

p(λ)=(λ+1)(λ2+2λ+5)=(λ+1)((λ+1)2+4),p(\lambda) = (\lambda + 1)\bigl(\lambda^2 + 2\lambda + 5\bigr) = (\lambda+1)\bigl((\lambda+1)^2 + 4\bigr) ,

using λ2−(tr⁡B)λ+det⁡B\lambda^2 - (\operatorname{tr}B)\lambda + \det B with B=(01−5−2)B = \begin{pmatrix}0&1\\-5&-2\end{pmatrix} for the 2×22\times2 block. The eigenvalues are −1-1 and −1±2i-1 \pm 2i: three distinct values, so AA is diagonalizable and step 5 is not needed. All three have real part −1-1, so every solution decays like e−te^{-t}, with oscillation of period 2π/2=π2\pi/2 = \pi.

2. The real eigenvalue (steps 2-3). Solve (A+I3)v=0(A + I_3)v = 0:

A+I3=(110−5−11000)⟹v2=−v1,v3=5v1+v2=4v1,A + I_3 = \begin{pmatrix} 1 & 1 & 0 \\ -5 & -1 & 1 \\ 0 & 0 & 0\end{pmatrix} \quad\Longrightarrow\quad v_2 = -v_1, \quad v_3 = 5v_1 + v_2 = 4v_1 ,

the first equation giving v2=−v1v_2 = -v_1 and the second then giving v3v_3. Taking v1=1v_1 = 1,

v=(1,−1,4)T,solution  e−t(1,−1,4)T.v = (1, -1, 4)^{\mathsf T}, \qquad \text{solution } \ e^{-t}(1,-1,4)^{\mathsf T} .

3. The complex pair (step 4). Take λ=−1+2i\lambda = -1 + 2i and solve (A−λI3)v=0(A - \lambda I_3)v = 0. The third row reads (−1−λ)v3=0(-1 - \lambda)v_3 = 0 with −1−λ=−2i≠0-1-\lambda = -2i \neq 0, so v3=0v_3 = 0; the first row then reads −λv1+v2=0-\lambda v_1 + v_2 = 0, so v2=λv1v_2 = \lambda v_1. (The second row is then automatically satisfied, as it must be, since λ\lambda is an eigenvalue.) With v1=1v_1 = 1,

v=(1, −1+2i, 0)T=p+iq,p=(1,−1,0)T,q=(0,2,0)T,v = (1,\, -1 + 2i,\, 0)^{\mathsf T} = p + iq, \qquad p = (1,-1,0)^{\mathsf T}, \quad q = (0,2,0)^{\mathsf T} ,

so α=−1\alpha = -1, β=2\beta = 2 and step 4 gives the two real solutions

e−t(cos⁡2t−cos⁡2t−2sin⁡2t0),e−t(sin⁡2t−sin⁡2t+2cos⁡2t0).e^{-t}\begin{pmatrix}\cos 2t \\ -\cos 2t - 2\sin 2t \\ 0\end{pmatrix} , \qquad e^{-t}\begin{pmatrix}\sin 2t \\ -\sin 2t + 2\cos 2t \\ 0\end{pmatrix} .

4. Fundamental matrix and the initial condition (steps 6-7). Collecting the three solutions as columns,

Φ(t)=e−t(1cos⁡2tsin⁡2t−1−cos⁡2t−2sin⁡2t2cos⁡2t−sin⁡2t400),Φ(0)=(110−1−12400).\Phi(t) = e^{-t}\begin{pmatrix} 1 & \cos 2t & \sin 2t \\ -1 & -\cos 2t - 2\sin 2t & 2\cos 2t - \sin 2t \\ 4 & 0 & 0 \end{pmatrix} , \qquad \Phi(0) = \begin{pmatrix} 1 & 1 & 0 \\ -1 & -1 & 2 \\ 4 & 0 & 0\end{pmatrix} .

Expanding det⁡Φ(0)\det \Phi(0) along its last row gives 4 (1⋅2−0⋅(−1))=8≠04\,(1\cdot 2 - 0\cdot(-1)) = 8 \neq 0, so Φ\Phi is a fundamental matrix. Solving Φ(0)c=(0,0,4)T\Phi(0)c = (0,0,4)^{\mathsf T}: the third equation gives 4c1=44c_1 = 4, so c1=1c_1 = 1; the first gives 1+c2=01 + c_2 = 0, so c2=−1c_2 = -1; the second gives −1+1+2c3=0-1 + 1 + 2c_3 = 0, so c3=0c_3 = 0. Hence

x(t)=Φ(t)(1−10)=e−t(1−cos⁡2tcos⁡2t+2sin⁡2t−14).x(t) = \Phi(t)\begin{pmatrix}1\\-1\\0\end{pmatrix} = e^{-t}\begin{pmatrix} 1 - \cos 2t \\ \cos 2t + 2\sin 2t - 1 \\ 4\end{pmatrix} .

5. Checks (step 8). At t=0t=0 the bracket is (1−1, 1+0−1, 4)=(0,0,4)(1-1,\, 1 + 0 - 1,\, 4) = (0,0,4), as required. The middle component must be the derivative of the first, since x2=x1′x_2 = x_1' in this system:

ddt[e−t(1−cos⁡2t)]=e−t(−(1−cos⁡2t)+2sin⁡2t)=e−t(cos⁡2t+2sin⁡2t−1),\frac{d}{dt}\Bigl[e^{-t}(1 - \cos 2t)\Bigr] = e^{-t}\bigl(-(1-\cos 2t) + 2 \sin 2t\bigr) = e^{-t}(\cos 2t + 2\sin 2t - 1) ,

which it is. And the second equation of the system — row 2 of AA — namely x2′=−5x1−2x2+x3x_2' = -5x_1 - 2x_2 + x_3, holds: differentiating x2x_2 gives e−t(1+3cos⁡2t−4sin⁡2t)e^{-t}(1 + 3\cos 2t - 4 \sin 2t), while

−5e−t(1−cos⁡2t)−2e−t(cos⁡2t+2sin⁡2t−1)+4e−t=e−t((−5+2+4)+(5−2)cos⁡2t−4sin⁡2t),-5e^{-t}(1-\cos 2t) - 2e^{-t}(\cos 2t + 2 \sin 2t - 1) + 4e^{-t} = e^{-t}\bigl((-5 + 2 + 4) + (5-2)\cos 2t - 4 \sin 2t\bigr) ,

the same thing. Finally tr⁡A=0+(−2)+(−1)=−3\operatorname{tr}A = 0 + (-2) + (-1) = -3, and indeed det⁡Φ(t)=e−3tdet⁡Φ(0)=8e−3t\det\Phi(t) = e^{-3t}\det\Phi(0) = 8e^{-3t}, because each of the three columns carries one factor e−te^{-t} and the remaining determinant is the constant 88 (its entries involve cos⁡2t\cos 2t and sin⁡2t\sin 2t, but expanding along the last row leaves 4[cos⁡2t(2cos⁡2t−sin⁡2t)−sin⁡2t(−cos⁡2t−2sin⁡2t)]=4⋅2=84\bigl[\cos 2t(2\cos 2t - \sin 2t) - \sin 2t(-\cos 2t - 2 \sin 2t)\bigr] = 4\cdot 2 = 8 by cos⁡2+sin⁡2=1\cos^2 + \sin^2 = 1).

6. A number. At t=π/4t = \pi/4 we have cos⁡(π/2)=0\cos(\pi/2) = 0 and sin⁡(π/2)=1\sin(\pi/2) = 1, so

x(π/4)=e−π/4 (1, 1, 4)T≈(0.4559381, 0.4559381, 1.8237525)T.x(\pi/4) = e^{-\pi/4}\,(1,\ 1,\ 4)^{\mathsf T} \approx (0.4559381,\ 0.4559381,\ 1.8237525)^{\mathsf T} .

The displacement and the velocity happen to coincide a quarter of the way into the first oscillation.

7. The exponential, if it is wanted. exp⁡(tA)=Φ(t)Φ(0)−1\exp(tA) = \Phi(t)\Phi(0)^{-1}, and Φ(0)−1=18(00280−2440)\Phi(0)^{-1} = \tfrac18\begin{pmatrix}0 & 0 & 2 \\ 8 & 0 & -2 \\ 4 & 4 & 0\end{pmatrix}, as one checks by multiplying out. Note that the solution above was obtained without ever forming this product: eigenvectors answer the initial-value problem directly, and the exponential is needed only when the propagator itself is the object of interest — as it is in the forced problem of nonhomogeneous systems.

ApplicationOriginal
  • Small oscillations of a mechanical or electrical network. A conservative system linearized about equilibrium obeys Mq¨+Kq=0M\ddot q + Kq = 0 with MM positive definite and KK symmetric; written as a first-order system in (q,q˙)(q, \dot q) it is x′=Axx' = Ax with A=(0In−M−1K0)A = \begin{pmatrix}0 & I_n \\ -M^{-1}K & 0\end{pmatrix}. Its eigenvalues satisfy λ2=−ω2\lambda^2 = -\omega^2, where ω2\omega^2 runs over the eigenvalues of M−1KM^{-1}K (all real, since M−1KM^{-1}K is self-adjoint for the inner product ⟨u,v⟩M=uTMv\langle u, v\rangle_M = u^{\mathsf T}Mv). At a stable equilibrium KK is positive definite as well as symmetric; then every ω2>0\omega^2 > 0, each ±iω\pm i\omega is a conjugate pair on the imaginary axis, and step 4 of the method produces exactly the normal modes of normal modes, one mode per pair, oscillating at its own frequency ω\omega. The two degenerate possibilities a merely symmetric KK allows are worth naming: ω2=0\omega^2 = 0 gives a double eigenvalue λ=0\lambda = 0 with a defective block, hence a solution drifting linearly in tt (a zero mode, such as a rigid translation), and ω2<0\omega^2 < 0 gives the real pair λ=±∣ω∣\lambda = \pm|\omega|, an unstable direction growing exponentially rather than a mode. Adding linear damping moves an imaginary pair off the axis to the left, and its real part is the decay rate of that mode.
  • Stability of a steady state of a nonlinear system. Near an equilibrium x∗x_* of x′=f(x)x' = f(x) the deviation obeys ξ′=Df(x∗)ξ\xi' = Df(x_*)\xi to first order. The eigenvalues of the Jacobian therefore decide local stability, by the reading given at the end of the method, and this is the content of linearization: a sink when all real parts are negative, a saddle when they have both signs, oscillatory approach when there are complex pairs. The borderline cases — a purely imaginary pair, a zero eigenvalue — are precisely the ones the linear system cannot settle, and are where bifurcations occur.
  • Relaxation in coupled compartments. First-order chemical kinetics, radioactive decay chains, heat exchange between lumped bodies and linear pharmacokinetic models all have the form c′=Acc' = Ac with AA a matrix of rate constants whose columns sum to zero when the total amount is conserved. That column sum makes (1,…,1)(1,\dots,1) a left null vector, so 00 is an eigenvalue and the corresponding eigenvector is the equilibrium distribution; the remaining eigenvalues, necessarily with negative real parts for a stable network, are the relaxation rates measured in a kinetics experiment. The same matrix structure, transposed, is the generator of a continuous-time Markov chain: with Q=ATQ = A^{\mathsf T}, which has zero row sums, exp⁡(tQ)=exp⁡(tA)T\exp(tQ) = \exp(tA)^{\mathsf T} is the matrix of transition probabilities over time tt.
  • Why software solves systems, not high-order equations. Every numerical integrator in use — Runge-Kutta, multistep, implicit — is written for first-order systems, so the reduction of the remark above is the first thing done to an nn-th order equation before it is handed to an ODE integrator. The eigenvalues of AA also set the step size an explicit method can take: the product of the step with the largest ∣λ∣|\lambda| must stay inside the method's stability region, which is why a system with widely separated eigenvalues is expensive to integrate explicitly.

Method

Nonhomogeneous systems and Duhamel's principle

Adapted

Gives the solution of a forced linear system as the free evolution of the initial state plus a convolution of the forcing with the propagator, namely the Duhamel integral x(t) = exp(tA)x_0 plus the integral of exp((t-s)A)g(s) ds for constant A, and its fundamental-matrix form for time-dependent A, together with a recipe, the resonance that appears when the forcing matches an eigenvalue, and the reason the same formula reappears for the heat and wave equations.

Prerequisites: Linear systems and the matrix exponential, Functions of matrices and the matrix exponential, Variation of parameters, Determinants

Method(The structure of the solution set)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §6.5, p. 131

Let A(t)A(t) and g(t)g(t) be continuous on an interval II and consider the nonhomogeneous (forced, inhomogeneous) system

x′=A(t) x+g(t),x' = A(t)\,x + g(t) ,

whose homogeneous equation is the system x′=A(t)xx' = A(t)x obtained by dropping gg.

  1. If zz is any one solution of the nonhomogeneous system and yy any solution of the homogeneous one, then y+zy + z solves the nonhomogeneous system.
  2. Conversely every solution of the nonhomogeneous system is of that form: if z1,z2z_1, z_2 both solve it then z1−z2z_1 - z_2 solves the homogeneous one.

So with Φ\Phi a fundamental matrix of the homogeneous system (linear systems) the general solution is

x(t)=Φ(t)c+z(t),c∈Cn,x(t) = \Phi(t)c + z(t), \qquad c \in \mathbb{C}^n ,

and the whole problem reduces to producing one particular solution zz. Hirsch, Smale and Devaney record both the reduction and the warning that goes with it: a particular solution can often be guessed, by undetermined coefficients, but guessing does not always work, whereas the variation-of-parameters formula below always does — subject only to one's being able to evaluate the integral it contains ((Hirsch, Smale & Devaney (2013), §6.5, p. 131)).

Idea of the proofOriginal

The map x↦x′−A(t)xx \mapsto x' - A(t)x is linear, and the two parts are the two halves of what linearity says about a linear equation: the difference of two solutions of Lx=gLx = g solves Lx=0Lx = 0, and adding a solution of Lx=0Lx = 0 to a solution of Lx=gLx = g changes neither. Nothing about the particular form of AA or gg enters.

ProofOriginal

Write Lx=x′−A(t)xL x = x' - A(t)x, defined on differentiable functions I→CnI \to \mathbb{C}^n. LL is linear: L(αx+βy)=αx′+βy′−A(αx+βy)=αLx+βLyL(\alpha x + \beta y) = \alpha x' + \beta y' - A(\alpha x + \beta y) = \alpha Lx + \beta Ly, since differentiation is linear and A(t)A(t) acts linearly at each tt.

  1. If Lz=gLz = g and Ly=0Ly = 0 then L(y+z)=Ly+Lz=gL(y+z) = Ly + Lz = g.
  2. If Lz1=Lz2=gLz_1 = Lz_2 = g then L(z1−z2)=g−g=0L(z_1 - z_2) = g - g = 0.

For the displayed general solution, let xx solve the nonhomogeneous system. By part 2, x−zx - z solves the homogeneous one, so by part 3 of the existence statement in linear systems it equals Φ(t)c\Phi(t)c for exactly one cc; conversely every such Φ(t)c+z(t)\Phi(t)c + z(t) is a solution by part 1. □\square

Method(Variation of constants: the Duhamel integral)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §6.5, Theorem (Variation of Parameters), p. 131

Let AA be a constant n×nn \times n matrix and let gg be continuous on an interval containing 00. Then

x(t)=exp⁡(tA)[ x0+∫0texp⁡(−sA) g(s) ds ]x(t) = \exp(tA)\Bigl[\, x_0 + \int_0^t \exp(-sA)\,g(s)\,ds \,\Bigr]

is a solution of x′=Ax+g(t)x' = Ax + g(t) with x(0)=x0x(0) = x_0 ((Hirsch, Smale & Devaney (2013), §6.5, Theorem, p. 131)). Because tAtA and −sA-sA commute, the bracket can be multiplied out to give the Duhamel integral form

x(t)=exp⁡(tA) x0⏟free evolution of the initial state  +  ∫0texp⁡((t−s)A) g(s) ds⏟accumulated response to the forcing,x(t) = \underbrace{\exp(tA)\,x_0}_{\text{free evolution of the initial state}} \;+\; \underbrace{\int_0^t \exp\bigl((t-s)A\bigr)\, g(s)\, ds}_{\text{accumulated response to the forcing}} ,

and, this solution being the only one with x(0)=x0x(0) = x_0 (part 1 of the existence statement in linear systems applies to the nonhomogeneous system as well), the two displays are the same function.

Read the second display pointwise in ss: the forcing g(s) dsg(s)\,ds delivered during [s,s+ds][s, s+ds] acts as a fresh initial condition at time ss, and is then propagated to time tt by the propagator exp⁡((t−s)A)\exp((t-s)A) of the unforced system. The total response is the superposition of these, and it is a convolution of the forcing with the propagator: only the elapsed time t−st - s appears, and only values s≤ts \le t contribute, so the response is causal. The matrix

K(t,s)=exp⁡((t−s)A)(s≤t),K(t,s)=0(s>t)K(t,s) = \exp\bigl((t-s)A\bigr) \quad (s \le t), \qquad K(t,s) = 0 \quad (s > t)

is the impulse response, or causal Green's function, of the system (causal Green's functions).

Idea of the proofOriginal

Freeze the forcing and the answer is exp⁡(tA)c\exp(tA)c with cc constant. Switch the forcing on, and the only way the formula can fail is for cc to have to drift: so look for a solution x(t)=exp⁡(tA) u(t)x(t) = \exp(tA)\,u(t) with uu an unknown function — this is what "varying the constant" means. Substituting, the two terms produced by differentiating the product are Aexp⁡(tA)uA\exp(tA)u, which is exactly AxAx and cancels against the left-hand side, and exp⁡(tA)u′\exp(tA)u', which must therefore equal gg. That leaves u′=exp⁡(−tA)gu' = \exp(-tA)g, a formula to be integrated and nothing more. The structure survives verbatim for time-dependent AA, with a fundamental matrix in place of the exponential, because the cancellation used only Φ′=AΦ\Phi' = A\Phi.

ProofAdaptedAdapted from Hirsch, Smale & Devaney (2013), §6.5, p. 132
  1. The integral is differentiable. s↦exp⁡(−sA)g(s)s \mapsto \exp(-sA)g(s) is continuous, being a product of a continuous matrix-valued function and a continuous vector-valued one. So by the fundamental theorem of calculus in each of the nn components separately, t↦∫0texp⁡(−sA)g(s) dst \mapsto \int_0^t \exp(-sA)g(s)\,ds is differentiable with derivative exp⁡(−tA)g(t)\exp(-tA)g(t). Continuity of gg is used here and nowhere else.

  2. Differentiate the product. Write v(t)=x0+∫0texp⁡(−sA)g(s) dsv(t) = x_0 + \int_0^t \exp(-sA)g(s)\,ds, so that x=exp⁡(tA)vx = \exp(tA)v. The product rule for a matrix-valued and a vector-valued factor, together with ddtexp⁡(tA)=Aexp⁡(tA)\frac{d}{dt}\exp(tA) = A\exp(tA) (matrix exponential) and step 1, gives

x′(t)=Aexp⁡(tA) v(t)+exp⁡(tA)exp⁡(−tA) g(t)=A x(t)+g(t),x'(t) = A \exp(tA)\,v(t) + \exp(tA)\exp(-tA)\,g(t) = A\,x(t) + g(t) ,

the second term collapsing because exp⁡(tA)exp⁡(−tA)=I\exp(tA)\exp(-tA) = I. This is the route of (Hirsch, Smale & Devaney (2013), §6.5, p. 132), which differentiates the formula as it stands rather than deriving it.

  1. The initial value. At t=0t = 0 the integral is empty and exp⁡(0)=I\exp(0) = I, so x(0)=x0x(0) = x_0.

  2. The two displays agree. For each fixed ss the matrices tAtA and −sA-sA commute, so the product rule for exponentials of commuting matrices gives exp⁡(tA)exp⁡(−sA)=exp⁡((t−s)A)\exp(tA)\exp(-sA) = \exp((t-s)A). Since exp⁡(tA)\exp(tA) is a constant matrix as far as the ss-integration is concerned, it may be taken inside the integral:

exp⁡(tA)∫0texp⁡(−sA)g(s) ds=∫0texp⁡(tA)exp⁡(−sA)g(s) ds=∫0texp⁡((t−s)A)g(s) ds.\exp(tA)\int_0^t \exp(-sA)g(s)\,ds = \int_0^t \exp(tA)\exp(-sA)g(s)\,ds = \int_0^t \exp\bigl((t-s)A\bigr)g(s)\,ds .
  1. Uniqueness. If xx and x~\tilde x both solve the problem, their difference solves the homogeneous system with initial value 00, hence vanishes identically (linear systems). So the formula gives the solution, not merely one. □\square
Method(Time-dependent coefficients)Original

Let A(t)A(t) and g(t)g(t) be continuous on an interval II containing t0t_0, and let Φ\Phi be any fundamental matrix of x′=A(t)xx' = A(t)x on II. Then the unique solution of

x′=A(t)x+g(t),x(t0)=x0x' = A(t)x + g(t), \qquad x(t_0) = x_0

on II is

x(t)=Φ(t)Φ(t0)−1x0+∫t0tΦ(t) Φ(s)−1 g(s) ds,x(t) = \Phi(t)\Phi(t_0)^{-1}x_0 + \int_{t_0}^{t} \Phi(t)\,\Phi(s)^{-1}\,g(s)\,ds ,

and the answer does not depend on which fundamental matrix was used. Writing U(t,s)=Φ(t)Φ(s)−1U(t,s) = \Phi(t)\Phi(s)^{-1} for the propagator, this is again

x(t)=U(t,t0) x0+∫t0tU(t,s) g(s) ds,x(t) = U(t,t_0)\,x_0 + \int_{t_0}^t U(t,s)\,g(s)\,ds ,

identical in shape to the constant-coefficient formula, of which it is the case U(t,s)=exp⁡((t−s)A)U(t,s) = \exp((t-s)A). What is lost for non-constant AA is only that U(t,s)U(t,s) need no longer depend on t−st - s alone, and that there is in general no closed form for it: unlike the constant-coefficient case, Φ(t)=exp⁡(∫t0tA)\Phi(t) = \exp\bigl(\int_{t_0}^t A\bigr) is false in general, because A(t)A(t) and ∫A\int A need not commute. Neither cited source states this version; it is ours.

Idea of the proofOriginal

Run the previous idea with Φ\Phi in place of exp⁡(tA)\exp(tA). Substituting x=Φux = \Phi u and using Φ′=AΦ\Phi' = A\Phi makes the AxAx terms cancel and leaves Φu′=g\Phi u' = g, which can be solved for u′u' precisely because a fundamental matrix is invertible at every point — the one fact about fundamental matrices that does all the work. Integrating u′u' from t0t_0 and fitting u(t0)u(t_0) to the initial condition gives the formula. Independence of the choice of Φ\Phi then needs no computation: two fundamental matrices differ by a constant nonsingular factor on the right, which cancels in every Φ(t)Φ(s)−1\Phi(t)\Phi(s)^{-1}.

ProofOriginal
  1. Φ−1\Phi^{-1} is continuous. By part 2 of the existence statement in linear systems, det⁡Φ(s)≠0\det \Phi(s) \neq 0 for every s∈Is \in I. The entries of Φ(s)−1\Phi(s)^{-1} are cofactors of Φ(s)\Phi(s) divided by det⁡Φ(s)\det\Phi(s) (determinants), hence continuous in ss, being polynomials in continuous functions divided by a nonvanishing continuous function. So s↦Φ(s)−1g(s)s \mapsto \Phi(s)^{-1}g(s) is continuous and its integral is differentiable, with derivative Φ(t)−1g(t)\Phi(t)^{-1}g(t), by the fundamental theorem of calculus.

  2. The substitution. Put

u(t)=Φ(t0)−1x0+∫t0tΦ(s)−1g(s) ds,x(t)=Φ(t)u(t),u(t) = \Phi(t_0)^{-1}x_0 + \int_{t_0}^{t}\Phi(s)^{-1}g(s)\,ds, \qquad x(t) = \Phi(t)u(t) ,

which is the displayed formula once Φ(t)\Phi(t) is taken inside the integral, legitimate because Φ(t)\Phi(t) is constant in ss. Differentiating the product and using step 1 and Φ′=AΦ\Phi' = A\Phi,

x′=Φ′(t)u(t)+Φ(t)Φ(t)−1g(t)=A(t)Φ(t)u(t)+g(t)=A(t)x(t)+g(t).x' = \Phi'(t)u(t) + \Phi(t)\Phi(t)^{-1}g(t) = A(t)\Phi(t)u(t) + g(t) = A(t)x(t) + g(t) .
  1. The initial value. The integral vanishes at t=t0t = t_0, so x(t0)=Φ(t0)Φ(t0)−1x0=x0x(t_0) = \Phi(t_0)\Phi(t_0)^{-1}x_0 = x_0.

  2. Uniqueness. Two solutions differ by a solution of the homogeneous system vanishing at t0t_0, which is identically zero.

  3. Independence of Φ\Phi. If Ψ\Psi is another fundamental matrix then Ψ=ΦQ\Psi = \Phi Q for a constant nonsingular QQ (part 3 of the existence statement in linear systems), so for all t,st, s

Ψ(t)Ψ(s)−1=Φ(t)QQ−1Φ(s)−1=Φ(t)Φ(s)−1.\Psi(t)\Psi(s)^{-1} = \Phi(t)QQ^{-1}\Phi(s)^{-1} = \Phi(t)\Phi(s)^{-1} .

Both terms of the formula are built only from such products, so neither changes.

  1. Why exp⁡(∫A)\exp\bigl(\int A\bigr) fails. Set B(t)=∫t0tA(τ) dτB(t) = \int_{t_0}^t A(\tau)\,d\tau. Differentiating the series for exp⁡(B(t))\exp(B(t)) term by term would need ddtB(t)k=∑jBjB′Bk−1−j\frac{d}{dt}B(t)^k = \sum_{j} B^{j}B'B^{k-1-j} to collapse to kBk−1B′kB^{k-1}B', which requires B(t)B(t) and B′(t)=A(t)B'(t) = A(t) to commute. They need not: for
A(t)=(0100)+t(0010)A(t) = \begin{pmatrix} 0 & 1 \\ 0 & 0\end{pmatrix} + t\begin{pmatrix}0&0\\1&0\end{pmatrix}

the two constituent matrices do not commute, and A(t)A(t) does not commute with ∫0tA\int_0^t A. (This is the same obstruction that makes exp⁡(X)exp⁡(Y)≠exp⁡(X+Y)\exp(X)\exp(Y) \ne \exp(X+Y) for non-commuting X,YX, Y; see the matrix exponential.) □\square

Remark(Duhamel's principle)AdaptedAdapted from Evans (2010), §2.3.1(c), p. 47; Strauss (2008), §3.4, pp. 77-78

The formula above is one instance of a principle with a name. Evans states it for the heat equation — the solution of ut−Δu=fu_t - \Delta u = f with zero initial data is built by integrating, over the switch-on time ss, the solutions of the homogeneous problem started at time ss with initial data f(⋅,s)f(\cdot, s) — and records in a footnote that the principle applies widely to linear ordinary and partial differential equations and does not depend on the particular structure of the heat equation ((Evans (2010), §2.3.1(c), p. 47)). Strauss puts the same thing operationally: a homogeneous problem one already knows how to solve delivers the forced problem as well, and that implication is what the name Duhamel's principle covers ((Strauss (2008), §3.4, p. 78)).

Strauss's own ODE template is second order rather than first:

d2udt2+A2u=f(t),u(0)=φ,u′(0)=ψ⟹u(t)=S′(t)φ+S(t)ψ+∫0tS(t−s)f(s) ds,\frac{d^2u}{dt^2} + A^2 u = f(t), \quad u(0) = \varphi, \quad u'(0) = \psi \qquad\Longrightarrow\qquad u(t) = S'(t)\varphi + S(t)\psi + \int_0^t S(t-s)f(s)\,ds ,

where S(t)=A−1sin⁡tAS(t) = A^{-1}\sin tA and S′(t)=cos⁡tAS'(t) = \cos tA, and A2A^2 may be a positive constant or a positive square matrix ((Strauss (2008), §3.4, (13)-(15), p. 77)). The key, as he puts it, is that S(t)ψS(t)\psi is the solution of the problem with φ=0\varphi = 0 and f=0f = 0: the solution operator attached to the velocity datum is the one that also convolves against the forcing. Our first-order formula is the same statement with U(t,s)U(t,s) in that role, and the two are consistent — writing the second-order equation as a first-order system in (u,u′)(u, u') turns U(t,0)U(t,0) into the block matrix (cos⁡tAA−1sin⁡tA−Asin⁡tAcos⁡tA)\begin{pmatrix} \cos tA & A^{-1}\sin tA \\ -A \sin tA & \cos tA\end{pmatrix}, whose top-right block is S(t)S(t).

The same pattern, with the same name, produces the solution of the forced wave equation and of the forced heat equation from their homogeneous solution operators; those are taken up in Green's functions for the wave and heat equations. The abstract version, in which exp⁡(tA)\exp(tA) is replaced by a strongly continuous semigroup on a Banach space, is in operator semigroups.

Remark(Comparison with scalar variation of parameters, and what the hypotheses do)AdaptedAdapted from Coddington (1989), Ch. 2, §10, Theorem 20, (10.3) and (10.4), pp. 85-86

The scalar case is the same calculation. For L(y)=y(n)+a1y(n−1)+⋯+any=bL(y) = y^{(n)} + a_1 y^{(n-1)} + \dots + a_n y = b, Coddington writes a particular solution as ψp=∑kukϕk\psi_p = \sum_k u_k \phi_k with ϕ1,…,ϕn\phi_1, \dots, \phi_n a basis of solutions of L(y)=0L(y) = 0, and imposes the nn conditions

∑kuk′ϕk(j)=0  (j=0,…,n−2),∑kuk′ϕk(n−1)=b,\sum_k u_k' \phi_k^{(j)} = 0 \ \ (j = 0, \dots, n-2), \qquad \sum_k u_k'\phi_k^{(n-1)} = b ,

a linear system whose coefficient determinant is the Wronskian W(ϕ1,…,ϕn)W(\phi_1, \dots, \phi_n) and is therefore nonzero; solving it by Cramer's rule and integrating from x0x_0 gives his formula (10.3), and he records that the resulting ψp\psi_p satisfies ψp(x0)=ψp′(x0)=⋯=ψp(n−1)(x0)=0\psi_p(x_0) = \psi_p'(x_0) = \dots = \psi_p^{(n-1)}(x_0) = 0 ((Coddington (1989), Ch. 2, §10, Theorem 20, (10.3)-(10.4), pp. 85-86)). Under the reduction of a scalar equation to a system (linear systems), that system of conditions is exactly Φu′=g\Phi u' = g with g=(0,…,0,b)Tg = (0,\dots,0,b)^{\mathsf T}, the coefficient determinant is det⁡Φ\det \Phi, and the vanishing initial data are the statement x(t0)=0x(t_0) = 0 for the Duhamel term. The matrix derivation is the same argument with the bookkeeping done once instead of nn times; see also variation of parameters.

Where the hypotheses are used.

  • Continuity of gg is used only in step 1 of each proof, to differentiate the integral. If gg is merely piecewise continuous — a switched-on forcing, say — the formula still defines a continuous function, it still satisfies the differential equation at every continuity point of gg, and xx is then continuously differentiable except at the jumps of gg, where x′x' jumps by the jump of gg. Coddington makes the same observation for the scalar formula ((Coddington (1989), Ch. 2, §10, Exercise 5, p. 90)). An impulsive forcing is outside the statement altogether and is handled by a jump in the initial condition, or by the transform method of Laplace transforms for initial-value problems.
  • AA constant is what makes U(t,s)U(t,s) depend on t−st-s, hence makes the Duhamel term a convolution; for variable AA it is still an integral operator, but not a convolution.
  • Invertibility of Φ\Phi at every point is what the substitution x=Φux = \Phi u needs, and it is not an extra assumption: it is automatic for a fundamental matrix.
  • No hypothesis whatever is needed on the size of gg: the formula is exact, not an approximation, and there is no smallness or resonance condition. What resonance does is make the integral large, not invalid — see part 2 of the example.
Method(Solving x' = Ax + g(t))Original
  1. Solve the homogeneous system first. Get exp⁡(tA)\exp(tA), or a fundamental matrix Φ\Phi, by the recipe in linear systems. Nothing about the forcing is needed yet.
  2. Decompose the forcing in the eigenbasis, when there is one. With AA diagonalizable, write g(t)=∑jγj(t) vjg(t) = \sum_j \gamma_j(t)\,v_j with Avj=λjvjAv_j = \lambda_j v_j; then exp⁡((t−s)A)g(s)=∑jeλj(t−s)γj(s) vj\exp((t-s)A)g(s) = \sum_j e^{\lambda_j(t-s)}\gamma_j(s)\,v_j and the nn-dimensional integral splits into nn scalar ones,
x(t)=∑j[cjeλjt+∫0teλj(t−s)γj(s) ds]vj.x(t) = \sum_j \Bigl[ c_j e^{\lambda_j t} + \int_0^t e^{\lambda_j (t-s)}\gamma_j(s)\,ds \Bigr] v_j .

This is almost always the cheapest route by hand, and it shows at once which modes the forcing excites: a γj\gamma_j that vanishes leaves mode jj unforced. 3. Or integrate the Duhamel formula directly, x(t)=exp⁡(tA)x0+∫0texp⁡((t−s)A)g(s) dsx(t) = \exp(tA)x_0 + \int_0^t \exp((t-s)A)g(s)\,ds, when exp⁡(tA)\exp(tA) is available in closed form. 4. Or guess, when the forcing is of exponential-polynomial type. If g(t)=eμtwg(t) = e^{\mu t}w with μ\mu not an eigenvalue of AA, try z(t)=eμtζz(t) = e^{\mu t}\zeta: substituting gives (μI−A)ζ=w(\mu I - A)\zeta = w, solvable because μI−A\mu I - A is then invertible, so ζ=(μI−A)−1w\zeta = (\mu I - A)^{-1}w. For g(t)=eμt(w0+tw1+… )g(t) = e^{\mu t}\bigl(w_0 + tw_1 + \dots\bigr) take a polynomial ansatz of the same degree, raising the degree by the size of the largest Jordan block of μ\mu if μ\mu is an eigenvalue. A sinusoidal real forcing g(t)=Re⁡(eiωtw)g(t) = \operatorname{Re}(e^{i\omega t}w) is the case μ=iω\mu = i\omega, and the transfer matrix (iωI−A)−1(i\omega I - A)^{-1} is the object a physicist calls the system's frequency response. 5. Add the free term and fit the initial condition. x(t)=exp⁡(tA)x0+z(t)−exp⁡(tA)z(0)x(t) = \exp(tA)x_0 + z(t) - \exp(tA)z(0) if zz is a particular solution obtained by guessing; or read x0x_0 straight off the Duhamel form, where the initial condition is already built in. 6. Checks. x(0)=x0x(0) = x_0; x′(0)=Ax0+g(0)x'(0) = Ax_0 + g(0); and if gg is constant and AA invertible, x(t)→−A−1gx(t) \to -A^{-1}g as t→∞t \to \infty whenever every eigenvalue has negative real part, since then the steady state solves 0=Ax∞+g0 = Ax_\infty + g.

What to expect. If every eigenvalue has Re⁡λ<0\operatorname{Re}\lambda < 0, the term exp⁡(tA)x0\exp(tA)x_0 is a transient that dies out and the Duhamel term is the forced response that survives; the long-time behaviour is then a property of the forcing and not of the initial condition. If the forcing is periodic there is exactly one periodic solution and everything converges to it (see the application). If μ\mu coincides with an eigenvalue, the ansatz of step 4 fails and the response grows by an extra factor tt per repetition: that is resonance.

Example(Two coupled compartments with a source)Original

Two well-stirred compartments exchange material with each other at rate 11 and each loses material to the outside at rate 22; a source feeds compartment 11. With c=(c1,c2)Tc = (c_1, c_2)^{\mathsf T} the amounts present,

c1′=−2c1−(c1−c2)+f(t),c2′=−2c2−(c2−c1),c_1' = -2c_1 - (c_1 - c_2) + f(t), \qquad c_2' = -2c_2 - (c_2 - c_1) ,

that is c′=Ac+g(t)c' = Ac + g(t) with

A=(−311−3),g(t)=(f(t)0),c(0)=(00).A = \begin{pmatrix} -3 & 1 \\ 1 & -3\end{pmatrix}, \qquad g(t) = \begin{pmatrix} f(t) \\ 0\end{pmatrix} , \qquad c(0) = \begin{pmatrix}0\\0\end{pmatrix} .

1. The homogeneous system (step 1). A=−3I+(0110)A = -3I + \begin{pmatrix}0&1\\1&0\end{pmatrix}, and the swap matrix has eigenvectors v+=(1,1)Tv_+ = (1,1)^{\mathsf T} and v−=(1,−1)Tv_- = (1,-1)^{\mathsf T} with eigenvalues +1+1 and −1-1. Adding −3-3 to each,

Av+=−2v+,Av−=−4v−:Av_+ = -2v_+, \qquad Av_- = -4 v_- :

λ+=−2\lambda_+ = -2 is the slow mode (both compartments together, decaying only through the loss to the outside) and λ−=−4\lambda_- = -4 the fast one (the imbalance between them, which also relaxes through the exchange). Both are negative, so the unforced system decays.

2. Decompose the forcing (step 2). Since (1,0)T=12v++12v−(1,0)^{\mathsf T} = \tfrac12 v_+ + \tfrac12 v_-, the forcing is g(t)=12f(t)v++12f(t)v−g(t) = \tfrac12 f(t) v_+ + \tfrac12 f(t) v_-: it drives both modes equally.

Part 1: a constant source, f≡1f \equiv 1. Step 2's formula with c(0)=0c(0) = 0 gives

c(t)=12[∫0te−2(t−s)ds]v++12[∫0te−4(t−s)ds]v−=1−e−2t4 v++1−e−4t8 v−,c(t) = \tfrac12\Bigl[\int_0^t e^{-2(t-s)}ds\Bigr]v_+ + \tfrac12\Bigl[\int_0^t e^{-4(t-s)}ds\Bigr]v_- = \frac{1 - e^{-2t}}{4}\,v_+ + \frac{1-e^{-4t}}{8}\,v_- ,

using ∫0te−a(t−s)ds=(1−e−at)/a\int_0^t e^{-a(t-s)}ds = (1 - e^{-at})/a. Componentwise,

c1(t)=38−14e−2t−18e−4t,c2(t)=18−14e−2t+18e−4t.c_1(t) = \frac38 - \frac14 e^{-2t} - \frac18 e^{-4t} , \qquad c_2(t) = \frac18 - \frac14 e^{-2t} + \frac18 e^{-4t} .

Checks. At t=0t = 0: 38−14−18=0\tfrac38 - \tfrac14 - \tfrac18 = 0 and 18−14+18=0\tfrac18 - \tfrac14 + \tfrac18 = 0. As t→∞t \to \infty the limit is (38,18)T(\tfrac38, \tfrac18)^{\mathsf T}, and indeed −A−1g=18(3113)(10)=(38,18)T-A^{-1}g = \tfrac18\begin{pmatrix}3&1\\1&3\end{pmatrix}\begin{pmatrix}1\\0\end{pmatrix} = (\tfrac38, \tfrac18)^{\mathsf T}, since det⁡A=8\det A = 8 and A−1=18(−3−1−1−3)A^{-1} = \tfrac18\begin{pmatrix}-3&-1\\-1&-3\end{pmatrix}. Substituting into the first equation, c1′=12e−2t+12e−4tc_1' = \tfrac12 e^{-2t} + \tfrac12 e^{-4t} while

−3c1+c2+1=(−98+18+1)+(34−14)e−2t+(38+18)e−4t=12e−2t+12e−4t,-3c_1 + c_2 + 1 = \Bigl(-\tfrac98 + \tfrac18 + 1\Bigr) + \Bigl(\tfrac34 - \tfrac14\Bigr)e^{-2t} + \Bigl(\tfrac38 + \tfrac18\Bigr)e^{-4t} = \tfrac12 e^{-2t} + \tfrac12 e^{-4t} ,

the same. A number. At t=12ln⁡2t = \tfrac12\ln 2, where e−2t=12e^{-2t} = \tfrac12 and e−4t=14e^{-4t} = \tfrac14,

c1=38−18−132=732=0.21875,c2=18−18+132=132=0.03125,c_1 = \tfrac38 - \tfrac18 - \tfrac1{32} = \tfrac{7}{32} = 0.21875 , \qquad c_2 = \tfrac18 - \tfrac18 + \tfrac1{32} = \tfrac1{32} = 0.03125 ,

so the second compartment holds exactly one seventh of the first at that moment.

Part 2: a source that resonates with the slow mode, f(t)=e−2tf(t) = e^{-2t}. Now μ=−2\mu = -2 is an eigenvalue, so the guess of step 4 is unavailable. The Duhamel integrals of step 2 are still elementary: the v+v_+ integral has e−2(t−s)e−2s=e−2te^{-2(t-s)}e^{-2s} = e^{-2t}, with no ss left in it, so it contributes te−2tt e^{-2t}, while the v−v_- integral is an ordinary exponential one:

c(t)=12[∫0te−2t ds]v++12[∫0te−4(t−s)e−2sds]v−=t2e−2t v++e−2t−e−4t4 v−,c(t) = \tfrac12 \Bigl[\int_0^t e^{-2t}\,ds\Bigr]v_+ + \tfrac12\Bigl[\int_0^t e^{-4(t-s)}e^{-2s}ds\Bigr]v_- = \frac{t}{2}e^{-2t}\,v_+ + \frac{e^{-2t} - e^{-4t}}{4}\,v_- ,

the second integral being e−4t∫0te2sds=e−4t(e2t−1)/2e^{-4t}\int_0^t e^{2s}ds = e^{-4t}(e^{2t}-1)/2. Componentwise,

c1(t)=t2e−2t+e−2t−e−4t4,c2(t)=t2e−2t−e−2t−e−4t4.c_1(t) = \frac t2 e^{-2t} + \frac{e^{-2t}-e^{-4t}}{4} , \qquad c_2(t) = \frac t2 e^{-2t} - \frac{e^{-2t}-e^{-4t}}{4} .

Checks. Both vanish at t=0t = 0. Differentiating c1c_1 gives (12−t)e−2t−12e−2t+e−4t=−te−2t+e−4t\bigl(\tfrac12 - t\bigr)e^{-2t} - \tfrac12 e^{-2t} + e^{-4t} = -te^{-2t} + e^{-4t}, while

−3c1+c2+e−2t=−3(t2e−2t)+t2e−2t−3+14(e−2t−e−4t)+e−2t=−te−2t+e−4t,-3c_1 + c_2 + e^{-2t} = -3\Bigl(\tfrac t2 e^{-2t}\Bigr) + \tfrac t2 e^{-2t} - \tfrac{3+1}{4}\bigl(e^{-2t}-e^{-4t}\bigr) + e^{-2t} = -te^{-2t} + e^{-4t} ,

the same. A number. At t=12ln⁡2t = \tfrac12\ln 2,

c1=ln⁡28+116=0.149143398,c2=ln⁡28−116=0.024143398.c_1 = \frac{\ln 2}{8} + \frac1{16} = 0.149143398 , \qquad c_2 = \frac{\ln 2}{8} - \frac1{16} = 0.024143398 .

3. What resonance did and did not do. The secular factor tt appears only in the v+v_+ component, the mode whose eigenvalue the forcing matched; the v−v_- component is an ordinary combination of exponentials. And because Re⁡λ+=−2<0\operatorname{Re}\lambda_+ = -2 < 0, the product te−2tte^{-2t} still decays: resonance with a decaying mode produces a bounded bump, peaking at t=1/2t = 1/2 in the v+v_+ coefficient, not unbounded growth. Unbounded growth needs the resonant eigenvalue to sit on the imaginary axis, as it does for an undamped oscillator driven at its natural frequency.

ApplicationOriginal
  • Transient and steady state in a driven circuit or oscillator. For a damped linear system driven at a single frequency, g(t)=Re⁡(eiωtw)g(t) = \operatorname{Re}(e^{i\omega t}w), step 4 of the method gives the steady state Re⁡(eiωt(iωI−A)−1w)\operatorname{Re}\bigl(e^{i\omega t}(i\omega I - A)^{-1}w\bigr), and the Duhamel formula shows that everything else — the dependence on how the system was switched on — is confined to exp⁡(tA)x0\exp(tA)x_0, which decays. The matrix (iωI−A)−1(i\omega I - A)^{-1} is the frequency response: its magnitude is the gain, its argument the phase lag, and its poles are at iω=λi\omega = \lambda, which is why the response peaks near the imaginary parts of the eigenvalues. Hirsch, Smale and Devaney prove the corresponding exact statement for the damped oscillator forced by cos⁡t\cos t: there is exactly one 2π2\pi-periodic solution, found by solving (exp⁡(2πA)−I)x0=−W\bigl(\exp(2\pi A) - I\bigr)x_0 = -W — solvable because every eigenvalue of exp⁡(2πA)\exp(2\pi A) has modulus below 11 when every eigenvalue of AA has negative real part, so 11 is not among them — and every other solution converges to it ((Hirsch, Smale & Devaney (2013), §6.5, pp. 132-133)).
  • Impulse response and the measurement of a linear system. Because the response to gg is ∫0tK(t,s)g(s) ds\int_0^t K(t,s)g(s)\,ds with K(t,s)=exp⁡((t−s)A)K(t,s) = \exp((t-s)A), the system is characterized completely by what it does to a sharp kick: feed in g(s)≈δ(s)ejg(s) \approx \delta(s)e_j and the output is the jj-th column of exp⁡(tA)\exp(tA). This is why experimentalists measure impulse or step responses rather than solving for AA — and why, conversely, deconvolving a measured response against a known forcing recovers the kernel. The same kernel, extended to s>ts > t by zero, is the causal Green's function of causal Green's functions.
  • Heat conduction with a time-dependent source. Discretizing ut=κuxx+f(x,t)u_t = \kappa u_{xx} + f(x,t) in space (finite differences) gives exactly x′=Ax+g(t)x' = Ax + g(t) with AA the discrete Laplacian, and the Duhamel formula is the discrete version of Evans's heat-equation formula: each slice of heat released at time ss is diffused for the remaining time t−st - s. Running the same formula with AA replaced by the continuum Laplacian and exp⁡((t−s)A)\exp((t-s)A) by the heat kernel gives the continuum statement (the heat kernel).
  • Exponential integrators in numerical practice. Over one step of length hh, the exact solution is x(t+h)=exp⁡(hA)x(t)+∫0hexp⁡((h−τ)A)g(t+τ) dτx(t+h) = \exp(hA)x(t) + \int_0^h \exp((h-\tau)A)g(t+\tau)\,d\tau. Approximating only the integral — for example by freezing gg at g(t)g(t), which gives x(t+h)≈exp⁡(hA)x(t)+A−1(exp⁡(hA)−I)g(t)x(t+h) \approx \exp(hA)x(t) + A^{-1}(\exp(hA) - I)g(t) — yields a method that is exact for the stiff linear part and therefore stable at step sizes an explicit method could not use. This is the basis of exponential time differencing, and it is the practical answer to the stiffness described in stiffness.
  • Linear control and the variation-of-constants formula. With g(t)=Bu(t)g(t) = Bu(t) for a control input uu, the Duhamel formula says the reachable states at time TT from the origin are the values of ∫0Texp⁡((T−s)A)Bu(s) ds\int_0^T \exp((T-s)A)Bu(s)\,ds. The span of those values, as uu ranges over all inputs, is the column space of (B,AB,…,An−1B)\bigl(B, AB, \dots, A^{n-1}B\bigr) — the controllability criterion — and the formula above is where that criterion comes from.

Theorem · advanced

Floquet theory

Adapted

For a linear system whose coefficient matrix has period T, the fundamental matrix normalised at the origin factors as a T-periodic matrix times the exponential of a constant one, so the system is a periodic change of variable away from a constant-coefficient system; the eigenvalues of the monodromy matrix — the Floquet multipliers — do not depend on any choice made and decide decay, boundedness and the existence of periodic solutions, which for Hill's equation reduces to the single test |tr M| < 2.

Prerequisites: Linear systems and the matrix exponential, Structure of linear equations and the Wronskian, Existence and uniqueness of solutions, Functions of matrices and the matrix exponential, Jordan normal form, Eigenvalues and eigenvectors, Determinants

Definition(Periodic systems, the monodromy matrix and the Floquet multipliers)AdaptedAdapted from Coddington (1989), Ch. 1, Exercise 6, p. 46, and Ch. 3, §3, Exercise 6, p. 110

Let AA be an n×nn \times n matrix of continuous complex-valued functions on all of R\mathbb{R}, and let T>0T > 0 satisfy

A(t+T)=A(t)for every t∈R.A(t + T) = A(t) \qquad \text{for every } t \in \mathbb{R} .

We call x′=A(t)xx' = A(t)x a TT-periodic linear system. Here TT is a period, not necessarily the smallest one; every statement below holds for whichever period is chosen, and the conclusions change with it, which is a point we return to.

Because AA is continuous on R\mathbb{R}, the initial-value problem for the system has a unique solution defined on the whole line (Linear systems and the matrix exponential). Write Φ\Phi for the principal fundamental matrix at 00: the matrix solution of

Φ′(t)=A(t) Φ(t),Φ(0)=In,\Phi'(t) = A(t)\,\Phi(t), \qquad \Phi(0) = I_n ,

whose jj-th column is the solution with initial vector eje_j. The monodromy matrix of the system relative to this normalisation is

M=Φ(T),M = \Phi(T) ,

the matrix that advances the state by one period: the solution with x(0)=x0x(0) = x_0 has x(T)=Mx0x(T) = Mx_0. Its eigenvalues ρ1,…,ρn\rho_1, \dots, \rho_n, listed with algebraic multiplicity, are the Floquet multipliers (also called characteristic multipliers, (Strogatz (1994), §8.7, p. 282)) of the system. A Floquet exponent attached to ρj\rho_j is any complex number μj\mu_j with

eμjT=ρj,e^{\mu_j T} = \rho_j ,

so μj\mu_j is determined only modulo 2πi/T2\pi i/T, while Re⁡μj=T−1log⁡∣ρj∣\operatorname{Re}\mu_j = T^{-1}\log|\rho_j| is determined exactly.

In dimension one the whole construction collapses to a single number: for y′+a(t)y=0y' + a(t)y = 0 with aa of period TT, the solution normalised by y(0)=1y(0) = 1 is exp⁡(−∫0ta)\exp\bigl(-\int_0^t a\bigr), so MM is the 1×11 \times 1 matrix exp⁡(−∫0Ta)\exp\bigl(-\int_0^T a\bigr) and this is the only multiplier (Coddington (1989), Ch. 1, Exercise 6(b), p. 46). In dimension two, MM is the matrix of the four constants that express the translated basis t↦φk(t+T)t \mapsto \varphi_k(t + T) in terms of the basis φ1,φ2\varphi_1, \varphi_2 normalised at 00 (Coddington (1989), Ch. 3, §3, Exercise 6(c)-(d), p. 110). Coddington poses both of these as exercises; the general statement below is not in the library, and the blocks that prove it are labelled accordingly.

Theorem(Floquet's theorem)Original

Let x′=A(t)xx' = A(t)x be a TT-periodic linear system as above, with principal fundamental matrix Φ\Phi at 00 and monodromy matrix M=Φ(T)M = \Phi(T).

  1. Translation. Φ(t+T)=Φ(t) M\Phi(t + T) = \Phi(t)\,M for every t∈Rt \in \mathbb{R}, and more generally Φ(t+kT)=Φ(t)Mk\Phi(t + kT) = \Phi(t)M^k for every k∈Zk \in \mathbb{Z}.
  2. Nonsingularity. MM is invertible; indeed det⁡M=exp⁡∫0Ttr⁡A(s) ds,\det M = \exp \int_0^{T} \operatorname{tr} A(s)\, ds , so no multiplier is zero.
  3. The multipliers are intrinsic. If Ψ\Psi is any fundamental matrix of the system, then Ψ(t+T)=Ψ(t) MΨ\Psi(t + T) = \Psi(t)\,M_\Psi with MΨ=Ψ(0)−1MΨ(0)M_\Psi = \Psi(0)^{-1} M \Psi(0). Monodromy matrices built from different fundamental matrices are therefore similar, and the multipliers ρ1,…,ρn\rho_1, \dots, \rho_n depend only on AA and TT.
  4. Normal form. There are a matrix PP of continuously differentiable functions on R\mathbb{R}, with P(t+T)=P(t)P(t+T) = P(t) and det⁡P(t)≠0\det P(t) \neq 0 for every tt, and a constant matrix RR, such that Φ(t)=P(t) etR,eTR=M,P(0)=In.\Phi(t) = P(t)\, e^{tR}, \qquad e^{TR} = M, \qquad P(0) = I_n . The substitution x=P(t)yx = P(t)y turns x′=A(t)xx' = A(t)x into the constant-coefficient system y′=Ryy' = Ry. The eigenvalues of RR are a set of Floquet exponents, one for each multiplier.
  5. Floquet solutions. For each multiplier ρ\rho there is a non-trivial solution with x(t+T)=ρ x(t)for all t,x(t + T) = \rho\, x(t) \qquad \text{for all } t, equivalently x(t)=eμtp(t)x(t) = e^{\mu t} p(t) with pp of period TT and eμT=ρe^{\mu T} = \rho. Such a solution is called a Floquet solution, or a Bloch solution.
Theorem(What the multipliers decide)AdaptedAdapted from Coddington (1989), Ch. 3, §4, Exercise 3, p. 116; Strogatz (1994), §8.7, pp. 281-282

With the notation above, let ρ1,…,ρn\rho_1, \dots, \rho_n be the Floquet multipliers and μ1,…,μn\mu_1, \dots, \mu_n corresponding exponents.

  1. Decay. Every solution satisfies x(t)→0x(t) \to 0 as t→+∞t \to +\infty exactly when every multiplier obeys ∣ρj∣<1|\rho_j| < 1; equivalently, when every exponent has Re⁡μj<0\operatorname{Re}\mu_j < 0. In that case the decay is exponential: for each rr with max⁡j∣ρj∣<r<1\max_j |\rho_j| < r < 1 there is a constant CC with ∥x(t)∥≤C r t/T∥x(0)∥\|x(t)\| \le C\, r^{\,t/T}\|x(0)\| for all t≥0t \ge 0. (This is the criterion Strogatz (Strogatz (1994), §8.7, p. 281) states for the non-trivial multipliers of a closed orbit of an autonomous system; the application below connects that setting to this one.)

  2. Boundedness. Every solution is bounded on [0,∞)[0, \infty) if and only if ∣ρj∣≤1|\rho_j| \le 1 for every jj and every multiplier of modulus 11 is a semisimple eigenvalue of MM, meaning that its algebraic and geometric multiplicities agree.

  3. Instability. If ∣ρj∣>1|\rho_j| > 1 for some jj, there is a solution with ∥x(t)∥→∞\|x(t)\| \to \infty as t→+∞t \to +\infty.

  4. Periodic and antiperiodic solutions. A non-trivial solution of period TT exists precisely when 11 occurs among the multipliers, and a non-trivial solution obeying x(t+T)=−x(t)x(t + T) = -x(t), hence of period 2T2T, precisely when −1-1 does.

  5. Hill's equation. Let α\alpha be real, continuous and of period TT, and consider y′′+α(t)y=0y'' + \alpha(t)y = 0, written as the system x=(y,y′)x = (y, y') with A(t)=(01−α(t)0)A(t) = \begin{pmatrix} 0 & 1 \\ -\alpha(t) & 0\end{pmatrix}. Then tr⁡A≡0\operatorname{tr}A \equiv 0, so det⁡M=1\det M = 1 and the multipliers are the roots of ρ2−τρ+1=0\rho^2 - \tau\rho + 1 = 0 with τ=tr⁡M\tau = \operatorname{tr} M. Consequently:

    • if ∣τ∣<2|\tau| < 2, every solution is bounded on R\mathbb{R};
    • if ∣τ∣>2|\tau| > 2, some solution grows exponentially as t→+∞t \to +\infty;
    • τ=2\tau = 2 exactly when there is a non-trivial solution of period TT, and τ=−2\tau = -2 exactly when there is a non-trivial solution with y(t+T)=−y(t)y(t+T) = -y(t) (Coddington (1989), Ch. 3, §4, Exercise 3(b)-(c), p. 116); in these two borderline cases all solutions are bounded if and only if M=I2M = I_2, respectively M=−I2M = -I_2.

    In the notation of Coddington's exercise (Coddington (1989), Ch. 3, §4, Exercise 3, p. 116), where φ1,φ2\varphi_1, \varphi_2 are the solutions with φ1(0)=1\varphi_1(0) = 1, φ1′(0)=0\varphi_1'(0) = 0 and φ2(0)=0\varphi_2(0) = 0, φ2′(0)=1\varphi_2'(0) = 1, the Wronskian W(φ1,φ2)W(\varphi_1, \varphi_2) is identically 11 and τ=φ1(T)+φ2′(T)\tau = \varphi_1(T) + \varphi_2'(T).

Idea of the proofOriginal

Everything follows from one observation: shifting time by a period carries solutions to solutions, because the coefficient matrix is unchanged by the shift. The shift is therefore a linear map of the nn-dimensional solution space to itself, and MM is its matrix in the basis normalised at t=0t = 0. So a global question about a system with variable coefficients — do solutions grow? — becomes a finite-dimensional question about the powers of one matrix.

The normal form says more: since MM is invertible it is the exponential of some matrix BB (build BB from the Jordan form of MM, using a logarithm of each eigenvalue and the terminating logarithmic series on the nilpotent part), and dividing BB by TT gives a constant RR whose exponential advances exactly like MM over one period. Stripping etRe^{tR} off Φ\Phi leaves something that repeats with period TT. The growth of solutions is carried entirely by etRe^{tR}, and the periodic factor only wobbles.

ProofOriginal

Step 1: translation. Put Θ(t)=Φ(t+T)\Theta(t) = \Phi(t + T). Then Θ′(t)=Φ′(t+T)=A(t+T)Φ(t+T)=A(t)Θ(t)\Theta'(t) = \Phi'(t+T) = A(t+T)\Phi(t+T) = A(t)\Theta(t), where the last equality is the periodicity of AA — this is the only place it is used. So Θ\Theta solves the same matrix equation as Φ\Phi and has Θ(0)=Φ(T)=M\Theta(0) = \Phi(T) = M. The matrix t↦Φ(t)Mt \mapsto \Phi(t)M solves it too, since (ΦM)′=Φ′M=AΦM(\Phi M)' = \Phi'M = A\Phi M, and takes the same value MM at t=0t = 0. By uniqueness for the initial-value problem (Linear systems and the matrix exponential) applied to each column, Φ(t+T)=Φ(t)M\Phi(t+T) = \Phi(t)M for all tt. Iterating gives Φ(t+kT)=Φ(t)Mk\Phi(t + kT) = \Phi(t)M^k for k≥0k \ge 0, and the relation Φ(t)=Φ(t−T)M\Phi(t) = \Phi(t - T)M gives it for negative kk once MM is known to be invertible, which is Step 2.

Step 2: the determinant. Let w(t)=det⁡Φ(t)w(t) = \det \Phi(t). The determinant is linear in each row separately, so differentiating it row by row,

w′(t)=∑j=1ndet⁡Φ[j](t),w'(t) = \sum_{j=1}^{n} \det \Phi_{[j]}(t) ,

where Φ[j]\Phi_{[j]} is Φ\Phi with its jj-th row replaced by the derivative of that row. Row jj of Φ′=AΦ\Phi' = A\Phi is ∑kajk(t) (row k of Φ)\sum_{k} a_{jk}(t)\,(\text{row } k \text{ of } \Phi). Expanding det⁡Φ[j]\det\Phi_{[j]} by linearity in that row, every term with k≠jk \neq j is a determinant with two equal rows and vanishes, leaving ajj(t) w(t)a_{jj}(t)\, w(t). Summing over jj,

w′(t)=(tr⁡A(t)) w(t),w(0)=1,w'(t) = \bigl(\operatorname{tr}A(t)\bigr)\, w(t), \qquad w(0) = 1 ,

a scalar linear equation whose solution is w(t)=exp⁡∫0ttr⁡Aw(t) = \exp\int_0^t \operatorname{tr}A. At t=Tt = T this is the stated formula, and since an exponential never vanishes, det⁡M≠0\det M \neq 0.

Step 3: independence of the fundamental matrix. By Linear systems and the matrix exponential, any fundamental matrix is Ψ(t)=Φ(t)Q\Psi(t) = \Phi(t)Q for the constant nonsingular Q=Ψ(0)Q = \Psi(0). Then Ψ(t+T)=Φ(t+T)Q=Φ(t)MQ=Ψ(t) Q−1MQ\Psi(t+T) = \Phi(t+T)Q = \Phi(t)MQ = \Psi(t)\,Q^{-1}MQ, so MΨ=Q−1MQM_\Psi = Q^{-1}MQ is similar to MM and has the same eigenvalues with the same multiplicities.

Step 4: a logarithm of MM. We claim that every nonsingular M∈Cn×nM \in \mathbb{C}^{n\times n} is eBe^{B} for some BB. Put MM in Jordan form (Jordan normal form), M=SJS−1M = SJS^{-1} with JJ the direct sum of blocks Jk=λk(I+Nk)J_k = \lambda_k(I + N_k), where NkN_k is nilpotent and λk≠0\lambda_k \neq 0 because MM is nonsingular. Fix any log⁡λk\log\lambda_k with elog⁡λk=λke^{\log \lambda_k} = \lambda_k and set

Lk=(log⁡λk) I+ℓ(Nk),ℓ(X)=∑m≥1(−1)m+1m Xm,L_k = (\log \lambda_k)\, I + \ell(N_k), \qquad \ell(X) = \sum_{m \ge 1} \frac{(-1)^{m+1}}{m}\, X^m ,

the sum in ℓ\ell being finite because NkN_k is nilpotent. In the ring of formal power series the identity exp⁡(ℓ(X))=1+X\exp(\ell(X)) = 1 + X holds, and both sides terminate when XX is replaced by a nilpotent matrix, so eℓ(Nk)=I+Nke^{\ell(N_k)} = I + N_k. The two summands in LkL_k commute (one is a scalar matrix), so eLk=λk(I+Nk)=Jke^{L_k} = \lambda_k (I + N_k) = J_k by the product rule for commuting exponentials (Functions of matrices and the matrix exponential). Taking B=S(⨁kLk)S−1B = S\bigl(\bigoplus_k L_k\bigr)S^{-1} and using eSXS−1=SeXS−1e^{SXS^{-1}} = Se^{X}S^{-1} gives eB=Me^{B} = M.

Step 5: the normal form. Set R=B/TR = B/T, so eTR=Me^{TR} = M, and define P(t)=Φ(t)e−tRP(t) = \Phi(t)e^{-tR}. Then PP is continuously differentiable and nonsingular (a product of nonsingular matrices), P(0)=InP(0) = I_n, and

P(t+T)=Φ(t+T) e−(t+T)R=Φ(t) M e−TRe−tR=Φ(t)e−tR=P(t),P(t + T) = \Phi(t+T)\,e^{-(t+T)R} = \Phi(t)\,M\,e^{-TR}e^{-tR} = \Phi(t)e^{-tR} = P(t) ,

using Step 1, then e−(t+T)R=e−TRe−tRe^{-(t+T)R} = e^{-TR}e^{-tR} (the exponents commute), then Me−TR=InMe^{-TR} = I_n. So PP has period TT and Φ(t)=P(t)etR\Phi(t) = P(t)e^{tR}. For the change of variable, let xx solve the system and put y=P(t)−1xy = P(t)^{-1}x; since x(t)=Φ(t)c=P(t)etRcx(t) = \Phi(t)c = P(t)e^{tR}c for a constant cc, we get y(t)=etRcy(t) = e^{tR}c, which satisfies y′=Ryy' = Ry. Conversely x=P(t)yx = P(t)y recovers a solution. Finally, the eigenvalues of RR are exponents of the multipliers, with matching multiplicities. Indeed ℓ(Nk)\ell(N_k) is a sum of positive powers of a nilpotent matrix and so is nilpotent, hence Lk=(log⁡λk)I+ℓ(Nk)L_k = (\log\lambda_k)I + \ell(N_k) has log⁡λk\log\lambda_k as its only eigenvalue, with multiplicity the size of the block JkJ_k. Therefore the eigenvalues of R=S(⨁kLk/T)S−1R = S\bigl(\bigoplus_k L_k/T\bigr)S^{-1}, listed with algebraic multiplicity, are the numbers (log⁡λk)/T(\log\lambda_k)/T repeated according to block size, matching the multipliers λk\lambda_k repeated the same way; and eT⋅(log⁡λk)/T=λke^{T \cdot (\log\lambda_k)/T} = \lambda_k.

Step 6: Floquet solutions. Let Mv=ρvMv = \rho v with v≠0v \neq 0 and put x(t)=Φ(t)vx(t) = \Phi(t)v. This is a non-trivial solution, and x(t+T)=Φ(t+T)v=Φ(t)Mv=ρ x(t)x(t+T) = \Phi(t+T)v = \Phi(t)Mv = \rho\, x(t) by Step 1. Choose μ\mu with eμT=ρe^{\mu T} = \rho and set p(t)=e−μtx(t)p(t) = e^{-\mu t}x(t); then p(t+T)=e−μte−μTρ x(t)=p(t)p(t+T) = e^{-\mu t}e^{-\mu T}\rho\, x(t) = p(t), so pp has period TT and x(t)=eμtp(t)x(t) = e^{\mu t}p(t). Conversely any xx of that form satisfies x(t+T)=ρx(t)x(t+T) = \rho x(t). This proves part 5 and completes Floquet's theorem. □\square

Proof(What the multipliers decide)Original

Write any t≥0t \ge 0 as t=kT+st = kT + s with k∈N∪{0}k \in \mathbb{N} \cup \{0\} and s∈[0,T)s \in [0, T). A solution is x(t)=Φ(t)cx(t) = \Phi(t)c with c=x(0)c = x(0), so by Step 1 above

x(kT+s)=Φ(s) Mkc.x(kT + s) = \Phi(s)\, M^{k} c .

On the compact interval [0,T][0,T] the continuous functions s↦∥Φ(s)∥s \mapsto \|\Phi(s)\| and s↦∥Φ(s)−1∥s \mapsto \|\Phi(s)^{-1}\| attain finite maxima KK and K′K', and K′>0K' > 0. Hence

1K′ ∥Mkc∥  ≤  ∥x(kT+s)∥  ≤  K ∥Mkc∥,\frac{1}{K'}\,\bigl\|M^{k}c\bigr\| \;\le\; \|x(kT+s)\| \;\le\; K\,\bigl\|M^{k}c\bigr\| ,

the lower bound because ∥Mkc∥=∥Φ(s)−1x(kT+s)∥≤K′∥x(kT+s)∥\|M^kc\| = \|\Phi(s)^{-1}x(kT+s)\| \le K'\|x(kT+s)\|. So the behaviour of all solutions as t→+∞t \to +\infty is the behaviour of the powers MkM^k, and nothing else.

Powers of MM. Use the Jordan form again: Mk=SJkS−1M^k = S J^k S^{-1}, and a block λ(I+N)\lambda(I+N) of size dd has

(λ(I+N))k=λk∑m=0d−1(km)Nm,\bigl(\lambda(I+N)\bigr)^{k} = \lambda^{k}\sum_{m=0}^{d-1}\binom{k}{m} N^{m} ,

a finite sum because Nd=0N^d = 0. Writing it out, the entry of the block in the mm-th superdiagonal is λk−m(km)\lambda^{k-m}\binom{k}{m} for 0≤m≤d−10 \le m \le d-1, and everything below the diagonal is zero. For fixed mm the binomial coefficient (km)=k(k−1)⋯(k−m+1)/m!\binom{k}{m} = k(k-1)\cdots(k-m+1)/m! is a polynomial in kk of degree exactly mm, so each such entry has modulus comparable to ∣λ∣kkm|\lambda|^{k}k^{m} for large kk. Three cases follow. If ∣λ∣<1|\lambda| < 1 every entry of the block tends to 00, since a geometric factor beats a polynomial one. If ∣λ∣=1|\lambda| = 1 the diagonal entries have modulus 11 and do not tend to 00, while the entry at m=1m = 1, present as soon as d≥2d \ge 2, has modulus kk and is unbounded. If ∣λ∣>1|\lambda| > 1 the diagonal entries already blow up. Collecting the blocks: Jk→0J^{k} \to 0 exactly when every eigenvalue has ∣λ∣<1|\lambda| < 1, and {Jk}\{J^{k}\} is bounded exactly when every eigenvalue has ∣λ∣<1|\lambda| < 1 or has ∣λ∣=1|\lambda| = 1 with all of its blocks of size d=1d = 1 — that is, when the modulus-one eigenvalues are semisimple. Since Mk=SJkS−1M^{k} = SJ^{k}S^{-1} with SS fixed and invertible, the same holds for MkM^{k}, and since Cn\mathbb{C}^n has a basis, {Mkc}\{M^{k}c\} bounded for every cc is the same as {Mk}\{M^{k}\} bounded. Parts 1, 2 and 3 follow, part 3 because an eigenvector vv for ∣ρ∣>1|\rho| > 1 gives ∥Mkv∥=∣ρ∣k∥v∥→∞\|M^kv\| = |\rho|^k\|v\| \to \infty. For the rate in part 1, choose rr with max⁡j∣ρj∣<r<1\max_j|\rho_j| < r < 1; then ∥Mk∥≤C0rk\|M^k\| \le C_0 r^{k} for some C0C_0 by the display above, and ∥x(kT+s)∥≤KC0rk∥c∥≤(KC0/r) r t/T∥c∥\|x(kT+s)\| \le KC_0 r^{k}\|c\| \le (KC_0/r)\, r^{\,t/T}\|c\| since k≥t/T−1k \ge t/T - 1.

Part 4. If xx is a non-trivial solution of period TT then x(0)=x(T)=Mx(0)x(0) = x(T) = Mx(0), and x(0)≠0x(0) \neq 0 by uniqueness, so 11 is an eigenvalue of MM. Conversely an eigenvector for ρ=1\rho = 1 gives a Floquet solution with x(t+T)=x(t)x(t+T) = x(t) by Step 6. This is the matrix form of the criterion that a solution is periodic exactly when its value and derivative repeat after one period (Coddington (1989), Ch. 3, §3, Exercise 6(b), p. 110). The same argument with x(T)=−x(0)x(T) = -x(0) handles ρ=−1\rho = -1.

Part 5. For y′′+α(t)y=0y'' + \alpha(t)y = 0 the coefficient matrix has zero trace, so det⁡M=e0=1\det M = e^{0} = 1 by Step 2; equivalently the Wronskian of the normalised basis is identically 11 (Coddington (1989), Ch. 3, §4, Exercise 3(a), p. 116). A 2×22\times2 matrix satisfies ρ2−(tr⁡M)ρ+det⁡M=0\rho^2 - (\operatorname{tr}M)\rho + \det M = 0, which here is ρ2−τρ+1=0\rho^2 - \tau\rho + 1 = 0, so ρ1ρ2=1\rho_1\rho_2 = 1.

  • If ∣τ∣<2|\tau| < 2 the discriminant τ2−4\tau^2 - 4 is negative, so the roots are a conjugate pair of modulus ρ1ρ2=1\sqrt{\rho_1\rho_2} = 1, and they are distinct, hence semisimple. Part 2 gives boundedness on [0,∞)[0,\infty); applying the same argument to the time-reversed system, or using Φ(t−kT)=Φ(t)M−k\Phi(t - kT) = \Phi(t)M^{-k} with M−1M^{-1} having the same two multipliers inverted and still of modulus 11, gives boundedness on (−∞,0](-\infty, 0] as well.
  • If ∣τ∣>2|\tau| > 2 the roots are real, distinct and reciprocal, so one has modulus >1> 1: part 3 applies.
  • ρ=1\rho = 1 is a root exactly when 1−τ+1=01 - \tau + 1 = 0, that is τ=2\tau = 2, and ρ=−1\rho = -1 exactly when 1+τ+1=01 + \tau + 1 = 0, that is τ=−2\tau = -2; by part 4 these are the conditions for a non-trivial periodic, respectively antiperiodic, solution. In the normalised basis τ=φ1(T)+φ2′(T)\tau = \varphi_1(T) + \varphi_2'(T), because that basis is exactly the one whose matrix is Φ\Phi. At τ=2\tau = 2 the only multiplier is 11 with algebraic multiplicity 22, so by part 2 all solutions are bounded precisely when MM is semisimple, that is M=I2M = I_2; similarly for τ=−2\tau = -2 and M=−I2M = -I_2. □\square
Remark(Where the hypotheses are used, and the trap that catches everyone)Original
  • Continuity of AA on all of R\mathbb{R} is what makes Φ\Phi exist on the whole line, so that Φ(T)\Phi(T) is defined and Φ(t+T)\Phi(t+T) makes sense (Existence and uniqueness of solutions). Only continuity is needed, not smoothness: nothing in the proof differentiates AA.
  • Periodicity with the same TT in every entry enters exactly once, in Step 1. It is indispensable, not technical: if A(t)=A1(t)+A2(t)A(t) = A_1(t) + A_2(t) with A1A_1 of period 11 and A2A_2 of period 2\sqrt 2, there is no TT at all, no monodromy matrix, and no multipliers. Quasi-periodic systems are a genuinely harder subject.
  • Linearity is used in Step 3 (every fundamental matrix is ΦQ\Phi Q) and throughout the second proof, where the solution is Φ(t)c\Phi(t)c with cc constant.
  • Invertibility of MM comes from Step 2 and is needed for the multipliers to have logarithms in Step 4. Without it the normal form is false: eTRe^{TR} is always invertible.
  • TT is a choice. Replacing TT by 2T2T replaces every multiplier ρ\rho by ρ2\rho^2, so a system with multipliers ±1\pm 1 at period TT has both multipliers equal to 11 at period 2T2T. The decay and boundedness criteria are unaffected, since ∣ρ∣<1|\rho| < 1 if and only if ∣ρ2∣<1|\rho^2| < 1, but the periodicity criterion in part 4 is not: it detects solutions of the period you tested with.
  • The trap: the eigenvalues of A(t)A(t) tell you nothing. It is tempting to freeze tt, compute the eigenvalues of A(t)A(t) and conclude stability when they all have negative real part for every tt. This is false. Take A(t)=(−1+32cos⁡2t1−32sin⁡tcos⁡t−1−32sin⁡tcos⁡t−1+32sin⁡2t),A(t) = \begin{pmatrix} -1 + \tfrac32\cos^2 t & 1 - \tfrac32 \sin t\cos t \\[2pt] -1 - \tfrac32 \sin t \cos t & -1 + \tfrac32 \sin^2 t \end{pmatrix} , which has period T=πT = \pi. Its trace is −12-\tfrac12 and its determinant is 12\tfrac12 at every tt, so its eigenvalues are the constants (−1±i7)/4(-1 \pm i\sqrt7)/4, with real part −1/4<0-1/4 < 0 for all tt. Yet x1(t)=et/2(cos⁡t−sin⁡t),x2(t)=e−t(sin⁡tcos⁡t)x_1(t) = e^{t/2}\begin{pmatrix} \cos t \\ -\sin t\end{pmatrix}, \qquad x_2(t) = e^{-t}\begin{pmatrix} \sin t \\ \cos t \end{pmatrix} are solutions, as substitution confirms, and they are the columns of the principal fundamental matrix because x1(0)=e1x_1(0) = e_1 and x2(0)=e2x_2(0) = e_2. Hence M=Φ(π)=(−eπ/200−e−π),M = \Phi(\pi) = \begin{pmatrix} -e^{\pi/2} & 0 \\ 0 & -e^{-\pi}\end{pmatrix} , with multipliers −eπ/2≈−4.8105-e^{\pi/2} \approx -4.8105 and −e−π≈−0.0432-e^{-\pi} \approx -0.0432. The first has modulus greater than 11, so every solution whose initial vector is not a multiple of e2e_2 blows up. As a check, det⁡M=e−π/2\det M = e^{-\pi/2} agrees with exp⁡∫0πtr⁡A=e−π/2\exp\int_0^\pi \operatorname{tr}A = e^{-\pi/2} from Step 2. The instantaneous eigenvalues describe only the frozen system x′=A(t0)xx' = A(t_0)x. The true solution must in addition follow eigenvectors that rotate as tt advances — here those of A(t)A(t) turn once per period — and that rotation feeds in growth the frozen picture cannot see. Only the monodromy matrix, which integrates over a whole period, accounts for both effects.
Remark(Real coefficients and the doubled period)Original

Suppose AA is real. Then Φ\Phi and MM are real, but RR in part 4 of Floquet's theorem need not be, and no amount of cleverness can make it so. Note first that any normal form Φ(t)=P(t)etR\Phi(t) = P(t)e^{tR} of period TT has P(0)=Φ(0)=InP(0) = \Phi(0) = I_n and therefore M=Φ(T)=P(T)eTR=P(0)eTR=eTRM = \Phi(T) = P(T)e^{TR} = P(0)e^{TR} = e^{TR}, so a real normal form of period TT exists only if MM is the exponential of a real matrix. In the example just given, M=diag⁡(−eπ/2,−e−π)M = \operatorname{diag}(-e^{\pi/2}, -e^{-\pi}). If MM were eBe^{B} with B=TRB = TR a real 2×22\times 2 matrix, the eigenvalues β1,β2\beta_1, \beta_2 of BB would satisfy eβi<0e^{\beta_i} < 0 and so could not be real; a real 2×22 \times 2 matrix with no real eigenvalue has a conjugate pair, and then eβ2=eβ1‾e^{\beta_2} = \overline{e^{\beta_1}} would force the two eigenvalues of MM to be complex conjugates — but they are distinct real numbers. So a real normal form of period TT does not exist here.

Doubling the period repairs this: there are a real 2T2T-periodic nonsingular PP and a real constant RR with Φ(t)=P(t)etR\Phi(t) = P(t)e^{tR}. It suffices to produce a real SS with eS=M2e^{S} = M^2, for then R=S/(2T)R = S/(2T) and P(t)=Φ(t)e−tRP(t) = \Phi(t)e^{-tR} are real, and, exactly as in Step 5 but with Φ(t+2T)=Φ(t)M2\Phi(t+2T) = \Phi(t)M^2 and e2TR=M2e^{2TR} = M^2, we get P(t+2T)=Φ(t+2T)e−(t+2T)R=Φ(t)M2e−2TRe−tR=P(t)P(t+2T) = \Phi(t+2T)e^{-(t+2T)R} = \Phi(t)M^2e^{-2TR}e^{-tR} = P(t). To build SS, split Cn\mathbb{C}^n into the generalised eigenspaces EλE_\lambda of MM and write M=λ(I+Nλ)M = \lambda(I + N_\lambda) on EλE_\lambda with NλN_\lambda nilpotent, using the series ℓ\ell of Step 4.

  • If λ>0\lambda > 0, set S=2(log⁡λ)I+2ℓ(Nλ)S = 2(\log\lambda)I + 2\ell(N_\lambda) on EλE_\lambda, with the real logarithm; then eS=λ2(I+Nλ)2=M2e^{S} = \lambda^2(I+N_\lambda)^2 = M^2 there.
  • If λ<0\lambda < 0, note that M2=λ2(I+Nλ′)M^2 = \lambda^2(I + N'_\lambda) on EλE_\lambda with Nλ′=2Nλ+Nλ2N'_\lambda = 2N_\lambda + N_\lambda^2 nilpotent, and set S=(log⁡λ2)I+ℓ(Nλ′)S = (\log \lambda^2)I + \ell(N'_\lambda), again with a real logarithm. This is where the squaring is needed: a negative λ\lambda has no real logarithm, but λ2\lambda^2 does.
  • If λ∉R\lambda \notin \mathbb{R}, pick one eigenvalue out of each conjugate pair, call it λ\lambda, fix any log⁡λ\log\lambda and set S=2(log⁡λ)I+2ℓ(Nλ)S = 2(\log\lambda)I + 2\ell(N_\lambda) on EλE_\lambda; on EλˉE_{\bar\lambda} define SS by Sv=Svˉ‾Sv = \overline{S\bar v}, which is legitimate because complex conjugation maps EλˉE_{\bar\lambda} onto EλE_\lambda (MM being real), and which gives eSv=M2vˉ‾=M2ve^{S}v = \overline{M^2\bar v} = M^2 v there.

For real λ\lambda the subspace Eλ=ker⁡(M−λI)nE_\lambda = \ker (M - \lambda I)^n is carried to itself by conjugation and the formulas above are real, so in every case Sv‾=Svˉ\overline{Sv} = S\bar v for all vv. A matrix commuting with conjugation in this way has real entries, and eS=M2e^{S} = M^2 block by block. The price of realness is that PP repeats only after 2T2T; a real Floquet solution attached to a negative multiplier ρ\rho is eσtq(t)e^{\sigma t}q(t) with σ=T−1log⁡∣ρ∣\sigma = T^{-1}\log|\rho| and q(t+T)=−q(t)q(t+T) = -q(t), so it has the doubled period built in.

Method(Finding the multipliers and reading off the stability)Original
  1. Check the hypotheses. Confirm that AA is continuous and that a single T>0T > 0 satisfies A(t+T)=A(t)A(t+T) = A(t) entrywise. For a scalar equation y(n)+a1(t)y(n−1)+⋯+an(t)y=0y^{(n)} + a_1(t)y^{(n-1)} + \cdots + a_n(t)y = 0 with TT-periodic coefficients, first rewrite it as a system (Linear systems and the matrix exponential); the companion matrix inherits the period.
  2. Integrate one period, nn times. Solve x′=A(t)xx' = A(t)x on [0,T][0, T] with each standard basis vector e1,…,ene_1, \dots, e_n as initial data, exactly if the system allows it and numerically otherwise. Assemble the results as the columns of MM. One period of integration is all that is ever required.
  3. Check the determinant. Compare det⁡M\det M with exp⁡∫0Ttr⁡A\exp\int_0^T \operatorname{tr}A. For a numerical integration this is a cheap and sharp error estimate; for Hill's equation it is the test det⁡M=1\det M = 1.
  4. Compute the multipliers ρj\rho_j as the eigenvalues of MM, and the exponents as μj=T−1log⁡ρj\mu_j = T^{-1}\log \rho_j, remembering that each μj\mu_j is fixed only up to adding a multiple of 2πi/T2\pi i/T and that only Re⁡μj=T−1log⁡∣ρj∣\operatorname{Re}\mu_j = T^{-1}\log|\rho_j| is unambiguous.
  5. Read the verdict. All ∣ρj∣<1|\rho_j| < 1: every solution decays exponentially. Some ∣ρj∣>1|\rho_j| > 1: there are exponentially growing solutions. All ∣ρj∣≤1|\rho_j| \le 1 with the modulus-one ones semisimple: all solutions bounded, none decaying to zero in general. A multiplier equal to 11 or −1-1: a periodic or antiperiodic solution exists, and you are on a stability boundary.
  6. In dimension two with tr⁡A≡0\operatorname{tr}A \equiv 0, skip the eigenvalue computation: det⁡M=1\det M = 1, so the single number τ=tr⁡M\tau = \operatorname{tr}M decides everything by part 5 of the second statement. The stability diagram of a parametrised family is the set where ∣τ∣<2|\tau| < 2, and its boundary is the curve ∣τ∣=2|\tau| = 2.
  7. To get a Floquet solution, take an eigenvector vv of MM for the multiplier of interest and solve the system once more with x(0)=vx(0) = v; the resulting solution reproduces itself multiplied by ρ\rho after each period.
Example(A square-wave Hill equation)Original

Take the equation

y′′+α(t) y=0,α(t)={4,0≤t<1,1,1≤t<2,α(t+2)=α(t),y'' + \alpha(t)\,y = 0, \qquad \alpha(t) = \begin{cases} 4, & 0 \le t < 1, \\ 1, & 1 \le t < 2,\end{cases} \qquad \alpha(t+2) = \alpha(t) ,

a stiffness that is switched between two values twice per period T=2T = 2. The coefficient is piecewise constant rather than continuous, so by a solution we mean a C1C^1 function satisfying the equation on each interval of constancy. Nothing in the theory above changes: the initial-value problem still has a unique solution, obtained by solving on [0,1)[0,1) and using the value and derivative at t=1t = 1 as new initial data, the solution still depends linearly on (y(0),y′(0))(y(0), y'(0)), and Step 1 only used A(t+T)=A(t)A(t+T) = A(t) together with uniqueness.

The monodromy matrix. On an interval of length hh where α≡ω2\alpha \equiv \omega^2 with ω>0\omega > 0, the general solution is a combination of cos⁡ωt\cos \omega t and sin⁡ωt\sin\omega t, so the matrix carrying (y,y′)(y, y') across that interval is

C(ω,h)=(cos⁡ωhω−1sin⁡ωh−ωsin⁡ωhcos⁡ωh),C(\omega, h) = \begin{pmatrix} \cos\omega h & \omega^{-1}\sin\omega h \\ -\omega \sin\omega h & \cos\omega h\end{pmatrix} ,

whose determinant is cos⁡2+sin⁡2=1\cos^2 + \sin^2 = 1. Our period consists of h=1h = 1 at ω1=2\omega_1 = 2 followed by h=1h = 1 at ω2=1\omega_2 = 1, and the second step acts after the first, so

M=C(1,1) C(2,1).M = C(1, 1)\, C(2, 1) .

Multiplying out, with cj=cos⁡ωjc_j = \cos \omega_j and sj=sin⁡ωjs_j = \sin\omega_j,

M=(c1c2−2s1s212s1c2+s2c1−s2c1−2s1c2c1c2−12s1s2)=(−1.755140−0.104528−0.632416−0.607419),M = \begin{pmatrix} c_1 c_2 - 2 s_1 s_2 & \tfrac12 s_1 c_2 + s_2 c_1 \\[2pt] -s_2 c_1 - 2 s_1 c_2 & c_1c_2 - \tfrac12 s_1 s_2 \end{pmatrix} = \begin{pmatrix} -1.755140 & -0.104528 \\ -0.632416 & -0.607419 \end{pmatrix} ,

where cos⁡1=0.540302\cos 1 = 0.540302, sin⁡1=0.841471\sin 1 = 0.841471, cos⁡2=−0.416147\cos 2 = -0.416147, sin⁡2=0.909297\sin 2 = 0.909297. Its determinant is 11, as it must be, since det⁡C=1\det C = 1 for each factor and tr⁡A≡0\operatorname{tr}A \equiv 0.

The trace test. The trace is

τ=2cos⁡1cos⁡2−(ω1ω2+ω2ω1)sin⁡1sin⁡2=2cos⁡1cos⁡2−52sin⁡1sin⁡2=−2.362559.\tau = 2\cos 1 \cos 2 - \Bigl(\frac{\omega_1}{\omega_2} + \frac{\omega_2}{\omega_1}\Bigr)\sin 1 \sin 2 = 2\cos 1\cos 2 - \tfrac52 \sin 1 \sin 2 = -2.362559 .

Since ∣τ∣>2|\tau| > 2, part 5 of the second statement says the equation has exponentially growing solutions: the switching destabilises an oscillator that is stable at either fixed stiffness. The multipliers are the roots of ρ2+2.362559ρ+1=0\rho^2 + 2.362559\rho + 1 = 0,

ρ1=τ−τ2−42=−1.810104,ρ2=τ+τ2−42=−0.552454,\rho_{1} = \frac{\tau - \sqrt{\tau^2-4}}{2} = -1.810104, \qquad \rho_2 = \frac{\tau+\sqrt{\tau^2-4}}{2} = -0.552454 ,

and indeed ρ1ρ2=1.000000\rho_1\rho_2 = 1.000000. The growth rate is

σ=log⁡∣ρ1∣T=log⁡1.8101042=0.296692,\sigma = \frac{\log|\rho_1|}{T} = \frac{\log 1.810104}{2} = 0.296692 ,

so the unstable Floquet solution has amplitude eσte^{\sigma t}, multiplying by 1.8101041.810104 every 22 units of time. Because ρ1<0\rho_1 < 0, that solution is eσtq(t)e^{\sigma t}q(t) with q(t+2)=−q(t)q(t+2) = -q(t), of period 44.

Checking the number. An eigenvector for ρ1\rho_1 comes from the first row of M−ρ1IM - \rho_1 I: taking v1=1v_1 = 1,

v2=ρ1−M11M12=−1.810104+1.755140−0.104528=0.525836.v_2 = \frac{\rho_1 - M_{11}}{M_{12}} = \frac{-1.810104 + 1.755140}{-0.104528} = 0.525836 .

Start the equation at y(0)=1y(0) = 1, y′(0)=0.525836y'(0) = 0.525836. On [0,1][0,1], y=cos⁡2t+0.262918sin⁡2ty = \cos 2t + 0.262918\sin 2t, so y(1)=cos⁡2+0.262918sin⁡2=−0.416147+0.239071=−0.177076y(1) = \cos 2 + 0.262918\sin 2 = -0.416147 + 0.239071 = -0.177076 and y′(1)=−2sin⁡2+0.525836cos⁡2=−1.818595−0.218825=−2.037420y'(1) = -2\sin 2 + 0.525836\cos 2 = -1.818595 - 0.218825 = -2.037420. On [1,2][1,2] the frequency is 11, so y(t)=y(1)cos⁡(t−1)+y′(1)sin⁡(t−1)y(t) = y(1)\cos(t-1) + y'(1)\sin(t-1) and

y(2)=−0.177076 (0.540302)+(−2.037420)(0.841471)=−0.095675−1.714430=−1.810105.y(2) = -0.177076\,(0.540302) + (-2.037420)(0.841471) = -0.095675 - 1.714430 = -1.810105 .

The predicted value is ρ1y(0)=−1.810104\rho_1 y(0) = -1.810104, and the last digit of the computed −1.810105-1.810105 is the rounding carried by the six-digit intermediate values. The derivative comes out the same way: y′(2)=−y(1)sin⁡1+y′(1)cos⁡1=−0.951818y'(2) = -y(1)\sin 1 + y'(1)\cos 1 = -0.951818, against the predicted ρ1v2=−1.810104 (0.525836)=−0.951818\rho_1 v_2 = -1.810104\,(0.525836) = -0.951818.

A stable neighbour. Halving both intervals, α=4\alpha = 4 on [0,12)[0,\tfrac12) and α=1\alpha = 1 on [12,1)[\tfrac12, 1) with T=1T = 1, the same formula gives τ=2cos⁡12cos⁡1−52sin⁡12sin⁡1=−0.060237\tau = 2\cos\tfrac12\cos 1 - \tfrac52 \sin\tfrac12 \sin 1 = -0.060237. Now ∣τ∣<2|\tau| < 2, the multipliers are −0.030118±0.999546 i-0.030118 \pm 0.999546\,i of modulus exactly 11, and every solution is bounded. Switching the same two stiffnesses twice as fast turns instability into stability — which is the whole content of a parametric stability chart.

ApplicationOriginal
  • Parametric resonance. A pendulum whose support is driven vertically, or a child pumping a swing by changing the effective length twice per swing, obeys Hill's equation y′′+α(t)y=0y'' + \alpha(t)y = 0 with α\alpha periodic; the smooth model is Mathieu's equation y′′+(δ+εcos⁡2t)y=0y'' + (\delta + \varepsilon\cos 2t)y = 0. The theory above says that the (δ,ε)(\delta, \varepsilon) plane splits into regions ∣τ(δ,ε)∣<2|\tau(\delta,\varepsilon)| < 2 where the swing stays small and regions ∣τ∣>2|\tau| > 2 where it grows exponentially, separated by the curves τ=±2\tau = \pm 2 on which a TT-periodic or 2T2T-periodic solution exists. Those curves are the familiar tongues issuing from δ=m2\delta = m^2, and the tongue at δ=1\delta = 1 — pumping at twice the natural frequency — is the one the child uses. The same equation with the same analysis governs the radio-frequency quadrupole (Paul) ion trap, where the stable region of the chart is precisely the set of ion masses the trap confines.
  • Stability of limit cycles. If γ\gamma is a TT-periodic solution of an autonomous nonlinear system x′=f(x)x' = f(x), the equation for a small deviation is the TT-periodic linear system v′=Df(γ(t)) vv' = Df(\gamma(t))\,v, so its Floquet multipliers measure the growth of perturbations. One multiplier is always 11: differentiating γ′(t)=f(γ(t))\gamma'(t) = f(\gamma(t)) shows that v=γ′v = \gamma' solves the variational equation, and γ′\gamma' has period TT. Strogatz (Strogatz (1994), §8.7, p. 282) calls this the trivial multiplier, discards it as mere time translation, and states that the closed orbit is linearly stable exactly when the remaining n−1n-1 multipliers of the linearized Poincaré map have modulus less than 11 — which is part 1 of the statement above, read on the complement of the direction along the orbit.
  • Electrons in a one-dimensional crystal. The stationary Schrödinger equation −ψ′′+V(t)ψ=Eψ-\psi'' + V(t)\psi = E\psi with VV of period TT is Hill's equation with α=E−V\alpha = E - V. For each energy EE the trace τ(E)\tau(E) of the monodromy matrix is a continuous function, and no solution grows exponentially exactly when ∣τ(E)∣≤2|\tau(E)| \le 2. The energy intervals where this holds are the allowed bands of the solid, the intervals where ∣τ(E)∣>2|\tau(E)| > 2 are the forbidden gaps, and the band edges are the energies with τ(E)=±2\tau(E) = \pm 2, where the Floquet solutions are genuinely periodic or antiperiodic. The Floquet solution eμtp(t)e^{\mu t}p(t) with pp periodic is the Bloch wave, and μ=ik\mu = ik defines the crystal momentum inside a band.
  • Beam optics. In an alternating-gradient accelerator the transverse displacement of a particle satisfies Hill's equation with a focusing strength that repeats each lattice cell. Designers compute the one-cell transfer matrix — our MM — and require ∣tr⁡M∣<2|\operatorname{tr}M| < 2, writing tr⁡M=2cos⁡Θ\operatorname{tr}M = 2\cos\Theta to read off the phase advance Θ\Theta per cell. The stability criterion is exactly part 5 above.

Method

Solving initial-value problems with the Laplace transform

Adapted

Turns a constant-coefficient initial-value problem into one algebraic equation for the transform of the unknown, the subsidiary equation p(s)Y(s) = Q(s) + F(s), whose numerator carries the initial data, and shows how partial fractions, the shifting theorem and the convolution rule recover the solution, including for forcing that is switched on at a later time or delivered as an impulse.

Prerequisites: The Laplace transform, Constant-coefficient equations, Partial fractions for inverse transforms, The Heaviside step and related functions, Delta-function identities, Test functions and distributions, Green's function for a boundary-value problem

Note(Notation, and the three rules the method uses)AdaptedAdapted from Arfken, Weber & Harris (2013), §20.8, Eqs. (20.147)-(20.149), p. 1016 and Eq. (20.166), p. 1023; Riley, Hobson & Bence (2006), §13.2, Eq. (13.53), p. 453 and §13.2.1, Eqs. (13.57)-(13.58), pp. 455-456; Strauss (2008), §12.5, Eq. (1), p. 353 and the property table (ii), (iii), (vii), (ix), p. 354

Throughout this unit a function of tt carries a lower-case letter and its transform the corresponding capital:

L{v}(s)=V(s)=∫0∞e−st v(t) dt\mathcal{L}\{v\}(s) = V(s) = \int_0^\infty e^{-st}\, v(t)\,dt

(the Laplace transform); so the unknown yy has transform YY, the forcing ff has transform FF, and so on.

The cited books do not agree on this, and the disagreement is pure notation. Strauss writes exactly the convention above, F(s)F(s) for the transform of f(t)f(t) ((Strauss (2008), §12.5, Eq. (1), p. 353)). Riley, Hobson and Bence keep the letter and put a bar on it, fˉ(s)\bar f(s) ((Riley, Hobson & Bence (2006), §13.2, Eq. (13.53), p. 453)). Arfken uses the opposite case to ours: for him the time function is the capital and the transform the lower-case letter, L{F(t)}=f(s)\mathcal{L}\{F(t)\} = f(s) ((Arfken, Weber & Harris (2013), §20.8, Eqs. (20.147)-(20.149), p. 1016)). Every formula imported from Arfken below is therefore restated in the convention above, his FF becoming our vv and his ff our VV.

Three properties of the transform, proved in the unit cited above, are the whole machinery of this unit.

  1. Derivatives. Integration by parts gives
L{v′}(s)=s V(s)−v(+0),\mathcal{L}\{v'\}(s) = s\,V(s) - v(+0) ,

and by iteration

L{v(n)}(s)=snV(s)−sn−1v(+0)−sn−2v′(+0)−⋯−v(n−1)(+0).\mathcal{L}\{v^{(n)}\}(s) = s^n V(s) - s^{n-1}v(+0) - s^{n-2}v'(+0) - \dots - v^{(n-1)}(+0) .

Arfken attaches three conditions to these identities ((Arfken, Weber & Harris (2013), §20.8, the text following Eq. (20.147), p. 1016)). The value at the origin is to be read as the one-sided limit v(+0)v(+0). The derivative is allowed jumps, being asked only to be piecewise continuous on the whole half-line t≥0t \ge 0. And the transform integrals of vv and of v′v' must both converge rather than run off to infinity. Riley, Hobson and Bence derive the same identities and append the proviso s>0s > 0 ((Riley, Hobson & Bence (2006), §13.2.1, Eqs. (13.57)-(13.58), pp. 455-456)); the remark on limitations below returns to the difference. 2. Shifting in tt (the Heaviside shifting theorem). For b>0b > 0,

L{H(t−b) v(t−b)}(s)=e−bs V(s),\mathcal{L}\bigl\{ H(t-b)\,v(t-b)\bigr\}(s) = e^{-bs}\,V(s) ,

with HH the Heaviside step. Arfken derives it in the form L{v(t−b)}=e−bsV(s)\mathcal{L}\{v(t-b)\} = e^{-bs}V(s) on the convention that vv vanishes for negative argument, and notes that it is a Heaviside factor inserted into the integrand that enforces that convention; he calls the result the Heaviside shifting theorem ((Arfken, Weber & Harris (2013), §20.8, Eqs. (20.164)-(20.166), pp. 1022-1023)). Strauss lists it in the form above ((Strauss (2008), §12.5, property (vii), p. 354)). 3. Convolution. L{∫0tv(t−τ) w(τ) dτ}(s)=V(s) W(s)\mathcal{L}\bigl\{\int_0^t v(t-\tau)\,w(\tau)\,d\tau\bigr\}(s) = V(s)\,W(s) ((Strauss (2008), §12.5, property (ix), p. 354)).

Two transform pairs are used constantly: L{H(t−b)}=e−bs/s\mathcal{L}\{H(t-b)\} = e^{-bs}/s and L{δ(t−b)}=e−bs\mathcal{L}\{\delta(t-b)\} = e^{-bs}, both tabulated by Strauss and by Riley, Hobson and Bence ((Strauss (2008), §12.5, entries (8) and (9), p. 353); (Riley, Hobson & Bence (2006), §13.2, Table 13.1, p. 455)). The second is a statement about the delta distribution rather than about a function, and is read as ∫0∞e−stδ(t−b) dt=e−bs\int_0^\infty e^{-st}\delta(t-b)\,dt = e^{-bs}.

Method(The subsidiary equation)AdaptedAdapted from Riley, Hobson & Bence (2006), §15.1.5, pp. 501-503; Arfken, Weber & Harris (2013), §20.8, pp. 1016-1017

Let a1,…,ana_1, \dots, a_n be constants, let

p(s)=sn+a1sn−1+⋯+an−1s+anp(s) = s^n + a_1 s^{n-1} + \dots + a_{n-1}s + a_n

be the characteristic polynomial of the operator L=dndtn+a1dn−1dtn−1+⋯+anL = \frac{d^n}{dt^n} + a_1\frac{d^{n-1}}{dt^{n-1}} + \dots + a_n, and consider

Ly=f(t),y(0)=y0, y′(0)=y1, …, y(n−1)(0)=yn−1.L y = f(t), \qquad y(0) = y_0, \ y'(0) = y_1, \ \dots, \ y^{(n-1)}(0) = y_{n-1} .

Assume yy and its first nn derivatives have Laplace transforms in the sense of rule 1 above, and write, in the capital-for-transform convention of the note, Y=L{y}Y = \mathcal{L}\{y\} and F=L{f}F = \mathcal{L}\{f\}. Then YY satisfies one algebraic equation, the subsidiary equation

p(s) Y(s)=Q(s)+F(s),Q(s)=∑m=1nan−m∑j=0m−1s m−1−j yj(a0:=1),p(s)\,Y(s) = Q(s) + F(s), \qquad Q(s) = \sum_{m=1}^{n} a_{n-m}\sum_{j=0}^{m-1} s^{\,m-1-j}\, y_j \quad (a_0 := 1) ,

so that

Y(s)=Q(s)p(s)+F(s)p(s).Y(s) = \frac{Q(s)}{p(s)} + \frac{F(s)}{p(s)} .

Here QQ is a polynomial of degree at most n−1n-1 built from the initial data alone, and 1/p(s)1/p(s) — the transfer function — knows only the equation. Consequently:

  1. Separation of the two jobs. y=yfree+yforcedy = y_{\text{free}} + y_{\text{forced}} with Yfree=Q/pY_{\text{free}} = Q/p and Yforced=F/pY_{\text{forced}} = F/p. The first depends only on the initial data, the second only on the forcing.
  2. The free part is the complementary function. Q/pQ/p is a proper rational function, so partial fractions (partial fractions for inverse transforms) express it as a sum of terms c/(s−λ)kc/(s-\lambda)^k with λ\lambda a root of pp and kk at most its multiplicity; inverting term by term with L−1{(s−λ)−k}=tk−1eλt/(k−1)!\mathcal{L}^{-1}\{(s-\lambda)^{-k}\} = t^{k-1}e^{\lambda t}/(k-1)! gives exactly the solutions tk−1eλtt^{k-1}e^{\lambda t} of the constant-coefficient equation. The characteristic equation and the denominator of the transform are the same polynomial.
  3. The forced part is a convolution. By rule 3, with k=L−1{1/p}k = \mathcal{L}^{-1}\{1/p\},
yforced(t)=∫0tk(t−τ) f(τ) dτ.y_{\text{forced}}(t) = \int_0^t k(t-\tau)\,f(\tau)\,d\tau .

The kernel kk is the impulse response: it is the solution of Lk=0Lk = 0 with k(0)=⋯=k(n−2)(0)=0k(0) = \dots = k^{(n-2)}(0) = 0, k(n−1)(0)=1k^{(n-1)}(0) = 1, and this integral is the Duhamel integral of nonhomogeneous systems in scalar form. Strauss's Example 2 is this statement for n=2n = 2: u′′+ω2u=fu'' + \omega^2 u = f with zero data has U(s)=F(s)/(s2+ω2)U(s) = F(s)/(s^2+\omega^2), hence u(t)=∫0tω−1sin⁡(ω(t−τ))f(τ) dτu(t) = \int_0^t \omega^{-1}\sin\bigl(\omega(t-\tau)\bigr)f(\tau)\,d\tau ((Strauss (2008), §12.5, Example 2, pp. 354-355)).

For n=2n = 2 the polynomial QQ is Q(s)=(s+a1)y0+y1Q(s) = (s + a_1)y_0 + y_1, which is the form Riley, Hobson and Bence produce in their worked example and the one met in practice ((Riley, Hobson & Bence (2006), §15.1.5, Eqs. (15.33)-(15.34), p. 502)).

The same manipulation handles a system of constant-coefficient equations: transforming each equation gives a set of simultaneous linear algebraic equations in the transforms, which are then solved by elimination, as in the coupled-circuit example of (Riley, Hobson & Bence (2006), §15.1.5, pp. 502-503) and the Earth-nutation example of (Arfken, Weber & Harris (2013), §20.8, Example 20.8.3, pp. 1018-1019). Arfken makes this the headline property of the method: coupled constant-coefficient differential equations transform into simultaneous linear algebraic equations ((Arfken, Weber & Harris (2013), §20.8, p. 1016)).

Idea of the proofOriginal

Each differentiation costs one factor of ss and leaves behind one piece of initial data; that is the whole of rule 1. Apply it to every term of a constant-coefficient equation and the differential operator becomes multiplication by its characteristic polynomial, while the debris of initial data collects into a polynomial of lower degree. One division then solves the problem in the transform variable, and all the remaining work — partial fractions, table look-up, shifting — is about getting back. The reason the initial data land in the numerator and the equation in the denominator is worth noticing: it is why changing the initial conditions cannot change which exponentials appear in the answer, only their coefficients.

ProofOriginal
  1. Transform each term. Write L{y(m)}=smY−∑j=0m−1s m−1−jyj\mathcal{L}\{y^{(m)}\} = s^m Y - \sum_{j=0}^{m-1}s^{\,m-1-j}y_j, which is rule 1 with nn replaced by mm (and is an empty sum for m=0m=0, i.e. L{y}=Y\mathcal{L}\{y\} = Y). The equation Ly=fLy = f reads ∑m=0nan−m y(m)=f\sum_{m=0}^{n} a_{n-m}\,y^{(m)} = f with a0=1a_0 = 1, and L\mathcal{L} is linear, so
∑m=0nan−m[smY−∑j=0m−1s m−1−jyj]=F(s).\sum_{m=0}^{n} a_{n-m}\Bigl[s^m Y - \sum_{j=0}^{m-1}s^{\,m-1-j}y_j\Bigr] = F(s) .

The coefficients being constants is what allows this: L\mathcal{L} is linear over constants, not over functions of tt, and that restriction is exactly the limitation discussed in the remark below.

  1. Collect. ∑m=0nan−msm=p(s)\sum_{m=0}^n a_{n-m}s^m = p(s) by definition, and the remaining double sum is Q(s)Q(s), which therefore satisfies p(s)Y(s)−Q(s)=F(s)p(s)Y(s) - Q(s) = F(s). Each inner sum has highest power sm−1s^{m-1}, and the outer index runs to m=nm = n, so deg⁡Q≤n−1\deg Q \le n-1.

  2. Part 1 is the linearity of L−1\mathcal{L}^{-1} applied to the splitting Y=Q/p+F/pY = Q/p + F/p: the two inverse transforms are separately well defined, and their sum is yy because the inverse transform is linear and (up to the proviso recorded below) unique.

  3. Part 2. deg⁡Q≤n−1<n=deg⁡p\deg Q \le n - 1 < n = \deg p, so Q/pQ/p is proper and the partial-fraction theorem applies with no polynomial part. Each resulting term is c (s−λ)−kc\,(s-\lambda)^{-k} with λ\lambda a root of pp and 1≤k≤1 \le k \le its multiplicity. From L{tk−1}=(k−1)!/sk\mathcal{L}\{t^{k-1}\} = (k-1)!/s^{k} and the substitution rule L{eλtv(t)}(s)=V(s−λ)\mathcal{L}\{e^{\lambda t}v(t)\}(s) = V(s - \lambda) ((Arfken, Weber & Harris (2013), §20.8, Eq. (20.157), p. 1020)) we get L{tk−1eλt}=(k−1)! (s−λ)−k\mathcal{L}\{t^{k-1}e^{\lambda t}\} = (k-1)!\,(s-\lambda)^{-k}, which inverts each term. The functions so produced are precisely a basis of the solution space of Ly=0Ly = 0.

  4. Part 3. 1/p1/p is proper, so it is the transform of some kk by step 4; then F/p=L{k}L{f}F/p = \mathcal{L}\{k\}\mathcal{L}\{f\}, and rule 3 identifies the inverse transform as ∫0tk(t−τ)f(τ)dτ\int_0^t k(t-\tau)f(\tau)d\tau. To see that kk has the stated initial data, apply the subsidiary equation to the problem Lk=0Lk = 0 with those data: Q(s)Q(s) then reduces to its m=nm = n, j=n−1j = n-1 term, a0⋅s0⋅k(n−1)(0)=1a_0 \cdot s^0 \cdot k^{(n-1)}(0) = 1, so K(s)=1/p(s)K(s) = 1/p(s). Conversely a function with transform 1/p1/p is unique, so kk is that solution. Finally yforcedy_{\text{forced}} has n−1n-1 vanishing derivatives at 00, because differentiating ∫0tk(t−τ)f(τ)dτ\int_0^t k(t-\tau)f(\tau)d\tau j<nj < n times gives ∫0tk(j)(t−τ)f(τ) dτ\int_0^t k^{(j)}(t-\tau)f(\tau)\,d\tau plus terms containing k(i)(0)k^{(i)}(0) with i<j≤n−1i < j \le n-1, all zero; so the splitting in part 1 matches the initial data as claimed. □\square

Method(Solving a constant-coefficient initial-value problem by transform)AdaptedAdapted from Riley, Hobson & Bence (2006), §15.1.5, the Solution method, p. 503
  1. Transform the whole equation, using the derivative rule, and substitute the given values of y(0),y′(0),…y(0), y'(0), \dots as you go. The initial conditions enter here and are never fitted afterwards — the reason Riley, Hobson and Bence describe the method as giving the solution in one step instead of requiring a complementary function and a particular integral to be found separately ((Riley, Hobson & Bence (2006), §15.1.5, p. 501)).
  2. Solve the resulting algebraic equation for Y(s)Y(s). For a system, solve the simultaneous algebraic equations by elimination. The result is always a rational function of ss, possibly multiplied by factors e−bse^{-bs} if the forcing is switched on at times b>0b > 0.
  3. Put each rational factor into partial fractions (partial fractions). Factor the denominator first; a real quadratic factor with complex roots is best kept intact and handled by completing the square, s2+2αs+β2=(s+α)2+ω2s^2 + 2\alpha s + \beta^2 = (s+\alpha)^2 + \omega^2 with ω2=β2−α2\omega^2 = \beta^2 - \alpha^2, after which the numerator is arranged as A(s+α)+BωA(s+\alpha) + B\omega so that the two standard pairs e−αtcos⁡ωte^{-\alpha t}\cos\omega t and e−αtsin⁡ωte^{-\alpha t}\sin\omega t apply. Arfken's damped-oscillator example is this step done once ((Arfken, Weber & Harris (2013), §20.8, Example 20.8.5, p. 1021)).
  4. Invert term by term from a table ((Riley, Hobson & Bence (2006), §13.2, Table 13.1, p. 455)). A factor e−bse^{-bs} is removed last, by the shifting theorem: if L−1{Ψ(s)}=ψ(t)\mathcal{L}^{-1}\{\Psi(s)\} = \psi(t), then L−1{e−bsΨ(s)}=H(t−b) ψ(t−b)\mathcal{L}^{-1}\{e^{-bs}\Psi(s)\} = H(t-b)\,\psi(t-b). Where a factor of the transform has no convenient inverse, use the convolution rule instead and leave the answer as an integral.
  5. If the table fails, two further devices often rescue the inversion: differentiating a known transform with respect to a parameter, since L{(−t)nv(t)}(s)=V(n)(s)\mathcal{L}\{(-t)^n v(t)\}(s) = V^{(n)}(s) — Arfken's rule, restated in our convention ((Arfken, Weber & Harris (2013), §20.8, Eqs. (20.173)-(20.174), pp. 1024-1025)) — and in the last resort the Bromwich inversion integral v(t)=(2πi)−1∫α−i∞α+i∞estV(s) dsv(t) = (2\pi i)^{-1}\int_{\alpha - i\infty}^{\alpha+i\infty}e^{st}V(s)\,ds ((Strauss (2008), §12.5, Eq. (13), p. 354)), evaluated by residues as in the Laplace transform.
  6. Check. Verify the initial conditions directly on the answer; verify the differential equation at one convenient value of tt or symbolically; and check the limit s→∞s \to \infty of the subsidiary equation against y(0)y(0), since sY(s)→y(+0)sY(s) \to y(+0).

When to use it, and when not. The transform is the method of choice when the forcing is discontinuous, impulsive, or switched on at a later time, because a step or a delta transforms to something no more complicated than e−bs/se^{-bs}/s or e−bse^{-bs}, whereas handling them by undetermined coefficients requires splitting the time axis and matching at the junctions by hand. It is the wrong tool when the coefficients are not constant, when the data are given at two different points instead of all at t=0t = 0 (a boundary-value problem — use Green's functions), or when the forcing has no elementary transform.

Method(Switched and impulsive forcing)Original

Let LL be as above with n≥1n \ge 1, let k=L−1{1/p}k = \mathcal{L}^{-1}\{1/p\} be the impulse response, and let b>0b > 0. For zero initial data:

  1. Impulse. The problem Ly=c δ(t−b)Ly = c\,\delta(t-b) has transform Y(s)=c e−bs/p(s)Y(s) = c\,e^{-bs}/p(s), hence
y(t)=c H(t−b) k(t−b).y(t) = c\,H(t-b)\,k(t-b) .

So yy vanishes until the impulse arrives and then evolves as a free solution; y,y′,…,y(n−2)y, y', \dots, y^{(n-2)} are continuous at t=bt = b, while y(n−1)y^{(n-1)} jumps there by cc. Nothing but the jump distinguishes an impulse from a change of initial condition: an impulse of strength cc at time bb is the same as restarting the equation at t=bt = b with y(n−1)y^{(n-1)} increased by cc. 2. Step. The problem Ly=c H(t−b)Ly = c\,H(t-b) has Y(s)=c e−bs/(s p(s))Y(s) = c\,e^{-bs}/\bigl(s\,p(s)\bigr), hence

y(t)=c H(t−b) κ(t−b),κ(t)=∫0tk(τ) dτ,y(t) = c\,H(t-b)\,\kappa(t-b), \qquad \kappa(t) = \int_0^t k(\tau)\,d\tau ,

so the step response κ\kappa is the integral of the impulse response. Now y,y′,…,y(n−1)y, y', \dots, y^{(n-1)} are all continuous at t=bt = b and y(n)y^{(n)} jumps by cc. 3. Several pieces. Because the problem is linear, a forcing assembled from steps, impulses and ordinary pieces is handled term by term and the results added; the shifting theorem supplies one H(t−bi)H(t - b_i) per switch-on time.

Part 1 is to be read distributionally: δ\delta is not a function and yy is not a classical solution at t=bt = b (distributions). The content that survives in classical terms is exactly the jump statement, and that is how the formula is verified below. The remark after the proof records the n=2n = 2 case as Arfken gives it.

Idea of the proofOriginal

The transform turns "wait until time bb, then act" into a multiplication by e−bse^{-bs}, and multiplication is something an algebraic expression can absorb without any case distinction. So all three parts are the single observation that the forcing's transform factors as e−bse^{-bs} times something already inverted. The classical content — which derivative jumps and by how much — is then read off by integrating the differential equation across t=bt = b: only the top derivative can absorb a delta, so only it jumps, and the amount is the strength of the delta.

ProofOriginal
  1. Impulse. L{c δ(t−b)}=c e−bs\mathcal{L}\{c\,\delta(t-b)\} = c\,e^{-bs}, so the subsidiary equation with zero data gives Y=c e−bs/p(s)=c e−bsL{k}Y = c\,e^{-bs}/p(s) = c\,e^{-bs}\mathcal{L}\{k\}, and the shifting theorem (rule 2, available because b>0b>0) inverts this to c H(t−b)k(t−b)c\,H(t-b)k(t-b).

    For the jump statement, argue classically. On t<bt < b the function is 00 and on t>bt > b it is c k(t−b)c\,k(t-b), which solves Ly=0Ly = 0 there. Since k(0)=⋯=k(n−2)(0)=0k(0) = \dots = k^{(n-2)}(0) = 0 and k(n−1)(0)=1k^{(n-1)}(0) = 1, the one-sided limits at bb are

y(j)(b−)=0=y(j)(b+)  (j≤n−2),y(n−1)(b−)=0,y(n−1)(b+)=c,y^{(j)}(b^-) = 0 = y^{(j)}(b^+) \ \ (j \le n-2), \qquad y^{(n-1)}(b^-) = 0, \quad y^{(n-1)}(b^+) = c ,

which is continuity of the first n−1n-1 functions and a jump of cc in the last. Conversely, integrating Ly=c δ(t−b)Ly = c\,\delta(t-b) over (b−ε,b+ε)(b-\varepsilon, b+\varepsilon): the term y(n)y^{(n)} integrates to y(n−1)(b+ε)−y(n−1)(b−ε)y^{(n-1)}(b+\varepsilon) - y^{(n-1)}(b-\varepsilon), every lower term integrates to something tending to 00 with ε\varepsilon because y(j)y^{(j)} is bounded for j≤n−1j \le n-1, and the right-hand side integrates to cc. So the jump in y(n−1)y^{(n-1)} must be cc, and no lower derivative may jump, since a jump in y(j)y^{(j)} with j≤n−2j \le n-2 would make y(j+1)y^{(j+1)} contain a delta and y(n)y^{(n)} a derivative of a delta, which the right-hand side does not have.

  1. Step. L{c H(t−b)}=c e−bs/s\mathcal{L}\{c\,H(t-b)\} = c\,e^{-bs}/s, so Y=c e−bs/(s p(s))Y = c\,e^{-bs}/(s\,p(s)). By rule 1 read backwards — or by the convolution rule with L{1}=1/s\mathcal{L}\{1\} = 1/s — division of a transform by ss corresponds to integration from 00: L{∫0tk}=L{k}/s\mathcal{L}\{\int_0^t k\} = \mathcal{L}\{k\}/s, since κ′=k\kappa' = k and κ(0)=0\kappa(0) = 0 give L{k}=sL{κ}−0\mathcal{L}\{k\} = s\mathcal{L}\{\kappa\} - 0. Hence 1/(s p(s))=L{κ}1/(s\,p(s)) = \mathcal{L}\{\kappa\} and the shifting theorem finishes it. The continuity statement follows from part 1 by integration: κ(j)=k(j−1)\kappa^{(j)} = k^{(j-1)} for j≥1j \ge 1, so κ,…,κ(n−1)\kappa, \dots, \kappa^{(n-1)} all vanish at 00 and κ(n)(0)=k(n−1)(0)=1\kappa^{(n)}(0) = k^{(n-1)}(0) = 1.

  2. Several pieces. L\mathcal{L} and L−1\mathcal{L}^{-1} are linear, and so is LL; a finite sum of forcings therefore produces the sum of the responses. □\square

Remark(The second-order case, as Arfken reads it)AdaptedAdapted from Arfken, Weber & Harris (2013), §20.8, Example 20.8.4, pp. 1019-1020

Part 1 appears in the cited sources only in its second-order case, and Arfken reads it mechanically rather than algebraically. His operator is the bare L=m d2/dt2L = m\,d^2/dt^2 and his forcing a multiple of the delta, so the single jump the statement predicts is a jump in the velocity: the impulse transfers its strength in units of linear momentum to the particle, instantaneously, and after that the particle coasts. He then runs the identical computation for a ballistic galvanometer, where the deposit is of angular momentum and its size is proportional to the charge qq passed ((Arfken, Weber & Harris (2013), §20.8, Example 20.8.4, pp. 1019-1020)). Translating to the statement above: n=2n = 2, the derivative that jumps is y(n−1)=y′y^{(n-1)} = y', and the strength cc of the impulse is the transferred momentum divided by mm — with the one difference that Arfken delivers his kick at t=0t = 0, whereas the statement above keeps b>0b > 0 so that the shifting theorem can be used. The general-nn form of the statement — one impulse, one jump, in the top derivative only — is the handbook's extension of that reading, not Arfken's.

Remark(Limitations, and the small print)AdaptedAdapted from Arfken, Weber & Harris (2013), §20.8, pp. 1016, 1025-1026; Riley, Hobson & Bence (2006), §13.2, p. 454 and §13.2.1, pp. 455-456
  • Constant coefficients are essential. If a coefficient depends on tt the transform of the equation is no longer algebraic. Arfken's Example 20.8.7 shows what happens instead: Bessel's equation of order zero, written here as t w′′+w′+t w=0t\,w'' + w' + t\,w = 0, transforms — using also L{t v(t)}(s)=−V′(s)\mathcal{L}\{t\,v(t)\}(s) = -V'(s) — into the first-order differential equation (s2+1)W′(s)+s W(s)=0(s^2+1)W'(s) + s\,W(s) = 0 for the transform W=L{w}W = \mathcal{L}\{w\}, which happens to be solvable and yields W(s)=C(s2+1)−1/2W(s) = C(s^2+1)^{-1/2} ((Arfken, Weber & Harris (2013), §20.8, Example 20.8.7, pp. 1025-1026); Arfken writes the same calculation with his FF for ww and his ff for WW). He presents it as an interesting application of the transform-differentiation rule, and gives the general warning separately, where the derivative rules are set up, by pointing the reader to that very example for what may happen when the coefficients are not constant, and by locating the power of the transform in the collapse of a constant-coefficient equation to an algebraic one ((Arfken, Weber & Harris (2013), §20.8, p. 1016)). The further comment is ours and not his: the outcome here is a piece of luck — the transformed problem turned out easier than the original — and is not what to expect, since a variable coefficient in general trades one differential equation for another of no lower order.
  • The one-sided value v(+0)v(+0), not v(0)v(0). The derivative rule carries the limit from the right, because the transform integral starts at t=0t = 0. For a problem whose forcing switches on at t=0t=0 this matters: y(+0)y(+0) is the initial condition the transform sees, and a jump of the solution at the origin is invisible to it.
  • The region of convergence. Riley, Hobson and Bence state the derivative rules with the proviso s>0s > 0 ((Riley, Hobson & Bence (2006), §13.2.1, Eqs. (13.57)-(13.58), pp. 455-456)), an inequality that holds for the bounded and polynomially growing functions transformed in that subsection but is not sufficient in general: for v(t)=e2tv(t) = e^{2t} neither side of the first identity exists at s=1s = 1. Their own general discussion supplies the condition that is needed, namely that for each vv there is a number s0s_0 with the defining integral convergent for s>s0s > s_0 and divergent for s≤s0s \le s_0, and their table lists s0s_0 for every entry ((Riley, Hobson & Bence (2006), §13.2, p. 453 and Table 13.1, p. 455)). This handbook states the rule with Arfken's hypothesis — that the integrals do not diverge — and reads the inequality on ss off the table entry in each case. In practice no harm comes of it, because the final inversion is done by recognizing transforms and not by evaluating any integral at a particular ss.
  • Uniqueness of the inverse. Riley, Hobson and Bence say that the inverse transform may for every practical purpose be treated as unique, and attach the footnote that two functions which disagree at only finitely many isolated points share one transform ((Riley, Hobson & Bence (2006), §13.2, p. 454 and its footnote)). This is why the method is entitled to assert that a transform found in a table is the solution, and why the value of a switched solution exactly at the switching time is not determined by the transform.
  • What the method assumes about the answer. Step 1 of the proof presumes that yy and its derivatives have transforms. For a constant-coefficient problem this is harmless, since the solution exists by the constant-coefficient theory and is a combination of tjeλtt^je^{\lambda t} and of integrals of the forcing, all of exponential type if ff is; but the presumption is there, and strictly the transform method verifies a solution it has guessed rather than proving existence.
Example(A damped oscillator kicked twice: a switched step and an impulse)Original

Solve

y′′+2y′+5y=H(t−1)+3 δ(t−2),y(0)=y′(0)=0.y'' + 2y' + 5y = H(t-1) + 3\,\delta(t-2), \qquad y(0) = y'(0) = 0 .

Physically: an oscillator with natural frequency 5\sqrt5 and damping 22, at rest, has a constant force switched on at t=1t = 1 and receives a sharp blow of strength 33 at t=2t = 2.

1. Transform (step 1). With zero initial data the polynomial QQ vanishes, so p(s)=s2+2s+5p(s) = s^2 + 2s + 5 and

(s2+2s+5) Y(s)=e−ss+3e−2s,Y(s)=e−s 1s(s2+2s+5)⏟=G(s)+3e−2s1s2+2s+5⏟=K(s).(s^2+2s+5)\,Y(s) = \frac{e^{-s}}{s} + 3e^{-2s} , \qquad Y(s) = e^{-s}\,\underbrace{\frac{1}{s(s^2+2s+5)}}_{= G(s)} + 3e^{-2s}\underbrace{\frac{1}{s^2+2s+5}}_{= K(s)} .

2. Partial fractions and completing the square (steps 2-3). Write G(s)=A/s+(Bs+C)/(s2+2s+5)G(s) = A/s + (Bs+C)/(s^2+2s+5). Multiplying by s(s2+2s+5)s(s^2+2s+5),

1=A(s2+2s+5)+s(Bs+C).1 = A(s^2+2s+5) + s(Bs + C) .

Setting s=0s = 0 gives A=1/5A = 1/5. Comparing coefficients of s2s^2 gives A+B=0A + B = 0, so B=−1/5B = -1/5; comparing coefficients of ss gives 2A+C=02A + C = 0, so C=−2/5C = -2/5. Hence

G(s)=15[1s−s+2s2+2s+5].G(s) = \frac15\left[\frac1s - \frac{s+2}{s^2+2s+5}\right] .

Completing the square, s2+2s+5=(s+1)2+4s^2 + 2s + 5 = (s+1)^2 + 4, so ω=2\omega = 2 and the numerator is arranged as s+2=(s+1)+12⋅2s + 2 = (s+1) + \tfrac12 \cdot 2:

s+2(s+1)2+4=s+1(s+1)2+4+12⋅2(s+1)2+4.\frac{s+2}{(s+1)^2+4} = \frac{s+1}{(s+1)^2+4} + \frac12\cdot\frac{2}{(s+1)^2+4} .

3. Invert (step 4). From the standard pairs e−αtcos⁡ωt↔(s+α)/((s+α)2+ω2)e^{-\alpha t}\cos\omega t \leftrightarrow (s+\alpha)/((s+\alpha)^2+\omega^2) and e−αtsin⁡ωt↔ω/((s+α)2+ω2)e^{-\alpha t}\sin\omega t \leftrightarrow \omega/((s+\alpha)^2+\omega^2) with α=1\alpha = 1, ω=2\omega = 2,

k(t)=L−1{K}=12e−tsin⁡2t,g(t)=L−1{G}=15[1−e−t(cos⁡2t+12sin⁡2t)].k(t) = \mathcal{L}^{-1}\{K\} = \tfrac12 e^{-t}\sin 2t , \qquad g(t) = \mathcal{L}^{-1}\{G\} = \tfrac15\Bigl[1 - e^{-t}\bigl(\cos 2t + \tfrac12 \sin 2t\bigr)\Bigr] .

Here kk is the impulse response and gg the step response, and the general statement κ′=k\kappa' = k is visible: differentiating gg,

g′(t)=15e−t[(cos⁡2t+12sin⁡2t)−(−2sin⁡2t+cos⁡2t)]=15e−t⋅52sin⁡2t=k(t).g'(t) = \tfrac15 e^{-t}\Bigl[\bigl(\cos 2t + \tfrac12\sin 2t\bigr) - \bigl(-2\sin 2t + \cos 2t\bigr)\Bigr] = \tfrac15 e^{-t}\cdot\tfrac52\sin 2t = k(t) .

Removing the exponential factors by the shifting theorem,

  y(t)=H(t−1) g(t−1)+3 H(t−2) k(t−2)  \boxed{\;y(t) = H(t-1)\,g(t-1) + 3\,H(t-2)\,k(t-2)\;}

that is, y≡0y \equiv 0 on [0,1][0,1]; y(t)=g(t−1)y(t) = g(t-1) on [1,2][1,2]; and y(t)=g(t−1)+3k(t−2)y(t) = g(t-1) + 3k(t-2) for t≥2t \ge 2.

4. Checks (step 6). y(0)=y′(0)=0y(0) = y'(0) = 0 because nothing happens before t=1t=1. At the switch-on time t=1t = 1: g(0)=15[1−1]=0g(0) = \tfrac15[1 - 1] = 0 and g′(0)=k(0)=0g'(0) = k(0) = 0, so yy and y′y' are continuous there and only y′′y'' jumps, by 11 — which is part 2 of the statement with n=2n = 2. At the impulse time t=2t = 2: k(0)=0k(0) = 0 but k′(0)=12(2)=1k'(0) = \tfrac12(2) = 1, so yy is continuous while y′y' jumps by 3⋅1=33 \cdot 1 = 3 — part 1 of the statement. And as t→∞t \to \infty all the exponentials die and y→15y \to \tfrac15, which is the static response 1/p(0)=1/51/p(0) = 1/5 to a constant force of 11, as it must be.

5. Numbers. At t=3t = 3, two units after the step and one after the blow,

y(3)=g(2)+3k(1)=15[1−e−2(cos⁡4+12sin⁡4)]+32e−1sin⁡2.y(3) = g(2) + 3k(1) = \tfrac15\bigl[1 - e^{-2}(\cos 4 + \tfrac12 \sin 4)\bigr] + \tfrac32 e^{-1}\sin 2 .

With cos⁡4=−0.6536436\cos 4 = -0.6536436, sin⁡4=−0.7568025\sin 4 = -0.7568025, e−2=0.1353353e^{-2} = 0.1353353, sin⁡2=0.9092974\sin 2 = 0.9092974 and e−1=0.3678794e^{-1} = 0.3678794,

g(2)=0.2279344,3k(1)=0.5017677,y(3)=0.7297022.g(2) = 0.2279344 , \qquad 3k(1) = 0.5017677 , \qquad y(3) = 0.7297022 .

Differentiating gives y′(t)=H(t−1)k(t−1)+3H(t−2)k′(t−2)y'(t) = H(t-1)k(t-1) + 3H(t-2)k'(t-2) with k′(t)=12e−t(2cos⁡2t−sin⁡2t)k'(t) = \tfrac12 e^{-t}(2\cos 2t - \sin 2t), so

y′(3)=k(2)+3k′(1)=−0.0512110−0.9610433=−1.0122544:y'(3) = k(2) + 3k'(1) = -0.0512110 - 0.9610433 = -1.0122544 :

three units of time in, the blow has pushed the oscillator past its static level and it is on its way back down. Integrating the equation numerically from t=0t = 0 to t=3t = 3, with the impulse imposed as a jump of 33 in y′y' at t=2t = 2, reproduces both numbers to seven decimals.

6. What the transform saved. Done by undetermined coefficients, this problem is three separate problems on [0,1][0,1], [1,2][1,2] and [2,∞)[2,\infty) with two matching conditions at each junction, one of which is a jump condition. The transform never splits the time axis: the three switch-on times appear as the three factors 1,e−s,e−2s1, e^{-s}, e^{-2s}, and the shifting theorem puts them back at the end.

Example(A repeated pole is resonance)Original

Solve y′′+ω2y=sin⁡ωty'' + \omega^2 y = \sin \omega t with y(0)=y′(0)=0y(0) = y'(0) = 0 and ω>0\omega > 0: an undamped oscillator driven exactly at its own frequency.

1. Transform. p(s)=s2+ω2p(s) = s^2 + \omega^2 and L{sin⁡ωt}=ω/(s2+ω2)\mathcal{L}\{\sin\omega t\} = \omega/(s^2+\omega^2), so

Y(s)=ω(s2+ω2)2.Y(s) = \frac{\omega}{(s^2+\omega^2)^2} .

The forcing has contributed poles at s=±iωs = \pm i\omega that the equation already had, so the poles are double. Partial fractions cannot reduce a double pole to simple ones, and that is the algebraic signature of resonance.

2. Invert using transform differentiation (step 5 of the method). From L{sin⁡ωt}=ω/(s2+ω2)\mathcal{L}\{\sin\omega t\} = \omega/(s^2+\omega^2) and L{cos⁡ωt}=s/(s2+ω2)\mathcal{L}\{\cos\omega t\} = s/(s^2+\omega^2), the rule L{t v(t)}(s)=−V′(s)\mathcal{L}\{t\,v(t)\}(s) = -V'(s) gives

L{tsin⁡ωt}=2ωs(s2+ω2)2,L{tcos⁡ωt}=−ddsss2+ω2=s2−ω2(s2+ω2)2.\mathcal{L}\{t\sin\omega t\} = \frac{2\omega s}{(s^2+\omega^2)^2} , \qquad \mathcal{L}\{t\cos\omega t\} = -\frac{d}{ds}\frac{s}{s^2+\omega^2} = \frac{s^2 - \omega^2}{(s^2+\omega^2)^2} .

Subtract the second from L{sin⁡ωt}\mathcal{L}\{\sin\omega t\} after matching coefficients:

ωs2+ω2−ω s2−ω2(s2+ω2)2=ω(s2+ω2)−ωs2+ω3(s2+ω2)2=2ω3(s2+ω2)2,\frac{\omega}{s^2+\omega^2} - \omega\,\frac{s^2-\omega^2}{(s^2+\omega^2)^2} = \frac{\omega(s^2+\omega^2) - \omega s^2 + \omega^3}{(s^2+\omega^2)^2} = \frac{2\omega^3}{(s^2+\omega^2)^2} ,

so Y(s)=ω(s2+ω2)2=12ω2[ωs2+ω2−ω s2−ω2(s2+ω2)2]Y(s) = \dfrac{\omega}{(s^2+\omega^2)^2} = \dfrac{1}{2\omega^2}\left[\dfrac{\omega}{s^2+\omega^2} - \omega\,\dfrac{s^2-\omega^2}{(s^2+\omega^2)^2}\right] and

y(t)=12ω2(sin⁡ωt−ωtcos⁡ωt).y(t) = \frac{1}{2\omega^2}\bigl(\sin\omega t - \omega t\cos\omega t\bigr) .

3. Checks. y(0)=0y(0) = 0; differentiating, y′=12ω2(ωcos⁡ωt−ωcos⁡ωt+ω2tsin⁡ωt)=12tsin⁡ωty' = \frac{1}{2\omega^2}(\omega\cos\omega t - \omega\cos\omega t + \omega^2 t \sin\omega t) = \tfrac12 t\sin\omega t, so y′(0)=0y'(0) = 0; differentiating again, y′′=12sin⁡ωt+12ωtcos⁡ωty'' = \tfrac12\sin\omega t + \tfrac12 \omega t\cos\omega t, and

y′′+ω2y=12sin⁡ωt+12ωtcos⁡ωt+12sin⁡ωt−12ωtcos⁡ωt=sin⁡ωt.y'' + \omega^2 y = \tfrac12 \sin\omega t + \tfrac12\omega t \cos\omega t + \tfrac12 \sin\omega t - \tfrac12 \omega t\cos\omega t = \sin\omega t .

4. A number. At ω=3\omega = 3, t=πt = \pi: sin⁡3π=0\sin 3\pi = 0 and cos⁡3π=−1\cos 3\pi = -1, so y(π)=118(0+3π)=π/6=0.5235988y(\pi) = \frac{1}{18}(0 + 3\pi) = \pi/6 = 0.5235988.

5. Reading it. The amplitude t2ω\frac{t}{2\omega} of the cos⁡ωt\cos\omega t term grows without bound: an undamped oscillator driven at resonance absorbs energy indefinitely. Compare the damped resonance of nonhomogeneous systems, where the same double pole occurs but sits strictly left of the imaginary axis, so the factor tt is beaten by the decaying exponential and the response stays bounded. The dividing line is exactly whether the repeated root of pp has negative real part, which is why a vanishing damping coefficient is a singular limit and not a small perturbation.

ApplicationOriginal
  • Circuit transients. A series RLCRLC loop driven by a switch obeys Lq¨+Rq˙+q/C=V(t)L\ddot q + R \dot q + q/C = V(t), and every practical VV — a switch closing, a square wave, a spark — is a combination of steps and impulses. The transform turns the whole analysis into algebra in ss: the impedance Ls+R+1/(Cs)Ls + R + 1/(Cs) is p(s)p(s) up to a factor, the transfer function 1/p(s)1/p(s) is what an engineer reads off a Bode plot, and the poles of 1/p1/p are the damped natural frequencies. That the same formalism describes the mechanical oscillator is the dictionary L↔mL \leftrightarrow m, R↔bR \leftrightarrow b, 1/C↔k1/C \leftrightarrow k that Arfken sets out as the RLCRLC analogue ((Arfken, Weber & Harris (2013), §20.8, Eqs. (20.162)-(20.163), p. 1022)).
  • Impulse response and transfer function as the language of linear systems. Because Y=F/pY = F/p for zero initial data, a linear time-invariant system is completely described either by k(t)k(t) in the time domain or by 1/p(s)1/p(s) in the transform domain, and measuring one determines the other. Stability is then a statement about where the poles are — all in the open left half plane — which is why control engineering is done with pole diagrams and why the transform variable ss carries the name complex frequency.
  • Instrument calibration from a kick. A ballistic galvanometer, a seismometer and an accelerometer are all read by delivering a brief pulse and recording the response. The statement above says why the recorded curve is the impulse response shifted to the arrival time, and why the area of the pulse — not its shape — sets the amplitude: the only thing a short pulse does is jump the highest derivative by its integral, exactly as Arfken's impulse transfers PP units of momentum ((Arfken, Weber & Harris (2013), §20.8, Example 20.8.4, p. 1019)).
  • Boundary data for partial differential equations. Transforming in tt reduces an evolution equation in one space variable to an ordinary differential equation in that variable, with the time-dependent boundary data appearing as transformed boundary values; inverting at the end often needs nothing but the shifting theorem. That is how a signal injected at the end of a transmission line comes out as H(t−x/v)E(0,t−x/v)H(t - x/v)E(0, t-x/v), a wave travelling at speed vv with nothing ahead of its front ((Arfken, Weber & Harris (2013), §20.8, Example 20.8.6, pp. 1023-1024); (Strauss (2008), §12.5, Examples 4 and 5, pp. 355-356)), and the same route handles the half-line heat equation with a prescribed surface temperature.
  • Why numerical work still needs the pole picture. A stiff constant-coefficient problem is one whose pp has roots of very different magnitude, and the stability of an explicit integrator is decided by where the products (step size) ×\times (root) lie. The transform is thus the analytic companion to stiffness: it says what the exact solution does, which is what a numerical method has to be asked to reproduce.