logistic map
   HOME

TheInfoList



OR:

The logistic map is a
polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exa ...
mapping (equivalently,
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
) of degree 2, often referred to as an archetypal example of how complex,
chaotic Chaotic was originally a Danish trading card game. It expanded to an online game in America which then became a television program based on the game. The program was able to be seen on 4Kids TV (Fox affiliates, nationwide), Jetix, The CW4Kid ...
behaviour can arise from very simple non-linear dynamical equations. The map was popularized in a 1976 paper by the biologist Robert May, in part as a discrete-time demographic model analogous to the
logistic equation A logistic function or logistic curve is a common S-shaped curve (sigmoid curve) with equation f(x) = \frac, where For values of x in the domain of real numbers from -\infty to +\infty, the S-curve shown on the right is obtained, with the ...
written down by
Pierre François Verhulst Pierre François Verhulst (28 October 1804, Brussels – 15 February 1849, Brussels) was a Belgian mathematician and a doctor in number theory from the University of Ghent in 1825. He is best known for the logistic growth model. Logistic e ...
. Mathematically, the logistic map is written where is a number between zero and one, that represents the ratio of existing population to the maximum possible population. This nonlinear difference equation is intended to capture two effects: * ''reproduction'' where the population will increase at a rate proportional to the current population when the population size is small. * ''starvation'' (density-dependent mortality) where the growth rate will decrease at a rate proportional to the value obtained by taking the theoretical "carrying capacity" of the environment less the current population. The usual values of interest for the parameter are those in the interval , so that remains bounded on . The case of the logistic map is a nonlinear transformation of both the bit-shift map and the case of the
tent map A tent () is a shelter consisting of sheets of fabric or other material draped over, attached to a frame of poles or a supporting rope. While smaller tents may be free-standing or attached to the ground, large tents are usually anchored using g ...
. If this leads to negative population sizes. (This problem does not appear in the older
Ricker model The Ricker model, named after Bill Ricker, is a classic discrete population model which gives the expected number ''N'' ''t''+1 (or density) of individuals in generation ''t'' + 1 as a function of the number of individuals in the pre ...
, which also exhibits chaotic dynamics.) One can also consider values of in the interval , so that remains bounded on .


Characteristics of the map


Behavior dependent on

