Differential EquationsNonlinear Systems in the Phase Plane1 of 5
Nonlinear Systems in the Phase Plane · 1

Nullclines and Equilibria

When two quantities x\xcoord{x} and y\ycoord{y} change together according to nonlinear equations, we usually cannot solve for x(t)\xcoord{x(t)} and y(t)\ycoord{y(t)} directly, so we need a way to map where trajectories go across the (x,y)(x, y) plane.

1

Nullclines and Equilibria

In an autonomous system, the rates of change depend only on the current point (x,y)(x, y) and not on time tt, which means the velocity arrow at every point in the plane never changes. We want to map the flow of the system

x′=4−x−y⏟horizontal push (left/right),y′=x−y⏟vertical push (up/down)\displaystyle \begin{aligned} &\underbrace{\xcoord{x' = 4 - x - y}}_{\text{horizontal push (left/right)}}, \\ &\underbrace{\ycoord{y' = x - y}}_{\text{vertical push (up/down)}} \end{aligned}

Instead of plugging in dozens of points one by one, we split the motion into its horizontal and vertical components and find where each push is zero: the x-nullcline\xcoord{x\text{-nullcline}} is the curve where x′=0\xcoord{x' = 0} (so motion is purely vertical), the y-nullcline\ycoord{y\text{-nullcline}} is the curve where y′=0\ycoord{y' = 0} (so motion is purely horizontal), and an equilibrium is a point where both pushes are zero at once, so the system stays still forever.

