Unit 9, lesson 50

Linearization and Local Stability

How the Jacobian matrix gives the linearization of a nonlinear system at an equilibrium, when a hyperbolic equilibrium's eigenvalues decide local asymptotic stability, and why nonhyperbolic and global questions need more.

  • Video 50
  • Phase Planes and Stability

Close to an equilibrium, a curved vector field looks almost like the field of a linear system, and the behavior of a linear system is read from its eigenvalues. Can the stability of a nonlinear equilibrium be read off from that linear approximation? This lesson builds the approximation from the Jacobian matrix, shows that it decides local stability whenever no eigenvalue has zero real part, and marks the two places where it says nothing, borderline eigenvalues and states far from the equilibrium.

Key terms

Jacobian matrix

Definition Let tt be the independent variable, with primes denoting derivatives with respect to tt, and consider an autonomous system X′=F(X)X' = F(X) with state X=(x1,…,xn)TX = (x_1, \dots, x_n)^{T} and field F=(F1,…,Fn)TF = (F_1, \dots, F_n)^{T} continuously differentiable on an open set D⊆RnD \subseteq \mathbb{R}^n. The Jacobian matrix of FF at a state XX is the n×nn \times n matrix of first partial derivatives

J(X)=[∂Fi∂xj(X)].J(X) = \left[\frac{\partial F_i}{\partial x_j}(X)\right].

Its entry in row ii and column jj measures how the iith rate changes when the jjth state component changes. For a planar system x′=f(x,y)x' = f(x, y), y′=g(x,y)y' = g(x, y) it is

J=(fxfygxgy).J = \begin{pmatrix} f_x & f_y \\ g_x & g_y \end{pmatrix}.

Evaluated at one particular state, it is a constant matrix.

In plain words Rows belong to the rates and columns to the state variables. Differentiate each rate with respect to each variable, then substitute the state of interest.

Example For the predator-prey model x′=x(2−y)x' = x(2 - y), y′=y(x−1)y' = y(x - 1) of the previous lesson, the rates are f=2x−xyf = 2x - xy and g=xy−yg = xy - y, so

J(x,y)=(2−y−xyx−1).J(x, y) = \begin{pmatrix} 2 - y & -x \\ y & x - 1 \end{pmatrix}.

At the origin this is diag⁡(2,−1)\operatorname{diag}(2, -1), and at the coexistence state

J(1,2)=(0−120).J(1, 2) = \begin{pmatrix} 0 & -1 \\ 2 & 0 \end{pmatrix}.

Linearization

Definition Let X∗X_* be an equilibrium, so F(X∗)=0F(X_*) = 0, and write a nearby state as X=X∗+hX = X_* + h with displacement hh. Because FF is differentiable at X∗X_*, with J=J(X∗)J = J(X_*),

F(X∗+h)=Jh+R(h),F(X_* + h) = Jh + R(h),

where the remainder satisfies ∥R(h)∥/∥h∥→0\lVert R(h) \rVert / \lVert h \rVert \to 0 as h→0h \to 0, and ∥⋅∥\lVert \cdot \rVert is the Euclidean length. Since h′=X′h' = X', the displacement obeys h′=Jh+R(h)h' = Jh + R(h) exactly. Dropping the remainder gives the linearization of the system at X∗X_*,

h′=J(X∗) h,h' = J(X_*)\,h,

a linear system with constant coefficients, which the eigenvalue methods for linear systems solve completely. It approximates the nonlinear system only for small hh. Far from X∗X_* it is a different equation.

In plain words Move the origin to the equilibrium and keep only the part of the field that is proportional to the displacement. Near the equilibrium the discarded part is small compared with the size of the displacement, so the linear system is a good local guide.

Example The system x′=x(1−x)x' = x(1 - x), y′=−2yy' = -2y couples logistic growth with simple decay. Its equilibria are (0,0)(0, 0) and (1,0)(1, 0), and its Jacobian is

J(x,y)=(1−2x00−2).J(x, y) = \begin{pmatrix} 1 - 2x & 0 \\ 0 & -2 \end{pmatrix}.

At (1,0)(1, 0) write x=1+ux = 1 + u and y=vy = v, so h=(u,v)Th = (u, v)^{T}. Then x(1−x)=−u−u2x(1 - x) = -u - u^2 exactly, and the displacement obeys

u′=−u−u2,v′=−2v.\begin{gathered} u' = -u - u^2, \\[0.4em] v' = -2v. \end{gathered}

