Chapter 1 · First-Order Ordinary Differential Equations

1.3 Systems of First-Order Equations

Vector equations $x'=f(t,x)$: reduction of order-$n$ equations, existence and uniqueness, fundamental matrices and Liouville's formula, $x'=Ax$ through eigenvalues and $e^{tA}$, variation of parameters, phase portraits and stability.

Most laws of nature couple several quantities at once: two competing species, the currents in an electrical network, the concentrations in a chain of chemical reactions, the position and velocity of a pendulum. Their mathematical form is a system $x'=f(t,x)$ for an unknown vector $x(t)\in\mathbb{R}^n$. Even a single equation of order $n$ is a system in disguise: the state of the pendulum $y''=-\sin y$ is not $y$ alone but the pair $(y,y')$. Written in vector notation, the whole theory of §1.1 — Picard iterates, Lipschitz conditions, maximal solutions, Gronwall's inequality — carries over almost word for word. For linear systems it gives far more: the solutions form an $n$-dimensional vector space, the determinant of a basis obeys an explicit formula (Liouville's formula), and when the coefficients are constant every solution is $e^{tA}x_0$, which can be computed from the eigenvalues and eigenvectors of $A$.

This section develops that theory and its geometry. For a $2\times2$ system the trace and the determinant alone decide whether the origin is a saddle, a node, a spiral or a centre and whether it is stable; linearisation carries the answer over to nonlinear systems near most equilibria. CSIR NET examines exactly these skills: computing $e^{tA}$ (above all with repeated or complex eigenvalues), evaluating Wronskians by Liouville's formula without solving, classifying critical points, deciding stability from eigenvalues, and solving non-homogeneous systems by variation of parameters. Chapter 2 rests on this section — a scalar linear equation of order $n$ is the special case of a companion matrix — and the small oscillations of Chapter 8 are linear systems with purely imaginary eigenvalues.

Notation. The independent variable is $t$; $x=(x_1,\dots,x_n)^{T}$ is a column vector in $\mathbb{R}^n$ (or $\mathbb{C}^n$). We fix a norm $\|\cdot\|$ on $\mathbb{R}^n$ (the Euclidean norm unless we say otherwise) and give an $n\times n$ matrix $A$ the induced norm $\|A\|=\max_{\|x\|=1}\|Ax\|$, so that $\|Ax\|\le\|A\|\,\|x\|$ and $\|AB\|\le\|A\|\,\|B\|$. Vector- and matrix-valued functions are differentiated and integrated entry by entry, and $\left\|\int_a^b v(s)\,ds\right\|\le\int_a^b\|v(s)\|\,ds$ for $a\le b$ (apply the triangle inequality to Riemann sums and pass to the limit).

Systems, Reduction of Order and Existence

📘 Definition 1.11 — First-order system, initial value problem, Lipschitz condition

Let $D\subseteq\mathbb{R}\times\mathbb{R}^n$ and let $f=(f_1,\dots,f_n)^T:D\to\mathbb{R}^n$ be continuous. The first-order system $x'=f(t,x)$ means $x_i'=f_i(t,x_1,\dots,x_n)$, $i=1,\dots,n$; with a condition $x(t_0)=x_0$, $(t_0,x_0)\in D$, it is an initial value problem. A solution on an interval $I\ni t_0$ is a differentiable $\varphi:I\to\mathbb{R}^n$ with $(t,\varphi(t))\in D$, $\varphi'(t)=f(t,\varphi(t))$ for all $t\in I$, and $\varphi(t_0)=x_0$.

$f$ is Lipschitz in $x$ on $D$ with constant $L$ if $\|f(t,x)-f(t,z)\|\le L\|x-z\|$ whenever $(t,x),(t,z)\in D$. The system is autonomous if $f$ does not depend on $t$, and linear if $f(t,x)=A(t)x+b(t)$ with an $n\times n$ matrix function $A$ and a vector function $b$; a linear system is homogeneous if $b\equiv0$.

All norms on $\mathbb{R}^n$ are equivalent, so whether $f$ is Lipschitz does not depend on the norm — only the value of the constant does.

📐 Theorem 1.17 — Reduction of an $n$th-order equation to a first-order system

Let $g$ be continuous on an open set $U\subseteq\mathbb{R}\times\mathbb{R}^n$. A function $y$ is a solution of