Nullclines and Equilibria
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
x′=4−x−yy′=x−y\begin{aligned} \htmlClass{lc-blue}{x'} &= \htmlClass{lc-blue}{4 - x - y} \\[2pt] \htmlClass{lc-orange}{y'} &= \htmlClass{lc-orange}{x - y} \end{aligned}
Text solution
Find the velocity push at a single test pointPlugging (1,2)(1, 2) into both equations gives a positive horizontal push and a negative vertical push, which combine into a down-right arrow (↘\velocity{\searrow}) at (1,2)(1, 2).
x′=4−1−2=+1(→)y′=1−2=−1(↓)\displaystyle \begin{aligned} \xcoord{x'} &= 4 - 1 - 2 = \xcoord{+1} \quad (\xcoord{\rightarrow}) \\ \ycoord{y'} &= 1 - 2 = \ycoord{-1} \quad (\ycoord{\downarrow}) \end{aligned}
Set x′=0\xcoord{x' = 0} for the x-nullcline\xcoord{x\text{-nullcline}} and test one sideSetting the horizontal push to zero gives a solid blue line of purely vertical motion, and testing (0,0)(0, 0) below the line shows where x′\xcoord{x'} pushes right and where it pushes left.
4−x−y=0y=4−x,x′(0,0)=4−0−0=+4>0(→ below, ← above)\displaystyle \begin{aligned} \xcoord{4 - x - y} &= 0 \\ \xcoord{y} &= \xcoord{4 - x}, \\ \xcoord{x'}(0, 0) &= 4 - 0 - 0 = \xcoord{+4} > 0 \\ &\quad (\xcoord{\rightarrow} \text{ below}, \ \xcoord{\leftarrow} \text{ above}) \end{aligned}
Set y′=0\ycoord{y' = 0} for the y-nullcline\ycoord{y\text{-nullcline}} and test one sideSetting the vertical push to zero gives a dashed orange line of purely horizontal motion, and testing (1,0)(1, 0) below the line shows where y′\ycoord{y'} pushes up and where it pushes down.
x−y=0y=x,y′(1,0)=1−0=+1>0(↑ below, ↓ above)\displaystyle \begin{aligned} \ycoord{x - y} &= 0 \\ \ycoord{y} &= \ycoord{x}, \\ \ycoord{y'}(1, 0) &= 1 - 0 = \ycoord{+1} > 0 \\ &\quad (\ycoord{\uparrow} \text{ below}, \ \ycoord{\downarrow} \text{ above}) \end{aligned}
Intersect the two nullclines for the equilibriumSolving the solid blue x-nullcline\xcoord{x\text{-nullcline}} and dashed orange y-nullcline\ycoord{y\text{-nullcline}} equations together finds the point where both pushes are zero at the same time.
4−x=x4=2xx=2,y=2\displaystyle \begin{aligned} \xcoord{4 - x} &= \ycoord{x} \\ 4 &= 2x \\ x &= 2, \quad y = 2 \end{aligned}

So (2,2)(2, 2) is the single equilibrium where x′=0\xcoord{x' = 0} and y′=0\ycoord{y' = 0}, meaning a trajectory starting at (2,2)(2, 2) stays there forever. When sketching on paper, always draw your x-nullcline\xcoord{x\text{-nullcline}} solid with vertical ticks and your y-nullcline\ycoord{y\text{-nullcline}} dashed with horizontal ticks so you never mix up which line has no left-right motion and which has no up-down motion.

2

Tracing the Flow Around an Equilibrium

Now that we have the nullclines and the equilibrium (2,2)(2, 2) for

x′=4−x−y,y′=x−y\displaystyle \xcoord{x' = 4 - x - y}, \qquad \ycoord{y' = x - y}

we want to put arrowheads on the nullcline ticks, combine the pushes in the four regions between the lines, and see whether the resulting path spirals inward toward (2,2)(2, 2) or outward away from it.

Tracing the Flow Around an Equilibrium
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
(2,2)\htmlClass{lc-ink}{(2, 2)}
y=4−x\htmlClass{lc-blue}{y = 4 - x}
y=x\htmlClass{lc-orange}{y = x}
x′=4−x−yy′=x−y\begin{aligned} \htmlClass{lc-blue}{x'} &= \htmlClass{lc-blue}{4 - x - y} \\[2pt] \htmlClass{lc-orange}{y'} &= \htmlClass{lc-orange}{x - y} \end{aligned}

When the four region arrows cycle all the way around an equilibrium, their signs alone match an inward spiral, a closed loop, and an outward spiral equally well.

Inward spiral\htmlClass{lc-ink}{\text{Inward spiral}}
(T<0)\htmlClass{lc-ink}{(T < 0)}
Closed loop\htmlClass{lc-ink}{\text{Closed loop}}
(T=0)\htmlClass{lc-ink}{(T = 0)}
Outward spiral\htmlClass{lc-ink}{\text{Outward spiral}}
(T>0)\htmlClass{lc-ink}{(T > 0)}

To tell which of the three happens, we use the trace and determinant of the 2×22 \times 2 coefficient matrix AA (or the Jacobian matrix at the equilibrium if the system is nonlinear):

A=[abcd],T=a+d⏟trace,D=ad−bc⏟determinant\displaystyle \begin{aligned} &A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, \\ &\underbrace{T = a + d}_{\text{trace}}, \qquad \underbrace{D = ad - bc}_{\text{determinant}} \end{aligned}

When T2−4D<0T^2 - 4D < 0 (which tells us the flow rotates), a negative trace (T<0T < 0) pulls the spiral inward, T=0T = 0 keeps a linear system in a closed loop, and a positive trace (T>0T > 0) pushes the spiral outward.

Text solution
Put arrowheads on each half of a nullcline using the other pushThe equilibrium (2,2)(2, 2) cuts each nullcline into two halves whose arrowheads follow the sign of the other push on that side.
On y=4−x (x′=0):y′>0 (↑) below (2,2),y′<0 (↓) above (2,2)On y=x (y′=0):x′>0 (→) below (2,2),x′<0 (←) above (2,2)\displaystyle \begin{aligned} &\text{On } \xcoord{y = 4 - x}\ (\xcoord{x' = 0})\text{:} \\ &\quad \ycoord{y' > 0}\ (\ycoord{\uparrow}) \text{ below } (2, 2), \\ &\quad \ycoord{y' < 0}\ (\ycoord{\downarrow}) \text{ above } (2, 2) \\ &\text{On } \ycoord{y = x}\ (\ycoord{y' = 0})\text{:} \\ &\quad \xcoord{x' > 0}\ (\xcoord{\rightarrow}) \text{ below } (2, 2), \\ &\quad \xcoord{x' < 0}\ (\xcoord{\leftarrow}) \text{ above } (2, 2) \end{aligned}
Combine horizontal and vertical pushes in the four regionsPairing the left-right arrow and up-down arrow in each region shows the region arrows turning counter-clockwise around (2,2)(2, 2).
→+↑=↗⏟bottom (below both)⟶←+↑=↖⏟right (above y=4−x, below y=x)⟶←+↓=↙⏟top (above both)⟶→+↓=↘⏟left (below y=4−x, above y=x)\displaystyle \begin{aligned} &\underbrace{\xcoord{\rightarrow} + \ycoord{\uparrow} = \velocity{\nearrow}}_{\text{bottom (below both)}} \\ \longrightarrow \quad &\underbrace{\xcoord{\leftarrow} + \ycoord{\uparrow} = \velocity{\nwarrow}}_{\text{right (above }\xcoord{y = 4 - x}\text{, below }\ycoord{y = x}\text{)}} \\ \longrightarrow \quad &\underbrace{\xcoord{\leftarrow} + \ycoord{\downarrow} = \velocity{\swarrow}}_{\text{top (above both)}} \\ \longrightarrow \quad &\underbrace{\xcoord{\rightarrow} + \ycoord{\downarrow} = \velocity{\searrow}}_{\text{left (below }\xcoord{y = 4 - x}\text{, above }\ycoord{y = x}\text{)}} \end{aligned}
Check the trace and determinant to find the spiral directionWriting the linear system in x,yx, y order as x′=−x−y+4\xcoord{x' = -x - y + 4} and y′=x−y\ycoord{y' = x - y} gives the coefficient matrix AA, whose trace TT tells us whether the counter-clockwise turn winds inward or outward.
A=[−1−11−1]T=−1+(−1)=−2,D=(−1)(−1)−(−1)(1)=2T2−4D=(−2)2−4(2)=−4<0\displaystyle \begin{aligned} A &= \begin{bmatrix} -1 & -1 \\ 1 & -1 \end{bmatrix} \\ T &= -1 + (-1) = -2, \\ D &= (-1)(-1) - (-1)(1) \\ &= 2 \\ T^2 - 4D &= (-2)^2 - 4(2) \\ &= -4 < 0 \end{aligned}

So because T2−4D<0T^2 - 4D < 0 and T=−2<0T = -2 < 0, the flow winds counter-clockwise inward into a stable spiral at (2,2)(2, 2).

Watch how a trajectory spiraling into (2,2)(2, 2) crosses the x-nullcline\xcoord{x\text{-nullcline}} straight up or down whenever x′\xcoord{x'} flips sign, and crosses the y-nullcline\ycoord{y\text{-nullcline}} straight left or right whenever y′\ycoord{y'} flips sign.

Crossing the blue x-nullcline flips the left-right push through zero, crossing the orange y-nullcline flips the up-down push through zero, and where they meet both pushes are zero.
3

Curved Nullclines and Multiple Equilibria

Next, let's see what happens when a nonlinear term bends a nullcline into a curve so the two nullclines cross more than once. We want to find all equilibria and their stability for the system

x′=y−x2,y′=x+2−y\displaystyle \xcoord{x' = y - x^2}, \qquad \ycoord{y' = x + 2 - y}
Curved Nullclines and Multiple Equilibria
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
y=x2\htmlClass{lc-blue}{y = x^2}
x′=y−x2y′=x+2−y\begin{aligned} \htmlClass{lc-blue}{x'} &= \htmlClass{lc-blue}{y - x^2} \\[2pt] \htmlClass{lc-orange}{y'} &= \htmlClass{lc-orange}{x + 2 - y} \end{aligned}
Text solution
Draw the curved x-nullcline\xcoord{x\text{-nullcline}} and test inside and outsideSetting x′=0\xcoord{x' = 0} gives an upward-opening solid blue parabola, and testing one point inside and one outside gives the horizontal push on each side.
y−x2=0  ⟹  y=x2x′(0,1)=1−02=+1>0(→ inside parabola)x′(1,0)=0−12=−1<0(← outside parabola)\displaystyle \begin{aligned} \xcoord{y - x^2} &= 0 \implies \xcoord{y = x^2} \\ \xcoord{x'}(0, 1) &= 1 - 0^2 = \xcoord{+1} > 0 \\ &\quad (\xcoord{\rightarrow} \text{ inside parabola}) \\ \xcoord{x'}(1, 0) &= 0 - 1^2 = \xcoord{-1} < 0 \\ &\quad (\xcoord{\leftarrow} \text{ outside parabola}) \end{aligned}
Draw the line for the y-nullcline\ycoord{y\text{-nullcline}} and test one sideSetting y′=0\ycoord{y' = 0} gives a dashed orange line, and testing (0,0)(0, 0) below it gives the vertical push on each side.
x+2−y=0  ⟹  y=x+2y′(0,0)=0+2−0=+2>0(↑ below line, ↓ above line)\displaystyle \begin{aligned} \ycoord{x + 2 - y} &= 0 \implies \ycoord{y = x + 2} \\ \ycoord{y'}(0, 0) &= 0 + 2 - 0 = \ycoord{+2} > 0 \\ &\quad (\ycoord{\uparrow} \text{ below line}, \\ &\quad \ \ycoord{\downarrow} \text{ above line}) \end{aligned}
Solve the two nullcline equations together for the equilibriaSubstituting y=x2\xcoord{y = x^2} into y=x+2\ycoord{y = x + 2} finds both intersections where x′=0\xcoord{x' = 0} and y′=0\ycoord{y' = 0} at the same time.
x2=x+2x2−x−2=0(x−2)(x+1)=0  ⟹  x=−1or x=2  ⟹  (−1,1)and (2,4)\displaystyle \begin{aligned} \xcoord{x^2} &= \ycoord{x + 2} \\ x^2 - x - 2 &= 0 \\ (x - 2)(x + 1) &= 0 \\ &\implies x = -1 \\ &\qquad \text{or } x = 2 \\ &\implies (-1, 1) \\ &\qquad \text{and } (2, 4) \end{aligned}
Put arrowheads on the three pieces of each nullclineThe equilibria (−1,1)(-1, 1) and (2,4)(2, 4) split both curves into a middle piece (−1<x<2-1 < x < 2) and two outer pieces (x<−1x < -1 and x>2x > 2) whose arrowheads flip at each intersection.
On y=x2:↑ on middle piece (−1<x<2),↓ on both outer piecesOn y=x+2:→ on middle segment (−1<x<2),← on both outer segments\displaystyle \begin{aligned} &\text{On } \xcoord{y = x^2}\text{:} \\ &\quad \ycoord{\uparrow} \text{ on middle piece } \\ &\qquad (-1 < x < 2), \\ &\quad \ycoord{\downarrow} \text{ on both outer pieces} \\ &\text{On } \ycoord{y = x + 2}\text{:} \\ &\quad \xcoord{\rightarrow} \text{ on middle segment } \\ &\qquad (-1 < x < 2), \\ &\quad \xcoord{\leftarrow} \text{ on both outer segments} \end{aligned}
Combine the pushes in each regionPairing the horizontal and vertical arrows in the four regions shows where trajectories come together and where they split apart.
Inside parabola:→+↑=↗ (below line),→+↓=↘ (above line)Outside parabola:←+↑=↖ (below line),←+↓=↙ (above line)\displaystyle \begin{aligned} &\text{Inside parabola:} \\ &\quad \xcoord{\rightarrow} + \ycoord{\uparrow} = \velocity{\nearrow} \text{ (below line)}, \\ &\quad \xcoord{\rightarrow} + \ycoord{\downarrow} = \velocity{\searrow} \text{ (above line)} \\ &\text{Outside parabola:} \\ &\quad \xcoord{\leftarrow} + \ycoord{\uparrow} = \velocity{\nwarrow} \text{ (below line)}, \\ &\quad \xcoord{\leftarrow} + \ycoord{\downarrow} = \velocity{\swarrow} \text{ (above line)} \end{aligned}

So (2,4)(2, 4) is stable because near it the arrowheads on both curves point into the two regions between the curves, whose arrows (↗\velocity{\nearrow} down and to the left of (2,4)(2, 4), ↙\velocity{\swarrow} up and to the right) point toward it, whereas (−1,1)(-1, 1) is unstable because the arrows to its right (↗\velocity{\nearrow}) and to its left (↖,↙\velocity{\nwarrow}, \velocity{\swarrow}) pull trajectories away in opposite directions.

Here you can see how the two intersections break the parabola and the line into pieces, and why the arrowheads along each nullcline only flip direction when it crosses the other nullcline.

Along each nullcline, the flow arrows flip direction only at equilibria where the two nullclines cross each other.
4

Factored Equations and Same-Color Intersections

In population or chemical models where x≥0\xcoord{x} \ge 0 and y≥0\ycoord{y} \ge 0, each rate equation often comes factored with xx or yy out front. We want to find all the nullclines, true equilibria, and long-term outcomes in the first quadrant (x≥0,y≥0\xcoord{x} \ge 0, \ycoord{y} \ge 0) for

x′=x(3−x−y),y′=y(4−2x−y)\displaystyle \begin{aligned} &\xcoord{x' = x(3 - x - y)}, \\ &\ycoord{y' = y(4 - 2x - y)} \end{aligned}
Factored Equations and Same-Color Intersections
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
4\htmlClass{lc-mute}{4}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
4\htmlClass{lc-mute}{4}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
x≥0,y≥0\htmlClass{lc-blue}{x \ge 0},\quad \htmlClass{lc-orange}{y \ge 0}
x′=x(3−x−y)y′=y(4−2x−y)\begin{aligned} \htmlClass{lc-blue}{x'} &= \htmlClass{lc-blue}{x(3 - x - y)} \\[2pt] \htmlClass{lc-orange}{y'} &= \htmlClass{lc-orange}{y(4 - 2x - y)} \end{aligned}

When each equation factors into two lines, four lines cross in the plane, so we have to tell opposite-color intersections apart from same-color intersections.

Opposite-color intersection (1,2)\htmlClass{lc-ink}{\text{Opposite-color intersection}}\ (1, 2)
y=4−2x\htmlClass{lc-orange}{y = 4 - 2x}
y=3−x\htmlClass{lc-blue}{y = 3 - x}
x′=0 and y′=0\htmlClass{lc-blue}{x' = 0}\htmlClass{lc-ink}{\text{ and }}\htmlClass{lc-orange}{y' = 0}
(stays still)\htmlClass{lc-ink}{\text{(stays still)}}
Same-color intersection (0,3)\htmlClass{lc-ink}{\text{Same-color intersection}}\ (0, 3)
x=0\htmlClass{lc-blue}{x = 0}
y=3−x\htmlClass{lc-blue}{y = 3 - x}
x′=0, but y′=3\htmlClass{lc-blue}{x' = 0}\htmlClass{lc-ink}{\text{, but }}\htmlClass{lc-orange}{y' = 3}
(flows straight up)\htmlClass{lc-ink}{\text{(flows straight up)}}
Text solution
Set every factor of x′=0\xcoord{x' = 0} to zeroSetting x(3−x−y)=0\xcoord{x(3 - x - y)} = 0 gives two solid blue x-nullclines\xcoord{x\text{-nullclines}}, one from the factor out front and one from the parentheses.
x(3−x−y)=0  ⟹  x=0⏟vertical y-axisory=3−x⏟line through (0,3) and (3,0)\displaystyle \begin{aligned} &\xcoord{x(3 - x - y)} = 0 \\ &\implies \underbrace{\xcoord{x = 0}}_{\text{vertical } y\text{-axis}} \\ &\quad \text{or} \quad \underbrace{\xcoord{y = 3 - x}}_{\text{line through } (0, 3) \text{ and } (3, 0)} \end{aligned}
Set every factor of y′=0\ycoord{y' = 0} to zeroSetting y(4−2x−y)=0\ycoord{y(4 - 2x - y)} = 0 gives two dashed orange y-nullclines\ycoord{y\text{-nullclines}}.
y(4−2x−y)=0  ⟹  y=0⏟horizontal x-axisory=4−2x⏟line through (0,4) and (2,0)\displaystyle \begin{aligned} &\ycoord{y(4 - 2x - y)} = 0 \\ &\implies \underbrace{\ycoord{y = 0}}_{\text{horizontal } x\text{-axis}} \\ &\quad \text{or} \quad \underbrace{\ycoord{y = 4 - 2x}}_{\text{line through } (0, 4) \text{ and } (2, 0)} \end{aligned}
Keep only blue-orange intersections as equilibriaAt (0,3)(0, 3) (where two solid blue lines meet) and (2,0)(2, 0) (where two dashed orange lines meet), only one push is zero, so we solve only the four pairs where a solid blue x-nullcline\xcoord{x\text{-nullcline}} crosses a dashed orange y-nullcline\ycoord{y\text{-nullcline}}.
x=0 and y=0  ⟹  (0,0)y=3−x and y=0  ⟹  (3,0)x=0 and y=4−2x  ⟹  (0,4)3−x=4−2x  ⟹  x=1, y=2  ⟹  (1,2)\displaystyle \begin{aligned} \xcoord{x = 0} \text{ and } \ycoord{y = 0} &\implies (0, 0) \\ \xcoord{y = 3 - x} \text{ and } \ycoord{y = 0} &\implies (3, 0) \\ \xcoord{x = 0} \text{ and } \ycoord{y = 4 - 2x} &\implies (0, 4) \\ \xcoord{3 - x} = \ycoord{4 - 2x} &\implies x = 1, \\ &\qquad \ y = 2 \\ &\implies (1, 2) \end{aligned}
Combine first-quadrant pushes from the parenthesesFor x>0\xcoord{x} > 0 and y>0\ycoord{y} > 0, the signs depend on (3−x−y)\xcoord{(3 - x - y)} and (4−2x−y)\ycoord{(4 - 2x - y)}, which sets the arrow directions in the four interior regions and along the axes.
Below both slanted lines:→+↑=↗,Above both slanted lines:←+↓=↙Top-left (above y=3−x,below y=4−2x):←+↑=↖,Bottom-right (below y=3−x,above y=4−2x):→+↓=↘\displaystyle \begin{aligned} &\text{Below both slanted lines:} \\ &\quad \xcoord{\rightarrow} + \ycoord{\uparrow} = \velocity{\nearrow}, \\ &\text{Above both slanted lines:} \\ &\quad \xcoord{\leftarrow} + \ycoord{\downarrow} = \velocity{\swarrow} \\ &\text{Top-left } (\text{above } \xcoord{y = 3 - x}\text{,} \\ &\qquad \text{below } \ycoord{y = 4 - 2x})\text{:} \\ &\quad \xcoord{\leftarrow} + \ycoord{\uparrow} = \velocity{\nwarrow}, \\ &\text{Bottom-right } (\text{below } \xcoord{y = 3 - x}\text{,} \\ &\qquad \text{above } \ycoord{y = 4 - 2x})\text{:} \\ &\quad \xcoord{\rightarrow} + \ycoord{\downarrow} = \velocity{\searrow} \end{aligned}

So (1,2)(1, 2) is an unstable saddle point: the bottom-left (↗\velocity{\nearrow}) and top-right (↙\velocity{\swarrow}) regions push toward (1,2)(1, 2), while the top-left (↖\velocity{\nwarrow}) and bottom-right (↘\velocity{\searrow}) regions pull trajectories away to the stable sinks at (0,4)(0, 4) and (3,0)(3, 0). When an equation is factored like x′=x(3−x−y)\xcoord{x' = x(3 - x - y)}, never drop the x\xcoord{x} or y\ycoord{y} factor out front. Forgetting x=0\xcoord{x = 0} and y=0\ycoord{y = 0} leaves out the axes and misses three of the four equilibria.

Notice how trajectories starting just on either side of the saddle (1,2)(1, 2) split toward the two sinks at (0,4)(0, 4) and (3,0)(3, 0), while a trajectory starting at a same-color intersection like (0,3)(0, 3) or (2,0)(2, 0) slides straight along the axis into a sink.

A point only stays still where blue and orange lines cross, keeps moving along the axis where two same-color lines cross, and flips between two sinks when you nudge it past the saddle.

Key concepts

Every phase plane we have sketched follows the same four steps from the differential equations to the finished flow map.

Four Steps to Map a Phase Plane
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
(0,4)\htmlClass{lc-ink}{(0, 4)}
(0,0)\htmlClass{lc-ink}{(0, 0)}
(3,0)\htmlClass{lc-ink}{(3, 0)}
(1,2)\htmlClass{lc-ink}{(1, 2)}
x=0\htmlClass{lc-blue}{x = 0}
y=0\htmlClass{lc-orange}{y = 0}
y=3−x\htmlClass{lc-blue}{y = 3 - x}
y=4−2x\htmlClass{lc-orange}{y = 4 - 2x}
x′=x(3−x−y)y′=y(4−2x−y)\begin{aligned} \htmlClass{lc-blue}{x'} &= \htmlClass{lc-blue}{x(3 - x - y)} \\[2pt] \htmlClass{lc-orange}{y'} &= \htmlClass{lc-orange}{y(4 - 2x - y)} \end{aligned}

To map any autonomous system x′=f(x,y)\xcoord{x' = f(x, y)} and y′=g(x,y)\ycoord{y' = g(x, y)} (where tt does not appear on the right-hand side), split the velocity into its two components:

Draw both sets of nullclines and test each side

Set every factor of x′=0\xcoord{x' = 0} to zero for the solid blue x-nullclines\xcoord{x\text{-nullclines}} with vertical ticks (in x′=x(3−x−y)\xcoord{x' = x(3 - x - y)}, keep both x=0\xcoord{x = 0} and y=3−x\xcoord{y = 3 - x}), and test one easy point on each side for →\xcoord{\rightarrow} (x′>0\xcoord{x' > 0}) versus ←\xcoord{\leftarrow} (x′<0\xcoord{x' < 0}). Set every factor of y′=0\ycoord{y' = 0} to zero for the dashed orange y-nullclines\ycoord{y\text{-nullclines}} with horizontal ticks, and test a point on each side for ↑\ycoord{\uparrow} (y′>0\ycoord{y' > 0}) versus ↓\ycoord{\downarrow} (y′<0\ycoord{y' < 0}).

Mark equilibria only where opposite types cross

Solve a solid blue x-nullcline\xcoord{x\text{-nullcline}} and a dashed orange y-nullcline\ycoord{y\text{-nullcline}} together so x′=0\xcoord{x' = 0} and y′=0\ycoord{y' = 0} at the same time (like y=x2\xcoord{y = x^2} meeting y=x+2\ycoord{y = x + 2} at (−1,1)(-1, 1) and (2,4)(2, 4)). Ignore same-color intersections like (0,3)(0, 3) where x=0\xcoord{x = 0} meets y=3−x\xcoord{y = 3 - x}, because y′\ycoord{y'} is still nonzero there. Where two nullclines of opposite types cross at a true equilibrium, the arrowheads on each of them flip direction.

When the arrows alone tell us the stability vs. when you need a matrix

  • When arrows point in or pull apart, no matrix is needed: If the surrounding arrows point into an equilibrium (like ↗\velocity{\nearrow} and ↙\velocity{\swarrow} into (2,4)(2, 4)) or pull away on at least one pair of sides (like ↖\velocity{\nwarrow} and ↘\velocity{\searrow} pulling away from the saddle (1,2)(1, 2)), you can see the stability right from the arrows, with no derivatives or matrices needed.
  • Looping arrows need the trace and determinant: Only when the four region arrows cycle all the way around an equilibrium (↗→↖→↙→↘\velocity{\nearrow} \to \velocity{\nwarrow} \to \velocity{\swarrow} \to \velocity{\searrow} or the clockwise reverse) do you check the coefficient matrix AA (or the Jacobian at that equilibrium): with T2−4D<0T^2 - 4D < 0, T<0T < 0 winds inward (like T=−2T = -2 at (2,2)(2, 2) in x′=−x−y+4, y′=x−y\xcoord{x' = -x - y + 4}, \ \ycoord{y' = x - y}) and T>0T > 0 winds outward.
5

Practice

1

For the autonomous system x′=6−2x−y\xcoord{x' = 6 - 2x - y} and y′=x−y\ycoord{y' = x - y}, find the equations of the xx-nullcline and yy-nullcline, find the equilibrium point, and give the exact direction of motion (up, down, left, right, or a diagonal combination) at the points (1,2)(1, 2), (1,4)(1, 4), and (3,3)(3, 3).

Set each rate equation to zero separately for the nullclines; when checking the three points, notice what happens when one of the two rates comes out to 00.

Nullclines and equilibriumSetting each rate to zero and solving the two lines together gives the equilibrium.
x-nullcline (x′=0):6−2x−y=0  ⟹  y=6−2xy-nullcline (y′=0):x−y=0  ⟹  y=xEquilibrium:6−2x=x  ⟹  3x=6  ⟹  (2,2)\displaystyle \begin{aligned} &\xcoord{x\text{-nullcline } (x' = 0)}\text{:} \\ &\quad \xcoord{6 - 2x - y} = 0 \implies \xcoord{y = 6 - 2x} \\ &\ycoord{y\text{-nullcline } (y' = 0)}\text{:} \\ &\quad \ycoord{x - y} = 0 \implies \ycoord{y = x} \\ &\text{Equilibrium:} \\ &\quad \xcoord{6 - 2x} = \ycoord{x} \implies 3x = 6 \implies (2, 2) \end{aligned}
Direction of motion at (1,2)(1, 2), (1,4)(1, 4), and (3,3)(3, 3)Plug each point into x′=6−2x−y\xcoord{x' = 6 - 2x - y} and y′=x−y\ycoord{y' = x - y}. Be careful not to mix up which direction is zero when one rate is zero: getting x′=0\xcoord{x' = 0} at (1,4)(1, 4) means zero horizontal push so the point moves straight down (↓\ycoord{\downarrow}, not left ←\leftarrow), and getting y′=0\ycoord{y' = 0} at (3,3)(3, 3) means zero vertical push so the point moves straight left (←\xcoord{\leftarrow}, not down ↓\downarrow).
At (1,2):x′=6−2(1)−2=+2 (→),y′=1−2=−1 (↓)  ⟹  down-right (↘)At (1,4):x′=6−2(1)−4=0,y′=1−4=−3 (↓)  ⟹  straight down (↓)At (3,3):x′=6−2(3)−3=−3 (←),y′=3−3=0  ⟹  straight left (←)\displaystyle \begin{aligned} &\text{At } (1, 2)\text{:} \\ &\quad \xcoord{x'} = 6 - 2(1) - 2 = \xcoord{+2}\ (\xcoord{\rightarrow}), \\ &\quad \ycoord{y'} = 1 - 2 = \ycoord{-1}\ (\ycoord{\downarrow}) \\ &\quad \implies \text{down-right } (\velocity{\searrow}) \\ &\text{At } (1, 4)\text{:} \\ &\quad \xcoord{x'} = 6 - 2(1) - 4 = \xcoord{0}, \\ &\quad \ycoord{y'} = 1 - 4 = \ycoord{-3}\ (\ycoord{\downarrow}) \\ &\quad \implies \text{straight down } (\ycoord{\downarrow}) \\ &\text{At } (3, 3)\text{:} \\ &\quad \xcoord{x'} = 6 - 2(3) - 3 = \xcoord{-3}\ (\xcoord{\leftarrow}), \\ &\quad \ycoord{y'} = 3 - 3 = \ycoord{0} \\ &\quad \implies \text{straight left } (\xcoord{\leftarrow}) \end{aligned}
2

For the system x′=x+y−3\xcoord{x' = x + y - 3} and y′=−2x+y\ycoord{y' = -2x + y}, find the equilibrium and the combined arrow directions in the four regions formed by the nullclines. Does the flow turn clockwise or counter-clockwise around the equilibrium, and does it spiral inward, orbit in a closed loop, or spiral outward?

Test (0,0)(0, 0) to find the directions of the pushes on each side of the two lines; once you see the four region arrows form a loop, what matrix quantity tells you whether the loop winds in or out?

Nullclines and equilibrium
x-nullcline (x′=0):x+y−3=0  ⟹  y=3−xy-nullcline (y′=0):−2x+y=0  ⟹  y=2xEquilibrium:3−x=2x  ⟹  3x=3  ⟹  (1,2)\displaystyle \begin{aligned} &\xcoord{x\text{-nullcline } (x' = 0)}\text{:} \\ &\quad \xcoord{x + y - 3} = 0 \implies \xcoord{y = 3 - x} \\ &\ycoord{y\text{-nullcline } (y' = 0)}\text{:} \\ &\quad \ycoord{-2x + y} = 0 \implies \ycoord{y = 2x} \\ &\text{Equilibrium:} \\ &\quad \xcoord{3 - x} = \ycoord{2x} \implies 3x = 3 \implies (1, 2) \end{aligned}
Region arrows and rotation directionTest (0,0)(0, 0) in x′=x+y−3\xcoord{x' = x + y - 3} to get x′(0,0)=−3<0\xcoord{x'}(0, 0) = \xcoord{-3} < 0 (←\xcoord{\leftarrow} below y=3−x\xcoord{y = 3 - x} and →\xcoord{\rightarrow} above it), and test (1,0)(1, 0) in y′=−2x+y\ycoord{y' = -2x + y} to get y′(1,0)=−2<0\ycoord{y'}(1, 0) = \ycoord{-2} < 0 (↓\ycoord{\downarrow} below y=2x\ycoord{y = 2x} and ↑\ycoord{\uparrow} above it). Don't assume "below the line pushes right and up" without checking the signs, because doing so reverses every arrow and gives counter-clockwise instead of clockwise.
←+↓=↙⏟bottom (below both)⟶←+↑=↖⏟left (above y=2x, below y=3−x)⟶→+↑=↗⏟top (above both)⟶→+↓=↘⏟right (below y=2x, above y=3−x)\displaystyle \begin{aligned} &\underbrace{\xcoord{\leftarrow} + \ycoord{\downarrow} = \velocity{\swarrow}}_{\text{bottom (below both)}} \\ \longrightarrow \quad &\underbrace{\xcoord{\leftarrow} + \ycoord{\uparrow} = \velocity{\nwarrow}}_{\text{left (above }\ycoord{y = 2x}\text{, below }\xcoord{y = 3 - x}\text{)}} \\ \longrightarrow \quad &\underbrace{\xcoord{\rightarrow} + \ycoord{\uparrow} = \velocity{\nearrow}}_{\text{top (above both)}} \\ \longrightarrow \quad &\underbrace{\xcoord{\rightarrow} + \ycoord{\downarrow} = \velocity{\searrow}}_{\text{right (below }\ycoord{y = 2x}\text{, above }\xcoord{y = 3 - x}\text{)}} \end{aligned}
Following the cycle ↙→↖→↗→↘\velocity{\swarrow} \to \velocity{\nwarrow} \to \velocity{\nearrow} \to \velocity{\searrow} turns clockwise around (1,2)(1, 2).
Spiral direction from trace and determinantBecause the region arrows loop all the way around (1,2)(1, 2), write the coefficient matrix AA. Be careful with the minus sign on −2-2 when computing D=(1)(1)−(1)(−2)=3D = (1)(1) - (1)(-2) = 3 (dropping the negative sign gives D=−1D = -1, which falsely says saddle), and check the sign of T=+2>0T = +2 > 0 rather than stopping at D>0D > 0.
A=[11−21]T=1+1=2,D=(1)(1)−(1)(−2)=3,T2−4D=4−12=−8<0\displaystyle \begin{aligned} A &= \begin{bmatrix} 1 & 1 \\ -2 & 1 \end{bmatrix} \\ T &= 1 + 1 = 2, \\ D &= (1)(1) - (1)(-2) = 3, \\ T^2 - 4D &= 4 - 12 = -8 < 0 \end{aligned}
Since T2−4D<0T^2 - 4D < 0 and T=2>0T = 2 > 0, the flow spirals outward (an unstable spiral).
3

For the nonlinear system x′=4−x2−y\xcoord{x' = 4 - x^2 - y} and y′=x−y+2\ycoord{y' = x - y + 2}, find both nullclines and all equilibria, give the arrow directions on the three pieces of each nullcline and in each region, use the arrows to decide which equilibrium is unstable, and say what the arrows around the other equilibrium tell you.

Test (0,0)(0, 0) inside the parabola y=4−x2y = 4 - x^2 and below the line y=x+2y = x + 2 first, then use the two intersections to split each curve into a middle piece (−2<x<1-2 < x < 1) and two outer pieces.

Nullclines and inside/outside tests
x-nullcline (x′=0):y=4−x2,x′(0,0)=+4>0(→ inside/below parabola, ← outside/above parabola)y-nullcline (y′=0):y=x+2,y′(0,0)=+2>0(↑ below line, ↓ above line)\displaystyle \begin{aligned} &\xcoord{x\text{-nullcline } (x' = 0)}\text{:} \\ &\quad \xcoord{y = 4 - x^2}, \\ &\quad \xcoord{x'}(0, 0) = \xcoord{+4} > 0 \\ &\quad (\xcoord{\rightarrow} \text{ inside/below parabola}, \\ &\quad \ \xcoord{\leftarrow} \text{ outside/above parabola}) \\ &\ycoord{y\text{-nullcline } (y' = 0)}\text{:} \\ &\quad \ycoord{y = x + 2}, \\ &\quad \ycoord{y'}(0, 0) = \ycoord{+2} > 0 \\ &\quad (\ycoord{\uparrow} \text{ below line}, \ \ycoord{\downarrow} \text{ above line}) \end{aligned}
EquilibriaSet the two nullcline equations equal and move all terms to one side before factoring; reversing the signs in (x+2)(x−1)=0(x + 2)(x - 1) = 0 is a common mistake that gives the wrong x-values x=2x = 2 and x=−1x = -1.
4−x2=x+2x2+x−2=0(x+2)(x−1)=0  ⟹  (−2,0) and (1,3)\displaystyle \begin{aligned} \xcoord{4 - x^2} &= \ycoord{x + 2} \\ x^2 + x - 2 &= 0 \\ (x + 2)(x - 1) &= 0 \\ &\implies (-2, 0) \text{ and } (1, 3) \end{aligned}
Nullcline pieces and region arrowsBecause y=4−x2\xcoord{y = 4 - x^2} opens downward, its middle piece (−2<x<1-2 < x < 1) sits above the line y=x+2\ycoord{y = x + 2} where y′<0\ycoord{y' < 0}, so the middle piece points straight down (↓\ycoord{\downarrow}), not up (↑\ycoord{\uparrow}).
On parabola y=4−x2:↓ on middle piece (−2<x<1),↑ on outer pieces(x<−2 and x>1)On line y=x+2:→ on middle segment (−2<x<1),← on outer segments(x<−2 and x>1)Inside parabola:→+↑=↗ (below line),→+↓=↘ (above line)Outside parabola:←+↑=↖ (below line),←+↓=↙ (above line)\displaystyle \begin{aligned} &\text{On parabola } \xcoord{y = 4 - x^2}\text{:} \\ &\quad \ycoord{\downarrow} \text{ on middle piece } \\ &\qquad (-2 < x < 1), \\ &\quad \ycoord{\uparrow} \text{ on outer pieces} \\ &\qquad (x < -2 \text{ and } x > 1) \\ &\text{On line } \ycoord{y = x + 2}\text{:} \\ &\quad \xcoord{\rightarrow} \text{ on middle segment } \\ &\qquad (-2 < x < 1), \\ &\quad \xcoord{\leftarrow} \text{ on outer segments} \\ &\qquad (x < -2 \text{ and } x > 1) \\ &\text{Inside parabola:} \\ &\quad \xcoord{\rightarrow} + \ycoord{\uparrow} = \velocity{\nearrow} \text{ (below line)}, \\ &\quad \xcoord{\rightarrow} + \ycoord{\downarrow} = \velocity{\searrow} \text{ (above line)} \\ &\text{Outside parabola:} \\ &\quad \xcoord{\leftarrow} + \ycoord{\uparrow} = \velocity{\nwarrow} \text{ (below line)}, \\ &\quad \xcoord{\leftarrow} + \ycoord{\downarrow} = \velocity{\swarrow} \text{ (above line)} \end{aligned}
What the arrows showTo the left of (−2,0)(-2, 0), above the parabola, the arrows push left (←\xcoord{\leftarrow}), and to its right, under the parabola, they push right (→\xcoord{\rightarrow}), so trajectories on both sides move away and (−2,0)(-2, 0) is unstable. Around (1,3)(1, 3), the arrows loop counter-clockwise all the way around (↘\velocity{\searrow} in the pocket to its left, then ↗\velocity{\nearrow} below, ↖\velocity{\nwarrow} in the wedge to its right, ↙\velocity{\swarrow} above), the same pattern as around (2,2)(2, 2), so the arrows alone can't tell whether trajectories spiral into or out of (1,3)(1, 3). For a nonlinear system, that takes the Jacobian at (1,3)(1, 3).
4

For x≥0\xcoord{x} \ge 0 and y≥0\ycoord{y} \ge 0, consider x′=x(6−2x−y)\xcoord{x' = x(6 - 2x - y)} and y′=y(6−x−2y)\ycoord{y' = y(6 - x - 2y)}. Find all xx-nullclines and yy-nullclines, explain why (0,6)(0, 6) and (6,0)(6, 0) are not equilibria and state the direction of motion at each, find all four true equilibria, and use the first-quadrant arrows to determine the stability of (0,3)(0, 3), (3,0)(3, 0), and (2,2)(2, 2).

Each equation has two factors that can equal zero; check which color each line is before counting an intersection as an equilibrium, and compare which slanted line sits higher near the yy-axis versus near the xx-axis.

Nullclines and same-color intersections at (0,6)(0, 6) and (6,0)(6, 0)
x-nullclines (x′=0):x=0andy=6−2xy-nullclines (y′=0):y=0andy=3−x2\displaystyle \begin{aligned} &\xcoord{x\text{-nullclines } (x' = 0)}\text{:} \\ &\quad \xcoord{x = 0} \quad \text{and} \quad \xcoord{y = 6 - 2x} \\ &\ycoord{y\text{-nullclines } (y' = 0)}\text{:} \\ &\quad \ycoord{y = 0} \quad \text{and} \quad \ycoord{y = 3 - \tfrac{x}{2}} \end{aligned}
At (0,6)(0, 6), two solid blue x-nullclines\xcoord{x\text{-nullclines}} meet (x′=0\xcoord{x' = 0}, but y′=6(6−0−12)=−36<0\ycoord{y'} = 6(6 - 0 - 12) = \ycoord{-36} < 0), so (0,6)(0, 6) is not an equilibrium and moves straight down (↓\ycoord{\downarrow}). At (6,0)(6, 0), two dashed orange y-nullclines\ycoord{y\text{-nullclines}} meet (y′=0\ycoord{y' = 0}, but x′=6(6−12−0)=−36<0\xcoord{x'} = 6(6 - 12 - 0) = \xcoord{-36} < 0), so (6,0)(6, 0) is not an equilibrium and moves straight left (←\xcoord{\leftarrow}).
Four true equilibria (blue-orange intersections)
x=0 and y=0  ⟹  (0,0)y=6−2x and y=0  ⟹  (3,0)x=0 and y=3−x2  ⟹  (0,3)6−2x=3−x2  ⟹  32x=3  ⟹  (2,2)\displaystyle \begin{aligned} \xcoord{x = 0} \text{ and } \ycoord{y = 0} &\implies (0, 0) \\ \xcoord{y = 6 - 2x} \text{ and } \ycoord{y = 0} &\implies (3, 0) \\ \xcoord{x = 0} \text{ and } \ycoord{y = 3 - \tfrac{x}{2}} &\implies (0, 3) \\ \xcoord{6 - 2x} = \ycoord{3 - \tfrac{x}{2}} &\implies \tfrac{3}{2}x = 3 \\ &\implies (2, 2) \end{aligned}
First-quadrant arrows and stabilityNotice that here the blue x-nullcline\xcoord{x\text{-nullcline}} y=6−2x\xcoord{y = 6 - 2x} has the higher yy-intercept (0,6)(0, 6), while the orange y-nullcline\ycoord{y\text{-nullcline}} y=3−x2\ycoord{y = 3 - \tfrac{x}{2}} has the wider xx-intercept (6,0)(6, 0). Copying the interior arrows ↖\velocity{\nwarrow} and ↘\velocity{\searrow} from the earlier example without checking which slanted line is on top flips the interior pushes and gets every stability answer backward.
Below both slanted lines:→+↑=↗,Above both slanted lines:←+↓=↙Top-left (below y=6−2x,above y=3−x2):→+↓=↘Bottom-right (above y=6−2x,below y=3−x2):←+↑=↖\displaystyle \begin{aligned} &\text{Below both slanted lines:} \\ &\quad \xcoord{\rightarrow} + \ycoord{\uparrow} = \velocity{\nearrow}, \\ &\text{Above both slanted lines:} \\ &\quad \xcoord{\leftarrow} + \ycoord{\downarrow} = \velocity{\swarrow} \\ &\text{Top-left } (\text{below }\xcoord{y = 6 - 2x}\text{,} \\ &\qquad \text{above }\ycoord{y = 3 - \tfrac{x}{2}})\text{:} \\ &\quad \xcoord{\rightarrow} + \ycoord{\downarrow} = \velocity{\searrow} \\ &\text{Bottom-right } (\text{above }\xcoord{y = 6 - 2x}\text{,} \\ &\qquad \text{below }\ycoord{y = 3 - \tfrac{x}{2}})\text{:} \\ &\quad \xcoord{\leftarrow} + \ycoord{\uparrow} = \velocity{\nwarrow} \end{aligned}
Along the axes, the flow moves toward (0,3)(0, 3) and (3,0)(3, 0), but the interior arrows ↘\velocity{\searrow} and ↖\velocity{\nwarrow} pull trajectories away from them and into (2,2)(2, 2) from all four surrounding regions. Therefore, (0,3)(0, 3) and (3,0)(3, 0) are unstable saddles, and (2,2)(2, 2) is a stable sink.