Chapter 6 · Ordinary Differential Equations

6.4 Linear Systems and Stability: Planar Systems and Lyapunov Functions

Linear systems $x'=Ax$ and the matrix exponential, phase portraits of planar systems classified by trace and determinant, Lyapunov stability and Lyapunov's direct method with full proofs, linearisation and the Hartman–Grobman theorem, and a first look at limit cycles.

Many systems in science are described by several quantities that change together: positions and velocities of coupled masses, concentrations in connected tanks, populations of predators and prey, currents in an electrical network. Their models are systems of first-order equations $x'=f(x)$ with $x\in\mathbb{R}^n$. When $f$ is linear, $f(x)=Ax$, there is a complete theory: the solution is $x(t)=e^{tA}x_0$, and the eigenvalues of $A$ decide everything about the long-term behaviour. When $f$ is nonlinear we usually cannot solve at all, but we can still answer the questions that matter in practice — where are the equilibria, and does a small disturbance die out or grow? Two tools answer them: linearisation, which replaces $f$ near an equilibrium by its Jacobian matrix, and Lyapunov functions, "energy-like" functions that decrease along solutions, which work even when linearisation is silent.

GATE MA tests this section with a steady pattern: compute $e^{tA}$ or one entry of it; solve a $2\times2$ or $3\times3$ system; classify the origin of $x'=Ax$ (node, saddle, spiral, centre; stable or not) from the trace and determinant, often with a parameter; find and classify the equilibria of a nonlinear system; decide, in an MSQ, which statements about stability, Lyapunov functions or linearisation are true; and occasionally locate a limit cycle in polar coordinates. Throughout, $\|\cdot\|$ is the Euclidean norm on $\mathbb{R}^n$ and the corresponding operator norm on matrices, $\tau=\operatorname{tr}A$, $\Delta=\det A$, and $D=\tau^2-4\Delta$ for $2\times2$ matrices.

Linear Systems and the Matrix Exponential

📘 Definition 6.20 — Linear systems, fundamental matrices, the matrix exponential
A linear system is $x'=A(t)x+b(t)$ with $A(t)$ an $n\times n$ and $b(t)$ an $n\times1$ continuous matrix function; it is homogeneous if $b\equiv0$ and has constant coefficients if $A$ is constant. A fundamental matrix of $x'=A(t)x$ is an $n\times n$ matrix $\Phi(t)$ whose columns are solutions and with $\det\Phi(t)\ne0$; then every solution is $\Phi(t)c$ for a constant vector $c$. For a square matrix $M$ the matrix exponential is $$e^{M}=\sum_{k=0}^{\infty}\frac{M^k}{k!}=I+M+\frac{M^2}{2!}+\cdots .$$
📐 Theorem 6.42 — The matrix exponential solves $x'=Ax$
Let $A,B$ be $n\times n$ real or complex matrices.
  1. The series for $e^M$ converges absolutely for every $M$, and $\|e^M\|\le e^{\|M\|}$.
  2. $t\mapsto e^{tA}$ is differentiable and $\dfrac{d}{dt}e^{tA}=Ae^{tA}=e^{tA}A$.
  3. If $AB=BA$, then $e^{A+B}=e^Ae^B$. In particular $e^{(t+s)A}=e^{tA}e^{sA}$, and $e^{tA}$ is invertible with inverse $e^{-tA}$.
  4. $e^{P^{-1}AP}=P^{-1}e^AP$; $e^{\operatorname{diag}(\lambda_1,\dots,\lambda_n)}=\operatorname{diag}(e^{\lambda_1},\dots,e^{\lambda_n})$; and $\det e^{tA}=e^{t\operatorname{tr}A}$.
  5. For every $x_0$, $x(t)=e^{(t-t_0)A}x_0$ is the unique solution of $x'=Ax$, $x(t_0)=x_0$; $e^{tA}$ is the fundamental matrix with $\Phi(0)=I$.

Proof. (1) The operator norm is submultiplicative, so $\|M^k/k!\|\le\|M\|^k/k!$, and $\sum\|M\|^k/k!=e^{\|M\|}$; absolute convergence in the finite-dimensional space of matrices implies convergence. (2) The termwise derivative of $\sum t^kA^k/k!$ is $\sum_{k\ge1}t^{k-1}A^k/(k-1)!=Ae^{tA}$. On $|t|\le T$ this derived series is dominated by $\sum\|A\|^kT^{k-1}/(k-1)!\lt\infty$, so it converges uniformly and termwise differentiation is justified (the interchange theorem of §4.2). The factor $A$ can be pulled out on either side. (3) Since $A$ and $B$ commute, the binomial theorem holds: $(A+B)^k=\sum_j\binom kjA^jB^{k-j}$. Multiplying the two absolutely convergent series (Cauchy product),

$$e^Ae^B=\sum_{k\ge0}\sum_{j=0}^{k}\frac{A^j}{j!}\frac{B^{k-j}}{(k-j)!}=\sum_{k\ge0}\frac{(A+B)^k}{k!}=e^{A+B}.$$

The matrices $tA$ and $sA$ commute, and $e^{tA}e^{-tA}=e^{0}=I$. (4) $(P^{-1}AP)^k=P^{-1}A^kP$; sum the series. For a diagonal matrix the powers are diagonal. For the determinant, triangularise over $\mathbb{C}$ (§3.2): $A=PUP^{-1}$ with $U$ upper triangular with diagonal $\lambda_1,\dots,\lambda_n$. Every power $U^k$ is upper triangular with diagonal $\lambda_i^k$, so $e^{tU}$ is upper triangular with diagonal $e^{t\lambda_i}$, and $\det e^{tA}=\det e^{tU}=e^{t(\lambda_1+\cdots+\lambda_n)}=e^{t\operatorname{tr}A}$. (5) By (2), $x(t)=e^{(t-t_0)A}x_0$ is a solution, and $x(t_0)=x_0$. If $x$ is any solution, then by (2) and the product rule

$$\frac{d}{dt}\Big(e^{-(t-t_0)A}x(t)\Big)=-Ae^{-(t-t_0)A}x+e^{-(t-t_0)A}Ax=0,$$

because $A$ commutes with $e^{-(t-t_0)A}$. So $e^{-(t-t_0)A}x(t)$ is constant, equal to its value $x_0$ at $t_0$, and $x(t)=e^{(t-t_0)A}x_0$. The columns of $e^{tA}$ are the solutions with $x(0)=e_j$, and $\det e^{tA}\ne0$ by (4). ∎

📐 Theorem 6.43 — Computing $e^{tA}$
  1. Diagonalisable $A$. If $Av_i=\lambda_iv_i$ for a basis $v_1,\dots,v_n$ and $P=[v_1\cdots v_n]$, then $e^{tA}=P\operatorname{diag}(e^{\lambda_1t},\dots,e^{\lambda_nt})P^{-1}$, and every solution is $x(t)=\sum_ic_ie^{\lambda_it}v_i$.
  2. Jordan block. $e^{tJ_k(\lambda)}=e^{\lambda t}\sum_{j=0}^{k-1}\frac{t^j}{j!}N^j$ with $N=J_k(0)$: the $j$-th superdiagonal is $\frac{t^j}{j!}e^{\lambda t}$. For general $A=PJP^{-1}$ in Jordan form, $e^{tA}=Pe^{tJ}P^{-1}$.
  3. $2\times2$ formulas (no eigenvectors needed). If $A$ has eigenvalues $\lambda_1\ne\lambda_2$: $\ e^{tA}=\dfrac{e^{\lambda_1t}(A-\lambda_2I)-e^{\lambda_2t}(A-\lambda_1I)}{\lambda_1-\lambda_2}$. If $A$ has a double eigenvalue $\lambda$: $\ e^{tA}=e^{\lambda t}\big(I+t(A-\lambda I)\big)$. If $A$ is real with eigenvalues $\alpha\pm i\beta$, $\beta\gt0$: $$e^{tA}=e^{\alpha t}\left(\cos\beta t\;I+\frac{\sin\beta t}{\beta}\,(A-\alpha I)\right).$$
  4. Real solutions from complex eigenvalues. If $A$ is real and $A(a+ib)=(\alpha+i\beta)(a+ib)$, then $e^{\alpha t}(a\cos\beta t-b\sin\beta t)$ and $e^{\alpha t}(a\sin\beta t+b\cos\beta t)$ are real solutions.

Proof. (1) $A=PDP^{-1}$ and Theorem 6.42(4); expanding $e^{tA}x_0=Pe^{tD}c$ with $c=P^{-1}x_0$ gives $\sum c_ie^{\lambda_it}v_i$. (2) $J_k(\lambda)=\lambda I+N$, $\lambda I$ commutes with $N$, and $N^k=0$, so $e^{tJ}=e^{\lambda t}e^{tN}$ and the series for $e^{tN}$ stops. (3) By Cayley–Hamilton (§3.2), $(A-\lambda_1I)(A-\lambda_2I)=0$. Double eigenvalue: $(A-\lambda I)^2=0$, so $e^{t(A-\lambda I)}=I+t(A-\lambda I)$; multiply by $e^{\lambda tI}=e^{\lambda t}I$, which commutes. Complex pair: $p_A(x)=(x-\alpha)^2+\beta^2$, so $B=A-\alpha I$ satisfies $B^2=-\beta^2I$, hence $B^{2m}=(-1)^m\beta^{2m}I$ and $B^{2m+1}=(-1)^m\beta^{2m}B$. Splitting the series of $e^{tB}$ into even and odd terms gives $\cos\beta t\,I+\frac{\sin\beta t}{\beta}B$. Distinct eigenvalues: put $P_1=\frac{A-\lambda_2I}{\lambda_1-\lambda_2}$ and $P_2=\frac{A-\lambda_1I}{\lambda_2-\lambda_1}$. Then $P_1+P_2=I$, and $(A-\lambda_1I)P_1=0$, i.e. $AP_1=\lambda_1P_1$; similarly $AP_2=\lambda_2P_2$. Hence $A^kP_i=\lambda_i^kP_i$, $e^{tA}P_i=e^{\lambda_it}P_i$, and $e^{tA}=e^{tA}(P_1+P_2)=e^{\lambda_1t}P_1+e^{\lambda_2t}P_2$. (4) $x=e^{(\alpha+i\beta)t}(a+ib)$ solves $x'=Ax$; since $A$ is real, so do its real and imaginary parts, which are the two vectors stated. ∎