The linearization drops −u2-u^2 and keeps u′=−uu' = -u, v′=−2vv' = -2v, which is h′=J(1,0)hh' = J(1, 0)h with J(1,0)=diag⁡(−1,−2)J(1, 0) = \operatorname{diag}(-1, -2). At the origin the same steps give u′=u−u2u' = u - u^2 and the linearization h′=diag⁡(1,−2) hh' = \operatorname{diag}(1, -2)\,h.

Hyperbolic equilibrium

Definition An equilibrium X∗X_* is hyperbolic if no eigenvalue of J(X∗)J(X_*) has real part zero. The linearization theorem, for FF continuously differentiable near X∗X_*, has two parts. If every eigenvalue of J(X∗)J(X_*) has negative real part, then X∗X_* is locally asymptotically stable. If at least one eigenvalue has positive real part, then X∗X_* is unstable. At a hyperbolic equilibrium one of the two parts always applies, so the linearization decides stability. More is true there. By the Hartman-Grobman theorem, near a hyperbolic equilibrium a continuous change of coordinates carries the trajectories of the nonlinear system onto those of its linearization, so, for example, a saddle of the linearization is a saddle of the nonlinear system. For a planar system with τ=tr⁡J(X∗)\tau = \operatorname{tr} J(X_*) and Δ=det⁡J(X∗)\Delta = \det J(X_*), both eigenvalues have negative real part exactly when τ<0\tau < 0 and Δ>0\Delta > 0, and X∗X_* fails to be hyperbolic exactly when Δ=0\Delta = 0, or when τ=0\tau = 0 and Δ>0\Delta > 0.

In plain words When every eigenvalue has a definite inward or outward rate, the small nonlinear terms are too weak near the equilibrium to change the verdict. Only an eigenvalue on the imaginary axis leaves the question open.

Example For x′=x(1−x)x' = x(1 - x), y′=−2yy' = -2y the matrix J(1,0)=diag⁡(−1,−2)J(1, 0) = \operatorname{diag}(-1, -2) has eigenvalues −1-1 and −2-2, so (1,0)(1, 0) is a hyperbolic sink and locally asymptotically stable. The matrix J(0,0)=diag⁡(1,−2)J(0, 0) = \operatorname{diag}(1, -2) has eigenvalues 11 and −2-2, so the origin is a hyperbolic saddle and unstable. States with small x>0x > 0 are pushed away from it, while states on the yy-axis decay toward it. By contrast, the coexistence state (1,2)(1, 2) of the predator-prey model has τ=0\tau = 0 and Δ=2\Delta = 2, with eigenvalues ±i2\pm i\sqrt{2}, so it is not hyperbolic.

Local asymptotic stability

Definition An equilibrium X∗X_* of X′=F(X)X' = F(X) is stable, also called Lyapunov stable, if for every ε>0\varepsilon > 0 there is a δ>0\delta > 0 such that every solution with ∥X(0)−X∗∥<δ\lVert X(0) - X_* \rVert < \delta exists for all t≥0t \ge 0 and satisfies ∥X(t)−X∗∥<ε\lVert X(t) - X_* \rVert < \varepsilon for all t≥0t \ge 0. It is locally asymptotically stable if it is stable and there is an η>0\eta > 0 such that every solution with ∥X(0)−X∗∥<η\lVert X(0) - X_* \rVert < \eta satisfies X(t)→X∗X(t) \to X_* as t→∞t \to \infty. An equilibrium that is not stable is unstable. The word local means that both promises are made only for starts in some neighborhood of X∗X_*, whose size the definition leaves open. When every eigenvalue of J(X∗)J(X_*) has negative real part the approach is even exponential. There are constants KK, α>0\alpha > 0 and η>0\eta > 0 such that

∥X(t)−X∗∥≤Ke−αt∥X(0)−X∗∥\begin{aligned} &\lVert X(t) - X_* \rVert \\ &\quad \le Ke^{-\alpha t}\lVert X(0) - X_* \rVert \end{aligned}

for all t≥0t \ge 0 whenever ∥X(0)−X∗∥<η\lVert X(0) - X_* \rVert < \eta.

In plain words Stability means that small disturbances stay small. Asymptotic stability adds that they also die out. Local means that this is promised only for disturbances that are small enough, with no claim about large ones.

Example For x′=x(1−x)x' = x(1 - x), y′=−2yy' = -2y, start at x(0)=14x(0) = \tfrac{1}{4} and y(0)=2y(0) = 2. Separating the logistic equation gives

x(t)=11+3e−t,y(t)=2e−2t.\begin{gathered} x(t) = \frac{1}{1 + 3e^{-t}}, \\[0.4em] y(t) = 2e^{-2t}. \end{gathered}

