Many situations are best modeled with a system of differential equations rather than a single equation. We have already derived a model that describes how a population of snowshoe hares interacts with one of their primary predators, the lynx (Section 1.1). We denoted the population of hares by and the population of lynx by , where is the time measured in years and derived the system of differential equations
Just as in first-order differential equations, we can examine the equilibrium solutions of a system. More specifically, we define an equilibrium solution for a system of differential equations
to be those values of and such that and . That is, an equilibrium solution is a solution where neither or is changing.
Suppose that we have a predator-prey system consisting of a population of foxes () and of rabbits ().β1β
Foxes are omnivores. Their diet consists of small mammals, including rabbits, as well as fruits, berries, and vegetables. They will even eat fish and crabs.
we have an equilibrium solution at and . That is, the system is in balance and there is just enough prey to support a constant population of predators at the point .
If the number of rabbits or foxes changes, then the system is no longer in balance. For example, if and , then
and the rabbit population will be increasing while the fox population will decrease. If we assume that we have initial conditions
we can apply a numerical algorithm to generate a solution for our system.β2β
You will find technology extremely useful when analyzing systems. We will introduce Sage commands for analyzing systems of equations at the end of this section.
The graphs of the solutions for and are given in Figure 2.1.1. Notice that the solutions are periodic with the same period. Observe that a peak in the rabbit population is followed by a peak in the fox population.
We can graph the solution to our system in a different mannerβwe can construct a parametric plot of our solution in the -plane. Thus, a point on the graph is given by at time . We can view the solution curve of our system in the -plane in Figure 2.1.2. The -plane is called the phase plane for our system of differential equations and is analogous to the phase line that we used during our investigation of slope fields for autonomous differential equations. We can plot many solutions to our predator-prey system and even plot direction fields in the phase plane (Figure 2.1.3).
We will now modify our system by assuming that the rabbit population will grow logistically if there are no predators present. The system can now be written as
where is the carrying capacity. As a specific example, consider the system
It is easy to see that we have two equilibrium solutionsβone at and one at . Our solutions now behave very differently from the assumption that the population of the prey grows exponentially. If we have initial values and , then our solution is no longer periodic (Figure 2.1.4). In fact, the solutions tend towards the equilibrium solution. The phase plane for our modified predator-prey system is given in Figure 2.1.5. The equilibrium solution is an example of a stable equilibrium solution.
One example of a predator-prey system is the relationship between arctic wolves and caribou. The Porcupine caribou herd in northern Canada and Alaska numbers between 200,000 and 235,000 animals. These animals migrate over 1,500 mi (2,400 km) a year between their winter range and calving grounds at the Beaufort Sea, the longest land migration route of any land mammal on Earth. The arctic wolf is one of the primary predators of the caribou, especially during the annual migration. Consider the following predator-prey system for arctic wolves and caribou,
where is the population of the caribou and is the population of the wolves at time .
Suppose the wolves discover a second, unlimited source of food, but they still prefer to eat caribou when they can catch them. How would you modify the system to include this assumption?
Suppose that the wolves migrate to a different area if there are more than three times as many prey as predators in that area () and they move back if there are fewer than three times as many prey as predators. How would you modify the system to take this into account?
Suppose that prey move out of an area at a rate proportional to the number of predators in the area. How would you modify the system to take this into account?
Recall the spring-mass model from Section 1.1. We have a mass lying on a flat surface that is attached to one end of a spring with the other end of the spring attached to a wall. The spring displacement is denoted by . If , then the spring is stretched. If , the spring is compressed. If , then the spring is in a state of equilibrium (Figure 1.1.4). If the surface is frictionless and we pull on the mass, then the mass will oscillate.
A second-order differential equation can be restated in terms of a system of first order differential equations. Given the differential equation
with initial position and initial velocity , we can rewrite this equation as a system of first-order differential equations by letting . In this case, the equation becomes
We now have a system of first-order differential equations,
Systems of differential equations are very useful in epidemiology. Differential equations can be used to model various epidemics, including the bubonic plague, influenza, AIDS, the 2015 ebola outbreak in west Africa, and the COVID-19 pandemic. To understand how we might model an epidemic, we will consider a very simple situation. We will assume that we have a closed population of size , where immigration, emigration, and birth do not play an important role. We will also ignore any deaths that are not related to our disease.
Susceptible individuals are those who do not yet have the disease and can catch the disease from infected individuals. Individuals enter the removed population by either recovering from the disease or dying. If an infected individual recovers, then the individual is immune to the disease. Schematically, we can represent the effect of the disease by the diagram
We can model how the disease acts with the following system of equations,
We say that is the rate of infection and is the rate at which the infected are removed. That is, an infected individual either dies or recovers after days. Since
we need only solve the system
Letting and , we can see how the susceptible and infected populations interact in an SIR epidemic in Figure 2.1.6.
as parametric plots in the -plane. A point on the graph is given by at time . The -plane is called the phase plane for our system of differential equations.
Modify the SIR model to account for the situation where the susceptible population is decreasing at a constant rate such as susceptibles leaving an infected area or city.
Modify the SIR model to account for the situation where the infected population is increasing at a constant rate such as infected individuals entering an infected area or city from the outside.
Formulate an initial value problem that corresponds to the motion of this undamped mass-spring system if the mass is extended foot from its rest position and released with no initial velocity.
Notice the vectors have different lengths depending on their magnitudes. If we wish all of the vectors to have the same length, we can divide each component by the length of the vector.
We now have a numerical approximation of the solution to the system (2.1.1)β(2.1.4). However, our approximation is just a very long list of points. In fact, we get a list of triples, . It would be much more useful if we could display a graph of the solution. In the code below, we grab pairs and and then plot the points using the line command.