Consider a model for changes in population of some creature (perhaps bacteria, animals or people) as a function of time. Let y(t) be the number of creatures at time t. Of course y(t) can only take integer values, but for the sake of our model we can ignore that (it shouldn't matter too much if the populations are large). There are two processes that affect the population: birth and death.
In the simplest model, both the number of births per unit time and
the number of deaths per unit time are simply proportional to the
population:
and ,
where and
are called the birth rate and the death rate.
This would occur if in a small interval of time
each individual has approximately constant probabilities
of giving birth to a new individual and
of dying (the fact that not all individuals
can give birth is not a serious difficulty, as long as the
proportion of individuals that can is constant).
Then the differential equation is
Before solving the logistic equation, we'll look at some of its qualitative aspects using the direction field. We can interpret K as follows: when y = K, y' = 0. Thus the constant y=Kis a solution to our DE. A constant solution such as this is called an equilibrium point of the equation. There is one other, perhaps less desirable, equilibrium point: y = 0.
Here are the direction field and some solution curves (this is for r = K = 1, but the picture will be similar for other values of r and K):
Note the two constant solutions y = 0 and y = K. In the region between y = 0 and y = K, the slopes are positive. Any initial condition in this region corresponds to a solution with as , and as . In the region y > K the slopes are negative. An initial condition in this region corresponds to a solution with as , and in the backward direction (it turns out, at some finite value of t). The region y < 0 is not very relevant for the application because you can't have a negative population, but note that there we have in the forward direction (again, as it turns out, at a finite value of t) and as . Of the two equilibrium points, y=0 is said to be unstable and y=K is stable.
The logistic equation is separable, so we can solve it.
The integral can be done using partial fractions, obtaining
Apply the exponential function to both sides:
Thus
Notice, however, that this general solution doesn't actually include the particular solution y = K (that would be the limit of the general solution as ). Positive values of A correspond to solutions in the region 0 < y < K. A = 0 means y = 0. For a negative value of A, the denominator will be 0 at t = t0 where . Such an A actually corresponds to two solution curves. For t < t0, we have a solution with y < 0 and as . For t > t0, we have a solution with y > K and as . This justifies the previous remarks about ``some finite value of t.''