Now that we understand a little bit about stability, let's look at an example to see how it might arise. The town of Hamlin has a rat problem. The rats are growing in an explosive, uncontrolled fashion. Rather than a pied piper, the mayor decides to get some cats to control the population. Will this strategy work?Well, of course, we think it should work if we have enough cats, but this simple question demonstrates the way in which differential equations and stability of equilibrium solutions can be used to understand an issue.
Growth of the rat populationWe are told that the rat population is growing in an uncontrolled fashion. A good way to think about this is to suppose that the rate at which the rats are reproducing is proportional to the rat population. That is, if we callthe number of rats, then the birth rate of rats is given by
where r is some positive constant which represents the number of births per capita per unit time.
The Predation RateThe other issue is the rate at which the cats eat the rats---we call this the predation rate. It is a bit more interesting to model than the birth rate of the rats because there are several ways to think about it. In fact, three different ways have been proposed by Hollings in the paper The Components of Predation as Revealed by a Study of Small Mammal Predation of the European Pine Sawfly, Canadian Entomology 91: 283-320. Let's take a minute to describe each of the models and then we will choose one to apply to our problem.We will use
to denote the predation rate---the number of rats consumed per unit time.
- Hollings Type I Response: This is the simplest possible model. It simply says that the more rats there are, the more the cats eat. In other words, the predation rate is proportional to the rat population:
![]()
where p is some positive constant.
- Hollings Type II Response: Let's add a new feature to the model above. Realistically, if there are lots of rats, each cat can only eat so many of them. After a while, they become satiated and go to sleep. This means that for large numbers of rats, the predation rate should level off.
![]()
where
and a are positive constants.
- Hollings Type III Response: Let's add another new feature. If the population of rats is very low, the cats may have a hard time finding any before they can catch them. This makes there hunting efficiency very low. One way to describe this is:
![]()
where again
and a are positive constants.
Setting up the ModelWe will now set up the model for how the rat population behaves assuming the Hollings Type II Response applies. Of course, this is an assumption which would require serious scrutiny were we actually the mayor of Hamlin. However, since we are just pretending, we will not question the assumption. It should be said, however, that this model is useful in many other areas such as chemistry and biochemistry.Before we begin, let's study the predation rate a bit more carefully. We will take
![]()
What is the meaning of these different terms? Notice that:
.
![]()
![]()
![]()
- When y is very large, we have
so that
![]()
Putting all this together, we can deduce that the graph is as shown below. The function always increases and the constant a is controlling how fast the function increases. Also, for very large values of the population, the predation rate stabilizes around
.
Now the changes in the rat population are governed by new births and the predation by cats. That is, the rate of change of the rat population is the difference in the birth rate minus the predation rate. This means that
![]()
To understand this differential equation, we would like to understand its equilibrium solutions and whether they are stable or unstable.
Let's first look for equilibrium solutions. This means:
![]()
In other words,
is an equilibrium solution. Also, when
![]()
we have an equilibrium solution. This happens when
or
which means that
![]()
is an equilibrium solution. Still some care is needed here: remember that only positive values for the population make sense. This is, this equilibrium solution really only makes sense when
or
. This will give us two cases to work with depending on whether this condition holds or not.
- Case 1: When
, we only have one equilibrium solution which has any meaning---namely,
. Let's think about this solution and detemrine whether it is stable or not.
Remember, if the differential equation is
, the derivative of f can tell us about stability. This is the Linear Stability Test. In our case,
so that
. This means that
![]()
This tells us that the equilibrium solution
is unstable.
- Case 2: When
, there are two equilibrium solutions. As above, we have
![]()
which tells us that
is a stable equilibrium.
Now the other equilibrium occurs at
. For this value, we have
![]()
In other words, this equilibrium solution is stable.
We can interpret these results to derive some conclusions. Let's think about the equilibrium solutions in a different way though. Remember that equilibrium solutions are given by
![]()
or
. We can understand this geometrically as the intersection of the graphs of
and
as below.
In this picture, you can adjust the value of
. In terms of our story, this could correspond to getting more cats, say. This sheds some light on our condition
. The term on the left
is the slope of the graph of
at the origin. The condition to have an equilbrium solution other than at
means that the slope of the graph of
at the origin should be larger than the slope of the line. You can see above that this is indeed the condition necessary to generate another intersection point.
When
, there is only the equilibrium solution
. It is unstable which means that solutions will increase away from
. In other words, the rat population will always be increasing. This means that the cats have not controlled the population at all.
When
, the equilibrium solution
becomes stable and there is another equilibrium solution which is unstable. For values of the population between these two equilibrium solutions, the population will steadily decrease to zero. This means that the rat population has been eliminated!
However, for values of the rat population above this second equilibrium, the population steadily increases and there is still a rat problem. In other words, the cats can only control the rat population provided there are not too many rats to begin with.