$$y^{(n)}=g\big(t,y,y',\dots,y^{(n-1)}\big),$$

$y^{(k)}(t_0)=\eta_k$ ($0\le k\le n-1$), if and only if $x=(y,y',\dots,y^{(n-1)})^T$ is a solution of the system

$$\begin{aligned}x_k'&=x_{k+1}\quad(1\le k\le n-1),\\x_n'&=g(t,x_1,\dots,x_n),\end{aligned}$$

with $x(t_0)=(\eta_0,\dots,\eta_{n-1})^T$, and every solution $x$ of the system has this form, with $y=x_1$. If $g$ is Lipschitz in its last $n$ variables with constant $L$, the right-hand side $F$ of the system is Lipschitz in $x$ (with constant $\max(1,L)$ in the max-norm). In particular the linear equation $y^{(n)}+a_{n-1}(t)y^{(n-1)}+\dots+a_0(t)y=r(t)$ becomes $x'=C(t)x+r(t)e_n$ with the companion matrix

$$C(t)=\begin{pmatrix}0&1&&\\&\ddots&\ddots&\\&&0&1\\-a_0&-a_1&\cdots&-a_{n-1}\end{pmatrix}.$$

Proof. If $y$ solves the equation, the components $x_k=y^{(k-1)}$ satisfy $x_k'=y^{(k)}=x_{k+1}$ for $k\lt n$ and $x_n'=y^{(n)}=g(t,x)$, with the stated initial values. Conversely, let $x$ solve the system. The equations $x_{k+1}=x_k'$ give, by induction on $k$, that $x_1$ is $k$ times differentiable with $x_1^{(k)}=x_{k+1}$ for $k=1,\dots,n-1$. Since $x_n=x_1^{(n-1)}$ is differentiable, $x_1$ is $n$ times differentiable, and the last equation reads $x_1^{(n)}=g(t,x_1,x_1',\dots,x_1^{(n-1)})$. For the Lipschitz statement use the max-norm $\|x\|_\infty=\max_k|x_k|$: the first $n-1$ components of $F(t,x)-F(t,z)$ are $x_{k+1}-z_{k+1}$, of absolute value at most $\|x-z\|_\infty$, and the last is $g(t,x)-g(t,z)$, of absolute value at most $L\|x-z\|_\infty$. ∎

The converse operation — eliminating unknowns from a system to obtain one higher-order equation — often works too (Exercise I.2), but not always in a way that determines every component: in the uncoupled system $x_1'=x_1$, $x_2'=x_2$ no equation for $x_1$ alone says anything about $x_2$. Systems are the more general and the more natural object.

📐 Theorem 1.18 — Existence and uniqueness for systems
  1. (Picard–Lindelöf.) Let $R=\{(t,x):|t-t_0|\le a,\ \|x-x_0\|\le b\}$, let $f$ be continuous on $R$ with $\|f\|\le M$ there, and Lipschitz in $x$ on $R$ with constant $L$. With $h=\min(a,b/M)$, the IVP $x'=f(t,x)$, $x(t_0)=x_0$ has exactly one solution on $[t_0-h,t_0+h]$; it is the uniform limit of the Picard iterates $\varphi_0=x_0$, $\varphi_{k+1}(t)=x_0+\int_{t_0}^tf(s,\varphi_k(s))\,ds$.
  2. (A sufficient condition.) If $D$ is convex in $x$ (it contains the segment joining $(t,x)$ and $(t,z)$ whenever it contains both points), the partial derivatives $\partial f_i/\partial x_j$ exist and are continuous on $D$, and the Jacobian matrix $J(t,x)=\left(\partial f_i/\partial x_j\right)$ satisfies $\|J(t,x)\|\le L$ on $D$, then $f$ is Lipschitz in $x$ on $D$ with constant $L$. If $f$ is $C^1$ on an open set $D$, it is locally Lipschitz in $x$.
  3. (Maximal solutions.) If $D$ is open and $f$ is continuous and locally Lipschitz in $x$, every IVP has a unique maximal solution, defined on an open interval $(\omega_-,\omega_+)$, and $(t,x(t))$ leaves every compact subset of $D$ as $t\to\omega_\pm$. For $D=(\alpha,\beta)\times\mathbb{R}^n$: either $\omega_+=\beta$ or $\|x(t)\|\to\infty$ as $t\to\omega_+^-$.
  4. (Global existence.) If $f$ is continuous on $[\alpha,\beta]\times\mathbb{R}^n$ and Lipschitz in $x$ there, every IVP with $t_0\in[\alpha,\beta]$ has a unique solution on all of $[\alpha,\beta]$. In particular, if $A(t)$ and $b(t)$ are continuous on an interval $J$, then for every $t_0\in J$ and $x_0\in\mathbb{R}^n$ the linear IVP $x'=A(t)x+b(t)$, $x(t_0)=x_0$ has a unique solution, and it is defined on the whole of $J$.

Proof. (1), (3) and the first half of (4) are Theorems 1.3, 1.5 and 1.6 with $|\cdot|$ replaced by $\|\cdot\|$. Those proofs used only the triangle inequality, the estimate $\left\|\int v\right\|\le\int\|v\|$, the Lipschitz condition, the Weierstrass M-test (applied component by component) and compactness — all valid for vector functions. For instance the key estimate of Step 2 becomes $$\|\varphi_{k+1}(t)-\varphi_k(t)\|\le\left|\int_{t_0}^t\big\|f(s,\varphi_k(s))-f(s,\varphi_{k-1}(s))\big\|\,ds\right|\le\frac{ML^k|t-t_0|^{k+1}}{(k+1)!},$$ word for word as before. Gronwall's inequality and the continuous-dependence estimate (Theorems 1.7, 1.8) also hold verbatim with norms.

(2) Fix $t$ and two points $x,z$ with $(t,x),(t,z)\in D$, and put $g(\sigma)=f\big(t,z+\sigma(x-z)\big)$ for $\sigma\in[0,1]$; the segment lies in $D$ by convexity. By the chain rule $g'(\sigma)=J\big(t,z+\sigma(x-z)\big)(x-z)$, which is continuous, so $$f(t,x)-f(t,z)=g(1)-g(0)=\int_0^1J\big(t,z+\sigma(x-z)\big)(x-z)\,d\sigma,$$ and therefore $\|f(t,x)-f(t,z)\|\le\int_0^1L\|x-z\|\,d\sigma=L\|x-z\|$. (We integrate instead of using the mean value theorem, which is false for vector-valued functions — see the pitfalls below.) Locally, a closed box around any point of an open $D$ is compact and convex, and the continuous function $\|J\|$ is bounded on it.

(4), linear case: the difference of the right-hand sides at $x$ and at $z$ is $A(t)(x-z)$, and $\|A(t)(x-z)\|\le\|A(t)\|\,\|x-z\|$. On every compact interval $K\subseteq J$ the continuous function $t\mapsto\|A(t)\|$ is bounded by some $L_K$, so the right-hand side is Lipschitz on $K\times\mathbb{R}^n$ and the first half of (4) gives a unique solution on $K$. Exhaust $J$ by an increasing sequence of compact intervals containing $t_0$; by uniqueness the solutions agree on overlaps and define one solution on $J$. ∎

Combining Theorem 1.17 with part (4): a linear equation of order $n$ with coefficients continuous on $J$ has, for any $n$ prescribed values $y(t_0),\dots,y^{(n-1)}(t_0)$, exactly one solution, and it lives on all of $J$. This is the starting point of Chapter 2.

✏️ Example 1 — A nonlinear oscillator that cannot blow up
Consider $y''+t^2y'+y^3=0$, $y(0)=1$, $y'(0)=0$. (a) Write it as a first-order system and show that it has a unique maximal solution. (b) Prove that the solution exists on $[0,\infty)$ and satisfies $|y(t)|\le1$ there.
System With $x_1=y$, $x_2=y'$ (Theorem 1.17): $$x_1'=x_2,\qquad x_2'=-t^2x_2-x_1^3,\qquad x(0)=(1,0)^T.$$ The right-hand side is a polynomial in $(t,x_1,x_2)$, hence $C^1$ on $\mathbb{R}\times\mathbb{R}^2$ and locally Lipschitz (Theorem 1.18(2)). By Theorem 1.18(3) there is a unique maximal solution on some $(\omega_-,\omega_+)\ni0$.
Why care The system is not globally Lipschitz (because of $x_1^3$), so Theorem 1.18(4) does not apply, and superlinear terms can cause blow-up ($y'=y^2$ in §1.1). We must rule it out by hand.
Energy Put $E(t)=\tfrac12x_2^2+\tfrac14x_1^4$. Then $$E'=x_2x_2'+x_1^3x_1'=x_2\left(-t^2x_2-x_1^3\right)+x_1^3x_2=-t^2x_2^2\le0.$$ So $E$ is non-increasing and, for $0\le t\lt\omega_+$, $E(t)\le E(0)=\tfrac14$. Hence $x_1^4\le1$ and $x_2^2\le\tfrac12$: $|y|\le1$, $|y'|\le\tfrac1{\sqrt2}$.
Conclude If $\omega_+$ were finite, the graph $(t,x(t))$, $0\le t\lt\omega_+$, would stay in the compact set $[0,\omega_+]\times[-1,1]\times\left[-\tfrac1{\sqrt2},\tfrac1{\sqrt2}\right]$, contradicting Theorem 1.18(3). So $\omega_+=\infty$. Physically, $t^2y'$ is a friction that removes energy. Backwards in time the same identity says that $E$ increases as $t$ decreases, and the argument gives no information about $\omega_-$.

Linear Systems: Fundamental Matrices and Liouville's Formula

From now on $A(t)$ is an $n\times n$ matrix function, continuous on an interval $J$ (real or complex entries), and we study the homogeneous system $$x'=A(t)x\qquad(t\in J).\tag{H}$$ By Theorem 1.18(4) every IVP for (H) has a unique solution on all of $J$.

📐 Theorem 1.19 — The solution space of a homogeneous linear system
The set $S$ of all solutions of (H) on $J$ is a vector space of dimension $n$. For every $t_0\in J$ the evaluation map $S\to\mathbb{R}^n$, $\varphi\mapsto\varphi(t_0)$, is a linear isomorphism. Consequently, solutions $\varphi_1,\dots,\varphi_k$ are linearly independent (as functions on $J$) if and only if the vectors $\varphi_1(t_0),\dots,\varphi_k(t_0)$ are linearly independent for one $t_0\in J$ — and then for every $t_0\in J$.

Proof. If $\varphi,\psi\in S$ and $c,d$ are scalars, then $(c\varphi+d\psi)'=cA\varphi+dA\psi=A(c\varphi+d\psi)$, so $S$ is a vector space, and evaluation at $t_0$ is linear. It is injective: if $\varphi(t_0)=0$, then $\varphi$ and the zero function solve the same IVP, so $\varphi\equiv0$ by uniqueness. It is surjective: for every $x_0$ the IVP with $x(t_0)=x_0$ has a solution on $J$. Hence $\dim S=n$. Finally, by injectivity, $\sum c_i\varphi_i\equiv0$ on $J$ if and only if $\sum c_i\varphi_i(t_0)=0$, so the linear relations among the functions and among their values at $t_0$ are the same. ∎

📘 Definition 1.12 — Fundamental set, fundamental matrix, Wronskian
A basis $\varphi_1,\dots,\varphi_n$ of the solution space $S$ is a fundamental set of solutions, and the matrix $\Phi(t)=\big[\varphi_1(t)\ \cdots\ \varphi_n(t)\big]$ having them as columns is a fundamental matrix of (H). A matrix function whose columns are solutions (not necessarily independent) is a matrix solution; it satisfies $\Phi'=A(t)\Phi$. For any $n$ vector functions their Wronskian is $W(t)=\det\big[\varphi_1(t)\ \cdots\ \varphi_n(t)\big]$. The fundamental matrix with $\Phi(t_0)=I$ is the principal fundamental matrix at $t_0$ (also called the state-transition matrix), written $\Phi(t,t_0)$.
📐 Theorem 1.20 — Liouville's formula (Abel–Jacobi–Liouville)
Let $A$ be continuous on $J$ and let $\Phi$ be a matrix solution of (H). Then for all $t,t_0\in J$ $$\det\Phi(t)=\det\Phi(t_0)\,\exp\!\left(\int_{t_0}^{t}\operatorname{tr}A(s)\,ds\right).$$ Consequently the Wronskian of $n$ solutions of (H) either vanishes nowhere on $J$ or vanishes identically, and $n$ solutions form a fundamental set if and only if their Wronskian is nonzero at one point of $J$.

Proof. Let $r_1,\dots,r_n$ be the rows of $\Phi(t)$. The determinant is linear in each row separately, so by the product rule its derivative is the sum of the $n$ determinants obtained by differentiating one row at a time: $$(\det\Phi)'=\sum_{i=1}^n\det\big(\Phi\text{ with }r_i\text{ replaced by }r_i'\big).$$ From $\Phi'=A\Phi$, the $i$-th row of $\Phi'$ is $r_i'=\sum_{k}a_{ik}r_k$. By linearity in row $i$, the $i$-th determinant equals $\sum_ka_{ik}\det\big(\Phi\text{ with }r_i\text{ replaced by }r_k\big)$. For $k\ne i$ that matrix has two equal rows and determinant $0$; for $k=i$ it is $\Phi$ itself. So the $i$-th term is $a_{ii}\det\Phi$, and $$W'=\Big(\sum_ia_{ii}(t)\Big)W=\operatorname{tr}A(t)\,W.$$ This scalar linear equation has the unique solution $W(t)=W(t_0)\exp\int_{t_0}^t\operatorname{tr}A$ (Theorem 1.10(2)). The exponential never vanishes, so $W$ vanishes at one point iff $W(t_0)=0$ iff $W\equiv0$; and by Theorem 1.19, $W(t_0)\ne0$ iff the columns are independent. ∎

Geometric meaning. $|W(t)|$ is the volume of the parallelepiped spanned by the solution vectors $\varphi_1(t),\dots,\varphi_n(t)$; the flow of (H) changes volumes at the relative rate $\operatorname{tr}A(t)$, the divergence of the vector field $x\mapsto A(t)x$. Interactive 1 below shows this for $n=2$. Abel's formula is the special case of a companion matrix: for $y''+p(t)y'+q(t)y=0$ the matrix is $\begin{pmatrix}0&1\\-q&-p\end{pmatrix}$ with trace $-p$, and the Wronskian $W=y_1y_2'-y_1'y_2$ of two solutions satisfies $W(t)=W(t_0)\exp\left(-\int_{t_0}^tp\right)$; for order $n$ the trace is $-a_{n-1}$.

📐 Theorem 1.21 — Fundamental matrices and the general solution
Let $\Phi$ be a fundamental matrix of (H) on $J$.
  1. A matrix function $\Psi$ is a fundamental matrix of (H) if and only if $\Psi(t)=\Phi(t)C$ for a constant nonsingular matrix $C$.
  2. Every solution of (H) is $x(t)=\Phi(t)c$ for a unique $c\in\mathbb{R}^n$, and the solution with $x(t_0)=x_0$ is $$x(t)=\Phi(t)\Phi(t_0)^{-1}x_0,\qquad\text{i.e.}\qquad\Phi(t,t_0)=\Phi(t)\Phi(t_0)^{-1}.$$
  3. $\Phi(t,s)\Phi(s,r)=\Phi(t,r)$ and $\Phi(t,s)^{-1}=\Phi(s,t)$ for all $t,s,r\in J$.

Proof. (1) If $\Psi=\Phi C$, then $\Psi'=\Phi'C=A\Phi C=A\Psi$ and $\det\Psi=\det\Phi\det C\ne0$. Conversely, let $\Psi$ be fundamental. By Liouville's formula $\Phi(t)$ is invertible for every $t$, and $\Phi^{-1}$ is differentiable (its entries are cofactors divided by $\det\Phi$). Put $C(t)=\Phi(t)^{-1}\Psi(t)$. Differentiating $\Phi C=\Psi$ gives $\Phi'C+\Phi C'=\Psi'$, i.e. $A\Phi C+\Phi C'=A\Psi=A\Phi C$, so $\Phi C'=0$ and $C'=0$: $C$ is constant, and nonsingular because $\det\Psi\ne0$. (2) $\Phi c=\sum c_i\varphi_i$, and the columns form a basis of $S$ (Theorem 1.19). The condition $\Phi(t_0)c=x_0$ gives $c=\Phi(t_0)^{-1}x_0$. (3) For fixed $s$ and $r$, both $t\mapsto\Phi(t,s)\Phi(s,r)$ and $t\mapsto\Phi(t,r)$ are matrix solutions with the value $\Phi(s,r)$ at $t=s$; by uniqueness (column by column) they coincide. Taking $r=t$ gives $\Phi(t,s)\Phi(s,t)=I$. ∎

✏️ Example 2 — A fundamental matrix for a variable-coefficient system
On $J=(0,\infty)$ let $A(t)=\begin{pmatrix}0&1\\-2/t^2&2/t\end{pmatrix}$. (a) Show that $\varphi_1=(t,1)^T$ and $\varphi_2=(t^2,2t)^T$ form a fundamental set of $x'=A(t)x$. (b) Check Liouville's formula. (c) Solve the IVP with $x(1)=(1,0)^T$. (d) Can $\varphi_1,\varphi_2$ be solutions on all of $\mathbb{R}$ of some system $x'=B(t)x$ with $B$ continuous on $\mathbb{R}$?
(a) $A\varphi_1=\left(1,\,-\tfrac2t+\tfrac2t\right)^T=(1,0)^T=\varphi_1'$ and $A\varphi_2=\left(2t,\,-2+4\right)^T=(2t,2)^T=\varphi_2'$. The Wronskian is $W(t)=\det\begin{pmatrix}t&t^2\\1&2t\end{pmatrix}=2t^2-t^2=t^2\ne0$ on $J$, so by Theorem 1.20 they form a fundamental set.
(b) $\operatorname{tr}A=\tfrac2t$, so Liouville predicts $W(t)=W(1)\exp\int_1^t\tfrac2s\,ds=1\cdot e^{2\log t}=t^2$. ✓
(c) $\Phi(1)=\begin{pmatrix}1&1\\1&2\end{pmatrix}$, $\Phi(1)^{-1}=\begin{pmatrix}2&-1\\-1&1\end{pmatrix}$, so $c=\Phi(1)^{-1}(1,0)^T=(2,-1)^T$ and $$x(t)=2\varphi_1-\varphi_2=\left(2t-t^2,\ 2-2t\right)^T.$$ Check: $x_1'=2-2t=x_2$, $x_2'=-2$ and $-\tfrac{2}{t^2}(2t-t^2)+\tfrac2t(2-2t)=-\tfrac4t+2+\tfrac4t-4=-2$; $x(1)=(1,0)^T$.
(d) No The Wronskian $t^2$ vanishes at $t=0$ but not identically. For a system with coefficients continuous on an interval containing $0$, Liouville's formula forbids this. So every such system must have a coefficient that is discontinuous at $0$ — as $A(t)$ is. ($A$ is the companion matrix of the Euler equation $t^2y''-2ty'+2y=0$, which has the solutions $t$ and $t^2$; see §2.1.)
Interactive 1 — Columns of a Fundamental Matrix, the Wronskian and Liouville's Formula

The red and blue arrows are the columns $\varphi_1(t)$ and $\varphi_2(t)$ of the principal fundamental matrix $\Phi(t)$ with $\Phi(0)=I$ (computed by RK4); their tips trace two solution curves. The purple parallelogram they span has signed area $W(t)=\det\Phi(t)$, and the dashed square is where it started. The readouts compare the computed area with Liouville's prediction $\exp\int_0^t\operatorname{tr}A$. Press Play or drag the time slider; the last mode has a time-dependent matrix.

—
Φ(t)—
W(t) = det Φ(t), computed—
Liouville: exp ∫₀ᵗ tr A—
|difference|—

Constant Coefficients: Eigenvalues and the Matrix Exponential

For the scalar equation $x'=ax$ the solution is $e^{ta}x_0$. For a constant matrix $A$ the same formula works once the exponential of a matrix is defined by its power series.

📘 Definition 1.13 — Matrix exponential
For a real or complex $n\times n$ matrix $M$, $$e^{M}=\sum_{k=0}^{\infty}\frac{M^k}{k!}=I+M+\frac{M^2}{2!}+\frac{M^3}{3!}+\cdots.$$ For a fixed matrix $A$ we consider the matrix function $t\mapsto e^{tA}$.
📐 Theorem 1.22 — Properties of the matrix exponential
Let $A,B,P$ be $n\times n$ matrices, $P$ invertible.
  1. The series converges absolutely for every $M$, with $\|e^M\|\le e^{\|M\|}$, and the series for $e^{tA}$ converges uniformly on bounded $t$-intervals.
  2. $\dfrac{d}{dt}e^{tA}=Ae^{tA}=e^{tA}A$. Hence $e^{tA}$ is the principal fundamental matrix at $0$ of $x'=Ax$, and the solution with $x(t_0)=x_0$ is $x(t)=e^{(t-t_0)A}x_0$.
  3. If $AB=BA$, then $e^{A+B}=e^Ae^B$. In particular $e^{(s+t)A}=e^{sA}e^{tA}$, $\left(e^{tA}\right)^{-1}=e^{-tA}$, and $e^{t(\lambda I+N)}=e^{\lambda t}e^{tN}$.
  4. $e^{P^{-1}AP}=P^{-1}e^AP$, and $e^{\operatorname{diag}(\lambda_1,\dots,\lambda_n)}=\operatorname{diag}(e^{\lambda_1},\dots,e^{\lambda_n})$.
  5. $\det e^{tA}=e^{t\operatorname{tr}A}$; in particular $e^{tA}$ is always invertible.

