Skip to content
Date: Oct 2, 2026
Builds on Chapter 6.

Two tanks of brine are joined by two pipes. Tank 1 holds \(100\ \mathrm{L}\) and tank 2 holds \(50\ \mathrm{L}\) ; liquid is pumped from tank 1 to tank 2 at \(2\ \mathrm{L/min}\) and back at the same rate, and both tanks are stirred. If \(x_1\) and \(x_2\) are the masses of salt in the two tanks, the balance law of Example 1.3 applied to each tank gives

\[ x_1'=-0.02\,x_1+0.04\,x_2,\qquad x_2'=0.02\,x_1-0.04\,x_2 . \]

Neither equation can be solved alone, because each contains the other’s unknown. The system is linear, though, and written as \(\mathbf x'=A\mathbf x\) it invites a question from linear algebra: is there a way of looking at the state \(\mathbf x\) , a change of coordinates, in which the two equations come apart?

There usually is, and the coordinates are provided by the eigenvectors of \(A\) . Along an eigenvector the system behaves like the scalar equation \(y'=\lambda y\) . When there are not enough eigenvectors the idea needs repair, and the repair is an object that solves every constant-coefficient linear system at once: the exponential of a matrix. With it, the scalar formula \(y=e^{at}y_0\) becomes \(\mathbf x=e^{tA}\mathbf x_0\) , the theory of Chapters 4 and 5 becomes a special case, and the possible behaviours of two-dimensional systems can be listed completely.

7.1 Systems and their solution spaces

A first-order linear system for \(\mathbf x(t)\in\mathbb R^n\) has the form

\[ \mathbf x'=A(t)\,\mathbf x+\mathbf g(t), \]

where \(A(t)\) is an \(n\times n\) matrix and \(\mathbf g(t)\) a vector, both continuous on an interval \(I\) . It is homogeneous if \(\mathbf g=\mathbf 0\) . The scalar equation \(y''+p(t)y'+q(t)y=g(t)\) becomes such a system for \(\mathbf x=(y,y')\) :

\[ \mathbf x'=\begin{pmatrix}0&1\\-q(t)&-p(t)\end{pmatrix}\mathbf x+\begin{pmatrix}0\\g(t)\end{pmatrix}. \]

So everything proved about systems applies to second-order equations, and to equations of any order.

Theorem 7.1 (existence, uniqueness, and dimension). Let \(A(t)\) and \(\mathbf g(t)\) be continuous on an open interval \(I\) . For each \(t_0\in I\) and \(\mathbf x_0\in\mathbb R^n\) the problem \(\mathbf x'=A(t)\mathbf x+\mathbf g(t)\) , \(\mathbf x(t_0)=\mathbf x_0\) has exactly one solution, defined on all of \(I\) . The solutions of the homogeneous system \(\mathbf x'=A(t)\mathbf x\) form a vector space of dimension \(n\) .

Proof. The first statement is Theorem 3.11 applied to a linear right-hand side, as noted in Section 3.7. For the second, linear combinations of solutions of the homogeneous system are solutions, by linearity of differentiation and of multiplication by \(A(t)\) . Fix \(t_0\) and consider the map that sends a solution \(\mathbf x\) to its value \(\mathbf x(t_0)\in\mathbb R^n\) . It is linear. It is onto, because every initial vector has a solution. It is one-to-one, because a solution with \(\mathbf x(t_0)=\mathbf 0\) is the zero solution by uniqueness. So the solution space is isomorphic to \(\mathbb R^n\) .

Definition 7.2 (fundamental matrix). A fundamental matrix for \(\mathbf x'=A(t)\mathbf x\) on \(I\) is an \(n\times n\) matrix function \(\Phi(t)\) whose columns are \(n\) linearly independent solutions. Equivalently, \(\Phi'=A(t)\Phi\) and \(\Phi(t)\) is invertible.

If \(\Phi\) is a fundamental matrix, the general solution is \(\mathbf x(t)=\Phi(t)\mathbf c\) with \(\mathbf c\in\mathbb R^n\) , and the solution with \(\mathbf x(t_0)=\mathbf x_0\) is \(\Phi(t)\Phi(t_0)^{-1}\mathbf x_0\) . Invertibility at one time implies invertibility at every time: if \(\Phi(t_1)\mathbf c=\mathbf 0\) , the solution \(\Phi(t)\mathbf c\) vanishes at \(t_1\) and is therefore identically zero, which forces \(\mathbf c=\mathbf 0\) because the columns are independent. For the system coming from a second-order equation, \(\det\Phi\) is the Wronskian of Chapter 4, and this is Theorem 4.4 again.

7.2 The eigenvalue method

From here on \(A\) is a constant real matrix, so \(I=\mathbb R\) . By analogy with \(y'=ay\) , try \(\mathbf x(t)=e^{\lambda t}\mathbf v\) with a constant vector \(\mathbf v\ne\mathbf 0\) . Then \(\mathbf x'=\lambda e^{\lambda t}\mathbf v\) and \(A\mathbf x=e^{\lambda t}A\mathbf v\) , so \(\mathbf x\) is a solution exactly when

\[ A\mathbf v=\lambda\mathbf v , \]

that is, when \(\mathbf v\) is an eigenvector of \(A\) with eigenvalue \(\lambda\) . Such a solution moves along the line through \(\mathbf v\) , growing if \(\lambda>0\) and decaying if \(\lambda<0\) . The eigenvalues are the roots of the characteristic polynomial \(\det(A-\lambda I)\) ; for the matrix of a second-order equation with constant coefficients, that polynomial is the characteristic polynomial of Chapter 4.

Theorem 7.3 (solution by eigenvectors). Suppose the \(n\times n\) matrix \(A\) has \(n\) linearly independent eigenvectors \(\mathbf v_1,\dots,\mathbf v_n\) with eigenvalues \(\lambda_1,\dots,\lambda_n\) , not necessarily distinct. Then the general solution of \(\mathbf x'=A\mathbf x\) is

\[ \mathbf x(t)=c_1e^{\lambda_1t}\mathbf v_1+\dots+c_ne^{\lambda_nt}\mathbf v_n , \]

and the constants for the initial value \(\mathbf x(0)=\mathbf x_0\) are the coordinates of \(\mathbf x_0\) in the basis \(\mathbf v_1,\dots,\mathbf v_n\) .

Proof. Each term is a solution, so the sum is. At \(t=0\) the sum is \(c_1\mathbf v_1+\dots+c_n\mathbf v_n\) , and since the eigenvectors form a basis every \(\mathbf x_0\) is obtained for exactly one choice of constants. By uniqueness of solutions these are all the solutions.

The hypothesis holds whenever the \(n\) eigenvalues are distinct, because eigenvectors belonging to different eigenvalues are linearly independent, a fact from Linear Algebra, where eigenvectors are developed as the directions a linear map preserves (math.linear-algebra.eigenvector-as-steady-direction). It also holds for every symmetric matrix. It can fail when an eigenvalue is repeated; Section 7.3 deals with that.

Example 7.1: The two tanks

For the system that opened the chapter,

\[ A=\begin{pmatrix}-0.02&0.04\\0.02&-0.04\end{pmatrix},\qquad\det(A-\lambda I)=\lambda^2+0.06\,\lambda=\lambda(\lambda+0.06). \]

The eigenvalues are \(0\) and \(-0.06\) . For \(\lambda=0\) : \(A\mathbf v=\mathbf 0\) gives \(v_1=2v_2\) , so \(\mathbf v_1=(2,1)\) . For \(\lambda=-0.06\) : \((A+0.06I)\mathbf v=\mathbf 0\) reads \(0.04v_1+0.04v_2=0\) , so \(\mathbf v_2=(1,-1)\) . The general solution is

\[ \mathbf x(t)=c_1\begin{pmatrix}2\\1\end{pmatrix}+c_2e^{-0.06t}\begin{pmatrix}1\\-1\end{pmatrix}. \]

Suppose tank 1 starts with \(30\ \mathrm{kg}\) of salt and tank 2 with none. Then \(2c_1+c_2=30\) and \(c_1-c_2=0\) , so \(c_1=c_2=10\) :

\[ x_1(t)=20+10e^{-0.06t},\qquad x_2(t)=10-10e^{-0.06t}. \]

Each eigenvector has a meaning. The direction \((2,1)\) is the state in which both tanks have the same concentration, \(x_1/100=x_2/50\) ; it has eigenvalue \(0\) because nothing changes once the concentrations agree. The direction \((1,-1)\) is a transfer of salt from one tank to the other with the total fixed; such an imbalance decays at the rate \(0.06\) per minute. The total \(x_1+x_2=30\) is constant, as it must be in a closed system, and the limit state is \((20,10)\) , a concentration of \(0.2\ \mathrm{kg/L}\) in both tanks.

Example 7.2: Real eigenvalues of opposite sign

Solve \(\mathbf x'=A\mathbf x\) , \(\mathbf x(0)=(3,2)\) , for \(A=\begin{pmatrix}1&2\\3&2\end{pmatrix}\) .

The characteristic polynomial is \(\lambda^2-3\lambda-4=(\lambda-4)(\lambda+1)\) . For \(\lambda=4\) : \(-3v_1+2v_2=0\) , so \(\mathbf v_1=(2,3)\) . For \(\lambda=-1\) : \(2v_1+2v_2=0\) , so \(\mathbf v_2=(1,-1)\) . Matching the initial vector, \(2c_1+c_2=3\) and \(3c_1-c_2=2\) give \(c_1=c_2=1\) :

\[ \mathbf x(t)=e^{4t}\begin{pmatrix}2\\3\end{pmatrix}+e^{-t}\begin{pmatrix}1\\-1\end{pmatrix}. \]

As \(t\to\infty\) the second term dies and the solution runs off to infinity along the direction \((2,3)\) . Only initial vectors exactly on the line through \((1,-1)\) , those with \(c_1=0\) , give solutions that tend to the origin.

When \(A\) is real and has a complex eigenvalue \(\lambda=\alpha+i\beta\) with eigenvector \(\mathbf v=\mathbf a+i\mathbf b\) , the function \(e^{\lambda t}\mathbf v\) is a complex-valued solution. As in Section 4.3, because \(A\) is real its real and imaginary parts are real solutions.

Proposition 7.4 (real solutions from a complex eigenvalue). Let \(A\) be real with eigenvalue \(\alpha+i\beta\) , \(\beta\ne0\) , and eigenvector \(\mathbf a+i\mathbf b\) , where \(\mathbf a,\mathbf b\) are real vectors. Then

\[ \mathbf x_1(t)=e^{\alpha t}\bigl(\mathbf a\cos\beta t-\mathbf b\sin\beta t\bigr),\qquad\mathbf x_2(t)=e^{\alpha t}\bigl(\mathbf a\sin\beta t+\mathbf b\cos\beta t\bigr) \]

are linearly independent real solutions of \(\mathbf x'=A\mathbf x\) .

Proof. Expanding \(e^{(\alpha+i\beta)t}(\mathbf a+i\mathbf b)=e^{\alpha t}(\cos\beta t+i\sin\beta t)(\mathbf a+i\mathbf b)\) shows that \(\mathbf x_1\) and \(\mathbf x_2\) are its real and imaginary parts. If \(\mathbf z=\mathbf x_1+i\mathbf x_2\) satisfies \(\mathbf z'=A\mathbf z\) with \(A\) real, taking real and imaginary parts gives \(\mathbf x_1'=A\mathbf x_1\) and \(\mathbf x_2'=A\mathbf x_2\) . At \(t=0\) they equal \(\mathbf a\) and \(\mathbf b\) . These are independent: the eigenvectors \(\mathbf a+i\mathbf b\) and \(\mathbf a-i\mathbf b\) belong to the distinct eigenvalues \(\alpha\pm i\beta\) and so are independent over the complex numbers, and \(\mathbf a\) , \(\mathbf b\) span the same complex space as they do.

Example 7.3: A complex pair

Solve \(\mathbf x'=A\mathbf x\) , \(\mathbf x(0)=(5,1)\) , for \(A=\begin{pmatrix}1&-5\\1&-3\end{pmatrix}\) .

The characteristic polynomial is \(\lambda^2+2\lambda+2\) , with roots \(-1\pm i\) . For \(\lambda=-1+i\) the first row of \(A-\lambda I\) gives \((2-i)v_1-5v_2=0\) , satisfied by \(\mathbf v=(5,\,2-i)\) . So \(\mathbf a=(5,2)\) , \(\mathbf b=(0,-1)\) , \(\alpha=-1\) , \(\beta=1\) , and Proposition 7.4 gives

\[ \mathbf x_1=e^{-t}\begin{pmatrix}5\cos t\\2\cos t+\sin t\end{pmatrix},\qquad\mathbf x_2=e^{-t}\begin{pmatrix}5\sin t\\2\sin t-\cos t\end{pmatrix}. \]

The initial condition requires \(c_1\mathbf a+c_2\mathbf b=(5,1)\) : \(5c_1=5\) and \(2c_1-c_2=1\) , so \(c_1=c_2=1\) and

\[ \mathbf x(t)=e^{-t}\begin{pmatrix}5\cos t+5\sin t\\ \cos t+3\sin t\end{pmatrix}. \]

Both components oscillate with period \(2\pi\) inside the envelope \(e^{-t}\) : the point \(\mathbf x(t)\) spirals into the origin.

7.3 The matrix exponential

The scalar equation \(y'=ay\) has the solution \(e^{at}y_0\) , and \(e^{at}=\sum_{k\ge0}(at)^k/k!\) . The same series makes sense with a matrix in place of \(a\) .

Definition 7.5 (matrix exponential). For an \(n\times n\) matrix \(A\) and a real number \(t\) ,

\[ e^{tA}=\sum_{k=0}^{\infty}\frac{t^kA^k}{k!}=I+tA+\frac{t^2}{2}A^2+\frac{t^3}{6}A^3+\cdots \]

The series converges. If every entry of \(A\) is at most \(m\) in absolute value, an induction shows that every entry of \(A^k\) is at most \(n^{k-1}m^k\) , so each entry of the series is dominated by the convergent series \(\sum\lvert t\rvert^k(nm)^k/k!\) and converges absolutely (math.real-analysis.absolute-convergence). Each entry of \(e^{tA}\) is thus a power series in \(t\) with infinite radius of convergence, and may be differentiated term by term.

Theorem 7.6 (properties of the matrix exponential). Let \(A\) and \(B\) be \(n\times n\) matrices.

(a) \(\dfrac{d}{dt}e^{tA}=Ae^{tA}=e^{tA}A\) and \(e^{0A}=I\) .

(b) The unique solution of \(\mathbf x'=A\mathbf x\) , \(\mathbf x(0)=\mathbf x_0\) is \(\mathbf x(t)=e^{tA}\mathbf x_0\) . In particular \(e^{tA}\) is a fundamental matrix.

(c) \(e^{(s+t)A}=e^{sA}e^{tA}\) for all real \(s,t\) ; hence \(e^{tA}\) is invertible with inverse \(e^{-tA}\) .

(d) If \(AB=BA\) , then \(e^{t(A+B)}=e^{tA}e^{tB}\) .

(e) If \(A=PDP^{-1}\) , then \(e^{tA}=Pe^{tD}P^{-1}\) ; and if \(D\) is diagonal with entries \(\lambda_1,\dots,\lambda_n\) , then \(e^{tD}\) is diagonal with entries \(e^{\lambda_1t},\dots,e^{\lambda_nt}\) .

Proof. (a) Differentiating term by term, \(\dfrac{d}{dt}\sum_{k\ge0}\dfrac{t^kA^k}{k!}=\sum_{k\ge1}\dfrac{t^{k-1}A^k}{(k-1)!}\) , and a factor \(A\) can be taken out on either side.

(b) By (a), \(\mathbf x(t)=e^{tA}\mathbf x_0\) satisfies \(\mathbf x'=A\mathbf x\) and \(\mathbf x(0)=\mathbf x_0\) ; uniqueness is Theorem 7.1.

(c) Fix \(s\) . Both \(X(t)=e^{(s+t)A}\) and \(Y(t)=e^{tA}e^{sA}\) satisfy the matrix equation \(Z'=AZ\) with \(Z(0)=e^{sA}\) . Each column of \(Z\) solves an initial value problem for \(\mathbf x'=A\mathbf x\) , so by uniqueness \(X=Y\) ; and \(e^{tA}e^{sA}=e^{sA}e^{tA}\) since both are series in the single matrix \(A\) . Taking \(s=-t\) gives \(e^{-tA}e^{tA}=I\) .

(d) Since \(B\) commutes with \(A\) it commutes with every power of \(A\) , hence with \(e^{tA}\) . Then \(Z(t)=e^{tA}e^{tB}\) has \(Z'=Ae^{tA}e^{tB}+e^{tA}Be^{tB}=(A+B)Z\) and \(Z(0)=I\) . The matrix \(e^{t(A+B)}\) satisfies the same problem, and uniqueness gives equality.

(e) \((PDP^{-1})^k=PD^kP^{-1}\) , so the series for \(e^{tA}\) is \(P\bigl(\sum t^kD^k/k!\bigr)P^{-1}\) . Powers of a diagonal matrix are taken entry by entry.

Property (b) is the reason for the definition, and (e) connects it with Section 7.2: if the columns of \(P\) are eigenvectors, \(e^{tA}\mathbf x_0=Pe^{tD}P^{-1}\mathbf x_0\) is the formula of Theorem 7.3, with \(P^{-1}\mathbf x_0\) the vector of constants. The matrix \(e^{tA}\) is the fundamental matrix that equals \(I\) at \(t=0\) ; from any other fundamental matrix it is \(e^{tA}=\Phi(t)\Phi(0)^{-1}\) .

Three situations allow \(e^{tA}\) to be computed by hand.

\(A\) is diagonalizable. Use (e).

\(A\) is nilpotent, meaning \(N^k=0\) for some \(k\) . The series stops: \(e^{tN}=I+tN+\dots+\dfrac{t^{k-1}}{(k-1)!}N^{k-1}\) .

\(A=\lambda I+N\) with \(N\) nilpotent. Since \(\lambda I\) commutes with everything, (d) gives \(e^{tA}=e^{\lambda t}e^{tN}\) . Every \(2\times2\) matrix with a repeated eigenvalue \(\lambda\) is of this kind with \(N^2=0\) : its characteristic polynomial is \((r-\lambda)^2\) , and a matrix satisfies its own characteristic equation (the Cayley–Hamilton theorem; for a \(2\times2\) matrix this is a direct computation, Exercise 9), so \((A-\lambda I)^2=0\) . Therefore

\[ e^{tA}=e^{\lambda t}\bigl(I+t\,(A-\lambda I)\bigr)\qquad\text{for a }2\times2\text{ matrix with repeated eigenvalue }\lambda . \]

The factor \(t\) is the matrix counterpart of the solution \(te^{rt}\) in Theorem 4.6.

Example 7.4: The exponential of a diagonalizable matrix

For \(A=\begin{pmatrix}1&2\\3&2\end{pmatrix}\) of Example 7.2, put the eigenvectors in the columns of \(P\) :

\[ P=\begin{pmatrix}2&1\\3&-1\end{pmatrix},\qquad D=\begin{pmatrix}4&0\\0&-1\end{pmatrix},\qquad P^{-1}=\frac15\begin{pmatrix}1&1\\3&-2\end{pmatrix}. \]

Then

\[ e^{tA}=P\begin{pmatrix}e^{4t}&0\\0&e^{-t}\end{pmatrix}P^{-1}=\frac15\begin{pmatrix}2e^{4t}+3e^{-t}&2e^{4t}-2e^{-t}\\3e^{4t}-3e^{-t}&3e^{4t}+2e^{-t}\end{pmatrix}. \]

Checks: at \(t=0\) the matrix is \(I\) ; and applying it to \((3,2)\) gives \(\tfrac15\bigl(10e^{4t}+5e^{-t},\,15e^{4t}-5e^{-t}\bigr)\) , the solution of Example 7.2. Its determinant is \(e^{4t}e^{-t}=e^{3t}\) , the exponential of \(t\) times the trace of \(A\) .

Example 7.5: A matrix without enough eigenvectors

Let \(A=\begin{pmatrix}3&1\\-1&1\end{pmatrix}\) . The characteristic polynomial is \(\lambda^2-4\lambda+4=(\lambda-2)^2\) , and

\[ N=A-2I=\begin{pmatrix}1&1\\-1&-1\end{pmatrix},\qquad N^2=\begin{pmatrix}0&0\\0&0\end{pmatrix}. \]

The eigenvectors are the solutions of \(N\mathbf v=\mathbf 0\) , the multiples of \((1,-1)\) : a single direction, so Theorem 7.3 does not apply. The exponential is available regardless:

\[ e^{tA}=e^{2t}(I+tN)=e^{2t}\begin{pmatrix}1+t&t\\-t&1-t\end{pmatrix}. \]

The solution with \(\mathbf x(0)=(1,0)\) is the first column, \(e^{2t}(1+t,\,-t)\) . It is not of the form \(e^{\lambda t}\mathbf v\) ; the factor \(t\) rotates its direction gradually toward the eigenvector direction \((1,-1)\) as \(t\to\infty\) .

Common mistake. Treating \(e^{A+B}\) as \(e^{A}e^{B}\) for matrices that do not commute, or computing \(e^{A}\) by exponentiating the entries. For \(A=\begin{pmatrix}0&1\\0&0\end{pmatrix}\) and \(B=\begin{pmatrix}0&0\\1&0\end{pmatrix}\) both are nilpotent, so \(e^{A}=I+A\) and \(e^{B}=I+B\) , and

\[ e^{A}e^{B}=\begin{pmatrix}2&1\\1&1\end{pmatrix},\qquad e^{A+B}=\begin{pmatrix}\cosh1&\sinh1\\\sinh1&\cosh1\end{pmatrix}\approx\begin{pmatrix}1.543&1.175\\1.175&1.543\end{pmatrix}. \]

Here \(AB\ne BA\) , and hypothesis (d) of Theorem 7.6 fails. Exponentiating entries is wrong even for one matrix: the entrywise exponential of the zero matrix has every entry \(1\) , while \(e^{0}=I\) . A quick test of any proposed \(e^{tA}\) is that it must equal \(I\) at \(t=0\) and have derivative \(A\) there.

7.4 Phase portraits in the plane

For \(n=2\) a solution \(\mathbf x(t)=(x(t),y(t))\) traces a curve in the \((x,y)\) plane, the phase plane. The curve with its direction of travel is a trajectory, and the picture of all trajectories is the phase portrait. By uniqueness, distinct trajectories do not cross. The origin is always an equilibrium of \(\mathbf x'=A\mathbf x\) , and it is the only one when \(\det A\ne0\) .

The portrait is determined by the eigenvalues, and these by two numbers: the trace \(\tau=a_{11}+a_{22}\) and the determinant \(\Delta=\det A\) . The characteristic polynomial is \(\lambda^2-\tau\lambda+\Delta\) , so

\[ \lambda=\frac{\tau\pm\sqrt{\tau^2-4\Delta}}{2},\qquad\lambda_1+\lambda_2=\tau,\qquad\lambda_1\lambda_2=\Delta . \]

Theorem 7.7 (classification of planar linear systems). Let \(A\) be a real \(2\times2\) matrix with trace \(\tau\) and determinant \(\Delta\ne0\) .

(a) If \(\Delta<0\) , the eigenvalues are real of opposite sign: a saddle.

(b) If \(\Delta>0\) and \(\tau^2>4\Delta\) , the eigenvalues are real, distinct, and of the same sign as \(\tau\) : a node, stable if \(\tau<0\) and unstable if \(\tau>0\) .

(c) If \(\Delta>0\) and \(\tau^2<4\Delta\) , the eigenvalues are \(\tfrac12\tau\pm i\beta\) with \(\beta\ne0\) : a spiral, stable if \(\tau<0\) and unstable if \(\tau>0\) , and a centre if \(\tau=0\) .

(d) If \(\tau^2=4\Delta\) , there is a repeated real eigenvalue \(\tfrac12\tau\) : a degenerate node, stable if \(\tau<0\) and unstable if \(\tau>0\) .

Proof. The product of the eigenvalues is \(\Delta\) and their sum is \(\tau\) . If \(\Delta<0\) the discriminant \(\tau^2-4\Delta\) is positive, so the roots are real, and their product is negative. If \(\Delta>0\) and the discriminant is positive, the roots are real with positive product, hence of the same sign, which is the sign of their sum. If the discriminant is negative the roots are complex conjugates with real part \(\tau/2\) . If it is zero the two roots coincide.

What the names mean geometrically follows from the solution formulas.

At a saddle, \(\mathbf x=c_1e^{\lambda_1t}\mathbf v_1+c_2e^{\lambda_2t}\mathbf v_2\) with \(\lambda_1>0>\lambda_2\) . Trajectories on the line through \(\mathbf v_2\) approach the origin; all others are swept away, approaching the line through \(\mathbf v_1\) .

At a stable node, both exponentials decay, and the one with the eigenvalue nearer zero decays more slowly. So every trajectory approaches the origin, and all except those on the fast eigenvector line arrive tangent to the slow eigenvector.

At a spiral, Proposition 7.4 shows rotation with period \(2\pi/\beta\) combined with growth or decay at the rate \(\tau/2\) . At a centre the trajectories are closed curves, ellipses, and every solution is periodic. The sense of rotation is found by evaluating \(A\mathbf x\) at one point: at \((1,0)\) the velocity is the first column of \(A\) , so the rotation is counterclockwise if \(a_{21}>0\) .

At a degenerate node with only one eigenvector direction, as in Example 7.5, every trajectory is tangent to that direction at the origin.

Six small phase portraits arranged in two rows: a saddle with trajectories approaching along one dashed line and leaving along another; a stable node and an unstable node with curved trajectories tangent to a dashed eigenvector line at the origin; an inward spiral; nested ellipses around a centre; and a degenerate node with all trajectories tangent to a single dashed line.
Figure 7.1. The phase portraits of planar linear systems by eigenvalue type. Dashed lines are eigenvector directions. At a node the trajectories hug the eigenvector with the eigenvalue nearer zero as they pass the origin; with complex eigenvalues there are no real eigenvector lines and the trajectories turn.
The plane of trace and determinant divided by the horizontal axis and a parabola into regions labelled saddles, stable and unstable nodes, spiral sinks and sources, with centres on the positive vertical axis; a horizontal arrow at determinant 4 marks the damped oscillator moving left through four values of the damping constant.
Figure 7.2. Trace and determinant locate a planar linear system among the types of Theorem 7.7. The marked path is the damped oscillator of Example 4.3: increasing the damping moves it from a centre through spiral sinks to nodes, crossing the parabola at critical damping.

For stability the essential information is the sign of the real parts.

Theorem 7.8 (stability of linear systems). Let \(A\) be a real \(2\times2\) matrix. If both eigenvalues have negative real part, there are constants \(C\ge1\) and \(\alpha>0\) such that \(\lVert e^{tA}\mathbf x_0\rVert\le Ce^{-\alpha t}\lVert\mathbf x_0\rVert\) for all \(t\ge0\) and all \(\mathbf x_0\) ; in particular every solution tends to \(\mathbf 0\) . If some eigenvalue has positive real part, there are solutions that are unbounded as \(t\to\infty\) .

Proof. Choose \(\alpha>0\) smaller than the absolute value of each real part. By the three computations of Section 7.3, each entry of \(e^{tA}\) is a combination of functions \(e^{\lambda t}\) , \(te^{\lambda t}\) , \(e^{\rho t}\cos\beta t\) , \(e^{\rho t}\sin\beta t\) whose exponents have real part less than \(-\alpha\) . Each such function is bounded by a constant times \(e^{-\alpha t}\) on \(t\ge0\) ; for \(te^{\lambda t}\) this is because \(te^{(\lambda+\alpha)t}\) is bounded when \(\lambda+\alpha<0\) . So every entry of \(e^{tA}\) is at most a constant times \(e^{-\alpha t}\) , and the bound on \(\lVert e^{tA}\mathbf x_0\rVert\) follows. For the second statement, a real eigenvalue \(\lambda>0\) gives the solution \(e^{\lambda t}\mathbf v\) , and a complex eigenvalue with real part \(\rho>0\) gives the solutions of Proposition 7.4, whose size is \(e^{\rho t}\) times a nonzero periodic function.

The statement and its proof extend to \(n\times n\) matrices, where the entries of \(e^{tA}\) involve powers of \(t\) up to \(t^{n-1}\) ; the general case uses the Jordan form from linear algebra and is quoted here without proof. The rate \(\alpha\) must in general be strictly smaller than the decay rate of the eigenvalues, because of the factor \(t\) that a repeated eigenvalue produces. And the constant \(C\) cannot always be taken to be \(1\) : Exercise 6 exhibits a stable system in which the distance of a solution from the origin grows to several times its initial value before it decays.

Example 7.6: Classifying from trace and determinant

The matrix of Example 7.3, \(\begin{pmatrix}1&-5\\1&-3\end{pmatrix}\) : \(\tau=-2\) , \(\Delta=2\) , \(\tau^2-4\Delta=-4<0\) . A stable spiral; since \(a_{21}=1>0\) the rotation is counterclockwise.

The matrix \(\begin{pmatrix}-2&1\\1&-2\end{pmatrix}\) : \(\tau=-4\) , \(\Delta=3\) , \(\tau^2-4\Delta=4>0\) . A stable node with eigenvalues \(-1\) and \(-3\) and eigenvectors \((1,1)\) and \((1,-1)\) . Trajectories approach the origin tangent to the slow direction \((1,1)\) .

The undamped oscillator \(y''+4y=0\) , with matrix \(\begin{pmatrix}0&1\\-4&0\end{pmatrix}\) : \(\tau=0\) , \(\Delta=4\) . A centre. In the phase plane of position \(x=y\) and velocity \(v=y'\) the trajectories are the ellipses \(4x^2+v^2=\text{constant}\) , the level curves of the energy of Section 4.4, traversed clockwise because \(a_{21}<0\) .

The damped oscillator \(y''+cy'+4y=0\) : the matrix \(\begin{pmatrix}0&1\\-4&-c\end{pmatrix}\) has \(\tau=-c\) , \(\Delta=4\) . For \(0<c<4\) a stable spiral, for \(c=4\) a degenerate node, for \(c>4\) a stable node. Underdamped, critically damped, and overdamped are three positions on one horizontal line of Figure 7.2.

7.5 Forced systems

For the scalar equation \(y'=ay+g(t)\) the integrating factor \(e^{-at}\) gave \(y=e^{at}y_0+\int_0^te^{a(t-s)}g(s)\,ds\) . The matrix exponential makes the same argument work for systems.

Theorem 7.9 (variation of constants). Let \(A\) be a constant \(n\times n\) matrix and \(\mathbf g\) continuous on an interval containing \(0\) . The solution of \(\mathbf x'=A\mathbf x+\mathbf g(t)\) , \(\mathbf x(0)=\mathbf x_0\) is

\[ \mathbf x(t)=e^{tA}\mathbf x_0+\int_0^{t}e^{(t-s)A}\,\mathbf g(s)\,ds . \]

Proof. Write the unknown as \(\mathbf x(t)=e^{tA}\mathbf u(t)\) , which is possible because \(e^{tA}\) is invertible. Then \(\mathbf x'=Ae^{tA}\mathbf u+e^{tA}\mathbf u'=A\mathbf x+e^{tA}\mathbf u'\) , so the equation holds if and only if \(\mathbf u'=e^{-tA}\mathbf g(t)\) . With \(\mathbf u(0)=\mathbf x_0\) this gives \(\mathbf u(t)=\mathbf x_0+\int_0^te^{-sA}\mathbf g(s)\,ds\) . Multiply by \(e^{tA}\) and use \(e^{tA}e^{-sA}=e^{(t-s)A}\) .

The first term is the free response to the initial state, and the second is a convolution of the forcing with the matrix weight function \(e^{tA}\) . For the system of a second-order equation this formula contains variation of parameters (Theorem 5.3) and the convolution formula of Section 6.4.

Example 7.7: A constant input and its equilibrium

Solve \(\mathbf x'=A\mathbf x+\mathbf b\) , \(\mathbf x(0)=\mathbf 0\) , with \(A=\begin{pmatrix}-2&1\\1&-2\end{pmatrix}\) and \(\mathbf b=(3,0)\) .

Since \(\mathbf b\) is constant and \(A\) is invertible, the integral in Theorem 7.9 can be evaluated: \(\dfrac{d}{ds}\bigl(-e^{(t-s)A}A^{-1}\bigr)=e^{(t-s)A}\) , so

\[ \int_0^te^{(t-s)A}\mathbf b\,ds=\bigl(e^{tA}-I\bigr)A^{-1}\mathbf b=\mathbf x^{*}-e^{tA}\mathbf x^{*},\qquad\mathbf x^{*}=-A^{-1}\mathbf b . \]

Here \(A^{-1}=\dfrac13\begin{pmatrix}-2&-1\\-1&-2\end{pmatrix}\) , so \(\mathbf x^{*}=(2,1)\) ; this is the equilibrium, where \(A\mathbf x^{*}+\mathbf b=\mathbf 0\) . To apply \(e^{tA}\) to it, expand in the eigenvectors of Example 7.6: \((2,1)=\tfrac32(1,1)+\tfrac12(1,-1)\) , so \(e^{tA}\mathbf x^{*}=\tfrac32e^{-t}(1,1)+\tfrac12e^{-3t}(1,-1)\) . Therefore

\[ x_1(t)=2-\tfrac32e^{-t}-\tfrac12e^{-3t},\qquad x_2(t)=1-\tfrac32e^{-t}+\tfrac12e^{-3t}. \]

Check: \(\mathbf x(0)=(0,0)\) , and \(x_1'(0)=\tfrac32+\tfrac32=3\) , \(x_2'(0)=\tfrac32-\tfrac32=0\) , which is \(\mathbf b\) . The solution tends to \(\mathbf x^{*}=(2,1)\) , not to zero. A stable matrix \(A\) makes the system forget its initial state; it does not make a persistent input disappear.

The linear theory is now complete in the sense that every constant-coefficient linear system can be solved and its qualitative behaviour read from eigenvalues. Nonlinear systems cannot be solved in general. The final chapter shows how much of their behaviour is nevertheless decided by linear systems, one at each equilibrium.

Exercises

  1. Write \(y''+5y'+6y=0\) as a system \(\mathbf x'=A\mathbf x\) for \(\mathbf x=(y,y')\) , find the eigenvalues and eigenvectors of \(A\) , and explain why every eigenvector of such a matrix has the form \((1,\lambda)\) up to a multiple.

    Answer

    \(A=\begin{pmatrix}0&1\\-6&-5\end{pmatrix}\) , with characteristic polynomial \(\lambda^2+5\lambda+6\) , eigenvalues \(-2\) and \(-3\) , and eigenvectors \((1,-2)\) and \((1,-3)\) . The first row of \((A-\lambda I)\mathbf v=\mathbf 0\) is \(-\lambda v_1+v_2=0\) , so \(v_2=\lambda v_1\) : the second component is the derivative of the first, and \(e^{\lambda t}(1,\lambda)\) is \((y,y')\) for \(y=e^{\lambda t}\) .

  2. Solve \(\mathbf x'=\begin{pmatrix}4&-2\\1&1\end{pmatrix}\mathbf x\) with \(\mathbf x(0)=(1,2)\) by the eigenvalue method.

    Solution

    The characteristic polynomial is \(\det\begin{pmatrix}4-\lambda&-2\\1&1-\lambda\end{pmatrix}=\lambda^2-5\lambda+6=(\lambda-2)(\lambda-3)\) .

    For \(\lambda=2\) : \((A-2I)\mathbf v=\mathbf 0\) reads \(2v_1-2v_2=0\) , so \(\mathbf v_1=(1,1)\) . For \(\lambda=3\) : \(v_1-2v_2=0\) , so \(\mathbf v_2=(2,1)\) . The eigenvalues are distinct, so by Theorem 7.3 the general solution is

    \[ \mathbf x(t)=c_1e^{2t}\begin{pmatrix}1\\1\end{pmatrix}+c_2e^{3t}\begin{pmatrix}2\\1\end{pmatrix}. \]

    The initial vector gives \(c_1+2c_2=1\) and \(c_1+c_2=2\) . Subtracting, \(c_2=-1\) , and then \(c_1=3\) :

    \[ \mathbf x(t)=3e^{2t}\begin{pmatrix}1\\1\end{pmatrix}-e^{3t}\begin{pmatrix}2\\1\end{pmatrix}=\begin{pmatrix}3e^{2t}-2e^{3t}\\3e^{2t}-e^{3t}\end{pmatrix}. \]

    Check: \(\mathbf x(0)=(1,2)\) , and \(x_1'=6e^{2t}-6e^{3t}\) agrees with \(4x_1-2x_2=12e^{2t}-8e^{3t}-6e^{2t}+2e^{3t}\) . Both eigenvalues are positive, so the origin is an unstable node, and for large \(t\) the solution is dominated by the faster mode \(e^{3t}\) and runs off in the direction \(-(2,1)\) .

  3. For \(A=\begin{pmatrix}2&-5\\1&-2\end{pmatrix}\) find the real general solution of \(\mathbf x'=A\mathbf x\) , show that \(x^2-4xy+5y^2\) is constant along every solution, and describe the trajectories.

    Solution

    Trace \(0\) and determinant \(-4+5=1\) give the characteristic polynomial \(\lambda^2+1\) , so \(\lambda=\pm i\) : a centre. For \(\lambda=i\) the first row of \(A-iI\) gives \((2-i)v_1-5v_2=0\) , satisfied by \(\mathbf v=(5,\,2-i)=(5,2)+i\,(0,-1)\) . With \(\mathbf a=(5,2)\) , \(\mathbf b=(0,-1)\) , \(\alpha=0\) , \(\beta=1\) , Proposition 7.4 gives the real general solution

    \[ \mathbf x(t)=c_1\begin{pmatrix}5\cos t\\2\cos t+\sin t\end{pmatrix}+c_2\begin{pmatrix}5\sin t\\2\sin t-\cos t\end{pmatrix}. \]

    For the conserved quantity let \(Q=x^2-4xy+5y^2\) with \(x'=2x-5y\) , \(y'=x-2y\) . Then

    \[ Q'=(2x-4y)\,x'+(-4x+10y)\,y'=(2x-4y)(2x-5y)+(-4x+10y)(x-2y). \]

    Expanding, the first product is \(4x^2-18xy+20y^2\) and the second is \(-4x^2+18xy-20y^2\) , so \(Q'=0\) .

    Since \(Q=(x-2y)^2+y^2\) is positive except at the origin, its level sets \(Q=\text{constant}\) are ellipses centred at the origin, and each trajectory stays on one of them. Every solution is periodic with period \(2\pi\) . At \((1,0)\) the velocity is \((2,1)\) , with positive second component, so the ellipses are traversed counterclockwise.

  4. For \(A=\begin{pmatrix}0&-3\\3&0\end{pmatrix}\) compute \(A^2\) and use it to sum the series for \(e^{tA}\) in closed form, separating even and odd powers.

    Answer

    \(A^2=-9I\) , so \(A^{2k}=(-9)^kI\) and \(A^{2k+1}=(-9)^kA\) . The even powers sum to \(I\cos3t\) and the odd powers to \(\tfrac13A\sin3t\) : \(e^{tA}=\begin{pmatrix}\cos3t&-\sin3t\\\sin3t&\cos3t\end{pmatrix}\) , a rotation through the angle \(3t\) .

  5. Compute \(e^{tA}\) for the nilpotent matrix \(A=\begin{pmatrix}0&1&2\\0&0&3\\0&0&0\end{pmatrix}\) and use it to solve \(\mathbf x'=A\mathbf x\) , \(\mathbf x(0)=(0,0,1)\) .

    Answer

    \(A^2\) has the single nonzero entry \(3\) in position \((1,3)\) and \(A^3=0\) , so \(e^{tA}=I+tA+\tfrac12t^2A^2=\begin{pmatrix}1&t&2t+\tfrac32t^2\\0&1&3t\\0&0&1\end{pmatrix}\) . The solution is the third column, \(\mathbf x(t)=(2t+\tfrac32t^2,\,3t,\,1)\) .

  6. For \(A=\begin{pmatrix}-1&10\\0&-1\end{pmatrix}\) find \(e^{tA}\) and show that every solution of \(\mathbf x'=A\mathbf x\) tends to \(\mathbf 0\) . Then show that for \(\mathbf x(0)=(0,1)\) the distance \(\lVert\mathbf x(t)\rVert\) from the origin nevertheless grows before it decays, find the time and size of its maximum, and say what this implies about the constants \(C\) and \(\alpha\) in Theorem 7.8.

    Solution

    The matrix is \(A=-I+10N\) with \(N=\begin{pmatrix}0&1\\0&0\end{pmatrix}\) and \(N^2=0\) . Since \(-I\) commutes with \(N\) ,

    \[ e^{tA}=e^{-t}(I+10tN)=e^{-t}\begin{pmatrix}1&10t\\0&1\end{pmatrix}. \]

    A solution is \(\mathbf x(t)=e^{tA}\mathbf x_0=e^{-t}\bigl(x_{0,1}+10t\,x_{0,2},\ x_{0,2}\bigr)\) . Both \(e^{-t}\) and \(te^{-t}\) tend to \(0\) as \(t\to\infty\) , so every solution tends to \(\mathbf 0\) ; the repeated eigenvalue \(-1\) is negative, as Theorem 7.8 requires.

    For \(\mathbf x(0)=(0,1)\) : \(\mathbf x(t)=e^{-t}(10t,\,1)\) , so \(\lVert\mathbf x(t)\rVert^2=e^{-2t}(1+100t^2)\) and

    \[ \frac{d}{dt}\lVert\mathbf x(t)\rVert^2=e^{-2t}\bigl(200t-2-200t^2\bigr)=-2e^{-2t}\bigl(100t^2-100t+1\bigr). \]

    The quadratic has the roots \(t=\tfrac12\bigl(1\pm\sqrt{0.96}\bigr)\) , about \(0.010\) and \(0.990\) , and is negative between them. So the distance decreases very briefly, then increases until \(t\approx0.990\) , and decreases from then on. Its maximum is \(e^{-0.990}\sqrt{1+100\,(0.990)^2}\approx3.70\) : the solution starts at distance \(1\) from the origin and travels to distance \(3.70\) before it begins to return.

    In the bound \(\lVert e^{tA}\mathbf x_0\rVert\le Ce^{-\alpha t}\lVert\mathbf x_0\rVert\) this forces \(C\ge3.70\,e^{0.990\,\alpha}>3.70\) : the constant cannot be \(1\) . It also forces \(\alpha<1\) , because \(10t\,e^{-t}\) is not bounded by any multiple of \(e^{-t}\) ; any \(\alpha<1\) is possible, at the price of a larger \(C\) .

    Growth of one component is not enough for this conclusion. For \(\begin{pmatrix}-1&1\\0&-1\end{pmatrix}\) and the same start, the first component \(te^{-t}\) rises to \(e^{-1}\) , yet the distance \(e^{-t}\sqrt{1+t^2}\) decreases for all \(t>0\) , and there \(C=1\) works with \(\alpha=\tfrac12\) . Transient growth of the distance needs a sufficiently strong coupling between the variables.

  7. Classify the equilibrium at the origin for each matrix using trace and determinant, and state whether it is stable: (a) \(\begin{pmatrix}2&1\\1&2\end{pmatrix}\) ; (b) \(\begin{pmatrix}-1&-4\\1&-1\end{pmatrix}\) ; (c) \(\begin{pmatrix}1&3\\1&-1\end{pmatrix}\) ; (d) \(\begin{pmatrix}0&2\\-2&0\end{pmatrix}\) ; (e) \(\begin{pmatrix}-3&0\\0&-3\end{pmatrix}\) .

    Answer

    (a) \(\tau=4\) , \(\Delta=3\) , \(\tau^2-4\Delta=4>0\) : unstable node. (b) \(\tau=-2\) , \(\Delta=5\) , \(\tau^2-4\Delta=-16\) : stable spiral, counterclockwise. (c) \(\Delta=-4\) : saddle, unstable. (d) \(\tau=0\) , \(\Delta=4\) : centre, clockwise; solutions stay bounded but do not tend to the origin. (e) \(\tau=-6\) , \(\Delta=9\) , \(\tau^2=4\Delta\) : a degenerate stable node in which every direction is an eigenvector, so trajectories are straight rays into the origin.

  8. The damped oscillator \(y''+cy'+y=0\) with \(c\ge0\) corresponds to the matrix \(\begin{pmatrix}0&1\\-1&-c\end{pmatrix}\) . Classify the origin for every value of \(c\) and match each type with the terms undamped, underdamped, critically damped, and overdamped of Chapter 4.

    Answer

    \(\tau=-c\) , \(\Delta=1\) , \(\tau^2-4\Delta=c^2-4\) . For \(c=0\) a centre (undamped); for \(0<c<2\) a stable spiral (underdamped); for \(c=2\) a degenerate stable node (critically damped); for \(c>2\) a stable node (overdamped).

  9. Verify by direct multiplication that every \(2\times2\) matrix \(A\) with trace \(\tau\) and determinant \(\Delta\) satisfies \(A^2-\tau A+\Delta I=0\) , and deduce that if \(A\) has a repeated eigenvalue \(\lambda\) then \((A-\lambda I)^2=0\) .

    Hint

    Write \(A=\begin{pmatrix}a&b\\c&d\end{pmatrix}\) and compute \(A^2-(a+d)A+(ad-bc)I\) entry by entry. For a repeated eigenvalue, \(\tau=2\lambda\) and \(\Delta=\lambda^2\) .

  10. Prove from the series that if \(A\mathbf v=\lambda\mathbf v\) then \(e^{tA}\mathbf v=e^{\lambda t}\mathbf v\) , and use Theorem 7.6(c) to prove that two solutions of \(\mathbf x'=A\mathbf x\) that start at different points are at different points at every later time.

    Hint

    \(A^k\mathbf v=\lambda^k\mathbf v\) , so the series for \(e^{tA}\mathbf v\) is \(\bigl(\sum(\lambda t)^k/k!\bigr)\mathbf v\) . For the second part, \(e^{tA}\mathbf x_0=e^{tA}\mathbf z_0\) can be multiplied by \(e^{-tA}\) .

  11. A student computes \(e^{tA}\) for \(A=\begin{pmatrix}1&2\\0&3\end{pmatrix}\) as \(\begin{pmatrix}e^{t}&e^{2t}\\1&e^{3t}\end{pmatrix}\) by exponentiating each entry of \(tA\) . Give two quick tests that this answer fails, and compute the correct matrix.

    Solution

    Two tests. At \(t=0\) the proposed matrix is \(\begin{pmatrix}1&1\\1&1\end{pmatrix}\) , but \(e^{0A}=I\) . And each column of \(e^{tA}\) must be a solution of \(\mathbf x'=A\mathbf x\) : the first column \((e^{t},1)\) has derivative \((e^{t},0)\) , while \(A(e^{t},1)=(e^{t}+2,\,3)\) . Either test rejects the answer. The entry \(1\) in the lower left is suspicious on its own, because powers of an upper triangular matrix are upper triangular and so is \(e^{tA}\) .

    The correct matrix. \(A\) is triangular with eigenvalues \(1\) and \(3\) . For \(\lambda=1\) : \(2v_2=0\) , so \(\mathbf v_1=(1,0)\) . For \(\lambda=3\) : \(-2v_1+2v_2=0\) , so \(\mathbf v_2=(1,1)\) . With

    \[ P=\begin{pmatrix}1&1\\0&1\end{pmatrix},\qquad P^{-1}=\begin{pmatrix}1&-1\\0&1\end{pmatrix}, \]

    Theorem 7.6(e) gives

    \[ e^{tA}=P\begin{pmatrix}e^{t}&0\\0&e^{3t}\end{pmatrix}P^{-1}=\begin{pmatrix}e^{t}&e^{3t}-e^{t}\\0&e^{3t}\end{pmatrix}. \]

    This equals \(I\) at \(t=0\) , and its derivative at \(t=0\) is \(\begin{pmatrix}1&2\\0&3\end{pmatrix}=A\) . The off-diagonal entry \(e^{3t}-e^{t}\) is not the exponential of anything simple; it records how the second variable drives the first.

  12. Let \(A=\begin{pmatrix}0&1\\0&0\end{pmatrix}\) and \(B=\begin{pmatrix}0&0\\-1&0\end{pmatrix}\) . Compute \(e^{tA}e^{tB}\) and \(e^{t(A+B)}\) , show that they differ, and identify the hypothesis of Theorem 7.6 that is not satisfied.

    Solution

    Both matrices are nilpotent with square zero, so \(e^{tA}=I+tA\) and \(e^{tB}=I+tB\) :

    \[ e^{tA}e^{tB}=\begin{pmatrix}1&t\\0&1\end{pmatrix}\begin{pmatrix}1&0\\-t&1\end{pmatrix}=\begin{pmatrix}1-t^2&t\\-t&1\end{pmatrix}. \]

    The sum is \(J=A+B=\begin{pmatrix}0&1\\-1&0\end{pmatrix}\) , with \(J^2=-I\) . Separating even and odd powers in the series, \(e^{tJ}=I\cos t+J\sin t\) :

    \[ e^{t(A+B)}=\begin{pmatrix}\cos t&\sin t\\-\sin t&\cos t\end{pmatrix}. \]

    The two differ for every \(t\ne0\) : for instance the lower right entries are \(1\) and \(\cos t\) . They agree to first order in \(t\) , since both are \(I+t(A+B)+\dots\) , and differ at order \(t^2\) .

    Theorem 7.6(d) assumes \(AB=BA\) . Here \(AB=\begin{pmatrix}-1&0\\0&0\end{pmatrix}\) and \(BA=\begin{pmatrix}0&0\\0&-1\end{pmatrix}\) , which are different. The qualitative difference is large: \(e^{t(A+B)}\) is a rotation, bounded for all \(t\) , while the product of the two shears grows like \(t^2\) .

  13. Use Theorem 7.9 to solve \(\mathbf x'=\begin{pmatrix}0&1\\-1&0\end{pmatrix}\mathbf x+\begin{pmatrix}0\\1\end{pmatrix}\) with \(\mathbf x(0)=\mathbf 0\) , and check that the first component agrees with the solution of \(y''+y=1\) from rest found in Exercise 5.18.

    Solution

    Here \(A=J\) with \(J^2=-I\) , so as in Exercise 7.12, \(e^{tA}=\begin{pmatrix}\cos t&\sin t\\-\sin t&\cos t\end{pmatrix}\) . With \(\mathbf x_0=\mathbf 0\) and \(\mathbf g=(0,1)\) , Theorem 7.9 gives

    \[ \mathbf x(t)=\int_0^te^{(t-s)A}\begin{pmatrix}0\\1\end{pmatrix}ds=\int_0^t\begin{pmatrix}\sin(t-s)\\\cos(t-s)\end{pmatrix}ds , \]

    because \(e^{(t-s)A}\) applied to \((0,1)\) is its second column. Integrating, \(\int_0^t\sin(t-s)\,ds=1-\cos t\) and \(\int_0^t\cos(t-s)\,ds=\sin t\) , so

    \[ \mathbf x(t)=\begin{pmatrix}1-\cos t\\\sin t\end{pmatrix}. \]

    The system is the first-order form of \(y''+y=1\) with \(\mathbf x=(y,y')\) : the first equation is \(y'=x_2\) and the second is \(x_2'=-y+1\) . So \(y=1-\cos t\) , which is the result of Exercise 5.18 with \(\omega_0=1\) , and the second component is its derivative. In the phase plane the trajectory is the circle of radius \(1\) about the displaced equilibrium \((1,0)\) , starting at the origin.

  14. A drug moves between blood (\(x_1\) ) and tissue (\(x_2\) ) and is eliminated from the blood: \(x_1'=-3x_1+2x_2\) , \(x_2'=2x_1-2x_2\) , with time in hours. Find the eigenvalues, explain why both compartments eventually empty, and find the half-life of the slow phase of the decay.

    Answer

    \(\lambda^2+5\lambda+2=0\) , so \(\lambda=\tfrac12(-5\pm\sqrt{17})\approx-0.438\) and \(-4.562\) . Both are negative (\(\tau=-5<0\) , \(\Delta=2>0\) ), so every solution tends to \(\mathbf 0\) : the drug is eventually eliminated. After the fast mode has died, amounts decay like \(e^{-0.438t}\) , with half-life \(\ln2/0.438\approx1.58\) hours.

  15. Suppose every eigenvalue of the \(2\times2\) matrix \(A\) has negative real part and \(\mathbf b\) is a constant vector. Prove that \(A\) is invertible and that every solution of \(\mathbf x'=A\mathbf x+\mathbf b\) tends to \(-A^{-1}\mathbf b\) as \(t\to\infty\) .

    Solution

    The determinant of \(A\) is the product of its eigenvalues. If both are real and negative the product is positive; if they are a complex conjugate pair the product is the square of their modulus, also positive. So \(\det A\ne0\) and \(A\) is invertible.

    Let \(\mathbf x^{*}=-A^{-1}\mathbf b\) , so that \(A\mathbf x^{*}+\mathbf b=\mathbf 0\) : this is the unique equilibrium. Given any solution \(\mathbf x\) , put \(\mathbf y(t)=\mathbf x(t)-\mathbf x^{*}\) . Then

    \[ \mathbf y'=\mathbf x'=A\mathbf x+\mathbf b=A(\mathbf y+\mathbf x^{*})+\mathbf b=A\mathbf y+(A\mathbf x^{*}+\mathbf b)=A\mathbf y . \]

    So \(\mathbf y\) solves the homogeneous system, and \(\mathbf y(t)=e^{tA}\mathbf y(0)\) . By Theorem 7.8 there are constants \(C\) and \(\alpha>0\) with \(\lVert\mathbf y(t)\rVert\le Ce^{-\alpha t}\lVert\mathbf y(0)\rVert\) , which tends to \(0\) . Hence \(\mathbf x(t)\to\mathbf x^{*}=-A^{-1}\mathbf b\) , whatever the initial value. Shifting the origin to the equilibrium turns a constant forcing into no forcing at all.

  16. Verify that \(\Phi(t)=\begin{pmatrix}e^{t}&e^{-t}\\e^{t}&-e^{-t}\end{pmatrix}\) is a fundamental matrix for \(\mathbf x'=\begin{pmatrix}0&1\\1&0\end{pmatrix}\mathbf x\) , and compute \(e^{tA}=\Phi(t)\Phi(0)^{-1}\) in terms of hyperbolic functions.

    Answer

    The columns are \(e^{t}(1,1)\) and \(e^{-t}(1,-1)\) , eigen-solutions for \(\lambda=\pm1\) , and \(\det\Phi=-2\ne0\) . With \(\Phi(0)^{-1}=\tfrac12\begin{pmatrix}1&1\\1&-1\end{pmatrix}\) , \(e^{tA}=\begin{pmatrix}\cosh t&\sinh t\\\sinh t&\cosh t\end{pmatrix}\) .

  17. Let \(\Phi(t)\) be a fundamental matrix of a \(2\times2\) system \(\mathbf x'=A\mathbf x\) . Show that \(w(t)=\det\Phi(t)\) satisfies \(w'=(\operatorname{tr}A)\,w\) , and explain how this contains Abel’s formula of Chapter 4 for \(y''+py'+qy=0\) with constant \(p\) , \(q\) .

    Hint

    Differentiate \(\det\Phi=\phi_{11}\phi_{22}-\phi_{12}\phi_{21}\) and substitute \(\Phi'=A\Phi\) row by row; the terms with off-diagonal entries of \(A\) cancel. For the companion matrix of \(y''+py'+qy=0\) the trace is \(-p\) and \(\det\Phi\) is the Wronskian.

  18. A planar linear system has trajectories that approach the origin tangent to the line \(y=x\) , and the line \(y=-2x\) is also made up of trajectories, along which the decay is four times as fast. Construct a matrix \(A\) with these properties and verify its trace, determinant, and type.

    Solution

    Trajectories of a node approach the origin tangent to the eigenvector whose eigenvalue is nearer zero. So the slow eigenvector is \((1,1)\) , the direction of \(y=x\) , and the line \(y=-2x\) is the fast eigenvector direction \((1,-2)\) . Decay requires negative eigenvalues, and the fast one is four times the slow one. The simplest choice is \(\lambda_1=-1\) and \(\lambda_2=-4\) .

    Build \(A=PDP^{-1}\) with

    \[ P=\begin{pmatrix}1&1\\1&-2\end{pmatrix},\qquad D=\begin{pmatrix}-1&0\\0&-4\end{pmatrix},\qquad P^{-1}=\frac13\begin{pmatrix}2&1\\1&-1\end{pmatrix}. \]

    Then \(DP^{-1}=\dfrac13\begin{pmatrix}-2&-1\\-4&4\end{pmatrix}\) and

    \[ A=\frac13\begin{pmatrix}1&1\\1&-2\end{pmatrix}\begin{pmatrix}-2&-1\\-4&4\end{pmatrix}=\begin{pmatrix}-2&1\\2&-3\end{pmatrix}. \]

    Verification: \(A(1,1)=(-1,-1)\) and \(A(1,-2)=(-4,8)=-4\,(1,-2)\) . The trace is \(-5=\lambda_1+\lambda_2\) and the determinant is \(6-2=4=\lambda_1\lambda_2\) ; since \(\tau^2-4\Delta=9>0\) with \(\tau<0\) and \(\Delta>0\) , the origin is a stable node. Any matrix \(P\,\mathrm{diag}(-k,-4k)\,P^{-1}\) with \(k>0\) has the same phase portrait, traversed at a different speed.

Search knowledge base

Explore

On this page

Note