The image below shows the amplitude and frequency content of some logistic map iterates for parameter values ranging from 2 to 4. By varying the parameter , the following behavior is observed: *With between 0 and 1, the population will eventually die, independent of the initial population. * With between 1 and 2, the population will quickly approach the value , independent of the initial population. * With between 2 and 3, the population will also eventually approach the same value , but first will fluctuate around that value for some time. The
rate of convergence In numerical analysis, the order of convergence and the rate of convergence of a convergent sequence are quantities that represent how quickly the sequence approaches its limit. A sequence (x_n) that converges to x^* is said to have ''order of c ...
is linear, except for , when it is dramatically slow, less than linear (see Bifurcation memory). * With between 3 and 1 +  ≈ 3.44949 the population will approach permanent oscillations between two values. These two values are dependent on and given by x_=\frac\left(r+1\pm\sqrt\right). * With between 3.44949 and 3.54409 (approximately), from almost all initial conditions the population will approach permanent oscillations among four values. The latter number is a root of a 12th degree polynomial . * With increasing beyond 3.54409, from almost all initial conditions the population will approach oscillations among 8 values, then 16, 32, etc. The lengths of the parameter intervals that yield oscillations of a given length decrease rapidly; the ratio between the lengths of two successive bifurcation intervals approaches the
Feigenbaum constant In mathematics, specifically bifurcation theory, the Feigenbaum constants are two mathematical constants which both express ratios in a bifurcation diagram for a non-linear map. They are named after the physicist Mitchell J. Feigenbaum. Hist ...
. This behavior is an example of a period-doubling cascade. * At is the onset of chaos, at the end of the period-doubling cascade. From almost all initial conditions, we no longer see oscillations of finite period. Slight variations in the initial population yield dramatically different results over time, a prime characteristic of chaos. * Most values of beyond 3.56995 exhibit chaotic behaviour, but there are still certain isolated ranges of that show non-chaotic behavior; these are sometimes called ''islands of stability''. For instance, beginning at 1 +  (approximately 3.82843) there is a range of parameters that show oscillation among three values, and for slightly higher values of oscillation among 6 values, then 12 etc. * The development of the chaotic behavior of the logistic sequence as the parameter varies from approximately 3.56995 to approximately 3.82843 is sometimes called the Pomeau–Manneville scenario, characterized by a periodic (laminar) phase interrupted by bursts of aperiodic behavior. Such a scenario has an application in semiconductor devices. There are other ranges that yield oscillation among 5 values etc.; all oscillation periods occur for some values of . A ''period-doubling window'' with parameter is a range of -values consisting of a succession of subranges. The th subrange contains the values of for which there is a stable cycle (a cycle that attracts a set of initial points of unit measure) of period . This sequence of sub-ranges is called a ''cascade of harmonics''. In a sub-range with a stable cycle of period , there are unstable cycles of period for all . The value at the end of the infinite sequence of sub-ranges is called the ''point of accumulation'' of the cascade of harmonics. As rises there is a succession of new windows with different values. The first one is for ; all subsequent windows involving odd occur in decreasing order of starting with arbitrarily large . * Beyond , almost all initial values eventually leave the interval and diverge. The set of initial conditions which remain within form a Cantor set and the dynamics restricted to this Cantor set is chaotic. For any value of there is at most one stable cycle. If a stable cycle exists, it is globally stable, attracting almost all points. Some values of with a stable cycle of some period have infinitely many unstable cycles of various periods. The bifurcation diagram at right summarizes this. The horizontal axis shows the possible values of the parameter while the vertical axis shows the set of values of visited asymptotically from almost all initial conditions by the iterates of the logistic equation with that value. The bifurcation diagram is a self-similar: if we zoom in on the above-mentioned value and focus on one arm of the three, the situation nearby looks like a shrunk and slightly distorted version of the whole diagram. The same is true for all other non-chaotic points. This is an example of the deep and ubiquitous connection between
chaos Chaos or CHAOS may refer to: Arts, entertainment and media Fictional elements * Chaos (''Kinnikuman'') * Chaos (''Sailor Moon'') * Chaos (''Sesame Park'') * Chaos (''Warhammer'') * Chaos, in ''Fabula Nova Crystallis Final Fantasy'' * Cha ...
and
fractal In mathematics, a fractal is a geometric shape containing detailed structure at arbitrarily small scales, usually having a fractal dimension strictly exceeding the topological dimension. Many fractals appear similar at various scales, as illu ...
s. We can also consider negative values of : * For between -2 and -1 the logistic sequence also features chaotic behavior. * With between -1 and 1 -  and for 0 between 1/ and 1-1/, the population will approach permanent oscillations between two values, as with the case of between 3 and 1 + , and given by the same formula.


Chaos and the logistic map