Proof. (1) $\|M^k/k!\|\le\|M\|^k/k!$ and $\sum_k\|M\|^k/k!=e^{\|M\|}$; since every entry of a matrix is bounded by its norm, every entry series converges absolutely. For $|t|\le T$, $\|t^kA^k/k!\|\le(T\|A\|)^k/k!$, a convergent numerical series, so the Weierstrass M-test gives uniform convergence. (2) The termwise derivative $\sum_{k\ge1}t^{k-1}A^k/(k-1)!=A\sum_{j\ge0}t^jA^j/j!$ is again a uniformly convergent series on bounded intervals, so termwise differentiation is legitimate and gives $Ae^{tA}$; $A$ commutes with every partial sum, hence with $e^{tA}$. Since $e^{0A}=I$, $e^{tA}$ is the principal fundamental matrix at $0$, and $x(t)=e^{(t-t_0)A}x_0$ satisfies $x'=Ax$, $x(t_0)=x_0$; uniqueness does the rest.

(3) Let $Y(t)=e^{t(A+B)}$ and $Z(t)=e^{tA}e^{tB}$. Because $B$ commutes with $A$, it commutes with every partial sum of $e^{tA}$ and hence with $e^{tA}$. So $Z'=Ae^{tA}e^{tB}+e^{tA}Be^{tB}=(A+B)Z$, and $Y'=(A+B)Y$; both equal $I$ at $t=0$, so $Y=Z$ by uniqueness, and $t=1$ gives the claim. The special cases use that $sA$ and $tA$, $A$ and $-A$, $\lambda I$ and $N$ commute. (4) $(P^{-1}AP)^k=P^{-1}A^kP$; sum the series. A diagonal matrix has diagonal powers. (5) Liouville's formula with $\Phi=e^{tA}$, $\det\Phi(0)=1$ and constant trace. ∎

📐 Theorem 1.23 — Eigenvector solutions; diagonalisable and complex cases
  1. If $Av=\lambda v$ with $v\ne0$ ($\lambda,v$ possibly complex), then $e^{tA}v=e^{\lambda t}v$, and $x(t)=e^{\lambda t}v$ is a solution of $x'=Ax$.
  2. If $A$ has $n$ linearly independent eigenvectors $v_1,\dots,v_n$ with eigenvalues $\lambda_1,\dots,\lambda_n$ (for instance if the eigenvalues are distinct), then $\Phi(t)=\big[e^{\lambda_1t}v_1\ \cdots\ e^{\lambda_nt}v_n\big]$ is a fundamental matrix and $$e^{tA}=P\operatorname{diag}\left(e^{\lambda_1t},\dots,e^{\lambda_nt}\right)P^{-1},\qquad P=[v_1\ \cdots\ v_n].$$
  3. If $A$ is real and $\lambda=\alpha+i\beta$ with $\beta\ne0$ is an eigenvalue with eigenvector $v=a+ib$ ($a,b\in\mathbb{R}^n$), then $$\operatorname{Re}\left(e^{\lambda t}v\right)=e^{\alpha t}(a\cos\beta t-b\sin\beta t),\qquad\operatorname{Im}\left(e^{\lambda t}v\right)=e^{\alpha t}(a\sin\beta t+b\cos\beta t)$$ are two linearly independent real solutions; together they replace the complex pair belonging to $\lambda$ and $\bar\lambda$.

Proof. (1) $A^kv=\lambda^kv$, so $e^{tA}v=\sum_k\frac{(t\lambda)^k}{k!}v=e^{\lambda t}v$, and $(e^{\lambda t}v)'=\lambda e^{\lambda t}v=e^{\lambda t}Av=A(e^{\lambda t}v)$. (2) The columns are solutions and $\Phi(0)=P$ is invertible, so $\Phi$ is fundamental (Theorem 1.20). Since $\Phi(t)=P\operatorname{diag}(e^{\lambda_it})$, Theorem 1.21(2) gives $e^{tA}=\Phi(t)\Phi(0)^{-1}=P\operatorname{diag}(e^{\lambda_it})P^{-1}$. (3) If $z$ is a complex solution of $x'=Ax$ with $A$ real, then taking real and imaginary parts of $z'=Az$ shows that $\operatorname{Re}z$ and $\operatorname{Im}z$ are real solutions. Their values at $t=0$ are $a$ and $b$. If $a,b$ were linearly dependent over $\mathbb{R}$, say $b=ca$ (the case $a=cb$ is the same), then $v=(1+ic)a$ and $a\ne0$ would be a real eigenvector for the non-real eigenvalue $\lambda$; but then $Aa$ is real while $\lambda a$ has imaginary part $\beta a\ne0$ — impossible. So the two solutions are independent (Theorem 1.19). ∎

When $A$ has too few eigenvectors, polynomial factors $t^k$ appear. The key is that $\lambda I$ commutes with everything.

📐 Theorem 1.24 — Repeated eigenvalues and generalised eigenvectors
Let $\lambda$ be an eigenvalue of $A$ of algebraic multiplicity $m$.
  1. The generalised eigenspace $G_\lambda=\ker(A-\lambda I)^m$ has dimension $m$ and is invariant under $A$, and $\mathbb{C}^n$ is the direct sum of the $G_\lambda$ over the distinct eigenvalues (primary decomposition).
  2. For every $v\in G_\lambda$ the series terminates: $$e^{tA}v=e^{\lambda t}\sum_{k=0}^{m-1}\frac{t^k}{k!}(A-\lambda I)^kv.$$
  3. Hence every solution of $x'=Ax$ is a finite sum of terms $t^ke^{\lambda t}u$ with $\lambda$ an eigenvalue, $u$ a constant vector and $0\le k\le m_\lambda-1$; terms with $k\ge1$ occur if and only if $A$ is not diagonalisable.
  4. ($2\times2$ formulas.) Let $n=2$ with eigenvalues $\lambda_1,\lambda_2$. Then $$\begin{aligned}\lambda_1=\lambda_2=\lambda:&\quad e^{tA}=e^{\lambda t}\big(I+t(A-\lambda I)\big);\\ \lambda_1\ne\lambda_2:&\quad e^{tA}=\frac{e^{\lambda_1t}(A-\lambda_2I)-e^{\lambda_2t}(A-\lambda_1I)}{\lambda_1-\lambda_2};\\ \lambda=\alpha\pm i\beta,\ \beta\gt0:&\quad e^{tA}=e^{\alpha t}\left(\cos\beta t\,I+\frac{\sin\beta t}{\beta}(A-\alpha I)\right).\end{aligned}$$

Proof. (1) is the primary decomposition theorem of linear algebra (treated in the CSIR NET Unit 1 course, in its chapter on canonical forms); we use it as stated. (2) $\lambda I$ commutes with $A-\lambda I$, so by Theorem 1.22(3) $e^{tA}=e^{t\lambda I}e^{t(A-\lambda I)}=e^{\lambda t}e^{t(A-\lambda I)}$. For $v\in G_\lambda$, $(A-\lambda I)^kv=0$ for $k\ge m$, so the series for $e^{t(A-\lambda I)}v$ stops after the term $k=m-1$. (3) Decompose $x_0=\sum_\lambda v_\lambda$ with $v_\lambda\in G_\lambda$ by (1), and apply (2) to each piece of $e^{tA}x_0=\sum_\lambda e^{tA}v_\lambda$. If $A$ is diagonalisable, each $G_\lambda$ is the eigenspace, $(A-\lambda I)v_\lambda=0$, and only $k=0$ occurs. If not, some $G_\lambda$ is larger than $\ker(A-\lambda I)$; choosing $v\in G_\lambda$ with $(A-\lambda I)v\ne0$, the solution $e^{tA}v$ contains the term $te^{\lambda t}(A-\lambda I)v\ne0$ (it is not cancelled, because $e^{-\lambda t}e^{tA}v$ is a polynomial in $t$ with that coefficient of $t$).

(4) By the Cayley–Hamilton theorem $(A-\lambda_1I)(A-\lambda_2I)=0$. Double eigenvalue: $(A-\lambda I)^2=0$, so every $v$ lies in $G_\lambda$ with $m=2$, and (2) gives the formula. Distinct eigenvalues: put $P_1=\frac{A-\lambda_2I}{\lambda_1-\lambda_2}$, $P_2=\frac{A-\lambda_1I}{\lambda_2-\lambda_1}$. Then $P_1+P_2=I$ and, by Cayley–Hamilton, $(A-\lambda_1I)P_1=0$, i.e. $AP_1=\lambda_1P_1$; likewise $AP_2=\lambda_2P_2$. By induction $A^k=\lambda_1^kP_1+\lambda_2^kP_2$, so $e^{tA}=e^{\lambda_1t}P_1+e^{\lambda_2t}P_2$, which is the formula (valid also for complex $\lambda_1\ne\lambda_2$). Complex eigenvalues: the characteristic polynomial is $(\mu-\alpha)^2+\beta^2$, so $N=A-\alpha I$ satisfies $N^2=-\beta^2I$. Then $N^{2j}=(-1)^j\beta^{2j}I$, $N^{2j+1}=(-1)^j\beta^{2j}N$, and $$e^{tN}=\sum_j\frac{(-1)^j(\beta t)^{2j}}{(2j)!}I+\sum_j\frac{(-1)^j\beta^{2j}t^{2j+1}}{(2j+1)!}N=\cos\beta t\,I+\frac{\sin\beta t}{\beta}N;$$ multiply by $e^{\alpha t}$ (Theorem 1.22(3)). ∎

