Take a number between 0 and 1, multiply it by one minus itself and by a fixed number , and feed the answer back into the same rule. Can a rule this simple do anything interesting? With every start strictly between and drifts toward , while with a start such as ends up hopping back and forth forever, ever closer to the same two values. This page computes the first steps by hand, draws them as a cobweb diagram, and uses the slope of the curve to explain why one parameter gives a stable fixed point and the other a stable two-cycle.
Key terms
Logistic map
Definition The logistic map is the rule
where the parameter is a fixed number with and the input lies in the interval . Iterating it means choosing a starting value in and computing , then , and so on, so that
The values never leave . For in the product is never negative and is at most , which it reaches at , so lies between and , and . The surprise is that this one rule, depending on , can produce orbits that settle at a single value, orbits that fall into a repeating cycle, and orbits that never repeat at all. For every orbit tends to . For every start strictly between and tends to the value . For every start strictly between and approaches a pattern that alternates between two values, except special starts whose orbits land exactly on . Nothing random is involved, since once and are fixed every later value is determined. The rule is often read as a population model, with the population as a fraction of some maximum and the factor standing for crowding, and the ecologist Robert May made it famous in 1976 as a simple model with very complicated behavior. It is a simplified model, not a forecast for any real population.
In plain words One fixed rule is applied again and again, and each answer becomes the next input. The number sets the height of the curve, and that decides whether the values settle down, repeat a pattern or never repeat.
Example Take and . The first step gives , and the second gives . The table continues with values computed exactly and then rounded.
| Step | Value | Distance from |
|---|---|---|
The values close in on , and each distance is exactly twice the square of the one before, as in and . The card on stable fixed points explains why.
Discrete dynamical system
Definition A discrete dynamical system consists of a set of possible states and a rule that sends each state to a state in the same set. Time moves in whole steps, and the state after one more step is . The sequence is called the orbit of the starting state . The system is deterministic, meaning that the current state alone fixes the next one, with no random choice. The early part of an orbit, before it comes close to its long-term pattern, is called the transient. It has no sharp end, and how long it lasts depends on how close to the pattern one asks the orbit to be. A statement about long-term behavior always concerns one rule, including the value of any parameter such as , and one starting state, and it describes what happens as grows without bound, which no finite list of steps can show completely.
In plain words A rule and a starting point are all it takes. Feed each output back in as the next input, and the list of values you get is the orbit.
Example Keep the logistic map with and change only the start. The start gives at every step, because . The start stays at , and the start jumps to in one step and stays there. Every start strictly between and approaches , like the orbit of above. Now keep the start at and change only the parameter to . Rounded to four decimal places, the orbit becomes , , , , , and so on, and it never settles at one value. Both the rule and the start have to be named before anything can be said about an orbit.
Cobweb diagram
Definition A cobweb diagram draws the orbit of a rule on an interval. Draw the graph of and the diagonal line on the same axes, and start at the point on the diagonal. Move vertically to the graph, which reaches the point because . Then move horizontally to the diagonal, which reaches . Repeating the two moves visits , , and so on, and the corners on the diagonal have the orbit as their first coordinates. The points where the graph meets the diagonal are exactly the fixed points, because there . When the path returns exactly to a corner it has visited before, the orbit has become a cycle.
In plain words The vertical move applies the rule, and the horizontal move hands the answer back as the next input. The diagonal is where an output turns into an input.
Example For the graph is the parabola . Its highest point is , which lies on the diagonal, and it meets the diagonal at and . Starting from , the path goes up from to , across to , up to , across to , and so on, a staircase that climbs into the corner at . With and the same start, the path does not close in on the crossing at . After a few steps it runs around a square with corners , , and , where and . That square is the two-cycle of the last card.
Stable fixed point
Definition A fixed point of a rule is a state with , so the orbit that starts there never moves. The fixed point is stable, also called attracting, when there is an interval around such that every orbit starting in that interval stays in it and converges to . Suppose has a slope that changes continuously near . If , then is stable. If , then is unstable, and every start close to but different from it is pushed farther from at the next step. If , this test decides nothing. The reason is that near each step multiplies the gap by approximately . For the logistic map the slope is . The fixed point has slope , so it is stable for and unstable for . For the second fixed point has slope , so it is stable for and unstable for .
In plain words A fixed point is a value the rule leaves unchanged. Near it, each step multiplies the small gap from it by roughly the slope of the curve there. A slope between and shrinks the gap and pulls nearby values in, and a steeper slope pushes them away.
Example For the fixed points are and . Write a value near as , where is the gap. Then
so a gap becomes . The start has gap and goes to , with gap . Squaring a small gap makes it far smaller, which is why the table in the first card closed in so quickly, and it matches the slope test, since . Being at a fixed point and approaching it are different things. The orbit of never moves, while the orbit of keeps changing by smaller and smaller amounts and never reaches exactly, because is the only value that the rule sends to . The other fixed point is unstable, with slope . The start goes to and then to about , nearly doubling its distance from at each step.
Two-cycle
Definition A two-cycle, or cycle of period two, of a rule is a pair of different states and with and . An orbit that starts at alternates forever. Each of and is a fixed point of the rule applied twice, , but not of itself. The two-cycle is stable when there is an interval around each of its points such that every orbit starting in one of these intervals approaches the cycle. When has a continuously changing slope, the chain rule shows that the slope of at and at is the product , called the multiplier of the cycle. The cycle is stable if the multiplier lies strictly between and , and unstable if it is larger than in size. Within , the logistic map has a two-cycle exactly when , given by
and its multiplier is . That multiplier lies between and exactly when .
In plain words A two-cycle is a pattern that repeats every two steps, high, low, high, low. Up and down motion like this is completely regular, and nothing about it is random.
Example Take . The fixed point has slope , so it is unstable. Here , which gives and , and the multiplier is
so the two-cycle is stable, and every two steps a small gap from it shrinks to about of its size. The orbit of , computed exactly and then rounded, runs , , , , and so on. Its transient is short, because already lies close to , and from step on every value is within one millionth of or . On the cobweb diagram the path settles onto the square loop through and instead of a staircase into one crossing.
Check yourself
- Keep but start at . Compute , and . Which start below gives the same values from step on?
Show the answer
The steps are , then , then
The orbit is closing in on from below. The gaps from are , , and , each twice the square of the one before, just as the formula predicts. The start gives the same orbit from step on, since as well. In general does not change when is replaced by , so the starts and always share .
- Take . Show that is a fixed point. Why does the orbit of not approach it, and what happens to the orbit of ?
Show the answer
The rule gives
so is a fixed point. Its slope is , larger than in size, so it is unstable. A gap from it is multiplied by about at each step, so it grows and switches sides. The start has gaps of about , , and over its first steps. Being a fixed point is not enough for orbits to come to it. The start is special, because
so it lands exactly on the fixed point after one step and stays there. Only starts that land exactly on like this reach it. Every other start strictly between and approaches the two-cycle near and .
- Take and start at . Show that the orbit is a two-cycle, and find its multiplier.
Show the answer
The first step gives , and then . The second step gives
The numerator is , so . The orbit alternates between the two different values and , so it is a two-cycle. Its multiplier is , and , so the multiplier is . The formula agrees, since
A multiplier of means that nearby orbits approach the cycle especially fast, as they approach when , and it fits the fact that lies between and .