The relative simplicity of the logistic map makes it a widely used point of entry into a consideration of the concept of chaos. A rough description of chaos is that chaotic systems exhibit a great sensitivity to initial conditions—a property of the logistic map for most values of between about 3.57 and 4 (as noted above). A common source of such sensitivity to initial conditions is that the map represents a repeated folding and stretching of the space on which it is defined. In the case of the logistic map, the quadratic difference equation describing it may be thought of as a stretching-and-folding operation on the interval . The following figure illustrates the stretching and folding over a sequence of iterates of the map. Figure (a), left, shows a two-dimensional
Poincaré plot A Poincaré plot, named after Henri Poincaré, is a type of recurrence plot used to quantify self-similarity in processes, usually periodic functions. It is also known as a return map. Poincaré plots can be used to distinguish chaos from random ...
of the logistic map's
state space A state space is the set of all possible configurations of a system. It is a useful abstraction for reasoning about the behavior of a given system and is widely used in the fields of artificial intelligence and game theory. For instance, the toy ...
for , and clearly shows the quadratic curve of the difference equation (). However, we can
embed Embedded or embedding (alternatively imbedded or imbedding) may refer to: Science * Embedding, in mathematics, one instance of some mathematical object contained within another instance ** Graph embedding * Embedded generation, a distributed ge ...
the same sequence in a three-dimensional state space, in order to investigate the deeper structure of the map. Figure (b), right, demonstrates this, showing how initially nearby points begin to diverge, particularly in those regions of corresponding to the steeper sections of the plot. This stretching-and-folding does not just produce a gradual divergence of the sequences of iterates, but an exponential divergence (see Lyapunov exponents), evidenced also by the
complexity Complexity characterises the behaviour of a system or model whose components interaction, interact in multiple ways and follow local rules, leading to nonlinearity, randomness, collective dynamics, hierarchy, and emergence. The term is generall ...
and
unpredictability Predictability is the degree to which a correct prediction or forecast of a system's state can be made, either qualitatively or quantitatively. Predictability and causality Causal determinism has a strong relationship with predictability. Perfe ...
of the chaotic logistic map. In fact, exponential divergence of sequences of iterates explains the connection between chaos and unpredictability: a small error in the supposed initial state of the system will tend to correspond to a large error later in its evolution. Hence, predictions about future states become progressively (indeed,
exponentially Exponential may refer to any of several mathematical topics related to exponentiation, including: *Exponential function, also: **Matrix exponential, the matrix analogue to the above *Exponential decay, decrease at a rate proportional to value *Expo ...
) worse when there are even very small errors in our knowledge of the initial state. This quality of unpredictability and apparent randomness led the logistic map equation to be used as a
pseudo-random number generator A pseudorandom number generator (PRNG), also known as a deterministic random bit generator (DRBG), is an algorithm for generating a sequence of numbers whose properties approximate the properties of sequences of random numbers. The PRNG-generate ...
in early computers. Since the map is confined to an interval on the real number line, its dimension is less than or equal to unity. Numerical estimates yield a
correlation dimension In chaos theory, the correlation dimension (denoted by ''ν'') is a measure of the dimensionality of the space occupied by a set of random points, often referred to as a type of fractal dimension. For example, if we have a set of random points on t ...
of ( Grassberger, 1983), a
Hausdorff dimension In mathematics, Hausdorff dimension is a measure of ''roughness'', or more specifically, fractal dimension, that was first introduced in 1918 by mathematician Felix Hausdorff. For instance, the Hausdorff dimension of a single point is zero, of ...
of about 0.538 ( Grassberger 1981), and an
information dimension In information theory, information dimension is an information measure for random vectors in Euclidean space, based on the normalized entropy of finely quantized versions of the random vectors. This concept was first introduced by Alfréd Rény ...
of approximately 0.5170976 ( Grassberger 1983) for (onset of chaos). Note: It can be shown that the correlation dimension is certainly between 0.4926 and 0.5024. It is often possible, however, to make precise and accurate statements about the ''
likelihood The likelihood function (often simply called the likelihood) represents the probability of random variable realizations conditional on particular values of the statistical parameters. Thus, when evaluated on a given sample, the likelihood functi ...
'' of a future state in a chaotic system. If a (possibly chaotic)
dynamical system In mathematics, a dynamical system is a system in which a Function (mathematics), function describes the time dependence of a Point (geometry), point in an ambient space. Examples include the mathematical models that describe the swinging of a ...
has an
attractor In the mathematical field of dynamical systems, an attractor is a set of states toward which a system tends to evolve, for a wide variety of starting conditions of the system. System values that get close enough to the attractor values remain ...
, then there exists a probability measure that gives the long-run proportion of time spent by the system in the various regions of the attractor. In the case of the logistic map with parameter and an initial state in , the attractor is also the interval and the probability measure corresponds to the
beta distribution In probability theory and statistics, the beta distribution is a family of continuous probability distributions defined on the interval , 1in terms of two positive parameters, denoted by ''alpha'' (''α'') and ''beta'' (''β''), that appear as ...
with parameters and . Specifically, the invariant measure is :\frac. Unpredictability is not randomness, but in some circumstances looks very much like it. Hence, and fortunately, even if we know very little about the initial state of the logistic map (or some other chaotic system), we can still say something about the distribution of states arbitrarily far into the future, and use this knowledge to inform decisions based on the state of the system.


Graphical representation