To check, the derivative is x′(t)=3e−t/(1+3e−t)2x'(t) = 3e^{-t}/(1 + 3e^{-t})^2, and x(1−x)x(1 - x) is the product of 1/(1+3e−t)1/(1 + 3e^{-t}) and 1−x=3e−t/(1+3e−t)1 - x = 3e^{-t}/(1 + 3e^{-t}), which is the same fraction, while y′=−4e−2t=−2yy' = -4e^{-2t} = -2y. As t→∞t \to \infty the state tends to the sink (1,0)(1, 0), and for large tt the gaps 1−x(t)≈3e−t1 - x(t) \approx 3e^{-t} and y(t)=2e−2ty(t) = 2e^{-2t} shrink at the rates −1-1 and −2-2 given by the eigenvalues. This start is not especially close to (1,0)(1, 0), so its convergence is more than the local theorem promises.

Nonhyperbolic equilibrium

Definition An equilibrium X∗X_* is nonhyperbolic if at least one eigenvalue of J(X∗)J(X_*) has real part zero, such as a zero eigenvalue or a pair ±iω\pm i\omega with ω>0\omega > 0. If another eigenvalue has positive real part, X∗X_* is still unstable by the linearization theorem. Otherwise the linearization does not decide stability. The neglected nonlinear terms decide it, and the same linearization can belong to an asymptotically stable equilibrium, to one that is stable but not asymptotically stable, or to an unstable one. Another argument is needed, such as an exact solution, a conserved quantity or a Lyapunov function.

In plain words An eigenvalue with zero real part means that the linear part has no pull toward the equilibrium and no push away from it in some direction, so the small terms that linearization throws away have the final word.

Example The scalar equations x′=−x3x' = -x^3 and x′=x3x' = x^3 both have the equilibrium 00 with Jacobian 00, so they share the linearization h′=0h' = 0. For x(0)=a≠0x(0) = a \ne 0, separation gives

x(t)=a1±2a2t,x(t) = \frac{a}{\sqrt{1 \pm 2a^2t}},

where the plus sign solves x′=−x3x' = -x^3 for all t≥0t \ge 0 and the minus sign solves x′=x3x' = x^3 for t<1/(2a2)t < 1/(2a^2). The first solution tends to 00, but only at the rate of 1/2t1/\sqrt{2t}, more slowly than any decaying exponential, so 00 is asymptotically stable for x′=−x3x' = -x^3 without being exponentially stable. The second becomes infinite as tt increases to 1/(2a2)1/(2a^2), so 00 is unstable for x′=x3x' = x^3. For x′=0x' = 0, with the same linearization, every solution is constant, and 00 is stable but not asymptotically stable. The predator-prey coexistence state is a planar case. Its linearization has eigenvalues ±i2\pm i\sqrt{2} and closed elliptical orbits, and the conserved quantity of the previous lesson is what shows that the nonlinear trajectories close as well.

Local versus global behavior

Definition A statement about an equilibrium X∗X_* is local when it is made only for starts in some neighborhood of X∗X_*, and global when it is made for every start in the state space. The basin of attraction of an asymptotically stable equilibrium is the set of all initial states whose solutions exist for all t≥0t \ge 0 and tend to X∗X_*. The equilibrium is globally asymptotically stable if it is stable and its basin is the whole state space. Linearization gives only local conclusions, with no estimate of how large the neighborhood is, and a system with more than one equilibrium cannot have a globally asymptotically stable one.

In plain words The Jacobian sees only a small window around the equilibrium. Whether distant states also return is a separate question, and only the full nonlinear equations answer it.

Example For x′=x(1−x)x' = x(1 - x), y′=−2yy' = -2y the sink (1,0)(1, 0) attracts every start with x(0)>0x(0) > 0, because then x(t)→1x(t) \to 1 and y(t)→0y(t) \to 0. Starts with x(0)=0x(0) = 0 stay on the yy-axis and tend to the saddle (0,0)(0, 0) instead. The start x(0)=−1x(0) = -1, outside the population interpretation but allowed by the equations, gives

x(t)=11−2e−t,x(t) = \frac{1}{1 - 2e^{-t}},

which decreases to −∞-\infty as tt increases to ln⁡2\ln 2, so this solution does not even exist for all t≥0t \ge 0. The basin of (1,0)(1, 0) is the half plane x>0x > 0, not the whole plane, even though the local verdict at (1,0)(1, 0) is as strong as a linearization can give.

Check yourself

  1. Find the equilibria of x′=yx' = y, y′=x−x3−yy' = x - x^3 - y and classify each one by linearization.
Show the answer

An equilibrium needs y=0y = 0 and x−x3=x(1−x)(1+x)=0x - x^3 = x(1 - x)(1 + x) = 0, so the equilibria are (0,0)(0, 0), (1,0)(1, 0) and (−1,0)(-1, 0). The Jacobian is