🧭 Problem-solving strategy — computing $e^{tA}$ and solving $x'=Ax$
  1. Eigenvalues first. For $n=2$: $\lambda^2-\tau\lambda+\Delta=0$ with $\tau=\operatorname{tr}A$, $\Delta=\det A$.
  2. $2\times2$: use Theorem 1.24(4) directly — no eigenvectors needed. Check with $e^{0A}=I$ and $\det e^{tA}=e^{t\tau}$.
  3. Diagonalisable: for an IVP, expand $x_0=\sum c_iv_i$ in eigenvectors; then $x(t)=\sum c_ie^{\lambda_it}v_i$. For complex pairs take real and imaginary parts of one complex solution.
  4. Not diagonalisable: compute $G_\lambda=\ker(A-\lambda I)^{m}$, split $x_0$ into its components in the $G_\lambda$, and apply the finite sum of Theorem 1.24(2) to each.
  5. Interpolation alternative. $e^{tA}=r(A)$, where $r$ is the polynomial of degree $\lt n$ with $r^{(j)}(\lambda)=\frac{d^j}{d\lambda^j}e^{\lambda t}$ for $0\le j\lt m_\lambda$ at every eigenvalue. (By Theorem 1.24(2) and Taylor's formula both sides act in the same way on every $G_\lambda$.) For $2\times2$ with distinct eigenvalues: $e^{tA}=\alpha_0(t)I+\alpha_1(t)A$ with $\alpha_0+\alpha_1\lambda_i=e^{\lambda_it}$.
  6. Nilpotent pieces ($N^k=0$): $e^{tN}=I+tN+\dots+\frac{t^{k-1}}{(k-1)!}N^{k-1}$, and $e^{t(\lambda I+N)}=e^{\lambda t}e^{tN}$.
✏️ Example 3 — Distinct real eigenvalues
Solve $x'=Ax$, $x(0)=(3,1)^T$, with $A=\begin{pmatrix}1&2\\2&1\end{pmatrix}$, find $e^{tA}$, and describe the behaviour of the solutions.
Eigen-data $\tau=2$, $\Delta=-3$: $\lambda^2-2\lambda-3=(\lambda-3)(\lambda+1)$. Eigenvectors $v_1=(1,1)^T$ for $\lambda_1=3$ and $v_2=(1,-1)^T$ for $\lambda_2=-1$.
Solution $x_0=(3,1)^T=2v_1+v_2$, so $$x(t)=2e^{3t}\begin{pmatrix}1\\1\end{pmatrix}+e^{-t}\begin{pmatrix}1\\-1\end{pmatrix}=\begin{pmatrix}2e^{3t}+e^{-t}\\2e^{3t}-e^{-t}\end{pmatrix}.$$
$e^{tA}$ By Theorem 1.24(4), with $A+I=\begin{pmatrix}2&2\\2&2\end{pmatrix}$, $A-3I=\begin{pmatrix}-2&2\\2&-2\end{pmatrix}$: $$e^{tA}=\frac{e^{3t}(A+I)-e^{-t}(A-3I)}{4}=\frac12\begin{pmatrix}e^{3t}+e^{-t}&e^{3t}-e^{-t}\\e^{3t}-e^{-t}&e^{3t}+e^{-t}\end{pmatrix}.$$ Check: $\det e^{tA}=\tfrac14\left[(e^{3t}+e^{-t})^2-(e^{3t}-e^{-t})^2\right]=e^{2t}=e^{t\operatorname{tr}A}$, and $e^{tA}(3,1)^T$ reproduces $x(t)$.
Geometry $\Delta\lt0$: the origin is a saddle (Theorem 1.26 below). Solutions starting on the line $x_1=-x_2$ decay like $e^{-t}$; those on $x_1=x_2$ grow like $e^{3t}$; every other solution grows and becomes asymptotic to the direction $v_1$ as $t\to\infty$ and to $v_2$ as $t\to-\infty$. Try this matrix (the "saddle" preset) in Interactive 2.
✏️ Example 4 — A repeated eigenvalue in dimension three
Let $A=\begin{pmatrix}2&0&-1\\-1&2&1\\1&0&0\end{pmatrix}$. Solve $x'=Ax$, $x(0)=(1,0,0)^T$, and find $e^{tA}$.
Eigenvalues Expanding $\det(A-\lambda I)$ along the second column (entries $0,\,2-\lambda,\,0$): $$\det(A-\lambda I)=(2-\lambda)\det\begin{pmatrix}2-\lambda&-1\\1&-\lambda\end{pmatrix}=(2-\lambda)(\lambda^2-2\lambda+1)=(2-\lambda)(\lambda-1)^2.$$ So $\lambda=1$ with $m=2$ and $\lambda=2$ with $m=1$.
Not diagonalisable $A-I=\begin{pmatrix}1&0&-1\\-1&1&1\\1&0&-1\end{pmatrix}$ has rank $2$, so $\lambda=1$ has only the eigenvector $(1,0,1)^T$. Next $(A-I)^2=\begin{pmatrix}0&0&0\\-1&1&1\\0&0&0\end{pmatrix}$, so $G_1=\{-x_1+x_2+x_3=0\}=\operatorname{span}\{(1,1,0)^T,(1,0,1)^T\}$. For $\lambda=2$: $A-2I=\begin{pmatrix}0&0&-1\\-1&0&1\\1&0&-2\end{pmatrix}$ forces $x_3=0$, $x_1=0$: $G_2=\operatorname{span}\{(0,1,0)^T\}$.
Split and propagate $x_0=(1,0,0)^T=u+w$ with $u=(1,1,0)^T\in G_1$ and $w=(0,-1,0)^T\in G_2$. Since $(A-I)u=(1,0,1)^T$, Theorem 1.24(2) gives $e^{tA}u=e^{t}\big(u+t(A-I)u\big)=e^{t}(1+t,\,1,\,t)^T$, and $e^{tA}w=e^{2t}w$. Hence $$x(t)=\begin{pmatrix}(1+t)e^{t}\\e^{t}-e^{2t}\\te^{t}\end{pmatrix}.$$
Check and $e^{tA}$ $x_1'=(2+t)e^t=2x_1-x_3$; $x_2'=e^t-2e^{2t}=-x_1+2x_2+x_3$; $x_3'=(1+t)e^t=x_1$. Doing the same for $e_2$ and $e_3$ gives the other two columns: $$e^{tA}=\begin{pmatrix}(1+t)e^{t}&0&-te^{t}\\e^{t}-e^{2t}&e^{2t}&e^{2t}-e^{t}\\te^{t}&0&(1-t)e^{t}\end{pmatrix},$$ with $\det e^{tA}=e^{2t}\left[(1-t^2)+t^2\right]e^{2t}=e^{4t}=e^{t\operatorname{tr}A}$. ✓ The factor $t$ in $te^t$ is the fingerprint of the missing eigenvector.
✏️ Example 5 — Complex eigenvalues: a spiral
Let $A=\begin{pmatrix}1&-5\\1&-3\end{pmatrix}$. Find $e^{tA}$ and the solution with $x(0)=(1,0)^T$, both from the formula of Theorem 1.24(4) and from a complex eigenvector, and describe the trajectory.
Eigenvalues $\tau=-2$, $\Delta=-3+5=2$: $\lambda^2+2\lambda+2=0$, $\lambda=-1\pm i$, so $\alpha=-1$, $\beta=1$.
Formula $A-\alpha I=A+I=\begin{pmatrix}2&-5\\1&-2\end{pmatrix}$ and $$e^{tA}=e^{-t}\begin{pmatrix}\cos t+2\sin t&-5\sin t\\\sin t&\cos t-2\sin t\end{pmatrix},\qquad x(t)=e^{-t}\begin{pmatrix}\cos t+2\sin t\\\sin t\end{pmatrix}.$$
Eigenvector route $(A-(-1+i)I)v=0$: the first row $(2-i)v_1-5v_2=0$ gives $v=(2+i,\,1)^T$, so $a=(2,1)^T$, $b=(1,0)^T$. Theorem 1.23(3): $e^{-t}(a\cos t-b\sin t)=e^{-t}(2\cos t-\sin t,\ \cos t)^T$ and $e^{-t}(a\sin t+b\cos t)=e^{-t}(2\sin t+\cos t,\ \sin t)^T$. The second has the value $b=(1,0)^T$ at $t=0$ — it is our $x(t)$.
Trajectory $\tau\lt0$ and $\tau^2-4\Delta=-4\lt0$: a stable spiral. At $(1,0)$ the velocity is $A(1,0)^T=(1,1)^T$, pointing upward, so the rotation is counterclockwise (the $(2,1)$ entry is positive). Each turn takes time $2\pi$ and shrinks distances by the factor $e^{-2\pi}\approx0.0019$.

Non-Homogeneous Systems: Variation of Parameters

For $x'=A(t)x+b(t)$ the idea of Lagrange is to let the constant vector $c$ in the general solution $\Phi(t)c$ of the homogeneous system vary with $t$.

📐 Theorem 1.25 — Variation of parameters (Duhamel's formula)
Let $A(t)$, $b(t)$ be continuous on $J$ and let $\Phi$ be a fundamental matrix of $x'=A(t)x$.
  1. The solutions of $x'=A(t)x+b(t)$ are exactly $x=x_p+\Phi(t)c$, $c\in\mathbb{R}^n$, where $x_p$ is any one solution: they form an affine space of dimension $n$.
  2. The solution with $x(t_0)=x_0$ is $$x(t)=\Phi(t)\Phi(t_0)^{-1}x_0+\Phi(t)\int_{t_0}^{t}\Phi(s)^{-1}b(s)\,ds.$$
  3. For constant $A$: $$x(t)=e^{(t-t_0)A}x_0+\int_{t_0}^{t}e^{(t-s)A}\,b(s)\,ds.$$

Proof. (1) The difference of two solutions solves the homogeneous system, so it equals $\Phi(t)c$ for some $c$ (Theorem 1.21(2)); conversely $x_p+\Phi c$ is a solution. (2) Look for a solution $x=\Phi(t)c(t)$. Then $x'=\Phi'c+\Phi c'=A\Phi c+\Phi c'=Ax+\Phi c'$, so $x$ solves the system if and only if $\Phi(t)c'(t)=b(t)$, i.e. $c'=\Phi^{-1}b$ — here we use that $\Phi(t)$ is invertible for every $t$ (Liouville). The function $\Phi^{-1}b$ is continuous, so $c(t)=\Phi(t_0)^{-1}x_0+\int_{t_0}^t\Phi(s)^{-1}b(s)\,ds$ is $C^1$, and the computation shows that $x=\Phi c$ solves the IVP; it is the only solution by Theorem 1.18(4). (3) Take $\Phi(t)=e^{tA}$; then $\Phi(t)\Phi(s)^{-1}=e^{tA}e^{-sA}=e^{(t-s)A}$. ∎

The formula has a transparent meaning (Duhamel's principle): the input $b(s)\,ds$ injected at time $s$ is carried forward to time $t$ by the homogeneous flow $e^{(t-s)A}$, and the response is the superposition of all these contributions. The same kernel $e^{(t-s)A}$ is the Green's function for initial value problems in §2.4, and the formula is the main tool in the proof of Theorem 1.28 below.

✏️ Example 6 — Resonant forcing, with no guessing
Solve $x'=Ax+b(t)$, $x(0)=0$, where $A=\begin{pmatrix}2&-1\\3&-2\end{pmatrix}$ and $b(t)=\begin{pmatrix}0\\4e^{t}\end{pmatrix}$.
$e^{tA}$ $\tau=0$, $\Delta=-4+3=-1$, eigenvalues $\pm1$. In fact $A^2=\begin{pmatrix}4-3&-2+2\\6-6&-3+4\end{pmatrix}=I$, so the even terms of the series give $\cosh t\,I$ and the odd terms $\sinh t\,A$: $$e^{tA}=\cosh t\,I+\sinh t\,A=\begin{pmatrix}\cosh t+2\sinh t&-\sinh t\\3\sinh t&\cosh t-2\sinh t\end{pmatrix}.$$
Duhamel $$x(t)=\int_0^te^{(t-s)A}\begin{pmatrix}0\\4e^s\end{pmatrix}ds=\int_0^t4e^{s}\begin{pmatrix}-\sinh(t-s)\\\cosh(t-s)-2\sinh(t-s)\end{pmatrix}ds.$$
Integrals $e^s\sinh(t-s)=\tfrac12\left(e^t-e^{2s-t}\right)$ and $e^s\cosh(t-s)=\tfrac12\left(e^t+e^{2s-t}\right)$, so $$\int_0^te^s\sinh(t-s)\,ds=\tfrac12\left(te^t-\sinh t\right),\qquad\int_0^te^s\cosh(t-s)\,ds=\tfrac12\left(te^t+\sinh t\right).$$ Therefore $$x(t)=\begin{pmatrix}2\sinh t-2te^{t}\\6\sinh t-2te^{t}\end{pmatrix}.$$
Check and comment $x_1'=2\cosh t-2e^t-2te^t=-2\sinh t-2te^t$ and $2x_1-x_2=-2\sinh t-2te^t$ ✓; $x_2'=6\cosh t-2e^t-2te^t=e^t+3e^{-t}-2te^t$ and $3x_1-2x_2+4e^t=-6\sinh t-2te^t+4e^t=e^t+3e^{-t}-2te^t$ ✓. The forcing $e^t$ resonates with the eigenvalue $1$, which is why $te^t$ appears; undetermined coefficients would need the ansatz $(u+tv)e^t$, variation of parameters needs none.

Phase Portraits and Stability

📘 Definition 1.14 — Trajectories, equilibria and stability

Let $f:\Omega\to\mathbb{R}^n$ be locally Lipschitz on an open set $\Omega$ and consider the autonomous system $x'=f(x)$. The trajectory (orbit) through $x_0$ is the curve traced by the maximal solution with $x(0)=x_0$; the phase portrait is the family of all trajectories, with arrows pointing in the direction of increasing $t$. A point $x^*$ with $f(x^*)=0$ is an equilibrium (critical point): $x(t)\equiv x^*$ is a solution. The equilibrium $x^*$ is

  • stable (in the sense of Lyapunov) if for every $\varepsilon\gt0$ there is $\delta\gt0$ such that $\|x_0-x^*\|\lt\delta$ implies that the solution exists on $[0,\infty)$ and $\|x(t)-x^*\|\lt\varepsilon$ for all $t\ge0$;
  • asymptotically stable if it is stable and there is $\delta_0\gt0$ such that $\|x_0-x^*\|\lt\delta_0$ implies $x(t)\to x^*$ as $t\to\infty$;
  • unstable if it is not stable.

For a linear system $x'=Ax$ the origin is always an equilibrium; it is isolated iff $\det A\ne0$. By linearity (scale the initial value), the origin of $x'=Ax$ is stable iff every solution is bounded on $[0,\infty)$, and asymptotically stable iff every solution tends to $0$.

Trajectories of an autonomous system never cross: if $x(t_1)=z(t_2)$, then $t\mapsto x(t+t_1-t_2)$ and $z$ solve the same IVP at $t_2$, so they coincide — the two curves are the same trajectory traversed with a time shift. For non-autonomous systems this fails, which is one reason the phase plane is reserved for autonomous systems.

📘 Definition 1.15 — Saddle, node, spiral, centre
Let $A$ be a real $2\times2$ matrix with $\det A\ne0$. The origin of $x'=Ax$ is
  • a saddle if exactly two trajectories tend to it as $t\to+\infty$ (along one line), two tend to it as $t\to-\infty$ (along another line), and all others come close and leave again;
  • a node if all trajectories tend to it as $t\to+\infty$ (stable node) or all as $t\to-\infty$ (unstable node), each with a limiting tangent direction; a star (proper node) if the trajectories are rays, so every direction occurs, and a degenerate (improper) node if all trajectories are tangent to a single line;
  • a spiral point (focus) if all trajectories wind around it infinitely often while tending to it as $t\to+\infty$ (stable) or as $t\to-\infty$ (unstable);
  • a centre if all other trajectories are closed curves surrounding it (periodic solutions).
📐 Theorem 1.26 — Classification of planar linear systems by trace and determinant

Let $A=\begin{pmatrix}a&b\\c&d\end{pmatrix}$ be real, $\tau=\operatorname{tr}A$, $\Delta=\det A\ne0$ and $D=\tau^2-4\Delta$, so that the eigenvalues are $\lambda=\tfrac12\left(\tau\pm\sqrt D\right)$. The origin of $x'=Ax$ is:

conditioneigenvaluestypestability
$\Delta\lt0$real, opposite signssaddleunstable
$\Delta\gt0$, $D\gt0$real, distinct, sign of $\tau$nodeasympt. stable iff $\tau\lt0$
$\Delta\gt0$, $D=0$$\lambda=\tau/2$ doublestar if $A=\lambda I$, else degenerate nodeasympt. stable iff $\tau\lt0$
$\Delta\gt0$, $D\lt0$, $\tau\ne0$$\tfrac\tau2\pm i\beta$spiralasympt. stable iff $\tau\lt0$
$\Delta\gt0$, $\tau=0$$\pm i\sqrt\Delta$centre (ellipses)stable, not asymptotically

For a spiral or centre the rotation is counterclockwise if $c\gt0$ and clockwise if $c\lt0$. In particular the origin is asymptotically stable if and only if $\tau\lt0$ and $\Delta\gt0$.

Proof. Recall $\Delta=\lambda_1\lambda_2$ and $\tau=\lambda_1+\lambda_2$. In each case we pass to coordinates $y=P^{-1}x$ in which $A$ is simple; a linear change of coordinates maps lines to lines, rays to rays and circles to ellipses, and preserves boundedness and convergence to $0$.

Real distinct eigenvalues ($D\gt0$). With eigenvectors $v_1,v_2$ and $P=[v_1\ v_2]$ we get $y_1=c_1e^{\lambda_1t}$, $y_2=c_2e^{\lambda_2t}$. If $\Delta\lt0$, say $\lambda_1\gt0\gt\lambda_2$: the quantity $|y_1|^{-\lambda_2}|y_2|^{\lambda_1}$ is constant along solutions, so the trajectories off the axes are hyperbola-like curves, the half-axes of $y_2$ are the two trajectories entering the origin and those of $y_1$ the two leaving it: a saddle. It is unstable, since $\varepsilon e^{\lambda_1t}v_1$ starts arbitrarily close and is unbounded. If $\Delta\gt0$ the eigenvalues have the common sign of $\tau$; say $|\lambda_1|\lt|\lambda_2|$. Then $|y_2|=C|y_1|^{\lambda_2/\lambda_1}$ with exponent $\lambda_2/\lambda_1\gt1$, so all trajectories with $c_1\ne0$ are tangent at the origin to the slow direction $v_1$: a node, stable iff both eigenvalues are negative iff $\tau\lt0$.

Double eigenvalue ($D=0$, $\lambda=\tau/2\ne0$). If $A=\lambda I$, then $x=e^{\lambda t}x_0$: rays, a star. Otherwise $A-\lambda I\ne0$ but $(A-\lambda I)^2=0$ (Cayley–Hamilton); pick $v$ with $w=(A-\lambda I)v\ne0$, an eigenvector. In the basis $(w,v)$, $y=e^{\lambda t}(c_1+c_2t,\ c_2)$, whose direction tends to the $w$-axis as $t\to\pm\infty$: all trajectories are tangent to one line, a degenerate node, decaying iff $\lambda\lt0$.

Complex eigenvalues ($D\lt0$, $\lambda=\alpha\pm i\beta$, $\alpha=\tau/2$, $\beta\gt0$). With $v=a+ib$ an eigenvector for $\alpha+i\beta$, comparing real and imaginary parts of $Av=\lambda v$ gives $Aa=\alpha a-\beta b$ and $Ab=\beta a+\alpha b$; so with $P=[a\ b]$, $y'=\begin{pmatrix}\alpha&\beta\\-\beta&\alpha\end{pmatrix}y$. In polar coordinates of $y$ this reads $r'=\alpha r$, $\theta'=-\beta$: $r=r_0e^{\alpha t}$, $\theta=\theta_0-\beta t$, logarithmic spirals for $\alpha\ne0$ and circles for $\alpha=0$. So we get a spiral, stable iff $\alpha\lt0$, or, for $\tau=0$, a centre; at a centre $\|y(t)\|$ is constant, hence $\|x(t)\|\le\|P\|\,\|P^{-1}\|\,\|x_0\|$ (stable) but $x(t)\not\to0$. For the sense of rotation compute the angular velocity in the $x$-plane: $$\frac{d}{dt}\arg x=\frac{x_1x_2'-x_2x_1'}{x_1^2+x_2^2}=\frac{c\,x_1^2+(d-a)x_1x_2-b\,x_2^2}{x_1^2+x_2^2}.$$ The quadratic form in the numerator has discriminant $(d-a)^2+4bc=D\lt0$, so it is definite, with the sign of $c$. The last statement of the theorem collects the rows with $\tau\lt0$, $\Delta\gt0$. ∎

Interactive 2 — Phase Portraits of x′ = Ax and the Trace–Determinant Plane

Choose a preset or move the entries of $A=\begin{pmatrix}a&b\\c&d\end{pmatrix}$. Left: grey trajectories, red particles carried by the flow, and the green dashed eigen-directions when the eigenvalues are real. Right: the point $(\tau,\Delta)$ in the trace–determinant plane; the purple parabola $\Delta=\tau^2/4$ separates nodes from spirals, the $\tau$-axis separates saddles from the rest, and the positive $\Delta$-axis is the home of centres. Slide $a$ or $d$ slowly and watch the point cross a boundary.

————
τ = tr A—
Δ = det A—
eigenvalues—
type · stability—
📐 Theorem 1.27 — Stability of $x'=Ax$ in terms of eigenvalues
Let $A$ be a real $n\times n$ matrix.
  1. The origin is asymptotically stable if and only if every eigenvalue satisfies $\operatorname{Re}\lambda\lt0$. In that case there are constants $K\ge1$, $\mu\gt0$ with $\|e^{tA}\|\le Ke^{-\mu t}$ for all $t\ge0$.
  2. The origin is stable if and only if every eigenvalue satisfies $\operatorname{Re}\lambda\le0$ and every eigenvalue with $\operatorname{Re}\lambda=0$ is semisimple (its algebraic and geometric multiplicities are equal).
  3. Otherwise it is unstable; in particular it is unstable as soon as one eigenvalue has $\operatorname{Re}\lambda\gt0$.

Proof. For an eigenvalue $\lambda$ let $\nu_\lambda$ be the least $j$ with $\ker(A-\lambda I)^j=G_\lambda$; then $\nu_\lambda=1$ exactly when $\ker(A-\lambda I)=G_\lambda$, i.e. when $\lambda$ is semisimple. By Theorem 1.24, applied to the columns $e^{tA}e_j$ with $e_j$ split along the $G_\lambda$, every entry of $e^{tA}$ is a finite sum of terms $\gamma\,t^ke^{\lambda t}$ with $0\le k\lt\nu_\lambda$, and $|t^ke^{\lambda t}|=t^ke^{(\operatorname{Re}\lambda)t}$.

(1) If all $\operatorname{Re}\lambda\lt0$, fix $0\lt\mu\lt\min_\lambda(-\operatorname{Re}\lambda)$. Each $t^ke^{(\operatorname{Re}\lambda+\mu)t}$ tends to $0$ as $t\to\infty$, hence is bounded on $[0,\infty)$, so $e^{\mu t}\|e^{tA}\|\le K$ there. Then $\|x(t)\|\le Ke^{-\mu t}\|x_0\|$: stability (take $\delta=\varepsilon/K$) and convergence to $0$. Conversely, let some eigenvalue $\lambda=\alpha+i\beta$ have $\alpha\ge0$, with eigenvector $v=a+ib$. For real $\lambda$ the solution $\varepsilon e^{\lambda t}v$ does not tend to $0$. For $\beta\ne0$ the real solution $\varepsilon e^{\alpha t}(a\cos\beta t-b\sin\beta t)$ equals $\varepsilon e^{\alpha t}a$ at the times $t=2\pi k/\beta$, and $a\ne0$ (Theorem 1.23(3)), so it does not tend to $0$ either. Since $\varepsilon$ is arbitrary, the origin is not asymptotically stable.

(2) If the conditions hold, terms with $\operatorname{Re}\lambda\lt0$ are bounded on $[0,\infty)$ as in (1), and for $\operatorname{Re}\lambda=0$ only $k=0$ occurs, with $|e^{\lambda t}|=1$. So $\|e^{tA}\|\le K$ on $[0,\infty)$ and $\|x(t)\|\le K\|x_0\|$: stable. Conversely, if $\operatorname{Re}\lambda\gt0$, the solutions just constructed are unbounded. If $\operatorname{Re}\lambda=0$ and $\lambda$ is not semisimple, choose $v\in\ker(A-\lambda I)^2\setminus\ker(A-\lambda I)$ and put $w=(A-\lambda I)v\ne0$; then $e^{tA}v=e^{\lambda t}(v+tw)$ has norm at least $t\|w\|-\|v\|\to\infty$. Its real part or its imaginary part is then an unbounded real solution (if both were bounded, so would be their combination), and multiplying by $\varepsilon$ gives unbounded solutions starting arbitrarily close to $0$. In both cases the origin is unstable, which also proves (3). ∎

For a nonlinear autonomous system the eigenvalues of the Jacobian matrix at an equilibrium usually decide the matter.

📐 Theorem 1.28 — Stability by linearisation (Lyapunov's indirect method)
Let $f$ be $C^1$ on an open set $\Omega\subseteq\mathbb{R}^n$, $f(x^*)=0$, and let $A=Df(x^*)$ be the Jacobian matrix of $f$ at $x^*$.
  1. If every eigenvalue of $A$ has negative real part, $x^*$ is an asymptotically stable equilibrium of $x'=f(x)$.
  2. If some eigenvalue of $A$ has positive real part, $x^*$ is unstable.
  3. (Statement only.) In the plane, if $f$ is $C^2$ and $x^*$ is hyperbolic (no eigenvalue of $A$ has zero real part), then $x^*$ is a saddle, a node or a spiral of $x'=f(x)$ exactly when it is one for $y'=Ay$ (Hartman–Grobman theorem and its planar refinement). If $A$ has a centre, the linearisation decides nothing.

Proof of (1). Translate so that $x^*=0$ and write $f(x)=Ax+g(x)$. Differentiability of $f$ at $0$ means $\|g(x)\|/\|x\|\to0$: for every $\varepsilon\gt0$ there is $r\gt0$ with $\|g(x)\|\le\varepsilon\|x\|$ for $\|x\|\le r$. By Theorem 1.27(1), $\|e^{tA}\|\le Ke^{-\mu t}$ for $t\ge0$; choose $\varepsilon=\mu/(2K)$ and the corresponding $r$. A solution $x$ of $x'=Ax+g(x)$ is also a solution of the linear system with forcing $b(t)=g(x(t))$, so by Theorem 1.25(3) $$x(t)=e^{tA}x_0+\int_0^te^{(t-s)A}g\big(x(s)\big)\,ds.$$ As long as $\|x(s)\|\le r$ on $[0,t]$, this gives $\|x(t)\|\le Ke^{-\mu t}\|x_0\|+K\varepsilon\int_0^te^{-\mu(t-s)}\|x(s)\|\,ds$. Multiply by $e^{\mu t}$ and put $u(t)=e^{\mu t}\|x(t)\|$: $$u(t)\le K\|x_0\|+K\varepsilon\int_0^tu(s)\,ds,$$ so Gronwall's inequality (Theorem 1.7) yields $u(t)\le K\|x_0\|e^{K\varepsilon t}$, that is, $$\|x(t)\|\le K\|x_0\|\,e^{-(\mu-K\varepsilon)t}=K\|x_0\|\,e^{-\mu t/2}.$$ Now let $\|x_0\|\lt r/K$. If the solution ever reached the sphere $\|x\|=r$, at the first such time $t_1$ the estimate (valid on $[0,t_1]$) would give $\|x(t_1)\|\le K\|x_0\|\lt r$ — a contradiction. So the solution stays in the ball, exists for all $t\ge0$ (Theorem 1.18(3)), and decays exponentially: $x^*=0$ is asymptotically stable. We omit the proofs of (2) and (3). ∎

✏️ Example 7 — A particle in a double well, with and without friction
Find and classify the equilibria of $x'=y$, $y'=x-x^3-\tfrac12y$. What changes if the friction term $-\tfrac12y$ is removed?
Equilibria $y=0$ and $x-x^3=x(1-x)(1+x)=0$: the points $(0,0)$, $(1,0)$, $(-1,0)$. The Jacobian is $J(x,y)=\begin{pmatrix}0&1\\1-3x^2&-\tfrac12\end{pmatrix}$.
Origin $J(0,0)=\begin{pmatrix}0&1\\1&-\tfrac12\end{pmatrix}$, $\Delta=-1\lt0$: a saddle of the linearisation, with eigenvalues $\tfrac{-1\pm\sqrt{17}}{4}\approx0.781,\,-1.281$. It is hyperbolic, so by Theorem 1.28 the origin is an unstable saddle of the nonlinear system.
$(\pm1,0)$ $J=\begin{pmatrix}0&1\\-2&-\tfrac12\end{pmatrix}$: $\tau=-\tfrac12$, $\Delta=2$, $D=\tfrac14-8=-\tfrac{31}4\lt0$. Eigenvalues $-\tfrac14\pm\tfrac{\sqrt{31}}4i$: a stable spiral, rotating clockwise ($c=-2\lt0$). By Theorem 1.28 both wells are asymptotically stable spirals.
No friction For $y'=x-x^3$ the linearisation at $(\pm1,0)$ is $\begin{pmatrix}0&1\\-2&0\end{pmatrix}$, a centre — Theorem 1.28 decides nothing. But now the energy $E=\tfrac12y^2+\tfrac14x^4-\tfrac12x^2$ is constant along solutions ($E'=yy'+(x^3-x)x'=y(x-x^3)+(x^3-x)y=0$), and $E$ has a strict local minimum at $(\pm1,0)$ (Hessian $\operatorname{diag}(2,1)$). Its level curves near the minimum are closed curves, so the orbits are closed: genuine centres, stable but not asymptotically stable. With friction $E'=-\tfrac12y^2\le0$, and energy drains away into the wells.
⚠️ Counterexamples and pitfalls
  1. $W\equiv0$ does not imply dependence for arbitrary vector functions. $(1,t)^T$ and $(t,t^2)^T$ have $W=t^2-t^2\equiv0$, yet neither is a constant multiple of the other. Liouville's dichotomy (Theorem 1.20) is about solutions of one system with continuous coefficients — so these two functions cannot both solve such a system on any interval.
  2. A Wronskian with an isolated zero signals a singular coefficient. $(t,1)^T,(t^2,2t)^T$ have $W=t^2$; they solve the system of Example 2, whose coefficients blow up at $t=0$.
  3. No mean value theorem for vector functions. $g(\sigma)=(\cos\sigma,\sin\sigma)$ has $g(2\pi)-g(0)=0$, but $g'(\sigma)\ne0$ for every $\sigma$. Lipschitz bounds come from the integral form (Theorem 1.18(2)).
  4. $e^{A+B}\ne e^Ae^B$ in general. For $A=\begin{pmatrix}0&1\\0&0\end{pmatrix}$, $B=\begin{pmatrix}0&0\\1&0\end{pmatrix}$: $e^Ae^B=\begin{pmatrix}2&1\\1&1\end{pmatrix}$, while $e^{A+B}=\begin{pmatrix}\cosh1&\sinh1\\\sinh1&\cosh1\end{pmatrix}$. Here $AB\ne BA$.
  5. $\exp\left(\int_0^tA(s)\,ds\right)$ is not a fundamental matrix in general. For $A(t)=\begin{pmatrix}0&1\\0&t\end{pmatrix}$ the principal fundamental matrix has $(1,2)$ entry $\int_0^te^{s^2/2}ds=t+\tfrac{t^3}6+\cdots$, whereas $\exp\int_0^tA$ has $(1,2)$ entry $\tfrac2t\left(e^{t^2/2}-1\right)=t+\tfrac{t^3}4+\cdots$. It works when $A(t)$ commutes with $\int_0^tA$, e.g. $A(t)=a(t)M$.
  6. Frozen eigenvalues do not decide stability of $x'=A(t)x$. For $A(t)=\begin{pmatrix}-1+\frac32\cos^2t&1-\frac32\cos t\sin t\\-1-\frac32\sin t\cos t&-1+\frac32\sin^2t\end{pmatrix}$ the eigenvalues are $\tfrac{-1\pm i\sqrt7}{4}$ for every $t$, yet $x(t)=e^{t/2}(-\cos t,\sin t)^T$ is a solution (an example of Markus and Yamabe).
  7. $\operatorname{Re}\lambda\le0$ is not enough for stability. $A=\begin{pmatrix}0&1\\0&0\end{pmatrix}$ has eigenvalues $0,0$, but $x(t)=(c_1+c_2t,\ c_2)^T$ is unbounded: the eigenvalue $0$ is not semisimple (Theorem 1.27(2)).
  8. Linearisation decides nothing at a centre. $x'=-y+\mu x(x^2+y^2)$, $y'=x+\mu y(x^2+y^2)$ has a centre as linearisation for every $\mu$, but $r'=\mu r^3$: the origin is an asymptotically stable spiral for $\mu\lt0$ and unstable for $\mu\gt0$.
  9. Stable is weaker than asymptotically stable. Centres are stable without attracting; so is the origin of $A=\begin{pmatrix}0&0\\0&-1\end{pmatrix}$, which lies on a whole line of equilibria.
  10. Neither $\tau$ nor $\Delta$ alone decides. $\tau\lt0$ with $\Delta\lt0$ is a saddle ($\operatorname{diag}(1,-3)$); $\Delta\gt0$ with $\tau\gt0$ is unstable. Asymptotic stability needs both $\tau\lt0$ and $\Delta\gt0$.
  11. Complex pairs: one eigenvector is enough. The real and imaginary parts of $e^{\lambda t}v$ already give two real solutions; using $\bar\lambda$ as well adds nothing new.

Exercises

I
Reduction, existence, fundamental matrices and Liouville's formula.
  • 1 Write $y'''-3y''+yy'=e^t$, $y(0)=1$, $y'(0)=0$, $y''(0)=2$ as a first-order system and explain why it has a unique local solution.
  • 2 Eliminate $y$ from $x'=x+y$, $y'=4x+y$ to get a second-order equation for $x$, and find the general solution of the system.
  • 3 Show that $f(x)=(x_2,\,-\sin x_1)^T$ is Lipschitz on $\mathbb{R}^2$ with constant $1$ in the Euclidean norm, and deduce that every solution of the pendulum equation $y''+\sin y=0$ exists for all $t\in\mathbb{R}$.
  • 4 Without solving, find the Wronskian $W(t)$ of the fundamental matrix of $x'=\begin{pmatrix}t&1\\\sin t&-1\end{pmatrix}x$ with $W(0)=2$.
  • 5 Can $(t,1)^T$ and $(t^2,2t)^T$ be solutions on $\mathbb{R}$ of $x'=B(t)x$ with $B$ continuous on $\mathbb{R}$? On $(0,\infty)$?
  • 6 Show that if solutions $\varphi_1,\varphi_2$ of (H) have $W\equiv0$, then they are linearly dependent, and contrast with Pitfall 1.
  • 7 Let $\Phi$ be a fundamental matrix of $x'=A(t)x$. Prove that $\left(\Phi^{-1}\right)^T$ is a fundamental matrix of the adjoint system $z'=-A(t)^Tz$, and that $z^Tx$ is constant whenever $x$ solves (H) and $z$ solves the adjoint system.
  • 8 Let $A(t)$ be continuous on $[0,\infty)$ with $\operatorname{tr}A(t)=0$ for all $t$. Prove that $x'=A(t)x$ has a solution that does not tend to $0$ as $t\to\infty$.
1 $x_1=y$, $x_2=y'$, $x_3=y''$: $x_1'=x_2$, $x_2'=x_3$, $x_3'=e^t+3x_3-x_1x_2$, $x(0)=(1,0,2)^T$. The right-hand side is $C^1$, hence locally Lipschitz (Theorem 1.18(2)); Theorem 1.18(1) gives a unique local solution.
2 From the first equation $y=x'-x$, so $x''=x'+y'=x'+4x+y=x'+4x+x'-x$, i.e. $x''-2x'-3x=0$. Hence $x=c_1e^{3t}+c_2e^{-t}$ and $y=x'-x=2c_1e^{3t}-2c_2e^{-t}$.
3 $J=\begin{pmatrix}0&1\\-\cos x_1&0\end{pmatrix}$ and $J^TJ=\operatorname{diag}(\cos^2x_1,1)$, so $\|J\|=\max(1,|\cos x_1|)=1$. $\mathbb{R}^2$ is convex, so $L=1$ (Theorem 1.18(2)), and Theorem 1.18(4) on every $[-T,T]$ gives global solutions.
4 $\operatorname{tr}A=t-1$, so $W(t)=2\exp\int_0^t(s-1)\,ds=2e^{t^2/2-t}$.
5 On $\mathbb{R}$: no — their Wronskian $t^2$ vanishes at $0$ without vanishing identically, contradicting Theorem 1.20. On $(0,\infty)$: yes, with $B=\Phi'\Phi^{-1}$, which is the matrix of Example 2.
6 $W(t_0)=0$ gives $c\ne0$ with $c_1\varphi_1(t_0)+c_2\varphi_2(t_0)=0$; the solution $c_1\varphi_1+c_2\varphi_2$ vanishes at $t_0$, so it vanishes identically by uniqueness. The functions of Pitfall 1 are not solutions of a common system with continuous coefficients, so this argument does not apply to them.
7 Differentiating $\Phi\Phi^{-1}=I$ gives $(\Phi^{-1})'=-\Phi^{-1}\Phi'\Phi^{-1}=-\Phi^{-1}A$. Transposing: $\left((\Phi^{-1})^T\right)'=-A^T(\Phi^{-1})^T$, and $\det(\Phi^{-1})^T\ne0$. Then $(z^Tx)'=(z')^Tx+z^Tx'=-z^TAx+z^TAx=0$.
8 By Liouville $\det\Phi(t)=\det\Phi(0)\ne0$ for all $t$. If every solution tended to $0$, every column of $\Phi$ would, so $\det\Phi(t)\to0$ (the determinant is continuous in the entries) — a contradiction.
II
The matrix exponential and constant-coefficient systems.
  • 1 Compute $e^{tA}$ for $A=\begin{pmatrix}0&1\\-4&0\end{pmatrix}$.
  • 2 Compute $e^{tA}$ for $A=\begin{pmatrix}4&-1\\1&2\end{pmatrix}$ and solve $x'=Ax$, $x(0)=(1,2)^T$.
  • 3 Compute $e^{tA}$ for $A=\begin{pmatrix}1&1\\-1&1\end{pmatrix}$.
  • 4 Let $N=\begin{pmatrix}0&1&0\\0&0&1\\0&0&0\end{pmatrix}$. Find $e^{tN}$ and $e^{t(2I+N)}$.
  • 5 Let $A=\begin{pmatrix}0&1&1\\1&0&1\\1&1&0\end{pmatrix}$. Find the eigenvalues, $e^{tA}$, and explain why no factor $te^{-t}$ appears although $-1$ is a double eigenvalue.
  • 6 Let $A$ be real and skew-symmetric. Prove that $e^{tA}$ is orthogonal and that every solution of $x'=Ax$ has constant Euclidean norm.
  • 7 Show that there is no real $2\times2$ matrix $A$ with $e^{A}=\operatorname{diag}(1,-1)$, but that there is a complex one.
  • 8 Use the interpolation method ($e^{tA}=\alpha_0(t)I+\alpha_1(t)A$) to compute $e^{tA}$ for $A=\begin{pmatrix}1&3\\3&1\end{pmatrix}$.
1 $\lambda=\pm2i$, $\alpha=0$, $\beta=2$: $e^{tA}=\cos2t\,I+\tfrac{\sin2t}2A=\begin{pmatrix}\cos2t&\tfrac12\sin2t\\-2\sin2t&\cos2t\end{pmatrix}$.
2 $\tau=6$, $\Delta=9$, $\lambda=3$ double, $A-3I=\begin{pmatrix}1&-1\\1&-1\end{pmatrix}$: $e^{tA}=e^{3t}\begin{pmatrix}1+t&-t\\t&1-t\end{pmatrix}$, and $x(t)=e^{3t}(1-t,\ 2-t)^T$.
3 $\lambda=1\pm i$, $A-I=\begin{pmatrix}0&1\\-1&0\end{pmatrix}$: $e^{tA}=e^{t}\begin{pmatrix}\cos t&\sin t\\-\sin t&\cos t\end{pmatrix}$ — an unstable spiral, clockwise ($c=-1$).
4 $N^3=0$: $e^{tN}=I+tN+\tfrac{t^2}2N^2=\begin{pmatrix}1&t&t^2/2\\0&1&t\\0&0&1\end{pmatrix}$, and $e^{t(2I+N)}=e^{2t}e^{tN}$ because $2I$ and $N$ commute.
5 With $\mathbf{J}$ the all-ones matrix, $A=\mathbf{J}-I$ and $\mathbf{J}^2=3\mathbf{J}$, so the eigenvalues are $2$ (eigenvector $(1,1,1)^T$) and $-1$ (the plane $x_1+x_2+x_3=0$, two independent eigenvectors). $A$ is symmetric, hence diagonalisable, and $$e^{tA}=\tfrac{e^{2t}}3\mathbf{J}+e^{-t}\left(I-\tfrac13\mathbf{J}\right).$$ A double eigenvalue produces $te^{\lambda t}$ only when eigenvectors are missing (Theorem 1.24(3)).
6 $\left(e^{tA}\right)^T=e^{tA^T}=e^{-tA}=\left(e^{tA}\right)^{-1}$ (transpose the series; Theorem 1.22(3)). Alternatively $\tfrac{d}{dt}\|x\|^2=2x^TAx=0$, because $x^TAx=(x^TAx)^T=x^TA^Tx=-x^TAx$.
7 $\det e^A=e^{\operatorname{tr}A}\gt0$ for real $A$, while $\det\operatorname{diag}(1,-1)=-1$. Over $\mathbb{C}$: $A=\operatorname{diag}(0,i\pi)$ gives $e^A=\operatorname{diag}(1,e^{i\pi})=\operatorname{diag}(1,-1)$.
8 $\lambda=4,-2$: $\alpha_0+4\alpha_1=e^{4t}$, $\alpha_0-2\alpha_1=e^{-2t}$, so $\alpha_1=\tfrac{e^{4t}-e^{-2t}}6$, $\alpha_0=\tfrac{e^{4t}+2e^{-2t}}3$, and $$e^{tA}=\tfrac12\begin{pmatrix}e^{4t}+e^{-2t}&e^{4t}-e^{-2t}\\e^{4t}-e^{-2t}&e^{4t}+e^{-2t}\end{pmatrix}.$$
III
Phase portraits and stability.
  • 1 Classify the origin (type and stability) for (a) $\begin{pmatrix}2&-5\\1&-2\end{pmatrix}$; (b) $\begin{pmatrix}-1&4\\-1&-5\end{pmatrix}$; (c) $\begin{pmatrix}3&-2\\4&-1\end{pmatrix}$; (d) $\begin{pmatrix}1&4\\2&-1\end{pmatrix}$.
  • 2 For every real $k$ classify the origin of $x'=\begin{pmatrix}-1&k\\1&-1\end{pmatrix}x$.
  • 3 Prove directly from the eigenvalues that the origin of a planar system $x'=Ax$ is asymptotically stable if and only if $\operatorname{tr}A\lt0$ and $\det A\gt0$.
  • 4 For the predator–prey system $x'=x-xy$, $y'=-y+xy$ ($x,y\gt0$ at the interior point) classify $(0,0)$, show that linearisation is inconclusive at $(1,1)$, and use $H=x-\log x+y-\log y$ to show that the orbits near $(1,1)$ are closed.
  • 5 Find all real equilibria of $x'=-x+y^2$, $y'=-2y+x^2$ and classify them.
  • 6 Show that the origin of $x'=Ax$ with $A=\begin{pmatrix}0&1&0\\0&0&0\\0&0&-1\end{pmatrix}$ is unstable, although no eigenvalue has positive real part.
  • 7 Give a $2\times2$ matrix $A\ne0$ for which the origin is stable but not asymptotically stable and is not a centre.
  • 8 Show that for $x'=-y+\mu x(x^2+y^2)$, $y'=x+\mu y(x^2+y^2)$ one has $r'=\mu r^3$, and decide the stability of the origin for each $\mu\in\mathbb{R}$.
1 (a) $\tau=0$, $\Delta=1$: centre, stable, counterclockwise. (b) $\tau=-6$, $\Delta=9$, $D=0$, $A\ne-3I$: degenerate node, asymptotically stable. (c) $\tau=2$, $\Delta=5$, $D=-16$: unstable spiral ($\lambda=1\pm2i$), counterclockwise. (d) $\Delta=-9$: saddle ($\lambda=\pm3$), unstable.
2 $\tau=-2$, $\Delta=1-k$, $D=4k$. $k\gt1$: saddle. $k=1$: $\Delta=0$, a line of equilibria $x_1=x_2$, other solutions approach it ($\lambda=0,-2$): stable, not asymptotically. $0\lt k\lt1$: stable node. $k=0$: $\lambda=-1$ double and $A\ne-I$: stable degenerate node. $k\lt0$: stable spiral, counterclockwise ($c=1$).
3 If the eigenvalues are real, both are negative iff their product $\Delta$ is positive and their sum $\tau$ negative. If they are $\alpha\pm i\beta$, then $\Delta=\alpha^2+\beta^2\gt0$ automatically and $\operatorname{Re}\lambda=\tau/2$. Combine with Theorem 1.27(1).
4 $J=\begin{pmatrix}1-y&-x\\y&x-1\end{pmatrix}$. At $(0,0)$: $\operatorname{diag}(1,-1)$, a saddle. At $(1,1)$: $\begin{pmatrix}0&-1\\1&0\end{pmatrix}$, a centre — Theorem 1.28 says nothing. $\tfrac{dH}{dt}=\left(1-\tfrac1x\right)x(1-y)+\left(1-\tfrac1y\right)y(x-1)=(x-1)(1-y)+(y-1)(x-1)=0$, and $H$ is strictly convex with its minimum at $(1,1)$ (Hessian $\operatorname{diag}(x^{-2},y^{-2})$). The orbits lie on the closed level curves of $H$: $(1,1)$ is a genuine centre.
5 $x=y^2$ and $2y=x^2=y^4$, so $y=0$ or $y^3=2$: $(0,0)$ and $(2^{2/3},2^{1/3})$. $J=\begin{pmatrix}-1&2y\\2x&-2\end{pmatrix}$. At $(0,0)$: $\operatorname{diag}(-1,-2)$, an asymptotically stable node. At the other point $\det J=2-4xy=2-4\cdot2=-6\lt0$: a saddle (Theorem 1.28(3)).
6 The solution is $x(t)=(c_1+c_2t,\ c_2,\ c_3e^{-t})^T$, unbounded whenever $c_2\ne0$, however small. The eigenvalue $0$ has algebraic multiplicity $2$ but only one eigenvector (Theorem 1.27(2)).
7 $A=\begin{pmatrix}0&0\\0&-1\end{pmatrix}$: $x(t)=(c_1,\ c_2e^{-t})^T$ is bounded but does not tend to $0$ when $c_1\ne0$. Here $\det A=0$ and every point of the $x_1$-axis is an equilibrium.
8 $rr'=xx'+yy'=\mu(x^2+y^2)^2=\mu r^4$, so $r'=\mu r^3$; also $\theta'=1$. For $\mu\lt0$: $r(t)=r_0/\sqrt{1+2|\mu|r_0^2t}\to0$, an asymptotically stable spiral. For $\mu=0$: a centre, stable. For $\mu\gt0$: $r$ increases (and blows up at $t=1/(2\mu r_0^2)$): unstable.
IV
Non-homogeneous systems and further results.
  • 1 Solve $x'=\begin{pmatrix}0&1\\-1&0\end{pmatrix}x+\begin{pmatrix}0\\t\end{pmatrix}$, $x(0)=0$, by variation of parameters.
  • 2 Solve $x'=\begin{pmatrix}1&2\\2&1\end{pmatrix}x+\begin{pmatrix}4e^{-t}\\0\end{pmatrix}$, $x(0)=0$.
  • 3 Using the fundamental matrix of Example 2, solve $x'=\begin{pmatrix}0&1\\-2/t^2&2/t\end{pmatrix}x+\begin{pmatrix}0\\t\end{pmatrix}$, $x(1)=0$, on $(0,\infty)$.
  • 4 Let all eigenvalues of $A$ have negative real parts and let $b$ be continuous and bounded on $[0,\infty)$. Prove that every solution of $x'=Ax+b(t)$ is bounded on $[0,\infty)$.
  • 5 For invertible $A$ and a constant vector $c$, show that $x(t)=x^*+e^{tA}(x_0-x^*)$ with $x^*=-A^{-1}c$ solves $x'=Ax+c$, $x(0)=x_0$. Apply it to $A=\begin{pmatrix}2&-1\\3&-2\end{pmatrix}$, $c=(1,0)^T$, $x_0=0$.
  • 6 Show that every solution of $x'=\begin{pmatrix}0&1\\-1&0\end{pmatrix}x+\begin{pmatrix}0\\\cos t\end{pmatrix}$ is unbounded on $[0,\infty)$.
  • 7 Let $\Phi$ be a fundamental matrix of $x'=A(t)x$ on $[0,\infty)$ with $\|\Phi(t)\|$ bounded and $\int_0^t\operatorname{tr}A(s)\,ds\ge-C$ for all $t\ge0$. Prove that $\|\Phi(t)^{-1}\|$ is bounded on $[0,\infty)$.
  • 8 Let $A$ be constant with no eigenvalue in $\{2\pi ik/T:k\in\mathbb{Z}\}$ and let $b$ be continuous and $T$-periodic. Prove that $x'=Ax+b(t)$ has exactly one $T$-periodic solution.
1 $e^{(t-s)A}=\begin{pmatrix}\cos(t-s)&\sin(t-s)\\-\sin(t-s)&\cos(t-s)\end{pmatrix}$, so $x(t)=\int_0^ts\begin{pmatrix}\sin(t-s)\\\cos(t-s)\end{pmatrix}ds=\begin{pmatrix}t-\sin t\\1-\cos t\end{pmatrix}$ — the solution of $y''+y=t$, $y(0)=y'(0)=0$, and its derivative.
2 In the eigenbasis $v_1=(1,1)^T$ ($\lambda=3$), $v_2=(1,-1)^T$ ($\lambda=-1$): $b=2e^{-t}(v_1+v_2)$. The coefficients satisfy $u_1'=3u_1+2e^{-t}$, $u_2'=-u_2+2e^{-t}$, $u_i(0)=0$: $u_1=\tfrac12(e^{3t}-e^{-t})$, $u_2=2te^{-t}$ (resonance). So $$x=\begin{pmatrix}\tfrac12(e^{3t}-e^{-t})+2te^{-t}\\\tfrac12(e^{3t}-e^{-t})-2te^{-t}\end{pmatrix}.$$
3 $\Phi(s)^{-1}=\tfrac1{s^2}\begin{pmatrix}2s&-s^2\\-1&s\end{pmatrix}$, so $\Phi(s)^{-1}(0,s)^T=(-s,1)^T$ and $\int_1^t(-s,1)^Tds=\left(-\tfrac{t^2-1}2,\ t-1\right)^T$. Multiplying by $\Phi(t)$: $$x(t)=\begin{pmatrix}\tfrac12t(t-1)^2\\\tfrac12(3t^2-4t+1)\end{pmatrix}.$$ (Equivalently $y=\tfrac12t(t-1)^2$ solves $t^2y''-2ty'+2y=t^3$, $y(1)=y'(1)=0$.)
4 With $\|e^{tA}\|\le Ke^{-\mu t}$ (Theorem 1.27(1)) and $\|b\|\le B$: $\|x(t)\|\le K\|x_0\|+\int_0^tKe^{-\mu(t-s)}B\,ds\le K\|x_0\|+\tfrac{KB}{\mu}$.
5 $x^{*\prime}=0=Ax^*+c$, and $e^{tA}(x_0-x^*)$ solves the homogeneous system, so the sum solves $x'=Ax+c$ with the right initial value. Here $A^2=I$, so $A^{-1}=A$, $x^*=-Ac=-(2,3)^T$, and with $e^{tA}=\cosh t\,I+\sinh t\,A$: $$x(t)=\begin{pmatrix}2\cosh t+\sinh t-2\\3\cosh t-3\end{pmatrix}.$$
6 The first component solves $y''+y=\cos t$, whose solutions are $c_1\cos t+c_2\sin t+\tfrac t2\sin t$; the last term is unbounded, and no choice of $c_1,c_2$ cancels it. The forcing frequency equals the eigenfrequency: resonance.
7 $\Phi^{-1}=\operatorname{adj}\Phi/\det\Phi$. The entries of $\operatorname{adj}\Phi$ are $(n-1)\times(n-1)$ minors of $\Phi$, bounded because $\Phi$ is; and $|\det\Phi(t)|=|\det\Phi(0)|e^{\int_0^t\operatorname{tr}A}\ge|\det\Phi(0)|e^{-C}\gt0$.
8 A solution is $T$-periodic iff $x(T)=x(0)$: if so, $x(t+T)$ solves the same equation ($b$ is periodic) with the same value at $t=0$, hence equals $x(t)$. By Duhamel, $x(T)=x_0$ means $(I-e^{TA})x_0=\int_0^Te^{(T-s)A}b(s)\,ds$. The eigenvalues of $e^{TA}$ are $e^{T\lambda}$ ($\lambda$ eigenvalues of $A$; use Theorem 1.24(2) on each $G_\lambda$), and $e^{T\lambda}=1$ iff $\lambda\in2\pi i\mathbb{Z}/T$. So $I-e^{TA}$ is invertible and $x_0$ — hence the periodic solution — exists and is unique.
🎯 Exam corner CSIR Part BCSIR Part CGATE MA

E1. CSIR Part B GATE MA Let $\Phi$ be a fundamental matrix of $x'=\begin{pmatrix}t&e^{t}\\\sin t&2-t\end{pmatrix}x$ with $\det\Phi(0)=3$. Then $\det\Phi(1)$ equals (A) $3$; (B) $3e$; (C) $3e^{2}$; (D) $3e^{1/2}$.

Idea Liouville's formula needs only the trace, which here is $t+(2-t)=2$ — the off-diagonal entries are irrelevant.
Compute $\det\Phi(1)=3\exp\int_0^12\,ds=3e^2$.
Answer (C).

E2. CSIR Part B For the system $x'=2x-5y$, $y'=2x-4y$, the critical point $(0,0)$ is (A) a saddle point; (B) a stable node; (C) an asymptotically stable spiral point; (D) a centre.

Trace and determinant $\tau=2-4=-2$, $\Delta=-8+10=2\gt0$, $D=4-8=-4\lt0$: complex eigenvalues $-1\pm i$ with negative real part.
Options (A) needs $\Delta\lt0$; (B) needs $D\ge0$; (D) needs $\tau=0$.
Answer (C).

E3. CSIR Part B Let $x(t)$ solve $x'=\begin{pmatrix}-2&1\\0&-2\end{pmatrix}x$, $x(0)=\begin{pmatrix}0\\1\end{pmatrix}$. Then the first component $x_1(1)$ equals (A) $0$; (B) $e^{-2}$; (C) $2e^{-2}$; (D) $e^{-1}$.

Idea $A=-2I+N$ with $N=\begin{pmatrix}0&1\\0&0\end{pmatrix}$, $N^2=0$, so $e^{tA}=e^{-2t}(I+tN)$.
Compute $x(t)=e^{-2t}(I+tN)(0,1)^T=e^{-2t}(t,1)^T$, so $x_1(1)=e^{-2}$. (A) is what one gets by ignoring the off-diagonal entry.
Answer (B).

E4. CSIR Part C GATE MA Let $A$ be a real $n\times n$ matrix and consider $x'=Ax$. Which of the following statements are true? (One or more options may be correct.) (A) If every eigenvalue of $A$ has negative real part, every solution tends to $0$ as $t\to\infty$. (B) If every solution is bounded on $[0,\infty)$, then every eigenvalue has non-positive real part. (C) If every eigenvalue has non-positive real part, every solution is bounded on $[0,\infty)$. (D) If $A\ne0$ and $A^2=0$, some solution is unbounded on $[0,\infty)$.

(A) True Theorem 1.27(1): $\|e^{tA}\|\le Ke^{-\mu t}$.
(B) True If $\operatorname{Re}\lambda\gt0$ with eigenvector $v=a+ib$, the real solution $e^{\alpha t}(a\cos\beta t-b\sin\beta t)$ equals $e^{\alpha t}a$ at $t=2\pi k/\beta$ (or is $e^{\lambda t}v$ for real $\lambda$) and is unbounded.
(C) False $A=\begin{pmatrix}0&1\\0&0\end{pmatrix}$: eigenvalues $0,0$, solution $(t,1)^T$.
(D) True $e^{tA}=I+tA$; pick $x_0$ with $Ax_0\ne0$: $x(t)=x_0+tAx_0$ is unbounded.
Answer (A), (B), (D).

E5. CSIR Part C Let $A(t)$ be a continuous $2\times2$ matrix function on $\mathbb{R}$ with $\operatorname{tr}A(t)=2t$, let $\varphi_1,\varphi_2$ be solutions of $x'=A(t)x$ on $\mathbb{R}$, and $W(t)=\det[\varphi_1(t)\ \varphi_2(t)]$. Which of the following are true? (A) If $W(0)=1$, then $W(1)=e$. (B) If $W(1)=0$, then $\varphi_1,\varphi_2$ are linearly dependent on $\mathbb{R}$. (C) $W$ can have exactly one zero on $\mathbb{R}$. (D) If $W(0)=1$, then $W(t)\to0$ as $t\to-\infty$.

Formula Liouville: $W(t)=W(0)\exp\int_0^t2s\,ds=W(0)e^{t^2}$.
(A) True $W(1)=e^{1}$.
(B) True $W(1)=0$ forces $W(0)=0$, so $W\equiv0$; the values at $t=0$ are dependent and, by Theorem 1.19, so are the solutions.
(C) False · (D) False $W$ is either never zero or identically zero. And $W(t)=e^{t^2}\to\infty$ as $t\to-\infty$ — the exponent $t^2$ is even, so reading "$\operatorname{tr}\lt0$ for $t\lt0$" as decay is a trap: $\int_0^t2s\,ds=t^2\ge0$ for negative $t$ as well.
Answer (A) and (B).

E6. CSIR Part C Consider the competing-species system $x'=x(3-x-2y)$, $y'=y(2-x-y)$. Which of the following are true? (A) $(0,0)$ is an unstable node. (B) $(1,1)$ is a saddle point. (C) $(3,0)$ is a stable spiral point. (D) The system has exactly four equilibria in $\mathbb{R}^2$.

Equilibria $x=0$ or $x+2y=3$, and $y=0$ or $x+y=2$: $(0,0)$, $(0,2)$, $(3,0)$, and $x+2y=3$, $x+y=2$ give $(1,1)$. Exactly four, so (D) is true.
Jacobian $J=\begin{pmatrix}3-2x-2y&-2x\\-y&2-x-2y\end{pmatrix}$.
(A) True · (C) False $J(0,0)=\operatorname{diag}(3,2)$: an unstable node. $J(3,0)=\begin{pmatrix}-3&-6\\0&-1\end{pmatrix}$ has real eigenvalues $-3,-1$: a stable node, not a spiral (hyperbolic, so Theorem 1.28(3) transfers the type).
(B) True $J(1,1)=\begin{pmatrix}-1&-2\\-1&-1\end{pmatrix}$, $\det=1-2=-1\lt0$: a saddle (eigenvalues $-1\pm\sqrt2$). Ecologically: coexistence is unstable and one species wins — which one depends on the side of the saddle's stable separatrix.
Answer (A), (B), (D).
🧑‍🏫 For the teacher

Suggested plan — 3 lectures × 60 min.

  1. From equations to systems; linear structure. Theorem 1.17 with the pendulum, Theorem 1.18 presented as "§1.1 with norms" — prove only part (2) and the linear case of (4) on the board. Example 1 (the energy argument). Theorem 1.19, Liouville's formula with its full proof, Example 2 on the board. Project Interactive 1 (modes 1, 3 and 5) and ask students to predict the area before pressing Play.
  2. The matrix exponential. Theorem 1.22 (prove (3) by the ODE argument), Theorem 1.23, then Theorem 1.24 with the three $2\times2$ formulas derived from Cayley–Hamilton. Examples 3 and 5 by students in pairs, Example 4 on the board. Finish with pitfall 4 ($e^{A+B}$).
  3. Forcing, geometry and stability. Theorem 1.25 and Example 6; Definitions 1.14–1.15; Theorem 1.26 with Interactive 2 projected — sweep $a$ across the presets so that the class sees the point cross the parabola and the axes. Theorem 1.27, Theorem 1.28 (proof of (1) via Duhamel and Gronwall), Example 7. Exam-corner E2 and E6 live.

Discussion questions. (1) Why can the Wronskian of two arbitrary vector functions vanish at a single point, but not that of two solutions? What exactly breaks for the Euler system at $t=0$? (2) The eigenvalues of $A(t)$ in pitfall 6 have negative real part for every $t$, yet solutions grow. Where does the "frozen coefficient" reasoning go wrong? (3) In the trace–determinant plane, which types fill open regions and which lie on curves? Why does this make saddles, nodes and spirals "robust" and centres fragile — and what does it say about Theorem 1.28(3)?

Misconceptions to watch for. Applying $e^{A+B}=e^Ae^B$ without commutativity, or $\exp\int A$ for variable $A$; believing that a repeated eigenvalue always produces $te^{\lambda t}$ (Exercise II.5); "$\operatorname{Re}\lambda\le0$ ⇒ stable"; deciding stability from $\tau$ alone or $\Delta$ alone; concluding that a nonlinear equilibrium is a centre because its linearisation is one; using both $\lambda$ and $\bar\lambda$ to produce "four" real solutions of a $2\times2$ system.

Suggested homework. I(1, 4, 5, 7), II(2, 4, 5, 7), III(1, 2, 4, 6), IV(1, 3, 6, 8); Exam corner E1, E4, E5.

🔬 Research–Teaching NexusResearch-tutored · optional, about 60 minutes

Research question. If the interactions in a two-component system are not known and we model them by a random matrix $A$, what is the probability that the equilibrium is a saddle, a node or a spiral — and how likely is it to be stable?

Why it matters. Ecologists studying food webs, systems biologists modelling gene circuits and engineers assessing power grids often know the size of the interactions between components but not their exact values. In 1972 the ecologist Robert May asked whether large, richly connected random ecosystems are stable and found, to the surprise of many, that complexity tends to destroy stability. The $2\times2$ case is the place where the question can be answered completely with the tools of this section.

What to do.

  1. Let the four entries of $A$ be independent standard normal variables. Show that $P(\det A\lt0)=\tfrac12$ exactly (hint: swapping the two rows preserves the distribution and changes the sign of $\det A$), and that $P(\text{asymptotically stable})=\tfrac14$ (hint: $A\mapsto-A$).
  2. Simulate $10^6$ matrices (seeded random numbers) and estimate the probabilities of real eigenvalues, saddles, nodes, spirals and stability using only $\tau$ and $\Delta$ (Theorem 1.26). Plot the cloud of points $(\tau,\Delta)$ together with the parabola $\Delta=\tau^2/4$.
  3. Compare your estimate of $P(\text{real eigenvalues})$ with $1/\sqrt2$, and deduce $P(\text{node})$ and $P(\text{spiral})$.
  4. Repeat for $3\times3$ and $4\times4$ matrices, now testing stability through the eigenvalues numerically (Theorem 1.27). How does $P(\text{asymptotically stable})$ change with $n$? What if you subtract $sI$ (self-regulation of each species) for $s=0.5,1,2$?

Tools: Python with numpy (numpy.linalg.eigvals) or any spreadsheet with a normal random-number generator; Interactive 2 to check individual matrices.

Hand in: A one-page report with the two exact probabilities and their proofs, a table of simulated frequencies with standard errors, the $(\tau,\Delta)$ scatter plot, and a short paragraph on what changes as $n$ grows.

Going further. Read about the probability that all eigenvalues of an $n\times n$ real Gaussian matrix are real (it is $2^{-n(n-1)/4}$, a result of Edelman, Kostlan and Shub) and about May's stability criterion for large random community matrices; explain the role of the circular law for the eigenvalues of random matrices.

Instructor note: exact values for $2\times2$ Gaussian matrices are $P(\text{real eigenvalues})=1/\sqrt2\approx0.7071$, $P(\text{saddle})=\tfrac12$, $P(\text{node})=1/\sqrt2-\tfrac12\approx0.2071$, $P(\text{spiral})=1-1/\sqrt2\approx0.2929$, $P(\text{asymptotically stable})=\tfrac14$. A seeded run with $2\times10^6$ matrices gave $0.7072$, $0.5001$, $0.2071$, $0.2928$ and $0.2496$. Centres and degenerate nodes have probability $0$ — they lie on curves of the $(\tau,\Delta)$-plane — which is a good opening for discussion question (3).

🧪 Self-check quiz

0/5 correct

Q1. Let $A(t)$ be a continuous $n\times n$ matrix function on an interval $J$. The set of all solutions of $x'=A(t)x$ on $J$ is

Q2. $\Phi$ is a fundamental matrix of $x'=A(t)x$ with $\operatorname{tr}A(t)\equiv-1$ and $\det\Phi(0)=2$. Then $\det\Phi(3)=$

Q3. For $A=\begin{pmatrix}0&-1\\1&0\end{pmatrix}$, the matrix $e^{tA}$ is

Q4. The origin of $x'=-x+3y$, $y'=-3x-y$ is

Q5. For which matrix is the origin of $x'=Ax$ stable but not asymptotically stable?