The Bifurcation diagram for the logistic map can be visualized with the following
Python Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (pro ...
code: import numpy as np import matplotlib.pyplot as plt interval = (2.8, 4) # start, end accuracy = 0.0001 reps = 600 # number of repetitions numtoplot = 200 lims = np.zeros(reps) fig, biax = plt.subplots() fig.set_size_inches(16, 9) lims = np.random.rand() for r in np.arange(interval interval accuracy): for i in range(reps-1): lims +1= r*lims (1-lims biax.plot( numtoplot, lims eps-numtoplot: 'b.', markersize=.02) biax.set(xlabel='r', ylabel='x', title='logistic map') plt.show()


Special cases of the map


Upper bound when

Although exact solutions to the recurrence relation are only available in a small number of cases, a closed-form upper bound on the logistic map is known when . There are two aspects of the behavior of the logistic map that should be captured by an upper bound in this regime: the asymptotic geometric decay with constant , and the fast initial decay when is close to 1, driven by the term in the recurrence relation. The following bound captures both of these effects: : \forall n \in \ \quad \text \quad x_0, r \in , 1 \quad x_n \le \frac.


Solution when

The special case of can in fact be solved exactly, as can the case with ; however, the general case can only be predicted statistically. The solution when is, :x_=\sin^\left(2^ \theta \pi\right), where the initial condition parameter is given by :\theta = \tfrac\sin^\left(\sqrt\right). For rational , after a finite number of iterations maps into a periodic sequence. But almost all are irrational, and, for irrational , never repeats itself – it is non-periodic. This solution equation clearly demonstrates the two key features of chaos – stretching and folding: the factor shows the exponential growth of stretching, which results in sensitive dependence on initial conditions, while the squared sine function keeps folded within the range . For an equivalent solution in terms of complex numbers instead of trigonometric functions is :x_n=\frac where is either of the complex numbers :\alpha = 1 - 2x_0 \pm \sqrt with modulus equal to 1. Just as the squared sine function in the trigonometric solution leads to neither shrinkage nor expansion of the set of points visited, in the latter solution this effect is accomplished by the unit modulus of . By contrast, the solution when is :x_n = \tfrac - \tfrac\left(1-2x_0\right)^ for . Since for any value of other than the unstable fixed point 0, the term goes to 0 as goes to infinity, so goes to the stable fixed point .


Finding cycles of any length when

For the case, from almost all initial conditions the iterate sequence is chaotic. Nevertheless, there exist an infinite number of initial conditions that lead to cycles, and indeed there exist cycles of length for ''all'' integers . We can exploit the relationship of the logistic map to the
dyadic transformation The dyadic transformation (also known as the dyadic map, bit shift map, 2''x'' mod 1 map, Bernoulli map, doubling map or sawtooth map) is the mapping (i.e., recurrence relation) : T: , 1) \to [0, 1)^\infty : x \mapsto (x_0, x_1, x_2, ...
(also known as the ''bit-shift map'') to find cycles of any length. If follows the logistic map and follows the ''dyadic transformation'' :y_=\begin2y_n & 0 \le y_n < \tfrac12 \\2y_n -1 & \tfrac12 \le y_n < 1, \end then the two are related by a homeomorphism :x_=\sin^\left(2 \pi y_\right). The reason that the dyadic transformation is also called the bit-shift map is that when is written in binary notation, the map moves the binary point one place to the right (and if the bit to the left of the binary point has become a "1", this "1" is changed to a "0"). A cycle of length 3, for example, occurs if an iterate has a 3-bit repeating sequence in its binary expansion (which is not also a one-bit repeating sequence): 001, 010, 100, 110, 101, or 011. The iterate 001001001... maps into 010010010..., which maps into 100100100..., which in turn maps into the original 001001001...; so this is a 3-cycle of the bit shift map. And the other three binary-expansion repeating sequences give the 3-cycle 110110110... → 101101101... → 011011011... → 110110110.... Either of these 3-cycles can be converted to fraction form: for example, the first-given 3-cycle can be written as → → → . Using the above translation from the bit-shift map to the r = 4 logistic map gives the corresponding logistic cycle 0.611260467... → 0.950484434... → 0.188255099... → 0.611260467.... We could similarly translate the other bit-shift 3-cycle into its corresponding logistic cycle. Likewise, cycles of any length can be found in the bit-shift map and then translated into the corresponding logistic cycles. However, since almost all numbers in are irrational, almost all initial conditions of the bit-shift map lead to the non-periodicity of chaos. This is one way to see that the logistic map is chaotic for almost all initial conditions. The number of cycles of (minimal) length for the logistic map with (
tent map A tent () is a shelter consisting of sheets of fabric or other material draped over, attached to a frame of poles or a supporting rope. While smaller tents may be free-standing or attached to the ground, large tents are usually anchored using g ...
with ) is a known integer sequence : 2, 1, 2, 3, 6, 9, 18, 30, 56, 99, 186, 335, 630, 1161.... This tells us that the logistic map with has 2 fixed points, 1 cycle of length 2, 2 cycles of length 3 and so on. This sequence takes a particularly simple form for prime : . For example: 2 ⋅  = 630 is the number of cycles of length 13. Since this case of the logistic map is chaotic for almost all initial conditions, all of these finite-length cycles are unstable.


Related concepts


Feigenbaum universality of 1-D maps

Universality of one-dimensional maps with parabolic maxima and
Feigenbaum constants In mathematics, specifically bifurcation theory, the Feigenbaum constants are two mathematical constants which both express ratios in a bifurcation diagram for a non-linear map. They are named after the physicist Mitchell J. Feigenbaum. Histo ...
\delta=4.669201..., \alpha=2.502907... is well visible with map proposed as a toy model for discrete laser dynamics: x \rightarrow G x (1 - \tanh (x)), where x stands for electric field amplitude, G is laser gain as bifurcation parameter. The gradual increase of G at interval [0, \infty) changes dynamics from regular to chaotic one with qualitatively the same bifurcation diagram as those for logistic map.


See also

* Logistic function, solution of the logistic map's continuous counterpart: the Logistic differential equation. * Lyapunov stability#Definition for discrete-time systems * Malthusian growth model * Periodic points of complex quadratic mappings, of which the logistic map is a special case confined to the real line *
Radial basis function network In the field of mathematical modeling, a radial basis function network is an artificial neural network that uses radial basis functions as activation functions. The output of the network is a linear combination of radial basis functions of the inp ...
, which illustrates the inverse problem for the logistic map. *
Schröder's equation Schröder's equation, named after Ernst Schröder, is a functional equation with one independent variable: given the function , find the function such that Schröder's equation is an eigenvalue equation for the composition operator that sen ...
*
Stiff equation In mathematics, a stiff equation is a differential equation for which certain numerical methods for solving the equation are numerically unstable, unless the step size is taken to be extremely small. It has proven difficult to formulate a precise ...


Notes


References

* * * * *


External links


The Chaos Hypertextbook
An introductory primer on chaos and fractals.
An interactive visualization of the logistic map
as a
Jupyter Project Jupyter () is a project with goals to develop open-source software, open standards, and services for interactive computing across multiple programming languages. It was spun off from IPython in 2014 by Fernando Pérez and Brian Granger. ...
notebook
The Logistic Map and Chaos
by Elmer G. Wiens
Complexity & Chaos (audiobook)
by Roger White. Chapter 5 covers the Logistic Equation. *
History of iterated maps
" in ''
A New Kind of Science ''A New Kind of Science'' is a book by Stephen Wolfram, published by his company Wolfram Research under the imprint Wolfram Media in 2002. It contains an empirical and systematic study of computational systems such as cellular automata. Wolfram c ...
'' by
Stephen Wolfram Stephen Wolfram (; born 29 August 1959) is a British-American computer scientist, physicist, and businessman. He is known for his work in computer science, mathematics, and theoretical physics. In 2012, he was named a fellow of the American Ma ...
. Champaign, IL: Wolfram Media, p. 918, 2002.
"A very brief history of universality in period doubling" by P. Cvitanović


* ttp://demonstrations.wolfram.com/DiscreteLogisticEquation/ Discrete Logistic Equationby Marek Bodnar after work by Phil Ramsden,
Wolfram Demonstrations Project The Wolfram Demonstrations Project is an organized, open-source collection of small (or medium-size) interactive programs called Demonstrations, which are meant to visually and interactively represent ideas from a range of fields. It is hos ...
.
Multiplicative coupling of 2 logistic maps
by C. Pellicer-Lostao and R. Lopez-Ruiz after work by Ed Pegg Jr,
Wolfram Demonstrations Project The Wolfram Demonstrations Project is an organized, open-source collection of small (or medium-size) interactive programs called Demonstrations, which are meant to visually and interactively represent ideas from a range of fields. It is hos ...
.
Using SAGE to investigate the discrete logistic equation
{{DEFAULTSORT:Logistic Map Chaotic maps