📐 Theorem 6.44 — Non-homogeneous systems (variation of constants)
If $b$ is continuous, the unique solution of $x'=Ax+b(t)$, $x(0)=x_0$, is $$x(t)=e^{tA}x_0+\int_0^te^{(t-s)A}\,b(s)\,ds .$$ If $b$ is constant and $A$ is invertible, this is $x(t)=x^*+e^{tA}(x_0-x^*)$ with the equilibrium $x^*=-A^{-1}b$.

Proof. Write $x(t)=e^{tA}\big(x_0+\int_0^te^{-sA}b(s)\,ds\big)$. By the product rule and the fundamental theorem of calculus, $x'=Ax+e^{tA}e^{-tA}b(t)=Ax+b$, and $x(0)=x_0$. If $x,\tilde x$ are two solutions with the same initial value, $x-\tilde x$ solves $y'=Ay$, $y(0)=0$, so it is $0$ by Theorem 6.42(5). For constant $b$, $y=x-x^*$ satisfies $y'=Ax+b=A(x-x^*)=Ay$. ∎ (The Laplace transform of §6.2 gives the same results: $\mathcal{L}\{e^{tA}\}=(sI-A)^{-1}$.)

✏️ Example 1 — A double eigenvalue
Let $A=\begin{pmatrix}3&-1\\1&1\end{pmatrix}$. Compute $e^{tA}$, solve $x'=Ax$, $x(0)=(1,2)^{\mathsf T}$, and describe the behaviour of the solutions.
Eigenvalues $\tau=4$, $\Delta=3+1=4$, $D=16-16=0$: a double eigenvalue $\lambda=2$. $A-2I=\begin{pmatrix}1&-1\\1&-1\end{pmatrix}\ne0$, so $A$ is not diagonalisable, and $(A-2I)^2=0$ (Cayley–Hamilton).
Exponential Theorem 6.43(3): $$e^{tA}=e^{2t}\begin{pmatrix}1+t&-t\\t&1-t\end{pmatrix}.$$ Check: at $t=0$ this is $I$; $\det e^{tA}=e^{4t}\big((1+t)(1-t)+t^2\big)=e^{4t}=e^{t\operatorname{tr}A}$ ✓.
IVP $x(t)=e^{tA}\begin{pmatrix}1\\2\end{pmatrix}=e^{2t}\begin{pmatrix}1-t\\2-t\end{pmatrix}$. Check: $x_1'=e^{2t}(1-2t)$ and $3x_1-x_2=e^{2t}(3-3t-2+t)=e^{2t}(1-2t)$ ✓.
Behaviour The only eigen-direction is $v=(1,1)$, since $A-2I$ has rank $1$. Every solution grows like $te^{2t}$; for large $t$, $x(t)\approx-te^{2t}(1,1)$, so all solutions leave the origin tangent to the single line $y=x$: an unstable degenerate (improper) node.
✏️ Example 2 — A spiral, with and without a constant input
Let $A=\begin{pmatrix}1&-5\\1&-3\end{pmatrix}$. (a) Compute $e^{tA}$ and decide the direction of rotation of the orbits. (b) Solve $x'=Ax+\begin{pmatrix}4\\2\end{pmatrix}$, $x(0)=0$.
Eigenvalues $\tau=-2$, $\Delta=-3+5=2$: $\lambda^2+2\lambda+2=0$, $\lambda=-1\pm i$. So $\alpha=-1$, $\beta=1$.
(a) $A+I=\begin{pmatrix}2&-5\\1&-2\end{pmatrix}$ and indeed $(A+I)^2=\begin{pmatrix}-1&0\\0&-1\end{pmatrix}=-\beta^2I$. Theorem 6.43(3): $$e^{tA}=e^{-t}\begin{pmatrix}\cos t+2\sin t&-5\sin t\\ \sin t&\cos t-2\sin t\end{pmatrix}.$$ At $(1,0)$ the velocity is $A(1,0)^{\mathsf T}=(1,1)^{\mathsf T}$: crossing the positive $x$-axis, $y$ increases, so the orbits turn anticlockwise while shrinking like $e^{-t}$ — a stable spiral.
(b) The equilibrium solves $Ax^*=-b$: $x^*=(1,1)$, because $A(1,1)^{\mathsf T}=(-4,-2)^{\mathsf T}$. By Theorem 6.44, $$x(t)=\begin{pmatrix}1\\1\end{pmatrix}-e^{tA}\begin{pmatrix}1\\1\end{pmatrix}=\begin{pmatrix}1-e^{-t}(\cos t-3\sin t)\\1-e^{-t}(\cos t-\sin t)\end{pmatrix}.$$ Check: $x(0)=0$, and $x(t)\to(1,1)$ in a decaying spiral.

Phase Portraits and Stability of Linear Systems

📘 Definition 6.21 — Autonomous systems, equilibria, orbits
An autonomous system is $x'=f(x)$ with $f$ of class $C^1$ on an open set $\Omega\subseteq\mathbb{R}^n$ (so solutions of initial value problems exist and are unique). A point $x^*$ with $f(x^*)=0$ is an equilibrium (also called a stationary point): $x(t)\equiv x^*$ is a solution. The orbit of a solution is its image curve in $\Omega$, oriented by increasing $t$; the phase portrait is the picture of the orbits. For $n=2$ we write $x'=f(x,y)$, $y'=g(x,y)$.
📘 Definition 6.22 — Lyapunov stability, asymptotic stability, instability
An equilibrium $x^*$ of $x'=f(x)$ is
  • stable (in the sense of Lyapunov) if for every $\varepsilon\gt0$ there is $\delta\gt0$ such that every solution with $\|x(0)-x^*\|\lt\delta$ exists for all $t\ge0$ and satisfies $\|x(t)-x^*\|\lt\varepsilon$ for all $t\ge0$;
  • asymptotically stable if it is stable and, in addition, 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.
📐 Theorem 6.45 — Stability of $x'=Ax$ from the eigenvalues
Let $A$ be a real $n\times n$ matrix with eigenvalues $\lambda_1,\dots,\lambda_n$. The equilibrium $0$ of $x'=Ax$ is
  1. asymptotically stable if and only if $\operatorname{Re}\lambda_i\lt0$ for every $i$; then there are $C\ge1$ and $\mu\gt0$ with $\|e^{tA}\|\le Ce^{-\mu t}$ for $t\ge0$, so every solution tends to $0$ exponentially;
  2. stable if and only if $\operatorname{Re}\lambda_i\le0$ for every $i$ and every eigenvalue with $\operatorname{Re}\lambda=0$ is semisimple (all its Jordan blocks are $1\times1$; equivalently its algebraic and geometric multiplicities agree);
  3. unstable otherwise: if some $\operatorname{Re}\lambda\gt0$, or some eigenvalue with $\operatorname{Re}\lambda=0$ has a Jordan block of size $\ge2$.

Proof. Write $A=PJP^{-1}$ in Jordan form over $\mathbb{C}$ (§3.2). By Theorem 6.43(2), every entry of $e^{tJ}$ is $0$ or of the form $\frac{t^j}{j!}e^{\lambda t}$, where $\lambda$ is the eigenvalue of its block and $j$ is less than the block size. Since $\|e^{tA}\|\le\|P\|\,\|e^{tJ}\|\,\|P^{-1}\|$ and $|t^je^{\lambda t}|=t^je^{(\operatorname{Re}\lambda)t}$:

Sufficiency in (1). Choose $\mu\gt0$ with $\operatorname{Re}\lambda_i\lt-2\mu$ for all $i$. Then $t^je^{(\operatorname{Re}\lambda)t}\le t^je^{-2\mu t}\le C_je^{-\mu t}$, because $t^je^{-\mu t}$ is bounded on $[0,\infty)$. So $\|e^{tA}\|\le Ce^{-\mu t}$, which gives stability (take $\delta=\varepsilon/C$) and convergence to $0$. Sufficiency in (2). Entries with $\operatorname{Re}\lambda\lt0$ are bounded as before; an eigenvalue with $\operatorname{Re}\lambda=0$ and only $1\times1$ blocks contributes entries $e^{\lambda t}$ of modulus $1$. So $\|e^{tA}\|\le C$ for $t\ge0$ and $\delta=\varepsilon/C$ works.

Necessity (and (3)). If $Av=\lambda v$ with $\operatorname{Re}\lambda\gt0$, $v\ne0$, then $x(t)=\operatorname{Re}\big(e^{\lambda t}\varepsilon v\big)$ is a real solution starting within $\varepsilon\|v\|$ of $0$ whose size grows like $\varepsilon e^{(\operatorname{Re}\lambda)t}$ (unboundedly, along a sequence of times): unstable. If $\operatorname{Re}\lambda=0$ and there is a Jordan chain $(A-\lambda I)w=v$, $(A-\lambda I)v=0$, then $x(t)=e^{\lambda t}(w+tv)$ solves $x'=Ax$ (differentiate), and the real or imaginary part of $\varepsilon x(t)$ starts near $0$ and grows like $\varepsilon t$: unstable. Finally, if some $\operatorname{Re}\lambda=0$, the solution $\operatorname{Re}(e^{\lambda t}\varepsilon v)$ does not tend to $0$, so $0$ is not asymptotically stable. ∎

📘 Definition 6.23 — Types of equilibria of planar linear systems
Let $A$ be a real $2\times2$ matrix with $\Delta=\det A\ne0$, so that $0$ is the only equilibrium of $x'=Ax$. The origin is a
  • saddle if the eigenvalues are real with opposite signs;
  • node if they are real with the same sign — a star (proper node) if $A=\lambda I$, a degenerate (improper) node if $\lambda_1=\lambda_2$ but $A\ne\lambda I$;
  • spiral (focus) if they are $\alpha\pm i\beta$ with $\alpha\ne0\ne\beta$;
  • centre if they are $\pm i\beta$ with $\beta\ne0$.
Nodes and spirals are stable (sinks) or unstable (sources) according to the sign of the real parts.
📐 Theorem 6.46 — Classification by trace and determinant

Let $A=\begin{pmatrix}a&b\\c&d\end{pmatrix}$ be real, $\tau=a+d$, $\Delta=ad-bc\ne0$, $D=\tau^2-4\Delta$. The eigenvalues are $\frac12(\tau\pm\sqrt D)$, and:

conditioneigenvaluestype of $0$stability
$\Delta\lt0$real, opposite signssaddleunstable
$\Delta\gt0$, $D\gt0$real, distinct, sign of $\tau$nodeasympt. stable iff $\tau\lt0$
$\Delta\gt0$, $D=0$double, $\tau/2$star or degenerate nodeasympt. stable iff $\tau\lt0$
$\Delta\gt0$, $D\lt0$, $\tau\ne0$$\frac\tau2\pm i\frac{\sqrt{-D}}{2}$spiralasympt. stable iff $\tau\lt0$
$\Delta\gt0$, $\tau=0$$\pm i\sqrt\Delta$centrestable, not asympt.

Consequently $0$ is asymptotically stable iff $\tau\lt0$ and $\Delta\gt0$. Moreover: (i) spirals and centres turn anticlockwise if $c\gt0$ and clockwise if $c\lt0$; (ii) for a centre, the orbits are the ellipses $cx^2-2axy-by^2=\text{const}$, and every solution is periodic with period $2\pi/\sqrt\Delta$; (iii) at a node with $|\lambda_1|\lt|\lambda_2|$, every orbit not on the eigenline of $\lambda_2$ enters (or leaves) the origin tangent to the eigenvector of the slow eigenvalue $\lambda_1$.

Proof. $p_A(\lambda)=\lambda^2-\tau\lambda+\Delta$, so $\lambda_1\lambda_2=\Delta$ and $\lambda_1+\lambda_2=\tau$. If $\Delta\lt0$, then $D\gt0$ and the real roots have product $\lt0$. If $\Delta\gt0$ and $D\ge0$, the real roots have product $\gt0$, hence a common sign, the sign of their sum $\tau$. If $D\lt0$ the roots are $\frac\tau2\pm\frac i2\sqrt{-D}$. The stability column is Theorem 6.45 (for a centre the eigenvalues $\pm i\sqrt\Delta$ are distinct, hence semisimple). (i) On the positive $x$-axis, $y'=cx$ has the sign of $c$. (ii) With $d=-a$ and $Q=cx^2-2axy-by^2$, a direct computation gives $\frac{d}{dt}Q(x,y)=2cxx'-2a(x'y+xy')-2byy'$ with $x'=ax+by$, $y'=cx-ay$; expanding, the terms $\pm2acx^2$, $\pm2bcxy$, $\pm2a^2xy$ and $\pm2aby^2$ cancel in pairs, so $\frac{d}{dt}Q=0$, and $Q$ is definite because $\det\begin{pmatrix}c&-a\\-a&-b\end{pmatrix}=-bc-a^2=\Delta\gt0$; its level curves are ellipses. The eigenvalues $\pm i\sqrt\Delta$ give period $2\pi/\sqrt\Delta$. (iii) $x(t)=c_1e^{\lambda_1t}v_1+c_2e^{\lambda_2t}v_2$; at a stable node, as $t\to\infty$, the term $e^{\lambda_1t}$ decays more slowly and dominates when $c_1\ne0$, so $x(t)/\|x(t)\|\to\pm v_1/\|v_1\|$ (for an unstable node let $t\to-\infty$). ∎

🧭 Problem-solving strategy — classifying and sketching $x'=Ax$ in the plane
  1. Compute $\tau$, $\Delta$ and, if $\Delta\gt0$, $D=\tau^2-4\Delta$. Read the type from the table; check $\Delta=0$ separately (then a whole line of equilibria, $N(A)$).
  2. Real eigenvalues: find the eigenvectors, draw the eigenlines, mark the motion on them (out for $\lambda\gt0$, in for $\lambda\lt0$); other orbits are tangent to the slow direction near $0$ and parallel to the fast direction far away.
  3. Complex eigenvalues: the sign of $\tau$ gives in/out, the sign of $c$ gives the sense of rotation; for a centre draw ellipses.
  4. With a parameter, sketch the path of $(\tau,\Delta)$ in the trace–determinant plane against the parabola $\Delta=\tau^2/4$ (Interactive 1).
✏️ Example 3 — A one-parameter family
Classify the origin of $x'=A_kx$, $A_k=\begin{pmatrix}k&1\\-2&-1\end{pmatrix}$, for every real $k$.
Invariants $\tau=k-1$, $\Delta=-k+2$, $D=(k-1)^2-4(2-k)=k^2+2k-7$, which vanishes at $k=-1\pm2\sqrt2$, i.e. $k\approx-3.828$ and $k\approx1.828$.
$\Delta\le0$ $k\gt2$: saddle (unstable). $k=2$: $\Delta=0$, eigenvalues $0$ and $\tau=1$; every point of the line $N(A_2)=\{2x+y=0\}$ is an equilibrium (non-isolated; unstable since $\lambda=1\gt0$).
$\Delta\gt0$ ($k\lt2$) $D\lt0$ for $-1-2\sqrt2\lt k\lt-1+2\sqrt2$: spiral — stable for $k\lt1$, a centre at $k=1$, unstable for $1\lt k\lt-1+2\sqrt2$. $D\gt0$: $k\lt-1-2\sqrt2$ gives a stable node ($\tau\lt0$), and $-1+2\sqrt2\lt k\lt2$ an unstable node ($\tau\gt0$). $D=0$: degenerate nodes at $k=-1\mp2\sqrt2$ (stable, resp. unstable; $A_k$ is never a multiple of $I$).
Summary Asymptotically stable exactly for $k\lt1$; stable but not asymptotically stable at $k=1$; unstable for $k\gt1$. Rotation for the spirals and the centre is clockwise ($c=-2\lt0$). Check at $k=1$: $A_1=\begin{pmatrix}1&1\\-2&-1\end{pmatrix}$, $A_1^2=-I$, eigenvalues $\pm i$, period $2\pi$ ✓.

Lyapunov Functions and Lyapunov's Theorems

For $x'=Ax$ the eigenvalues settle stability. For nonlinear systems Lyapunov's idea (1892) is to imitate the physicist's energy: if some positive quantity can only decrease along every solution, solutions near a minimum of it are trapped. The point is that the rate of change of $V(x(t))$ can be computed without solving the system.

📘 Definition 6.24 — Definite functions, orbital derivative, Lyapunov function
Let $U$ be an open neighbourhood of an equilibrium, which we place at $0$, and $V\in C^1(U)$ with $V(0)=0$. $V$ is positive definite on $U$ if $V(x)\gt0$ for $x\ne0$, positive semidefinite if $V\ge0$, and (semi)definite negative if $-V$ is. The orbital derivative of $V$ along $x'=f(x)$ is $$\dot V(x)=\nabla V(x)\cdot f(x),$$ so that $\frac{d}{dt}V(x(t))=\dot V(x(t))$ along every solution (chain rule). A Lyapunov function for $0$ is a positive definite $V$ with $\dot V\le0$ on $U$; it is strict if $\dot V$ is negative definite.
📐 Theorem 6.47 — Lyapunov's stability theorem (the direct method)
Let $0$ be an equilibrium of $x'=f(x)$, $f\in C^1$, and let $V$ be positive definite on a neighbourhood $U$ of $0$.
  1. If $\dot V\le0$ on $U$, then $0$ is stable.
  2. If $\dot V$ is negative definite on $U$, then $0$ is asymptotically stable.

Proof. (1) Let $\varepsilon\gt0$ with the closed ball $\bar B_\varepsilon\subset U$. The sphere $S_\varepsilon=\{\|x\|=\varepsilon\}$ is compact and $V\gt0$ on it, so $m=\min_{S_\varepsilon}V\gt0$. By continuity and $V(0)=0$ there is $\delta\in(0,\varepsilon)$ with $V(x)\lt m$ for $\|x\|\lt\delta$. Let $\|x(0)\|\lt\delta$. As long as the solution stays in $\bar B_\varepsilon$, $V(x(t))$ is non-increasing, so $V(x(t))\le V(x(0))\lt m$; therefore the solution can never reach $S_\varepsilon$, where $V\ge m$. It stays in the compact set $\bar B_\varepsilon$, hence exists for all $t\ge0$ (a solution can only stop existing by leaving every compact set), and $\|x(t)\|\lt\varepsilon$.

(2) Take $\delta_0=\delta$ from (1) for some fixed $\varepsilon$. Since $V(x(t))$ decreases and is $\ge0$, it has a limit $L\ge0$. Suppose $L\gt0$. By continuity of $V$ there is $\rho\gt0$ with $V\lt L$ on $B_\rho$, so the solution, on which $V\ge L$, stays in the compact annulus $K=\{\rho\le\|x\|\le\varepsilon\}$. On $K$ the continuous negative function $\dot V$ has a maximum $-\gamma\lt0$, so $V(x(t))\le V(x(0))-\gamma t\to-\infty$, contradicting $V\ge0$. So $L=0$. Finally $x(t)\to0$: otherwise $\|x(t_k)\|\ge\rho'\gt0$ along a sequence $t_k\to\infty$, and $V(x(t_k))\ge\min\{V(x):\rho'\le\|x\|\le\varepsilon\}\gt0$, contradicting $L=0$. ∎

📐 Theorem 6.48 — Lyapunov's instability theorem
Let $0$ be an equilibrium of $x'=f(x)$ and $V\in C^1(U)$ with $V(0)=0$. If $\dot V$ is positive definite on $U$ and every neighbourhood of $0$ contains points where $V\gt0$, then $0$ is unstable. (Chetaev's refinement: it suffices that $\dot V\gt0$ at the points of $U\setminus\{0\}$ where $V\gt0$.)

Proof. Fix $\varepsilon\gt0$ with $\bar B_\varepsilon\subset U$; we show that solutions starting arbitrarily close to $0$ leave $\bar B_\varepsilon$. Given $\delta\gt0$, choose $x_0$ with $\|x_0\|\lt\delta$ and $V(x_0)=v_0\gt0$. Suppose the solution stays in $\bar B_\varepsilon$ for all $t\ge0$. Since $\dot V\ge0$, $V(x(t))\ge v_0$. The set $K=\{x\in\bar B_\varepsilon:V(x)\ge v_0\}$ is compact and does not contain $0$, so $\dot V\ge\gamma\gt0$ on $K$, and $V(x(t))\ge v_0+\gamma t\to\infty$ — impossible, since $V$ is bounded on $\bar B_\varepsilon$. ∎

📐 Theorem 6.49 — LaSalle's invariance principle
Let $\Omega$ be a compact set that is positively invariant for $x'=f(x)$ (solutions starting in $\Omega$ stay in $\Omega$ for $t\ge0$), and let $V\in C^1$ satisfy $\dot V\le0$ on $\Omega$. Let $M$ be the largest invariant subset of $\{x\in\Omega:\dot V(x)=0\}$. Then every solution starting in $\Omega$ approaches $M$ as $t\to\infty$. Corollary (Barbashin–Krasovskii). If $V$ is positive definite, $\dot V\le0$ near $0$, and no solution other than $x\equiv0$ stays in the set $\{\dot V=0\}$, then $0$ is asymptotically stable.

Proof (sketch). A bounded forward orbit has a nonempty compact $\omega$-limit set $\omega$ (all limits of $x(t_k)$ with $t_k\to\infty$), which is invariant and is approached by the orbit — standard facts proved with Bolzano–Weierstrass and continuous dependence on initial data. $V(x(t))$ decreases to a limit $L$, so $V\equiv L$ on $\omega$. A solution starting in $\omega$ stays in $\omega$, so $V$ is constant along it and $\dot V=0$ there: $\omega\subseteq M$. For the corollary, Theorem 6.47(1) gives stability, a small sublevel set of $V$ around $0$ is a compact positively invariant $\Omega$, and $M=\{0\}$ by hypothesis. ∎

📐 Theorem 6.50 — Quadratic Lyapunov functions for linear systems
Let every eigenvalue of the real matrix $A$ have negative real part. Then for every symmetric positive definite $Q$ the Lyapunov equation $A^{\mathsf T}P+PA=-Q$ has a unique solution $P$, namely $$P=\int_0^\infty e^{sA^{\mathsf T}}Qe^{sA}\,ds ,$$ and $P$ is symmetric positive definite. Then $V(x)=x^{\mathsf T}Px$ satisfies $\dot V=-x^{\mathsf T}Qx$ along $x'=Ax$. Conversely, if such $P\gt0$ exists for some $Q\gt0$, all eigenvalues of $A$ have negative real part.

Proof. By Theorem 6.45(1), $\|e^{sA}\|\le Ce^{-\mu s}$, so the integrand is bounded by $C^2\|Q\|e^{-2\mu s}$ and the integral converges. $P$ is symmetric, and $x^{\mathsf T}Px=\int_0^\infty(e^{sA}x)^{\mathsf T}Q(e^{sA}x)\,ds\gt0$ for $x\ne0$, since $e^{sA}x\ne0$. Next, $\frac{d}{ds}\big(e^{sA^{\mathsf T}}Qe^{sA}\big)=A^{\mathsf T}e^{sA^{\mathsf T}}Qe^{sA}+e^{sA^{\mathsf T}}Qe^{sA}A$, and integrating over $[0,\infty)$ gives $A^{\mathsf T}P+PA=\big[e^{sA^{\mathsf T}}Qe^{sA}\big]_0^\infty=-Q$. Uniqueness: if $A^{\mathsf T}X+XA=0$, then $\frac{d}{ds}\big(e^{sA^{\mathsf T}}Xe^{sA}\big)=0$, so $X=e^{sA^{\mathsf T}}Xe^{sA}\to0$, i.e. $X=0$. Along solutions $\dot V=x'^{\mathsf T}Px+x^{\mathsf T}Px'=x^{\mathsf T}(A^{\mathsf T}P+PA)x=-x^{\mathsf T}Qx$. Conversely, $V=x^{\mathsf T}Px$ is then a strict Lyapunov function, $0$ is asymptotically stable by Theorem 6.47, and Theorem 6.45(1) gives the eigenvalue condition. ∎

🧭 Problem-solving strategy — looking for a Lyapunov function
  1. Energy first. For $x''+h(x')+g(x)=0$ (as $x'=y$, $y'=-g(x)-h(y)$) try $V=\frac12y^2+\int_0^xg$; then $\dot V=-y\,h(y)$.
  2. Quadratic or even-power trials. Try $V=ax^2+by^2$, or $ax^{2p}+by^{2q}$, and choose $a,b,p,q\gt0$ so that the cross terms in $\dot V$ cancel. The cubic and quintic terms in the system tell you which powers to use.
  3. Semidefinite $\dot V$? Use LaSalle: find where $\dot V=0$ and check which solutions can stay there.
  4. Instability. Look for $V$ with $\dot V\gt0$ and $V\gt0$ somewhere near $0$ (Theorem 6.48); $x^2-y^2$ or $xy$ are typical near saddles.
  5. Failing to find a Lyapunov function proves nothing.
✏️ Example 4 — Same linearisation, three different fates
Decide the stability of the origin for (a) $x'=-y-x^3,\ y'=x-y^3$; (b) $x'=-y+x^3,\ y'=x+y^3$; (c) $x'=-y-x^3,\ y'=x^5-y^3$. For (c), find $a,b\gt0$ for which $V=ax^6+by^2$ works.
(a) The linear part is $\begin{pmatrix}0&-1\\1&0\end{pmatrix}$, a centre — it decides nothing (Theorem 6.51(3) below). With $V=x^2+y^2$: $\dot V=2x(-y-x^3)+2y(x-y^3)=-2x^4-2y^4$, negative definite. By Theorem 6.47(2) the origin is asymptotically stable.
(b) Same linear part. Now $\dot V=2x(-y+x^3)+2y(x+y^3)=2x^4+2y^4$, positive definite, and $V\gt0$ near $0$. By Theorem 6.48 the origin is unstable.
(c) Here the Jacobian at $0$ is $\begin{pmatrix}0&-1\\0&0\end{pmatrix}$, eigenvalues $0,0$. With $V=ax^6+by^2$: $$\dot V=6ax^5(-y-x^3)+2by(x^5-y^3)=(2b-6a)x^5y-6ax^8-2by^4 .$$ Take $b=3a$, e.g. $V=x^6+3y^2$: $\dot V=-6x^8-6y^4$, negative definite. The origin is asymptotically stable.
Lesson Systems (a) and (b) have the same linearisation and opposite fates; the decisive information sits in the cubic terms, which $V$ detects.
✏️ Example 5 — The damped pendulum and LaSalle
The pendulum with friction, $\theta''+c\,\theta'+\sin\theta=0$ ($c\gt0$), is the system $x'=y$, $y'=-\sin x-cy$. Classify its equilibria, and show that the bottom position $(0,0)$ is asymptotically stable using the energy $E=\frac12y^2+1-\cos x$. What changes when $c=0$?
Equilibria $y=0$, $\sin x=0$: $(k\pi,0)$. Jacobian $\begin{pmatrix}0&1\\-\cos x&-c\end{pmatrix}$.
Linearisation At $(2k\pi,0)$: $\tau=-c\lt0$, $\Delta=1$: a stable spiral if $0\lt c\lt2$, a stable degenerate node if $c=2$, a stable node if $c\gt2$ — hyperbolic, so asymptotically stable (Theorem 6.51). At $((2k+1)\pi,0)$: $\Delta=-1$: saddles (the inverted pendulum).
Energy $\dot E=y\,y'+\sin x\cdot x'$, and with $x'=y$, $y'=-\sin x-cy$ this is $y(-\sin x-cy)+y\sin x=-cy^2\le0$. $E$ is positive definite on $|x|\lt\pi$, so Theorem 6.47(1) gives stability — but $\dot E$ is only semidefinite (it vanishes on the whole $x$-axis).
LaSalle For $0\lt h\lt2$, the component $\Omega_h$ of $\{E\le h\}$ containing $0$ lies in $|x|\lt\pi$ (since $1-\cos x\le h\lt2$), is compact and positively invariant ($E$ cannot increase). A solution staying in $\{\dot E=0\}=\{y=0\}$ has $y\equiv0$, so $0=y'=-\sin x$ and $x\equiv0$ in $\Omega_h$. By Theorem 6.49, every solution starting in $\Omega_h$ tends to $(0,0)$: asymptotic stability, with every point of energy $\lt2$ near the bottom in the basin.
$c=0$ $\dot E=0$: energy is conserved, orbits near $0$ are the closed level curves of $E$, and $(0,0)$ is a centre — stable, not asymptotically stable. The saddles remain saddles.

Linearisation, Hartman–Grobman and Limit Cycles

📘 Definition 6.25 — Linearisation; hyperbolic equilibrium
Let $x^*$ be an equilibrium of $x'=f(x)$, $f\in C^1$. The linearisation at $x^*$ is $u'=Au$ with $A=Df(x^*)$, the Jacobian matrix; it comes from $f(x^*+u)=Au+o(\|u\|)$. The equilibrium is hyperbolic if no eigenvalue of $A$ has zero real part.
📐 Theorem 6.51 — The principle of linearised stability
Let $x^*$ be an equilibrium of $x'=f(x)$ with $f\in C^1$ and $A=Df(x^*)$.
  1. If every eigenvalue of $A$ has negative real part, $x^*$ is asymptotically stable (indeed exponentially: $\|x(t)-x^*\|\le Ce^{-\mu t}\|x(0)-x^*\|$ near $x^*$).
  2. If some eigenvalue of $A$ has positive real part, $x^*$ is unstable.
  3. If $A$ has an eigenvalue with zero real part and none with positive real part, the linearisation decides nothing: the nonlinear terms do.

Proof. Put $x^*=0$ and write $f(x)=Ax+g(x)$; since $f$ is $C^1$ and $g(0)=0$, $Dg(0)=0$, we have $\|g(x)\|/\|x\|\to0$ as $x\to0$. (1) Let $P$ solve $A^{\mathsf T}P+PA=-I$ (Theorem 6.50) and $V=x^{\mathsf T}Px$. Along solutions of the nonlinear system,

$$\dot V=x^{\mathsf T}(A^{\mathsf T}P+PA)x+2x^{\mathsf T}Pg(x)\le-\|x\|^2+2\|P\|\,\|x\|\,\|g(x)\| .$$

Choose $r\gt0$ with $\|g(x)\|\le\frac{\|x\|}{4\|P\|}$ for $\|x\|\le r$. There $\dot V\le-\frac12\|x\|^2$, negative definite, and Theorem 6.47(2) gives asymptotic stability. With $\lambda_{\min},\lambda_{\max}$ the extreme eigenvalues of $P$, $\dot V\le-\frac{1}{2\lambda_{\max}}V$, so $V(x(t))\le e^{-t/(2\lambda_{\max})}V(x(0))$, which is the exponential estimate. (2) Sketch: after a linear change of coordinates $x=(u,s)$ separating the eigenvalues with positive real part from the others, one builds quadratic forms $P_u,P_s$ (from Lyapunov equations for the two blocks, after shifting the second block slightly) such that $V=u^{\mathsf T}P_uu-s^{\mathsf T}P_ss$ has $\dot V\ge c\|x\|^2$ near $0$; $V\gt0$ on the $u$-axis arbitrarily close to $0$, and Chetaev's form of Theorem 6.48 gives instability. (3) Example 4: (a) and (b) have the same centre as linearisation, but one is asymptotically stable and the other unstable; Exercise IV.3 gives a third. ∎

📐 Theorem 6.52 — Hartman–Grobman theorem (statement)
Let $x^*$ be a hyperbolic equilibrium of $x'=f(x)$, $f\in C^1$, and $A=Df(x^*)$. Then there are neighbourhoods $U$ of $x^*$ and $W$ of $0$ and a homeomorphism $h:U\to W$ that carries orbits of $x'=f(x)$ in $U$ onto orbits of $u'=Au$ in $W$, preserving the direction of time. In particular, near $x^*$ the nonlinear phase portrait is a continuous deformation of the linear one: saddles look like saddles, sinks like sinks, sources like sources. For planar systems with $f$ of class $C^2$, Hartman showed that $h$ can be taken to be a $C^1$ diffeomorphism; then nodes stay nodes and spirals stay spirals. At a non-hyperbolic equilibrium (a linear centre, or a zero eigenvalue) no such conclusion holds.

Two remarks. A homeomorphism cannot tell a stable node from a stable spiral (both are "sinks"), which is why the $C^1$ refinement is needed to transfer the finer type. And Hartman–Grobman does not say how large $U$ is: the basin of attraction of a stable equilibrium is a global question, answered by Lyapunov functions and LaSalle (as in Example 5), not by linearisation.

✏️ Example 6 — Prove or disprove: four statements about stability
(a) If the linearisation at $x^*$ is a centre, $x^*$ is a centre of the nonlinear system. (b) If every eigenvalue of $Df(x^*)$ has real part $\le0$, $x^*$ is stable. (c) If $Df(x^*)$ has an eigenvalue with positive real part, $x^*$ is unstable. (d) If $V$ is positive definite and $\dot V\le0$, the equilibrium is asymptotically stable.
(a) False For $x'=-y+\mu x(x^2+y^2)$, $y'=x+\mu y(x^2+y^2)$, polar coordinates give $rr'=xx'+yy'=\mu r^4$, so $r'=\mu r^3$, and $r^2\theta'=xy'-yx'=r^2$, so $\theta'=1$. The linearisation is the centre $\begin{pmatrix}0&-1\\1&0\end{pmatrix}$ for every $\mu$, but for $\mu\lt0$ the orbits spiral in ($r(t)=r_0/\sqrt{1+2|\mu|r_0^2t}\to0$, asymptotically stable) and for $\mu\gt0$ they spiral out (unstable). Only $\mu=0$ gives a centre.
(b) False $x'=x^2$, $y'=-y$: $Df(0)=\operatorname{diag}(0,-1)$, real parts $0,-1$. But $x(t)=\frac{x_0}{1-x_0t}$ blows up for every $x_0\gt0$, however small: unstable. (Also for linear systems: $x'=y$, $y'=0$ has eigenvalues $0,0$ and the unbounded solutions $(x_0+y_0t,\,y_0)$.)
(c) True Theorem 6.51(2).
(d) False For $x'=-y$, $y'=x$ and $V=x^2+y^2$, $\dot V=0$: the origin is a centre, stable but not asymptotically stable. Asymptotic stability needs $\dot V$ negative definite, or the extra LaSalle condition.
📘 Definition 6.26 — Periodic orbits and limit cycles
A non-constant solution with $x(t+T)=x(t)$ for all $t$ (some $T\gt0$) traces a closed curve, a periodic orbit. A periodic orbit $\Gamma$ is a limit cycle if it is isolated: some neighbourhood of $\Gamma$ contains no other periodic orbit. It is stable (attracting) if all orbits starting near $\Gamma$ approach $\Gamma$ as $t\to\infty$, unstable if they approach it as $t\to-\infty$, and semi-stable if it attracts on one side and repels on the other.

The closed orbits around a linear centre are not limit cycles: they come in a continuous family. A limit cycle is a genuinely nonlinear phenomenon — a self-sustained oscillation of a fixed amplitude, like the beating of a heart, the squeal of a brake or the oscillation of a valve circuit described by van der Pol's equation $x''-\mu(1-x^2)x'+x=0$.

📐 Theorem 6.53 — Bendixson–Dulac negative criterion
Let $D\subseteq\mathbb{R}^2$ be a simply connected open set, $f=(f_1,f_2)$ of class $C^1$ on $D$, and $\varphi$ a $C^1$ function on $D$. If $\operatorname{div}(\varphi f)=\partial_x(\varphi f_1)+\partial_y(\varphi f_2)$ is everywhere positive on $D$, or everywhere negative on $D$, then $x'=f(x)$ has no periodic orbit lying in $D$. (With $\varphi=1$: Bendixson's criterion, $\operatorname{div}f$ of one strict sign.)

