
A logistic function or logistic curve is a common S-shaped curve (
sigmoid curve) with equation
where
For values of
in the domain of
real numbers from
to
, the S-curve shown on the right is obtained, with the graph of
approaching
as
approaches
and approaching zero as
approaches
.
The logistic function finds applications in a range of fields, including
biology (especially
ecology),
biomathematics,
chemistry
Chemistry is the science, scientific study of the properties and behavior of matter. It is a natural science that covers the Chemical element, elements that make up matter to the chemical compound, compounds made of atoms, molecules and ions ...
,
demography,
economics,
geoscience,
mathematical psychology,
probability,
sociology,
political science,
linguistics,
statistics
Statistics (from German language, German: ''wikt:Statistik#German, Statistik'', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of ...
, and
artificial neural networks. A generalization of the logistic function is the
hyperbolastic function of type I.
The standard logistic function, where
, is sometimes simply called ''the sigmoid''. It is also sometimes called the ''expit'', being the inverse of the
logit.
History

The logistic function was introduced in a series of three papers by
Pierre François Verhulst between 1838 and 1847, who devised it as a model of
population growth
Population growth is the increase in the number of people in a population or dispersed group. Actual global human population growth amounts to around 83 million annually, or 1.1% per year. The global population has grown from 1 billion in 1800 to ...
by adjusting the
exponential growth model, under the guidance of
Adolphe Quetelet. Verhulst first devised the function in the mid 1830s, publishing a brief note in 1838,
then presented an expanded analysis and named the function in 1844 (published 1845); the third paper adjusted the correction term in his model of Belgian population growth.
The initial stage of growth is approximately exponential (geometric); then, as saturation begins, the growth slows to linear (arithmetic), and at maturity, growth stops. Verhulst did not explain the choice of the term "logistic" (french: link=no, logistique), but it is presumably in contrast to the ''logarithmic'' curve, and by analogy with arithmetic and geometric. His growth model is preceded by a discussion of
arithmetic growth and
geometric growth (whose curve he calls a
logarithmic curve, instead of the modern term
exponential curve), and thus "logistic growth" is presumably named by analogy, ''logistic'' being from grc, λογῐστῐκός, logistikós, a traditional division of
Greek mathematics
Greek mathematics refers to mathematics texts and ideas stemming from the Archaic through the Hellenistic and Roman periods, mostly extant from the 7th century BC to the 4th century AD, around the shores of the Eastern Mediterranean. Greek mathem ...
. The term is unrelated to the military and management term ''logistics'', which is instead from french: "lodgings", though some believe the Greek term also influenced ''logistics''; see for details.
Mathematical properties
The is the logistic function with parameters
,
,
, which yields
In practice, due to the nature of the
exponential function , it is often sufficient to compute the standard logistic function for
over a small range of real numbers, such as a range contained in
��6, +6 as it quickly converges very close to its saturation values of 0 and 1.
The logistic function has the symmetry property that
Thus,
is an
odd function.
The logistic function is an offset and scaled
hyperbolic tangent function:
or
This follows from
Derivative
The standard logistic function has an easily calculated
derivative. The derivative is known as the density of the
logistic distribution:
The logistic distribution has mean ''x''
0 and variance ''π''/3''k''
Integral
Conversely, its
antiderivative can be computed by the
substitution
Substitution may refer to:
Arts and media
*Chord substitution, in music, swapping one chord for a related one within a chord progression
* Substitution (poetry), a variation in poetic scansion
* "Substitution" (song), a 2009 song by Silversun Pi ...
, since
, so (dropping the
constant of integration)
In
artificial neural networks, this is known as the ''
softplus'' function and (with scaling) is a smooth approximation of the
ramp function, just as the logistic function (with scaling) is a smooth approximation of the
Heaviside step function.
Logistic differential equation
The standard logistic function is the solution of the simple first-order non-linear
ordinary differential equation
with
boundary condition . This equation is the continuous version of the
logistic map
The logistic map is a polynomial mapping (equivalently, recurrence relation) of degree 2, often referred to as an archetypal example of how complex, chaotic behaviour can arise from very simple non-linear dynamical equations. The map was popular ...
. Note that the reciprocal logistic function is solution to a simple first-order ''linear'' ordinary differential equation.
The qualitative behavior is easily understood in terms of the
phase line: the derivative is 0 when the function is 1; and the derivative is positive for
between 0 and 1, and negative for
above 1 or less than 0 (though negative populations do not generally accord with a physical model). This yields an unstable equilibrium at 0 and a stable equilibrium at 1, and thus for any function value greater than 0 and less than 1, it grows to 1.
The logistic equation is a special case of the
Bernoulli differential equation and has the following solution:
Choosing the constant of integration
gives the other well known form of the definition of the logistic curve:
More quantitatively, as can be seen from the analytical solution, the logistic curve shows early
exponential growth for negative argument, which reaches to linear growth of slope 1/4 for an argument near 0, then approaches 1 with an exponentially decaying gap.
The logistic function is the inverse of the natural
logit function
: