Differential EquationsNonlinear Systems in the Phase Plane3 of 5
Nonlinear Systems in the Phase Plane · 3
Predator-Prey Cycles
In the wild, predator and prey populations do not settle into a flat balance: they rise and fall in repeating cycles, and we want a differential equation model that explains why.
Building the Lotka-Volterra Equations
Left on their own, rabbits R(t) grow exponentially at rate aR, while starving foxes F(t) die off exponentially at rate −cF. When they share an island, a rabbit gets eaten and feeds new fox births only when a rabbit and a fox meet, which happens at a rate proportional to the product RF:
Because both equations contain the product RF, they are coupled together and we cannot integrate either one on its own to solve for R(t) and F(t). Instead, we start by finding the equilibrium points: the constant populations where neither species changes, dtdR=0 and dtdF=0.
Finding the Equilibria
dtdRdtdF=0.4R−0.01RF=−0.2F+0.001RF
dtdR=dtdF=0:(R,F)=?
Text solution
Factor out each populationSetting both rates of change to zero and factoring out R and F splits each equation into two ways the rate can equal zero.
Solve for extinction and coexistenceSetting the outside factors to zero gives total extinction (0,0), while setting the parentheses to zero gives the exact population of each species needed to keep the other constant.
So the populations stay constant either at total extinction (0,0) or at the coexistence balance point (200,40), which in general parameters is
(R,F)=(dc,ba)
2
Nullclines and the Phase-Plane Cycle
Starting right on (dc,ba) keeps both populations constant forever, so next we want to know which way R and F move from any other starting point on the (R,F) phase plane. To map the flow, we draw the nullclines: the lines where one derivative is zero, so one population stops changing for an instant before reversing direction.
Nullclines and the Phase-Plane Cycle
The two non-zero nullclines split the first quadrant into four zones whose signs come straight from the factored equations:
rabbit nullcline(dtdR=0)F=ba:fox nullcline(dtdF=0)R=dc:dtdR>0 below (F<ba),dtdR<0 above (F>ba)dtdF<0 left (R<dc),dtdF>0 right (R>dc)
As the path goes counterclockwise through the four zones, rabbits reach their highest and lowest numbers right as the path crosses the horizontal rabbit nullcline F=ba. Foxes reach their highest and lowest numbers later, when the path crosses the vertical fox nullcline R=dc, about a quarter-cycle later on a small loop near the balance point.
Rabbits hit their high and low right as the loop crosses the horizontal line, and foxes hit theirs a quarter-cycle later as it crosses the vertical line.
3
Linearizing at the Equilibria and Cycle Period
Counterclockwise arrows across the four zones show that trajectories go around (dc,ba), but direction arrows alone cannot tell us whether the path is a closed loop, an inward spiral, or an outward spiral.
To see how trajectories behave right next to each equilibrium and find the period T of a small cycle around the balance point, we linearize the system dtdR=f(R,F) and dtdF=g(R,F) using the eigenvalues λ of the Jacobian matrix:
J(R,F)=∂R∂f∂R∂g∂F∂f∂F∂g
Linearizing at the Equilibria and Cycle Period
f(R,F)g(R,F)=aR−bRF=−cF+dRF
J(0,0):λJ(dc,ba):λ=?=?T=?
Text solution
Differentiate for the Jacobian matrixTaking the partial derivatives of f(R,F)=aR−bRF and g(R,F)=−cF+dRF gives J(R,F) at any point.
J(R,F)=[a−bFdF−bR−c+dR]
Evaluate at extinction (0,0)At (0,0) the matrix is diagonal, so we read one positive and one negative eigenvalue straight off the diagonal, making extinction a saddle point.
J(0,0)=[a00−c]⟹λ1=a>0,λ2=−c<0
Evaluate at coexistence (dc,ba)At the balance point, both diagonal entries are zero and the interaction constants b and d cancel out in the determinant, leaving purely imaginary eigenvalues.
J(dc,ba)=0bad−dbc0⟹λ2+ac=0⟹λ=±iωac
Find the small-cycle period from the imaginary partPurely imaginary eigenvalues λ=±iω give linearized solutions cos(ωt) and sin(ωt) with angular frequency ω=ac (a linearized center), so for a=0.4 and c=0.2 one small cycle takes
T=ac2π=(0.4)(0.2)2π=0.082π months
Notice a handy check on your algebra: at (dc,ba), the diagonal entries a−bF and −c+dR must always drop to zero because a−bF=0 and −c+dR=0 are the very equations that defined the coexistence point.
4
Proving the Loops Close with a Conserved Quantity
Purely imaginary eigenvalues (Re(λ)=0) give closed ellipses in the linearized system, but Re(λ)=0 sits right on the boundary between spiraling in (Re(λ)<0) and spiraling out (Re(λ)>0), so the nonlinear RF terms could still nudge the true path into a slow spiral. To prove that the true paths really close into loops, we eliminate dt and find the equation of the phase-plane curves directly.
Proving the Loops Close with a Conserved Quantity
By the chain rule, dividing the fox rate by the rabbit rate cancels dt and gives a separable equation for the phase-plane slope dRdF:
Eliminate dt:dRdF=dtdRdtdF=R(a−bF)F(−c+dR)Separate R and F:(Fa−b)dF=(−Rc+d)dRIntegrate both sides:conserved quantity(alnF−bF)+(clnR−dR)=C
Because a trajectory starting at (R0,F0) keeps the same value of C for all time, it can never spiral to a higher or lower value of C and must reconnect into a closed loop every time it goes around (dc,ba).
Every horizontal slice at a height C below the top of the hill (alnF−bF)+(clnR−dR) cuts out a closed level curve around the peak (dc,ba), forming small ellipses near the top of the hill and wide, lopsided loops lower down near the axes.
Every flat slice below the top of the hill cuts a closed loop, keeping the populations on a repeating cycle around the equilibrium point.
5
Cycle Averages and Volterra's Principle
On a large, lopsided loop far from the peak, the populations spend long stretches near the axes and shoot quickly through tall peaks without ever passing through (dc,ba). We want to find the exact average rabbit population Rˉ and average fox population Fˉ over a full cycle of period T, and see how harvesting both species shifts those averages.
Remember that the average value of F(t) over a period T is Fˉ=T1∫0TF(t)dt, and by the chain rule the relative growth rate R1dtdR is the derivative dtd(lnR).
Cycle Averages and Volterra's Principle
Adriatic Sea, World War I
sardines
sharks
Dividing the rabbit equation by R turns the left side into dtd(lnR), which integrates to zero over one closed cycle because R(T)=R(0):
Divide by R:R1dtdR=dtd(lnR)=a−bFIntegrate over [0,T]:lnR(T)−lnR(0)=0=aT−b∫0TF(t)dtSolve for the average:Fˉ=T1∫0TF(t)dt=ba
Repeating the exact same steps on the fox equation (dividing by F and integrating over [0,T]) shows that the average populations over any closed cycle always equal the coexistence values:
(Rˉ,Fˉ)=(dc,ba)
When fishing nets or pesticides harvest a constant fraction h of both species per unit time (subtracting hR from dtdR and hF from dtdF), the net prey birth rate drops from a to a−h while the net predator death rate rises from c to c+h:
Rˉharvest=dc+h↑,Fˉharvest=ba−h↓
As long as harvesting does not wipe out the predators completely (h<a), harming both species equally raises the average prey population and lowers the average predator population (Volterra's Principle).
Farther from the balance point (dc,ba), the phase-plane path stretches from a small ellipse into a wide, lopsided loop, and the time graphs turn into brief spikes separated by long lows. Even so, the long stretches at low numbers balance out the tall spikes, keeping the full-cycle averages fixed at Rˉ=dc and Fˉ=ba.
No matter how big and lopsided a predator-prey loop gets, a long low stretch balances out the brief high spike so the average populations over a cycle stay right at the equilibrium values.
Key concepts
Everything in the Lotka-Volterra model dtdR=aR−bRF and dtdF=−cF+dRF comes down to picking the right tool for what the question asks, because we never solve for R(t) and F(t) as explicit formulas of time:
Factoring for equilibria, nullclines, and peaks
Factor out each population, R(a−bF)=0 and F(−c+dR)=0, to get extinction (0,0) and coexistence (dc,ba). Keep the two species straight: setting the prey rate dtdR=0 gives the horizontal line F=ba where prey hit their maximum and minimum, while setting the predator rate dtdF=0 gives the vertical line R=dc where predators hit their maximum and minimum. For instance, in dtdR=2R−RF and dtdF=−3F+RF, rabbits reach Rmax and Rmin along F=2, not R=2.
Jacobian for small cycles vs. separating variables for large loops
Use the Jacobian J(R,F) only for behavior right near an equilibrium, showing (0,0) is a saddle (λ=a,−c) and (dc,ba) is a linearized center (λ=±iac) whose small oscillations have period T=ac2π (for a=2 and c=3,T=62π). Do not use T=ac2π or ellipses on a large nonlinear cycle; when a problem gives a specific starting point (R0,F0) and asks for the trajectory or its maximum and minimum values, divide dtdF by dtdR and integrate to get the exact closed curve (alnF−bF)+(clnR−dR)=C.
Logarithm derivatives for cycle averages and harvesting
When a problem asks for an average population or a full-cycle integral like ∫0TR(t)dt over a known period T, do not try to find a formula for R(t). Divide by the population to form dtd(lnF)=−c+dR and integrate over [0,T] so the logarithm cancels to zero, giving Rˉ=dc and Fˉ=ba on every closed loop. If uniform harvesting subtracts hR and hF, simply replace a with a−h and c with c+h in those formulas.
6
Practice
1
On an isolated island, the populations of deer D(t) and wolves W(t) (in hundreds, with t in years) satisfy dtdD=0.6D−0.3DW and dtdW=−0.4W+0.1DW. Find both equilibrium points, write the equations of the non-zero deer and wolf nullclines, and determine whether each population is increasing or decreasing when D=5 and W=3.
Watch out for the common mistake of putting the solution of the first equation into the first coordinate, which gives the backwards point (2,4) and swaps the two nullclines.
Factor D out of dtdD=0 and W out of dtdW=0: which species is inside the parentheses of the deer equation?
Factoring both rate equations gives
dtdDdtdW=D(0.6−0.3W)=0=W(−0.4+0.1D)=0
Setting the parentheses to zero gives 0.6−0.3W=0⟹W=2 and −0.4+0.1D=0⟹D=4. (Watch out for the common mistake of putting the solution of the first equation into the first coordinate, which gives the backwards point (2,4) and swaps the two nullclines.)
Equilibria: (D,W)=(0,0) and (D,W)=(4,2)
Non-zero deer nullcline (dtdD=0): the horizontal line W=2
Non-zero wolf nullcline (dtdW=0): the vertical line D=4
Plugging in (D,W)=(5,3) (in the top-right zone):
dtdDdtdW=5(0.6−0.3(3))=−1.5<0(deer are decreasing)=3(−0.4+0.1(5))=0.3>0(wolves are increasing)
2
For the predator-prey system dtdR=0.5R−0.02RF and dtdF=−0.18F+0.003RF (with t in months), find the Jacobian matrix J(R,F), find its eigenvalues at both equilibria to classify them in the linearized system, and find the period T of small oscillations around the coexistence point.
After finding the four partial derivatives for J(R,F), check what happens to the diagonal entries at the coexistence point (dc,ba).
Setting 0.5−0.02F=0 and −0.18+0.003R=0 gives the equilibria (0,0) and (60,25). Differentiating with respect to R and F gives the Jacobian:
Here tr(J)=0 and det(J)=(1.2)(0.075)=(0.5)(0.18)=0.09, so λ2+0.09=0⟹λ=±0.3i (a linearized center). Be careful not to use det(J)=0.09 directly as ω without taking the square root, which would give T=0.092π≈69.81 months. With ω=0.09=0.3, the small-cycle period is
T=0.32π=320π≈20.94 months
3
Consider the system dtdR=2R−RF and dtdF=−F+RF starting at (R(0),F(0))=(1,3). Eliminate dt and separate variables to find the equation of the closed trajectory in the (R,F) plane, and write the single-variable equation satisfied by the maximum and minimum rabbit populations Rmax and Rmin along this cycle.
Make sure not to swap the coordinates into R=3,F=1, which would give C=ln3−4.
Divide dtdF by dtdR to get dRdF; once you find the curve through (1,3), on which nullcline does the rabbit population reach Rmax and Rmin?
Dividing the two rate equations and separating variables gives
dRdF(F2−1)dF=R(2−F)F(−1+R)=(−R1+1)dR
(2lnF−F)+(lnR−R)=C
Plugging in the starting point (R,F)=(1,3) (make sure not to swap the coordinates into R=3,F=1, which would give C=ln3−4) gives
C=(2ln3−3)+(ln1−1)=2ln3−4
So the closed trajectory is
2lnF−F+lnR−R=2ln3−4
Rabbits reach Rmax and Rmin when dtdR=0, which is along the rabbit nullcline F=2. (Do not substitute the fox nullcline R=1, which solves for Fmax and Fmin instead.) Substituting F=2 into the trajectory equation gives 2ln2−2+lnR−R=2ln3−4, which simplifies to
lnR−R=2ln(23)−2
4
In the system dtdR=0.4R−0.01RF and dtdF=−0.2F+0.001RF (with t in months), suppose the populations follow a large nonlinear cycle whose measured period is T=30 months. By rewriting R1dtdR and F1dtdF as derivatives of logarithms and integrating over one period, find the exact values of ∫030R(t)dt and ∫030F(t)dt, and determine how many rabbits a single fox eats in total over this 30-month cycle.
Be careful not to stop at the cycle averages Rˉ=200 and Fˉ=40 without multiplying by T=30, which would make the integrals 30 times too small and give only 2 rabbits eaten.
Divide the fox equation by F and integrate from t=0 to t=30: what happens to lnF(30)−lnF(0) around a closed loop?
Dividing the fox equation by F and integrating over the 30-month period gives
(Be careful not to stop at the cycle averages Rˉ=200 and Fˉ=40 without multiplying by T=30, which would make the integrals 30 times too small and give only 2 rabbits eaten.) Since F foxes eat rabbits at total rate 0.01RF, a single fox eats rabbits at rate 0.01R(t) per month, so over the 30-month cycle one fox eats
∫0300.01R(t)dt=0.01(6000)=60 rabbits
5
A fishery is modeled by dtdR=0.8R−0.04RF and dtdF=−0.3F+0.002RF (where R is sardines, F is sharks, and t is in years). If commercial nets harvest a constant fraction h of both species per year (subtracting hR from dtdR and hF from dtdF), find the average sardine and shark populations over a cycle when h=0.2, and find the critical harvesting rate h at which sharks can no longer survive and the extinction equilibrium (0,0) becomes stable.
A common mistake is subtracting h from 0.3 to get 0.3−0.2=0.1, which gives Rˉ=50 instead of 250.
Combine the −hR and −hF harvesting terms with the natural birth and death terms 0.8R and −0.3F: how do the new coefficients change Rˉ=dc and Fˉ=ba?
Subtracting hR and hF from the two equations gives
dtdRdtdF=(0.8−h)R−0.04RF=−(0.3+h)F+0.002RF
Notice that in the shark equation, −0.3F−hF=−(0.3+h)F, so c=0.3 increases to 0.3+h. (A common mistake is subtracting h from 0.3 to get 0.3−0.2=0.1, which gives Rˉ=50 instead of 250.) When h=0.2, the cycle averages are
The shark balance population Fˉ=0.040.8−h drops to zero and the eigenvalues of J(0,0), which are λ1=0.8−h and λ2=−(0.3+h), both become negative once h passes the critical harvesting rate