Proof. Suppose $\Gamma\subset D$ is a periodic orbit of period $T$; it is a simple closed curve (orbits of an autonomous system cannot cross themselves), and since $D$ is simply connected, the region $R$ enclosed by $\Gamma$ lies in $D$. Orient $\Gamma$ positively (replacing $t$ by $-t$ if necessary, which changes nothing below). By Green's theorem (§2.2),

$$\iint_R\operatorname{div}(\varphi f)\,dA=\oint_\Gamma\varphi f_1\,dy-\varphi f_2\,dx=\int_0^T\varphi\,\big(f_1\,y'-f_2\,x'\big)\,dt=\int_0^T\varphi\,(f_1f_2-f_2f_1)\,dt=0,$$

using $x'=f_1$, $y'=f_2$ along $\Gamma$. But the integrand on the left is continuous and of one strict sign on $R$, which has positive area, so the left side is not $0$. ∎

📐 Theorem 6.54 — Poincaré–Bendixson theorem (statement) and the index fact
Let $f$ be $C^1$ on an open set of $\mathbb{R}^2$, and let $K$ be a compact, positively invariant set containing no equilibrium. Then $K$ contains a periodic orbit, and every forward orbit in $K$ approaches a periodic orbit. Moreover, every periodic orbit of a planar $C^1$ system encloses at least one equilibrium.

The usual way to apply the theorem is a trapping annulus: a ring whose boundary the flow crosses inwards on both edges and which contains no equilibrium. The proof uses the Jordan curve theorem and the fact that a planar orbit cannot cross itself; it fails in dimension three (chaos is possible there — the Lorenz equations), which is why limit-cycle theory is special to the plane.