J(x,y)=(011−3x2−1).J(x, y) = \begin{pmatrix} 0 & 1 \\ 1 - 3x^2 & -1 \end{pmatrix}.

At the origin it has τ=−1\tau = -1 and Δ=−1\Delta = -1, so its eigenvalues are the roots of λ2+λ−1=0\lambda^2 + \lambda - 1 = 0, namely (−1±5)/2≈0.618(-1 \pm \sqrt{5})/2 \approx 0.618 and −1.618-1.618. The origin is a hyperbolic saddle and unstable. At (±1,0)(\pm 1, 0) the Jacobian has τ=−1\tau = -1 and Δ=2\Delta = 2, the eigenvalues are the roots of λ2+λ+2=0\lambda^2 + \lambda + 2 = 0, namely (−1±i7)/2(-1 \pm i\sqrt{7})/2, and their real part −12-\tfrac{1}{2} is negative. Both of these equilibria are hyperbolic sinks, so they are locally asymptotically stable.

  1. The system x′=−y−x(x2+y2)x' = -y - x(x^2 + y^2), y′=x−y(x2+y2)y' = x - y(x^2 + y^2) has a linearization at the origin with eigenvalues ±i\pm i. A classmate concludes that the origin is a center surrounded by closed orbits. Use r2=x2+y2r^2 = x^2 + y^2 to decide what really happens.
Show the answer

The cubic terms have zero first derivatives at the origin, so the Jacobian there is the rotation matrix with rows (0,−1)(0, -1) and (1,0)(1, 0), whose eigenvalues are ±i\pm i. The origin is nonhyperbolic, and the linearization decides nothing. Along a solution,

xx′+yy′=−xy−x2r2+xy−y2r2=−r4,\begin{aligned} xx' + yy' &= -xy - x^2r^2 \\ &\quad + xy - y^2r^2 \\[0.4em] &= -r^4, \end{aligned}

so (r2)′=2(xx′+yy′)=−2(r2)2(r^2)' = 2(xx' + yy') = -2(r^2)^2. This separable equation gives

r(t)2=r021+2r02t,r(t)^2 = \frac{r_0^2}{1 + 2r_0^2t},

where r0r_0 is the starting distance, so every solution tends to the origin, and the angle obeys θ′=(xy′−yx′)/r2=1\theta' = (xy' - yx')/r^2 = 1. Trajectories spiral into the origin, which is asymptotically stable, and there are no closed orbits. The classmate trusted the linearization at a nonhyperbolic equilibrium. With the signs of the cubic terms reversed the linearization is the same, but (r2)′=2r4(r^2)' = 2r^4 and the origin is unstable.

  1. For the system x′=−x+x3x' = -x + x^3, y′=−yy' = -y, show that the origin is locally asymptotically stable. Does the solution with x(0)=2x(0) = 2 and y(0)=0y(0) = 0 tend to the origin, and what is the basin of attraction of the origin?
Show the answer

The Jacobian is diag⁡(−1+3x2,−1)\operatorname{diag}(-1 + 3x^2, -1), which is diag⁡(−1,−1)\operatorname{diag}(-1, -1) at the origin, a hyperbolic sink. So the origin is locally asymptotically stable. For the start (2,0)(2, 0) the second equation keeps y=0y = 0, and the first is solved by

x(t)=24−3e2t.x(t) = \frac{2}{\sqrt{4 - 3e^{2t}}}.

It has x(0)=2x(0) = 2, and both x′x' and −x+x3-x + x^3 equal 6e2t(4−3e2t)−3/26e^{2t}(4 - 3e^{2t})^{-3/2}. This solution becomes infinite as tt increases to 12ln⁡43≈0.144\tfrac{1}{2}\ln\tfrac{4}{3} \approx 0.144, so it never approaches the origin. More generally, y(t)→0y(t) \to 0 for every start, while the sign of x(x2−1)x(x^2 - 1) shows that x(t)→0x(t) \to 0 when ∣x(0)∣<1\lvert x(0) \rvert < 1, that xx stays at ±1\pm 1 when ∣x(0)∣=1\lvert x(0) \rvert = 1, and that ∣x∣\lvert x \rvert grows without bound when ∣x(0)∣>1\lvert x(0) \rvert > 1. The basin is the strip −1<x<1-1 < x < 1. Its edges are the lines x=±1x = \pm 1, which contain the saddles (±1,0)(\pm 1, 0) with Jacobian diag⁡(2,−1)\operatorname{diag}(2, -1).

How this lesson connects