Differential EquationsNonlinear Systems in the Phase Plane1 of 5
Nonlinear Systems in the Phase Plane · 1
Nullclines and Equilibria
When two quantities x and y change together according to nonlinear equations, we usually cannot solve for x(t) and y(t) directly, so we need a way to map where trajectories go across the (x,y) plane.
1
Nullclines and Equilibria
In an autonomous system, the rates of change depend only on the current point (x,y) and not on time t, which means the velocity arrow at every point in the plane never changes. We want to map the flow of the system
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 is the curve where x′=0 (so motion is purely vertical), the y-nullcline is the curve where 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
Text solution
Find the velocity push at a single test pointPlugging (1,2) into both equations gives a positive horizontal push and a negative vertical push, which combine into a down-right arrow (↘) at (1,2).
x′y′=4−1−2=+1(→)=1−2=−1(↓)
Set x′=0 for the x-nullcline and test one sideSetting the horizontal push to zero gives a solid blue line of purely vertical motion, and testing (0,0) below the line shows where x′ pushes right and where it pushes left.
Set y′=0 for the y-nullcline and test one sideSetting the vertical push to zero gives a dashed orange line of purely horizontal motion, and testing (1,0) below the line shows where y′ pushes up and where it pushes down.
x−yyy′(1,0)=0=x,=1−0=+1>0(↑ below,↓ above)
Intersect the two nullclines for the equilibriumSolving the solid blue x-nullcline and dashed orange y-nullcline equations together finds the point where both pushes are zero at the same time.
4−x4x=x=2x=2,y=2
So (2,2) is the single equilibrium where x′=0 and y′=0, meaning a trajectory starting at (2,2) stays there forever. When sketching on paper, always draw your x-nullcline solid with vertical ticks and your y-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) for
x′=4−x−y,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) or outward away from it.
Tracing the Flow Around an Equilibrium
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.
To tell which of the three happens, we use the trace and determinant of the 2×2 coefficient matrix A (or the Jacobian matrix at the equilibrium if the system is nonlinear):
A=[acbd],traceT=a+d,determinantD=ad−bc
When T2−4D<0 (which tells us the flow rotates), a negative trace (T<0) pulls the spiral inward, T=0 keeps a linear system in a closed loop, and a positive trace (T>0) pushes the spiral outward.
Text solution
Put arrowheads on each half of a nullcline using the other pushThe equilibrium (2,2) cuts each nullcline into two halves whose arrowheads follow the sign of the other push on that side.
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).
Check the trace and determinant to find the spiral directionWriting the linear system in x,y order as x′=−x−y+4 and y′=x−y gives the coefficient matrix A, whose trace T tells us whether the counter-clockwise turn winds inward or outward.
So because T2−4D<0 and T=−2<0, the flow winds counter-clockwise inward into a stable spiral at (2,2).
Watch how a trajectory spiraling into (2,2) crosses the x-nullcline straight up or down whenever x′ flips sign, and crosses the y-nullcline straight left or right whenever 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
Curved Nullclines and Multiple Equilibria
Text solution
Draw the curved x-nullcline and test inside and outsideSetting x′=0 gives an upward-opening solid blue parabola, and testing one point inside and one outside gives the horizontal push on each side.
Draw the line for the y-nullcline and test one sideSetting y′=0 gives a dashed orange line, and testing (0,0) below it gives the vertical push on each side.
Solve the two nullcline equations together for the equilibriaSubstituting y=x2 into y=x+2 finds both intersections where x′=0 and y′=0 at the same time.
Put arrowheads on the three pieces of each nullclineThe equilibria (−1,1) and (2,4) split both curves into a middle piece (−1<x<2) and two outer pieces (x<−1 and x>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
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.
So (2,4) is stable because near it the arrowheads on both curves point into the two regions between the curves, whose arrows (↗ down and to the left of (2,4),↙ up and to the right) point toward it, whereas (−1,1) is unstable because the arrows to its right (↗) and to its left (↖,↙) 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 and y≥0, each rate equation often comes factored with x or y out front. We want to find all the nullclines, true equilibria, and long-term outcomes in the first quadrant (x≥0,y≥0) for
x′=x(3−x−y),y′=y(4−2x−y)
Factored Equations and Same-Color Intersections
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.
Text solution
Set every factor of x′=0 to zeroSetting x(3−x−y)=0 gives two solid blue x-nullclines, one from the factor out front and one from the parentheses.
x(3−x−y)=0⟹vertical y-axisx=0orline through (0,3) and (3,0)y=3−x
Set every factor of y′=0 to zeroSetting y(4−2x−y)=0 gives two dashed orange y-nullclines.
y(4−2x−y)=0⟹horizontal x-axisy=0orline through (0,4) and (2,0)y=4−2x
Keep only blue-orange intersections as equilibriaAt (0,3) (where two solid blue lines meet) and (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 crosses a dashed orange y-nullcline.
x=0 and y=0y=3−x and y=0x=0 and y=4−2x3−x=4−2x⟹(0,0)⟹(3,0)⟹(0,4)⟹x=1,y=2⟹(1,2)
Combine first-quadrant pushes from the parenthesesFor x>0 and y>0, the signs depend on (3−x−y) and (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):→+↓=↘
So (1,2) is an unstable saddle point: the bottom-left (↗) and top-right (↙) regions push toward (1,2), while the top-left (↖) and bottom-right (↘) regions pull trajectories away to the stable sinks at (0,4) and (3,0). When an equation is factored like x′=x(3−x−y), never drop the x or y factor out front. Forgetting x=0 and 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) split toward the two sinks at (0,4) and (3,0), while a trajectory starting at a same-color intersection like (0,3) or (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
To map any autonomous system x′=f(x,y) and y′=g(x,y) (where t 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 to zero for the solid blue x-nullclines with vertical ticks (in x′=x(3−x−y), keep both x=0 and y=3−x), and test one easy point on each side for → (x′>0) versus ← (x′<0). Set every factor of y′=0 to zero for the dashed orange y-nullclines with horizontal ticks, and test a point on each side for ↑ (y′>0) versus ↓ (y′<0).
Mark equilibria only where opposite types cross
Solve a solid blue x-nullcline and a dashed orange y-nullcline together so x′=0 and y′=0 at the same time (like y=x2 meeting y=x+2 at (−1,1) and (2,4)). Ignore same-color intersections like (0,3) where x=0 meets y=3−x, because 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 ↗ and ↙ into (2,4)) or pull away on at least one pair of sides (like ↖ and ↘ pulling away from the saddle (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 (↗→↖→↙→↘ or the clockwise reverse) do you check the coefficient matrix A (or the Jacobian at that equilibrium): with T2−4D<0,T<0 winds inward (like T=−2 at (2,2) in x′=−x−y+4,y′=x−y) and T>0 winds outward.
5
Practice
1
For the autonomous system x′=6−2x−y and y′=x−y, find the equations of the x-nullcline and y-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,4), and (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 0.
Nullclines and equilibriumSetting each rate to zero and solving the two lines together gives the equilibrium.
Direction of motion at (1,2),(1,4), and (3,3)Plug each point into x′=6−2x−y and y′=x−y. Be careful not to mix up which direction is zero when one rate is zero: getting x′=0 at (1,4) means zero horizontal push so the point moves straight down (↓, not left ←), and getting y′=0 at (3,3) means zero vertical push so the point moves straight left (←, not down ↓).
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 (←)
2
For the system x′=x+y−3 and 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) 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?
Region arrows and rotation directionTest (0,0) in x′=x+y−3 to get x′(0,0)=−3<0 (← below y=3−x and → above it), and test (1,0) in y′=−2x+y to get y′(1,0)=−2<0 (↓ below y=2x and ↑ 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.
Following the cycle ↙→↖→↗→↘ turns clockwise around (1,2).
Spiral direction from trace and determinantBecause the region arrows loop all the way around (1,2), write the coefficient matrix A. Be careful with the minus sign on −2 when computing D=(1)(1)−(1)(−2)=3 (dropping the negative sign gives D=−1, which falsely says saddle), and check the sign of T=+2>0 rather than stopping at D>0.
Since T2−4D<0 and T=2>0, the flow spirals outward (an unstable spiral).
3
For the nonlinear system x′=4−x2−y and 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) inside the parabola y=4−x2 and below the line y=x+2 first, then use the two intersections to split each curve into a middle piece (−2<x<1) and two outer pieces.
EquilibriaSet the two nullcline equations equal and move all terms to one side before factoring; reversing the signs in (x+2)(x−1)=0 is a common mistake that gives the wrong x-values x=2 and x=−1.
4−x2x2+x−2(x+2)(x−1)=x+2=0=0⟹(−2,0) and (1,3)
Nullcline pieces and region arrowsBecause y=4−x2 opens downward, its middle piece (−2<x<1) sits above the line y=x+2 where y′<0, so the middle piece points straight down (↓), not up (↑).
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)
What the arrows showTo the left of (−2,0), above the parabola, the arrows push left (←), and to its right, under the parabola, they push right (→), so trajectories on both sides move away and (−2,0) is unstable. Around (1,3), the arrows loop counter-clockwise all the way around (↘ in the pocket to its left, then ↗ below, ↖ in the wedge to its right, ↙ above), the same pattern as around (2,2), so the arrows alone can't tell whether trajectories spiral into or out of (1,3). For a nonlinear system, that takes the Jacobian at (1,3).
4
For x≥0 and y≥0, consider x′=x(6−2x−y) and y′=y(6−x−2y). Find all x-nullclines and y-nullclines, explain why (0,6) and (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),(3,0), and (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 y-axis versus near the x-axis.
Nullclines and same-color intersections at (0,6) and (6,0)
At (0,6), two solid blue x-nullclines meet (x′=0, but y′=6(6−0−12)=−36<0), so (0,6) is not an equilibrium and moves straight down (↓). At (6,0), two dashed orange y-nullclines meet (y′=0, but x′=6(6−12−0)=−36<0), so (6,0) is not an equilibrium and moves straight left (←).
Four true equilibria (blue-orange intersections)
x=0 and y=0y=6−2x and y=0x=0 and y=3−2x6−2x=3−2x⟹(0,0)⟹(3,0)⟹(0,3)⟹23x=3⟹(2,2)
First-quadrant arrows and stabilityNotice that here the blue x-nullcliney=6−2x has the higher y-intercept (0,6), while the orange y-nullcliney=3−2x has the wider x-intercept (6,0). Copying the interior arrows ↖ and ↘ 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−2x):→+↓=↘Bottom-right (above y=6−2x,below y=3−2x):←+↑=↖
Along the axes, the flow moves toward (0,3) and (3,0), but the interior arrows ↘ and ↖ pull trajectories away from them and into (2,2) from all four surrounding regions. Therefore, (0,3) and (3,0) are unstable saddles, and (2,2) is a stable sink.