✏️ Example 7 — A limit cycle, and a Dulac function
(a) Show that $x'=x-y-x(x^2+y^2)$, $y'=x+y-y(x^2+y^2)$ has a stable limit cycle, and find all solutions explicitly in polar form. (b) Show that $x'=y$, $y'=-x-y+x^2+y^2$ has no periodic orbit, using $\varphi=e^{-2x}$.
(a) Polar form $rr'=xx'+yy'=r^2-r^4$ and $r^2\theta'=xy'-yx'=r^2$, so $$r'=r(1-r^2),\qquad\theta'=1 .$$
(a) Solve With $u=r^{-2}$: $u'=-2r^{-3}r'=-2u+2$, so $u=1+(u_0-1)e^{-2t}$ and $$r(t)=\frac{1}{\sqrt{1+\left(r_0^{-2}-1\right)e^{-2t}}},\qquad\theta(t)=\theta_0+t .$$ Every solution with $r_0\gt0$ has $r(t)\to1$: the unit circle (the solution with $r_0=1$, of period $2\pi$) is a stable limit cycle; it is isolated because $r'\ne0$ for $r\ne0,1$.
(a) Cross-checks The origin is the only equilibrium, with Jacobian $\begin{pmatrix}1&-1\\1&1\end{pmatrix}$: $\tau=2$, $\Delta=2$, an unstable spiral, consistent with $r'\gt0$ for small $r$. The annulus $\frac12\le r\le2$ is a trapping region ($r'\gt0$ on $r=\frac12$, $r'\lt0$ on $r=2$) without equilibria, as Poincaré–Bendixson requires; and the cycle encloses the equilibrium $0$ (Theorem 6.54). Also $V=(1-r^2)^2$ has $\dot V=-4r^2(1-r^2)^2\le0$: a Lyapunov function for the cycle (Interactive 2).
(b) $\operatorname{div}f=-1+2y$ changes sign, so Bendixson's criterion does not apply directly. With $\varphi=e^{-2x}$: $$\partial_x\big(e^{-2x}y\big)+\partial_y\big(e^{-2x}(-x-y+x^2+y^2)\big)=-2e^{-2x}y+e^{-2x}(-1+2y)=-e^{-2x}\lt0$$ on all of $\mathbb{R}^2$ (simply connected). By Theorem 6.53 there is no periodic orbit.
⚠️ Counterexamples and pitfalls
  1. $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}$ but $e^{A+B}=\begin{pmatrix}\cosh1&\sinh1\\\sinh1&\cosh1\end{pmatrix}$. Commutativity is essential.
  2. $e^{tA}$ is not the entrywise exponential. $\begin{pmatrix}e^{ta_{ij}}\end{pmatrix}$ equals $e^{tA}$ only for diagonal $A$.
  3. One invariant is never enough in the plane. $\operatorname{tr}A\lt0$ alone fails ($\operatorname{diag}(1,-3)$ is a saddle); $\det A\gt0$ alone fails ($I$ is an unstable star). Both together are needed. In dimension $3$, $\operatorname{tr}A\lt0$ and $\det A\lt0$ are necessary but not sufficient: $\operatorname{diag}(1,1,-3)$.
  4. $\operatorname{Re}\lambda\le0$ does not give stability. $x'=y$, $y'=0$ (eigenvalues $0,0$, one Jordan block) has the unbounded solutions $(x_0+y_0t,\,y_0)$. Semisimplicity of the imaginary-axis eigenvalues is needed (Theorem 6.45(2)).
  5. Stable $\ne$ asymptotically stable (centres), and attracting $\ne$ stable: there are planar systems (Vinograd's example) in which every solution tends to the equilibrium but some first make large excursions from arbitrarily close starting points. That is why Definition 6.22 demands both properties.
  6. A linear centre decides nothing for the nonlinear system (Example 6(a)), and neither does a zero eigenvalue: $x'=-x^3$, $y'=-y$ is asymptotically stable and $x'=x^2$, $y'=-y$ is unstable, with the same linearisation.
  7. A Lyapunov function must be positive definite. For $x'=-x$, $y'=y$, the function $V=x^2$ has $\dot V=-2x^2\le0$, yet the origin is unstable: $V$ vanishes on the $y$-axis, which is exactly where solutions escape.
  8. $\dot V\le0$ gives only stability; for asymptotic stability use negative definiteness or LaSalle (Example 5). And not finding a Lyapunov function proves nothing.
  9. Bendixson–Dulac is a one-way test. If $\operatorname{div}f$ changes sign, nothing follows (Example 7(b) needed a weight). If $\operatorname{div}f\equiv0$ (e.g. a centre $x'=-y$, $y'=x$) there may be infinitely many periodic orbits.
  10. Hartman–Grobman is local and needs hyperbolicity. It says nothing about the size of the basin of attraction, nothing at a centre, and on its own it does not distinguish nodes from spirals.
📚 Go deeper — the matrix exponential in the CSIR NET course
  • CSIR Unit 3 · §1.3 Systems of First-Order Equations — reduction of $n$-th order equations to systems and existence for systems, fundamental matrices and Liouville's formula for variable coefficients, the matrix exponential with generalised eigenvectors worked out in dimension three, Duhamel's formula, the trace–determinant classification, and a proof of linearised stability through Duhamel's formula and Gronwall's inequality (an alternative to the Lyapunov-function proof given here).

Two Labs

Interactive 1 — The Trace–Determinant Plane and Phase Portraits

The system is $x'=y$, $y'=-\Delta x+\tau y$ (the damped oscillator $x''-\tau x'+\Delta x=0$), whose matrix has trace $\tau$ and determinant $\Delta$. Left: orbits (grey), eigenlines (green, dashed) and particles flowing with the solutions (red). Right: the $(\tau,\Delta)$ plane with the parabola $\Delta=\tau^2/4$; the red dot is the current matrix. Move the sliders across the parabola and the axes and watch the type change: nodes become spirals at the parabola, spirals become centres on the positive $\Delta$-axis, everything below the $\tau$-axis is a saddle.

τ, Δ—
eigenvalues—
type—
stability—
Interactive 2 — Lyapunov Functions at Work

Left: level curves of a Lyapunov function $V$ (purple) and a solution (red) traced as time runs. Right: the graph of $V(x(t))$ against $t$. When $\dot V\le0$ the solution can only cross level curves inwards and the right-hand graph never rises. Compare the systems of Example 4, the damped pendulum (where $\dot V=0$ on the whole $x$-axis and LaSalle is needed), and the limit cycle of Example 7, where $V=(1-r^2)^2$ measures the distance to the cycle. Move the slider to change the starting point.

t—
V(x(t))—
V̇—
linearisation at 0—

Exercises

I
Linear systems and the matrix exponential.
  • 1 Compute $e^{tA}$ for $A=\begin{pmatrix}0&1\\-4&0\end{pmatrix}$.
  • 2 Compute $e^{tA}$ for $A=\begin{pmatrix}2&1\\0&2\end{pmatrix}$ directly from the series, and check with Theorem 6.43(3).
  • 3 Compute $e^{tA}$ for $A=\begin{pmatrix}1&2\\2&1\end{pmatrix}$ using the distinct-eigenvalue formula.
  • 4 Solve $x'=Ax$, $x(0)=(1,1,1)^{\mathsf T}$, for $A=\begin{pmatrix}1&1&0\\0&1&0\\0&0&2\end{pmatrix}$.
  • 5 Find $\det e^{A}$ for $A=\begin{pmatrix}1&2\\3&4\end{pmatrix}$ without computing $e^A$.
  • 6 Verify the first pitfall: compute $e^A$, $e^B$, $e^Ae^B$ and $e^{A+B}$ for $A=\begin{pmatrix}0&1\\0&0\end{pmatrix}$, $B=\begin{pmatrix}0&0\\1&0\end{pmatrix}$.
  • 7 Solve $x'=\begin{pmatrix}0&1\\-1&0\end{pmatrix}x+\begin{pmatrix}0\\1\end{pmatrix}$, $x(0)=0$.
  • 8 (Two tanks.) Two well-stirred tanks hold $100$ L of water each. Water is pumped from tank 1 to tank 2 and from tank 2 to tank 1 at $10$ L/min each way. Initially tank 1 contains $10$ kg of dissolved salt and tank 2 none. Find the salt amounts $x_1(t),x_2(t)$ and the time when tank 2 holds $4$ kg.
1 Eigenvalues $\pm2i$ ($\alpha=0$, $\beta=2$): $e^{tA}=\cos2t\,I+\frac{\sin2t}{2}A$, that is $$e^{tA}=\begin{pmatrix}\cos2t&\frac12\sin2t\\-2\sin2t&\cos2t\end{pmatrix}.$$
2 $A=2I+N$, $N^2=0$: $e^{tA}=e^{2t}(I+tN)=e^{2t}\begin{pmatrix}1&t\\0&1\end{pmatrix}$ — the double-eigenvalue formula with $A-2I=N$.
3 $\lambda_1=3$, $\lambda_2=-1$: $e^{tA}=\frac14\left(e^{3t}(A+I)-e^{-t}(A-3I)\right)$, that is $$e^{tA}=\frac12\begin{pmatrix}e^{3t}+e^{-t}&e^{3t}-e^{-t}\\e^{3t}-e^{-t}&e^{3t}+e^{-t}\end{pmatrix}.$$
4 Block form $J_2(1)\oplus(2)$: $x=\big((1+t)e^t,\ e^t,\ e^{2t}\big)^{\mathsf T}$.
5 $\det e^A=e^{\operatorname{tr}A}=e^5$.
6 $e^A=I+A=\begin{pmatrix}1&1\\0&1\end{pmatrix}$, $e^B=\begin{pmatrix}1&0\\1&1\end{pmatrix}$, product $\begin{pmatrix}2&1\\1&1\end{pmatrix}$. $A+B$ has eigenvalues $\pm1$ and $(A+B)^2=I$, so $e^{A+B}=\cosh1\,I+\sinh1\,(A+B)$. Different ($AB\ne BA$).
7 $x^*=-A^{-1}b=(1,0)$; $x=x^*-e^{tA}x^*=(1-\cos t,\ \sin t)$. Check: $x_1'=\sin t=x_2$ and $x_2'=\cos t=-x_1+1$ ✓.
8 Each tank loses $\frac{10}{100}$ of its salt per minute and gains the same fraction of the other's: $x_1'=-0.1x_1+0.1x_2$, $x_2'=0.1x_1-0.1x_2$. Eigenvalues $0$ (eigenvector $(1,1)$) and $-0.2$ (eigenvector $(1,-1)$): $x_1=5+5e^{-0.2t}$ kg, $x_2=5-5e^{-0.2t}$ kg. $x_2=4$ when $e^{-0.2t}=0.2$, $t=5\log5\approx8.05$ min.
II
Classification and stability of linear systems.
  • 1 Classify the origin for $A=\begin{pmatrix}1&3\\3&1\end{pmatrix}$ and give the eigenlines.
  • 2 Classify the origin for $A=\begin{pmatrix}-2&1\\-1&-2\end{pmatrix}$ and give the sense of rotation.
  • 3 Show that $A=\begin{pmatrix}0&2\\-8&0\end{pmatrix}$ gives a centre, find a conserved quadratic and the period.
  • 4 Classify the origin for $A=\begin{pmatrix}-3&1\\-1&-1\end{pmatrix}$.
  • 5 (Damping.) For which $\alpha$ is the origin of the system form of $x''+\alpha x'+4x=0$ asymptotically stable? For which is it a spiral, a degenerate node, a node?
  • 6 Decide stability for $A=\begin{pmatrix}-1&1&0\\0&-1&1\\0&0&-1\end{pmatrix}$, $B=\begin{pmatrix}0&1&0\\0&0&0\\0&0&-1\end{pmatrix}$ and $C=\operatorname{diag}(0,0,-1)$.
  • 7 Prove that for real $2\times2$ $A$ the origin is asymptotically stable iff $\operatorname{tr}A\lt0$ and $\det A\gt0$. Show by an example that the analogous statement with $\operatorname{tr}A\lt0$, $\det A\lt0$ fails for $3\times3$ matrices.
  • 8 Show that if $A$ is real skew-symmetric, every solution of $x'=Ax$ has constant norm. Deduce that $0$ is stable but not asymptotically stable (for $A\ne0$ and also for $A=0$).
1 $\Delta=-8\lt0$: saddle. Eigenvalues $4$ on $y=x$ (outgoing) and $-2$ on $y=-x$ (incoming).
2 $\tau=-4$, $\Delta=5$, $D=-4$: $-2\pm i$, a stable spiral. $c=-1\lt0$: clockwise.
3 $\tau=0$, $\Delta=16$: eigenvalues $\pm4i$, centre, period $\frac{2\pi}4=\frac\pi2$. Conserved: $\frac{d}{dt}(4x^2+y^2)=8x(2y)+2y(-8x)=0$; orbits are the ellipses $4x^2+y^2=\text{const}$ (the formula $cx^2-2axy-by^2$ gives $-8x^2-2y^2$, the same up to a factor).
4 $\tau=-4$, $\Delta=4$, $D=0$: double eigenvalue $-2$, and $A\ne-2I$: a stable degenerate node.
5 Matrix $\begin{pmatrix}0&1\\-4&-\alpha\end{pmatrix}$: $\tau=-\alpha$, $\Delta=4$, $D=\alpha^2-16$. Asymptotically stable iff $\alpha\gt0$: a spiral for $0\lt\alpha\lt4$, a degenerate node for $\alpha=4$ (critical damping), a node for $\alpha\gt4$. ($\alpha=0$: centre; $\alpha\lt0$: unstable.)
6 $A$: eigenvalue $-1$ only: asymptotically stable (despite a $3\times3$ Jordan block). $B$: eigenvalue $0$ with a $2\times2$ Jordan block: unstable (solution $(x_0+y_0t,y_0,z_0e^{-t})$). $C$: eigenvalue $0$ semisimple: stable, not asymptotically stable.
7 Both eigenvalues have negative real part iff (real case) both are negative, i.e. sum $\lt0$ and product $\gt0$; (complex case) $\frac\tau2\lt0$, and then $\Delta=|\lambda|^2\gt0$ automatically. $\operatorname{diag}(1,1,-3)$ has trace $-1$, determinant $-3$, and is unstable.
8 $\frac{d}{dt}\|x\|^2=2x^{\mathsf T}Ax=0$ since $x^{\mathsf T}Ax=(x^{\mathsf T}Ax)^{\mathsf T}=-x^{\mathsf T}Ax$. So $\|x(t)\|=\|x_0\|$: stable with $\delta=\varepsilon$, and no nonzero solution tends to $0$.
III
Lyapunov functions.
  • 1 Use $V=x^2+y^2$ to show that the origin of $x'=-x+y$, $y'=-x-y^3$ is asymptotically stable.
  • 2 For $x'=-x^3+2y^3$, $y'=-2xy^2$, find $V=ax^2+by^2$ with $\dot V\le0$, and use LaSalle to show that the origin is asymptotically stable. What does linearisation say?
  • 3 Find $c\gt0$ such that $V=x^2+cy^2$ has positive definite $\dot V$ for $x'=2xy+x^3$, $y'=-x^2+y^5$, and conclude.
  • 4 Show that the origin of $x''+x^3=0$ is stable but not asymptotically stable.
  • 5 Solve the Lyapunov equation $A^{\mathsf T}P+PA=-I$ for $A=\begin{pmatrix}-1&1\\0&-2\end{pmatrix}$ and check that $P$ is positive definite.
  • 6 Let $V$ be a Lyapunov function on $U$ and $c\gt0$ such that the component $\Omega_c$ of $\{V\le c\}$ containing $0$ is compact and contained in $U$. Prove that $\Omega_c$ is positively invariant.
  • 7 Show that the origin of $x''+x'+x^3=0$ is asymptotically stable, although the linearisation has a zero eigenvalue.
  • 8 Prove or disprove: if $V$ is positive definite and $\dot V$ is negative semidefinite, the origin is asymptotically stable.
1 $\dot V=2x(-x+y)+2y(-x-y^3)$, which simplifies to $-2x^2-2y^4$: negative definite, Theorem 6.47(2).
2 $\dot V=2ax(-x^3+2y^3)+2by(-2xy^2)$, i.e. $$\dot V=-2ax^4+(4a-4b)xy^3 .$$ With $a=b=1$: $\dot V=-2x^4\le0$. On $\{\dot V=0\}=\{x=0\}$ a solution has $x\equiv0$, so $0=x'=2y^3$ and $y\equiv0$: by LaSalle (Theorem 6.49) asymptotically stable. The Jacobian at $0$ is the zero matrix: linearisation says nothing.
3 $\dot V=2x(2xy+x^3)+2cy(-x^2+y^5)$, i.e. $$\dot V=(4-2c)x^2y+2x^4+2cy^6 .$$ With $c=2$: $\dot V=2x^4+4y^6$, positive definite, and $V\gt0$: unstable (Theorem 6.48).
4 $x'=y$, $y'=-x^3$; $E=\frac12y^2+\frac14x^4$ is positive definite with $\dot E=yy'+x^3x'=0$. Stable (Theorem 6.47(1)); not asymptotically stable because $E$ is constant on orbits, so a solution with $E\gt0$ cannot tend to $0$.
5 With $P=\begin{pmatrix}p&q\\q&r\end{pmatrix}$ the equations are $-2p=-1$, $p-3q=0$, $2q-4r=-1$: $P=\begin{pmatrix}\frac12&\frac16\\\frac16&\frac13\end{pmatrix}$. $p\gt0$ and $\det P=\frac16-\frac1{36}=\frac5{36}\gt0$: positive definite.
6 Along a solution starting in $\Omega_c$, $V$ is non-increasing while it stays in $U$, so $V(x(t))\le c$. The solution is a connected curve starting in the component $\Omega_c$ and staying in $\{V\le c\}$, so it stays in $\Omega_c$ (it cannot jump to another component); since $\Omega_c\subset U$ is compact, it exists for all $t\ge0$.
7 $x'=y$, $y'=-x^3-y$; $V=\frac12y^2+\frac14x^4$ gives $\dot V=-y^2\le0$. On $\{y=0\}$: $y\equiv0\Rightarrow x^3\equiv0$. LaSalle: asymptotically stable. The Jacobian $\begin{pmatrix}0&1\\0&-1\end{pmatrix}$ has eigenvalues $0,-1$: Theorem 6.51(3), no conclusion from linearisation.
8 False: $x'=-y$, $y'=x$, $V=x^2+y^2$, $\dot V=0$ — a centre.
IV
Nonlinear systems, linearisation and limit cycles.
  • 1 (Competition.) Find and classify all equilibria of $x'=x(4-x-y)$, $y'=y(6-x-3y)$, $x,y\ge0$. Which outcome do you expect for two competing species?
  • 2 Find and classify the equilibria of $x'=y$, $y'=-x+x^3-y$.
  • 3 Show that for $x'=-y-x(x^2+y^2)^2$, $y'=x-y(x^2+y^2)^2$ the linearisation is a centre but the origin is asymptotically stable.
  • 4 Find and classify the equilibria of $x'=x^2-y^2$, $y'=x-1$. Are they hyperbolic?
  • 5 Show that $x'=y$, $y'=-x-y+x^2$ has no periodic orbits.
  • 6 Use the Dulac function $\varphi=\frac{1}{xy}$ to show that $x'=x(2-x-y)$, $y'=y(4x-x^2-3)$ has no periodic orbits in the open first quadrant.
  • 7 Find all periodic orbits of $x'=-y+x(1-r^2)(4-r^2)$, $y'=x+y(1-r^2)(4-r^2)$, $r^2=x^2+y^2$, and decide their stability.
  • 8 Show that $x'=1+x^2+y^2$, $y'=xy$ has no periodic orbit, in two ways.
  • 9 For van der Pol's equation $x''-\mu(1-x^2)x'+x=0$ with $\mu\gt0$, classify the origin. Why must any periodic orbit enclose the origin?
1 Equilibria $(0,0)$, $(4,0)$, $(0,2)$, $(3,1)$. Jacobian $\begin{pmatrix}4-2x-y&-x\\-y&6-x-6y\end{pmatrix}$. $(0,0)$: $\operatorname{diag}(4,6)$, unstable node. $(4,0)$: eigenvalues $-4,2$, saddle. $(0,2)$: eigenvalues $2,-6$, saddle. $(3,1)$: $\begin{pmatrix}-3&-3\\-1&-3\end{pmatrix}$, $\tau=-6$, $\Delta=6$, $D=12\gt0$: stable node (eigenvalues $-3\pm\sqrt3$). Coexistence at $(3,1)$ is the expected outcome.
2 $(0,0)$: $\begin{pmatrix}0&1\\-1&-1\end{pmatrix}$, $\tau=-1$, $\Delta=1$: stable spiral. $(\pm1,0)$: $\begin{pmatrix}0&1\\2&-1\end{pmatrix}$, $\Delta=-2$: saddles. All hyperbolic, so the nonlinear types agree (Theorem 6.52).
3 Polar: $r'=-r^5$, $\theta'=1$, so $r\to0$ (like $(4t)^{-1/4}$): asymptotically stable, while the Jacobian at $0$ is $\begin{pmatrix}0&-1\\1&0\end{pmatrix}$.
4 $x=1$, $y=\pm1$. Jacobian $\begin{pmatrix}2x&-2y\\1&0\end{pmatrix}$. $(1,1)$: $\tau=2$, $\Delta=2$, $D=-4$: unstable spiral ($1\pm i$). $(1,-1)$: $\Delta=-2$: saddle ($1\pm\sqrt3$). Both hyperbolic.
5 $\operatorname{div}f=0+(-1)=-1\lt0$ on $\mathbb{R}^2$: Bendixson.
6 $\partial_x\frac{2-x-y}{y}+\partial_y\frac{4x-x^2-3}{x}=-\frac1y\lt0$ on the (simply connected) open quadrant: Theorem 6.53.
7 $r'=r(1-r^2)(4-r^2)$, $\theta'=1$. Circles $r=1$ and $r=2$. For $0\lt r\lt1$, $r'\gt0$; for $1\lt r\lt2$, $r'\lt0$: $r=1$ is a stable limit cycle. For $r\gt2$, $r'\gt0$: $r=2$ is unstable.
8 (i) $x'\ge1$, so $x(t)$ increases strictly and can never return to its starting value. (ii) There is no equilibrium ($x'\ne0$), and a periodic orbit must enclose one (Theorem 6.54).
9 $x'=y$, $y'=-x+\mu(1-x^2)y$; Jacobian at $0$: $\begin{pmatrix}0&1\\-1&\mu\end{pmatrix}$, $\tau=\mu\gt0$, $\Delta=1$: unstable spiral for $0\lt\mu\lt2$, unstable degenerate node for $\mu=2$, unstable node for $\mu\gt2$. The origin is the only equilibrium, and a periodic orbit must enclose an equilibrium (Theorem 6.54). (In fact there is exactly one limit cycle, which is stable.)
🎯 GATE corner GATE MA · MCQGATE MA · MSQGATE MA · NAT

E1. GATE MA · MCQ For $A=\begin{pmatrix}2&1\\-1&0\end{pmatrix}$, the $(1,2)$ entry of $e^{tA}$ is (A) $te^{t}$; (B) $e^{t}$; (C) $te^{2t}$; (D) $(1+t)e^{t}$.

Idea $\tau=2$, $\Delta=1$, $D=0$: double eigenvalue $1$, so $e^{tA}=e^t\big(I+t(A-I)\big)$.
Compute $A-I=\begin{pmatrix}1&1\\-1&-1\end{pmatrix}$, so $e^{tA}=e^t\begin{pmatrix}1+t&t\\-t&1-t\end{pmatrix}$; the $(1,2)$ entry is $te^t$. (D) is the $(1,1)$ entry; (C) would need eigenvalue $2$.
Answer (A).

E2. GATE MA · MCQ For the predator–prey system $x'=x(2-y)$, $y'=y(x-3)$ in the open first quadrant, the equilibrium $(3,2)$ is (A) an asymptotically stable spiral; (B) an unstable spiral; (C) a centre; (D) a saddle.

Linearisation Jacobian $\begin{pmatrix}2-y&-x\\y&x-3\end{pmatrix}$, at $(3,2)$: $\begin{pmatrix}0&-3\\2&0\end{pmatrix}$, eigenvalues $\pm i\sqrt6$ — a linear centre, which alone decides nothing.
Conserved quantity $H=x-3\log x+y-2\log y$: $\dot H=\left(1-\frac3x\right)x(2-y)+\left(1-\frac2y\right)y(x-3)$, which equals $(x-3)(2-y)+(y-2)(x-3)=0$. $H$ has a strict minimum at $(3,2)$ (Hessian $\operatorname{diag}(\frac3{x^2},\frac2{y^2})$), so the orbits nearby are closed level curves: a centre. (A) and (B) would need $H$ to change along orbits; (D) needs $\Delta\lt0$.
Answer (C).

E3. GATE MA · MSQ Consider $x'=-x^3+y$, $y'=-x-y^3$. Which of the following is/are true? (One or more options may be correct.) (A) The linearisation at the origin is a centre. (B) The origin is asymptotically stable. (C) The stability of the origin can be decided from the eigenvalues of the Jacobian at the origin. (D) Along every solution, $x(t)^2+y(t)^2$ is non-increasing.

(A) True The Jacobian at $0$ is $\begin{pmatrix}0&1\\-1&0\end{pmatrix}$, eigenvalues $\pm i$.
(B) True, (D) True $V=x^2+y^2$: $\dot V=2x(-x^3+y)+2y(-x-y^3)$, which is $-2x^4-2y^4\le0$, negative definite. So $V$ decreases along every solution and $0$ is asymptotically stable (Theorem 6.47(2)).
(C) False The eigenvalues are purely imaginary: Theorem 6.51(3). Changing the signs of the cubic terms gives the same Jacobian and an unstable origin (Example 4(b)).
Answer (A), (B) and (D).

E4. GATE MA · MSQ Let $A$ be a real $2\times2$ matrix and consider $x'=Ax$. Which of the following is/are true? (One or more options may be correct.) (A) If $\det A\lt0$, the origin is unstable. (B) If $\operatorname{tr}A\lt0$, the origin is asymptotically stable. (C) If $\operatorname{tr}A=0$ and $\det A\gt0$, every nonzero solution is periodic with period $2\pi/\sqrt{\det A}$. (D) If $A^2=0$ and $A\ne0$, the origin is stable.

(A) True A saddle: one positive eigenvalue.
(B) False $A=\operatorname{diag}(1,-3)$: trace $-2$, a saddle.
(C) True Eigenvalues $\pm i\sqrt{\det A}$; Theorem 6.46(ii).
(D) False $e^{tA}=I+tA$, and $x(t)=x_0+tAx_0$ is unbounded whenever $Ax_0\ne0$ — the eigenvalue $0$ is not semisimple.
Answer (A) and (C).

E5. GATE MA · NAT The system $x'=2x-y-x(x^2+y^2)$, $y'=x+2y-y(x^2+y^2)$ has exactly one periodic orbit, a circle centred at the origin. Its radius is ______ (correct to two decimal places).

Polar form $rr'=xx'+yy'=2r^2-r^4$ and $r^2\theta'=xy'-yx'=r^2$: $r'=r(2-r^2)$, $\theta'=1$.
Cycle $r'=0$ with $r\gt0$ gives $r=\sqrt2\approx1.4142$; $r'\gt0$ inside and $\lt0$ outside, so it is a stable limit cycle of period $2\pi$.
Answer $1.41$ (accept $1.40$ to $1.43$).

E6. GATE MA · NAT Let $x(t)=(x_1(t),x_2(t))$ solve $x'=\begin{pmatrix}0&1\\-2&-3\end{pmatrix}x$, $x(0)=(1,0)$. Then $x_1(1)$ equals ______ (correct to two decimal places).

Idea $x_1$ solves $x_1''+3x_1'+2x_1=0$ with $x_1(0)=1$, $x_1'(0)=x_2(0)=0$. Roots $-1,-2$.
Compute $x_1=c_1e^{-t}+c_2e^{-2t}$ with $c_1+c_2=1$, $-c_1-2c_2=0$: $c_1=2$, $c_2=-1$. $x_1(1)=2e^{-1}-e^{-2}$, about $0.7358-0.1353=0.6004$.
Answer $0.60$ (accept $0.59$ to $0.61$).
🧑‍🏫 For the teacher

Suggested plan — 3 lectures × 60 min.

  1. The matrix exponential. Definition 6.20, Theorem 6.42 with the uniqueness proof (the derivative of $e^{-tA}x(t)$ is the key two lines), Theorem 6.43 with the Cayley–Hamilton derivation of the three $2\times2$ formulas, Theorem 6.44. Examples 1 and 2 on the board; GATE corner E1 and E6 as a quick check.
  2. Stability and phase portraits. Definitions 6.21–6.23, Theorem 6.45 (prove sufficiency fully; the counterexample $x'=y,y'=0$ for necessity), Theorem 6.46 with the table. Project Interactive 1: walk the red dot through every region and across the parabola. Example 3 as class work; E4 as a discussion.
  3. Lyapunov and linearisation. Definition 6.24, Theorems 6.47–6.48 with proofs (draw the ball, the sphere where $V\ge m$, and the smaller ball where $V\lt m$), LaSalle and Example 5, Theorem 6.50 and the Lyapunov-function proof of Theorem 6.51(1). Example 4 with Interactive 2 (systems 1–3). Close with Hartman–Grobman, Bendixson–Dulac and Example 7, then system 5 of Interactive 2.

Discussion questions. (1) Why does Theorem 6.45 need the semisimplicity condition only for eigenvalues on the imaginary axis, and never for eigenvalues with negative real part? (2) A Lyapunov function is like an energy, but the damped pendulum's energy has $\dot E=0$ on a whole line. What extra idea rescues asymptotic stability, and what goes wrong if the friction acts only on part of the line? (3) Why can limit cycles exist only for nonlinear systems, and why does the Poincaré–Bendixson theorem fail in three dimensions?

Misconceptions to watch for. $e^{A+B}=e^Ae^B$ without commuting; entrywise exponentials; "trace negative ⇒ stable"; "$\operatorname{Re}\lambda\le0$ ⇒ stable"; reading a nonlinear centre off a linear one; treating $\dot V\le0$ as asymptotic stability; accepting a semidefinite $V$ as a Lyapunov function; using Bendixson when the divergence changes sign; believing the basin of attraction is "small" or "everything" because of linearisation.

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

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

Research question. Can enriching an ecosystem destabilise it? If the food supply of a prey species is increased, does a stable predator–prey balance turn into boom-and-bust cycles — and at which level of enrichment?

Why it matters. Fertiliser run-off into lakes, fish stocking and nutrient-rich aquaculture ponds all "enrich" ecosystems. Rosenzweig (1971) predicted from a simple model that enrichment can produce violent oscillations and near-extinctions — the paradox of enrichment — and laboratory plankton experiments have since been used to test it. The mathematics is exactly this section: an equilibrium loses stability when the trace of its Jacobian changes sign, and a limit cycle is born (a Hopf bifurcation).

What to do.

  1. Take the dimensionless model $x'=x\left(1-\frac xK\right)-\frac{xy}{1+x}$, $y'=\frac{xy}{1+x}-\frac12y$ (prey $x$ with carrying capacity $K$, predators $y$ with a saturating feeding rate). Show that the coexistence equilibrium is $x^*=1$, $y^*=2\left(1-\frac1K\right)$ for $K\gt1$.
  2. Compute the Jacobian there and show that $\Delta\gt0$ and $\tau=\frac12-\frac{3}{2K}$. Conclude, using Theorems 6.46 and 6.51, that the equilibrium is asymptotically stable for $1\lt K\lt3$ and unstable for $K\gt3$.
  3. For $K=2.5,\ 3.5,\ 4,\ 6$ integrate numerically from $(1.2,1)$ for a long time and plot the orbits in the $(x,y)$ plane. For $K\gt3$ record the minimum and maximum prey density on the limit cycle and its period.
  4. Interpret: what happens to the minimum prey density as $K$ grows, and why is that dangerous for a real population that is subject to random fluctuations?

Tools: Python with scipy.integrate.solve_ivp (or any ODE solver); Interactive 1 to see the trace crossing zero.

Hand in: the equilibrium and stability computation; the four phase portraits; a table of cycle amplitude and period against $K$; a short paragraph on the ecological meaning.

Going further. Read about the Hopf bifurcation theorem, which guarantees the birth of a small limit cycle when a pair of complex eigenvalues crosses the imaginary axis with nonzero speed, and about the debate on whether the paradox of enrichment is seen in nature.

Instructor note: at $(1,y^*)$ the Jacobian is $\begin{pmatrix}\frac12-\frac3{2K}&-\frac12\\\frac{y^*}{4}&0\end{pmatrix}$, so $\Delta=\frac{y^*}{8}\gt0$ and the trace changes sign at $K=3$. A run from $(1.2,1)$ to $t=800$ gave: $K=2.5$ — convergence to $(1,1.2)$; $K=3.5$ — prey between about $0.29$ and $2.37$, period about $16.9$; $K=4$ — prey between $0.14$ and $3.16$, predators between $0.37$ and $2.70$, period about $18.4$; $K=6$ — prey down to about $0.009$, period about $24.8$. The growing amplitude and the dangerously low prey minimum are the point of the exercise.

🧪 Self-check quiz

0/5 correct

Q1. A real $2\times2$ matrix $A$ has $\operatorname{tr}A=-3$ and $\det A=2$. The origin of $x'=Ax$ is

Q2. If $\operatorname{tr}A=2$, then $\det e^{A}$ equals

Q3. For $x'=-y$, $y'=x$ and $V=x^2+y^2$, which conclusion is correct?

Q4. The Hartman–Grobman theorem applies at an equilibrium $x^*$ when

Q5. A planar $C^1$ system satisfies $\operatorname{div}f\lt0$ at every point of $\mathbb{R}^2$. Then