Exponential growth times a bounding factor
The logistic equation is y′ = r·y·(1 − y/K). For y small compared with K the factor 1 − y/K is near 1 and the equation is nearly y′ = r·y. As y approaches K the factor falls to 0 and so does the rate.
A population cannot grow exponentially for ever. The logistic equation y′ = r·y·(1 − y/K) multiplies the exponential rate r·y by a factor that is near 1 for a small population and falls to 0 at the carrying capacity K. Its equilibria are 0 and K, the first repelling and the second attracting; the growth rate is largest at K/2; and Euler's exact steps show a column of fractions whose digits double at every step, so the lab prints them until a stated budget and then says so.
Core ideas
Three ideas: the factor that bounds the growth, the two equilibria and which way the rest of the line moves, and where the growth is fastest.
The logistic equation is y′ = r·y·(1 − y/K). For y small compared with K the factor 1 − y/K is near 1 and the equation is nearly y′ = r·y. As y approaches K the factor falls to 0 and so does the rate.
The right side is zero at y = 0 and at y = K. Between them it is positive, so a population there grows; above K it is negative, so a population there shrinks. Starts anywhere above 0 move towards K, and a start just above 0 moves away from 0: the first equilibrium repels and the second attracts.
The rate f(y) = r·y·(1 − y/K) has f′(y) = r·(1 − 2y/K), which is zero at y = K/2. There f is largest, r·K/4, and the curve y(t) is steepest. Before that the curve bends upwards and afterwards downwards.
The material
The equation, its equilibria read from the sign of the right side, the point of fastest growth from the rate of that rate, and exact Euler steps with the lab's stated limit.
Exponential growth is the right description of a small population with room and food, and it is wrong for a large one, because it has no limit on how big the population can become. Something has to slow the growth as the population fills its surroundings. The simplest correction multiplies the exponential rate by a factor that drops to zero at a ceiling.
With a growth rate r > 0 and a carrying capacity K > 0, the logistic equation is y′ = r·y·(1 − y/K).
The carrying capacity is the level at which the growth rate is zero. It is a number the model is given, not one it derives.
Take r = 1 and K = 4, so that f(y) = y·(1 − y/4). Expanded, that is y − y²/4: the exponential term y and a correction that grows with the square of y. Here is the rate at several populations.
The rate rises from 0, peaks at y = 2 with f = 1, and falls to 0 at 4. Above 4 it is negative, so a population above the capacity shrinks back to it. An exponential at y = 3 would be growing at 3, and the logistic is growing at 3/4: the same equation with a quarter of the rate.
An equilibrium is a value where f(y) = 0, so that a population placed there does not change. Here those are 0 and 4. Between 0 and 4 the rate is positive and above 4 negative, so every start above 0 heads for 4. The lab labels this 0 unstable; 4 stable, in words the next course defines carefully: nearby starts move away from 0 and towards 4.
The rate f(y) is largest where its own rate of change is zero. Here f′(y) = 1 − y/2, which is zero at y = 2, half of the capacity. For the curve y(t) this is the steepest point, and the chain rule shows it is also where the curve changes from bending up to bending down, because y″ = f′(y)·y′. The lab's inflection tile prints y = 2.
Start at y(0) = 1 with h = 1/2. The first step is 1 + (1/2)·(3/4) = 11/8, a little under the 3/2 that exponential growth would give. The second is 935/512, which is about 1.82617. The right side is quadratic, so the numerator and denominator roughly double their number of digits at every step. The lab prints exact steps until a number has more than 2000 digits and then stops, and says that it has: from this start it prints 11 exact steps, then digit budget. It does not round to carry on.
The population cannot be followed further as exact fractions, and nothing in the equation stopped. The stopping is the lab's, and it is the honest alternative to hiding the growth in the digits by rounding at every step.
Start at 6. Then f(6) = 6·(1 − 3/2) = −3, so the first step is 6 + (1/2)·(−3) = 9/2: the population falls towards 4, and the lab prints a limit of → 4. The third preset is the same kind of equation with K = 10, whose steepest point is at 5.
Interactive
Equilibria, the phase line, and where solutions go
Method
Five moves, done before any step is computed.
Write the right side as r·y·(1 − y/K). The factor that vanishes gives K; the coefficient of y near 0 gives r.
Solve f(y) = 0: y = 0 and y = K.
Evaluate f at one point in each region. Positive means y rises, negative that it falls. Mark which equilibria are approached.
Solve f′(y) = 0: y = K/2, where f = r·K/4.
Compute a few exact steps from the starting value and compare each with what exponential growth would have given. Report where the lab stopped.
The equilibria and the steepest point come from the right side alone. The two Euler steps are exact fractions, with h = 1/2.
The rate at the start is 3/4, and the exponential would have used 1. The difference is the factor 1 − y/4, which has already cost a quarter of the growth at y = 1. The steps rise towards 4 and the lab's picture shows them flattening as they near it.
The value 935/512 ≈ 1.82617 is rounded only to say how big it is; the lab prints the fraction. The next steps double the digits again until the budget, and the equilibria and the steepest point do not depend on any of them.
You should be able to write y′ = r·y·(1 − y/K), solve f(y) = 0, read the direction from the sign of f in each region, solve f′(y) = 0 for the steepest point, compute an exact Euler step, and say what the lab does when the digits run out.
Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.
No recommendations yet for this lesson.