Section 2.2 The Geometry of Systems
Objectives
-
To understand how the righthand side of the system
can be viewed as a vector field,
which can be plotted in the -plane. -
To understand and be able to use nullclines and phase plane analysis to sketch solution curves for the system
Subsection 2.2.1 Direction Fields
Example 2.2.1.
Consider the differential equation for a simple harmonic oscillator that we developed in Section 1.1,
If we assume that
The direction field is relatively easy to understand. After plotting only few vectors, we can very quickly see that the vectors are tangent to circles centered at the origin (Figure 2.2.2). Since the solutions to the undamped harmonic oscillator
for arbitrary constants
Example 2.2.3.
The system
gives us a direction field where the vectors point away from the origin (Figure 2.2.4).
The system
gives us a direction field where the vectors point towards the origin (Figure 2.2.5).
The system
also gives us a direction field where the vectors point towards the origin; however, we shall soon see that there are important differences between this direction field and the direction field of the previous system (Figure 2.2.5).
Activity 2.2.1. Plotting Direction Fields.
Plot direction fields for each of the following systems of differential equations in the
(a)
(b)
(c)
(d)
Subsection 2.2.2 Modified Predator-Prey System
Let us recall the modified predator-prey system that we developed in the last section. That is, we will assume that the prey in our model has logistic growth,Subsection 2.2.3 A Competing Species Model
Suppose thatExample 2.2.8.
Suppose that
If we study how the two populations interact, we will discover two very different cases depending on the value of the parameter
If we let
We are interested in what happens as
If
Similarly, if
The lines in equations (2.2.3)–(2.2.6) are called nullclines. In general, if we are given the system
then the values of
In our example, we can plot the
Since both of these numbers are negative, we can see that our initial trajectory is headed down and to the left—slightly more to the left than down. However, we have no guarantee that the trajectory will continue in this direction.
Before we proceed further with our analysis, let us determine what happens on the nullclines themselves. That is, we will examine the case when
Therefore, the trajectory that crosses the
Similarly, there can be no vertical motion on an
We can also determine the basic direction of the solution curve by checking what happens at a point in each of the regions bounded by the nullclines. For example, at the point
Thus, the general direction of any solution curve in this region is up and right (Figure 2.2.9).
What happens to the initial condition
Only species
survives and species becomes extinct.Only species
survives and species becomes extinct.There are essentially equal numbers of species
and
Activity 2.2.2. Plotting Direction Fields with Nullclines.
Consider the competing species model
where the species interact weakly, say
(a)
Find the
(b)
Find all equilibrium points for this system.
(c)
The nullclines will divide the first quadrant of the plane,
(d)
Sketch the phase plane for this system.
(e)
If the initial populations are given by
Example 2.2.10.
There is no reason why our nullclines should be limited to straight lines. The system
has an
The only equilibrium solution of our system occurs at
Subsection 2.2.4 Plotting Direction Fields with Sage
It is easy to plot direction fields using Sage. We can plot the direction field for the systemSubsection 2.2.5 A Summary of Phase Plane Analysis
We can use the following series of steps to summarize phase plane analysis for the nonlinear systemStep 1. Draw the curves where
These curves are called the -nullclines. When a solution curve lies on one of these curves, draw vertical slash marks on the -nullclines to remind yourself that a trajectory crossing the nullcline can only do so if it is moving in a vertical direction at the instant of crossing.Step 2. Draw the curves where
These curves are called the -nullclines. When lies on one of these curves, Draw horizontal slash marks on the -nullclines to remind yourself that a trajectory crossing the nullcline can only do so if it is moving in a horizontal direction at the instant of crossing.Step 3. Label the points where the
and -nullclines intersect. These intersections are the equilibrium points. If is ever at one of these points, then both and vanish. This means that the trajectory stays at the equilibrium point for all time. If our system is going to tend towards a steady state, then will approach on of the equilibrium points asStep 4. Label the regions of the
-plane where and where These regions are always separated by -nullclines. Likewise, label the regions where is positive and negative.Step 5.Go back and put arrows on the vertical hash marks of the
nullclines. These arrows indicate whether the motion across the nullcline is up or down. The arrows are up on the parts of the -nullclines that are in the region, and down on those parts of the -nullclines in the regions. Likewise, draw arrows on the horizontal slash marks of the -nullclines. These arrows are pointing right on the parts of the -nullclines in the regions and left point on the parts in the regions.-
Step 6.
If
and then both and are increasing and the trajectory moves up and right.If
and the trajectory moves down and right.If
and the trajectory moves up and left.If
and the trajectory moves down and left.
Subsection 2.2.6 Important Lessons
-
The righthand side of the system
can be viewed as a vector field,
which can be plotted in the -plane. -
Competition between two competing species can be modeled with the system
-
We can use nullclines and phase plane analysis to sketch solution curves for the system
Reading Questions 2.2.7 Reading Questions
1.
Using your own words, explain what a nullcline is.
2.
What happens at the intersection of an
Exercises 2.2.8 Exercises
1.
Consider a cooperating species model
where the species interact weakly, say
Find the
and -nullclines for this system.Find all equilibrium points for this system.
Sketch the phase plane for this system.
If the initial populations are given by
and what happens to the two populations as
2.
For the following two systems of equations
Find the equilibrium points of the system.
Sketch the phase plane and direction field for each system using technology.
Briefly describe the behavior of typical solutions.
3.
Consider an epidemic that moves through an isolated population. We will make the following assumptions about the epidemic.
Individuals are infected at a rate proportional to the product of the number of infected and susceptible individuals. We assume that the constant of proportionality is
The length of the incubation period is negligible, and infectious individuals are immediately infectious.
On the average, an infected individual dies after 10 days.
Only a single individual is initially ill.
Infected individuals do not give birth, but susceptible individuals have a birth rate of 0.0003 per individual per year. Newborns are susceptible.
If
The constant
If
draw the phase portrait. Be sure to label all nullclines and equilibrium solutions. Suppose that and What happens to the solution curve asIf
draw the phase portrait. Be sure to label all nullclines and equilibrium solutions. Suppose that and What happens to the solution curve asWhat conclusions can you draw about the behavior of the two different epidemics?
Subsection 2.2.9 Plotting Nullclines with Sage
Let us use Sage to analyze the systemIf these Sage commands seem unfamiliar, you may want to refer to Subsection 2.1.7 We can add nullclines to our plot using thexxxxxxxxxx
x, y, t = var('x y t')
F = [x + y, -2*x + y]
P = desolve_system_rk4(F,[x, y],ics=[0,0.55,0],ivar=t,end_points=10,step=0.01)
Q = [ [j,k] for i,j,k in P]
p = line(Q, axes_labels=['$x(t)$','$y(t)$'], thickness=2)
n = sqrt(F[0]^2 + F[1]^2)
F_unit = [F[0]/n, F[1]/n] #set all vectors in the vector field to be same length
p += plot_vector_field(F_unit, (x,-4,4), (y,-4,4), axes_labels=['$x(t)$','$y(t)$'], xmax = 4, xmin = -4, ymax = 4, ymin = -4, aspect_ratio=1)
p
implicit_plot
function from Sage.
Thexxxxxxxxxx
x, y, t = var('x y t')
F = [x + y, -2*x + y]
P = desolve_system_rk4(F,[x, y],ics=[0,0.55,0],ivar=t,end_points=10,step=0.01)
Q = [ [j,k] for i,j,k in P]
p = line(Q, axes_labels=['$x(t)$','$y(t)$'], thickness=2)
n = sqrt(F[0]^2 + F[1]^2)
F_unit = [F[0]/n, F[1]/n] #set all vectors in the vector field to be same length
p += plot_vector_field(F_unit, (x,-4,4), (y,-4,4), axes_labels=['$x(t)$','$y(t)$'], xmax = 4, xmin = -4, ymax = 4, ymin = -4, aspect_ratio=1)
p += implicit_plot(F[0], (x,-4,4), (y,-4,4), color="green")
p += implicit_plot(F[1], (x,-4,4), (y,-4,4), color="red")
p