HOME

TheInfoList



OR:

A logistic function or logistic curve is a common S-shaped curve (
sigmoid curve A sigmoid function is a mathematical function having a characteristic "S"-shaped curve or sigmoid curve. A common example of a sigmoid function is the logistic function shown in the first figure and defined by the formula: :S(x) = \frac = \ ...
) with equation f(x) = \frac, where For values of x in the domain of
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
s from -\infty to +\infty, the S-curve shown on the right is obtained, with the graph of f approaching L as x approaches +\infty and approaching zero as x approaches -\infty. The logistic function finds applications in a range of fields, including
biology Biology is the scientific study of life. It is a natural science with a broad scope but has several unifying themes that tie it together as a single, coherent field. For instance, all organisms are made up of cells that process hereditary i ...
(especially
ecology Ecology () is the study of the relationships between living organisms, including humans, and their physical environment. Ecology considers organisms at the individual, population, community, ecosystem, and biosphere level. Ecology overlaps wi ...
),
biomathematics Mathematical and theoretical biology, or biomathematics, is a branch of biology which employs theoretical analysis, mathematical models and abstractions of the living organisms to investigate the principles that govern the structure, development a ...
,
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 Demography () is the statistics, statistical study of populations, especially human beings. Demographic analysis examines and measures the dimensions and Population dynamics, dynamics of populations; it can cover whole societies or groups ...
,
economics Economics () is the social science that studies the Production (economics), production, distribution (economics), distribution, and Consumption (economics), consumption of goods and services. Economics focuses on the behaviour and intera ...
,
geoscience Earth science or geoscience includes all fields of natural science related to the planet Earth. This is a branch of science dealing with the physical, chemical, and biological complex constitutions and synergistic linkages of Earth's four spheres ...
,
mathematical psychology Mathematical psychology is an approach to psychological research that is based on mathematical modeling of perceptual, thought, cognitive and motor processes, and on the establishment of law-like rules that relate quantifiable stimulus character ...
,
probability Probability is the branch of mathematics concerning numerical descriptions of how likely an Event (probability theory), event is to occur, or how likely it is that a proposition is true. The probability of an event is a number between 0 and ...
,
sociology Sociology is a social science that focuses on society, human social behavior, patterns of Interpersonal ties, social relationships, social interaction, and aspects of culture associated with everyday life. It uses various methods of Empirical ...
,
political science Political science is the scientific study of politics. It is a social science dealing with systems of governance and power, and the analysis of political activities, political thought, political behavior, and associated constitutions and la ...
,
linguistics Linguistics is the scientific study of human language. It is called a scientific study because it entails a comprehensive, systematic, objective, and precise analysis of all aspects of language, particularly its nature and structure. Linguis ...
,
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 network Artificial neural networks (ANNs), usually simply called neural networks (NNs) or neural nets, are computing systems inspired by the biological neural networks that constitute animal brains. An ANN is based on a collection of connected unit ...
s. A generalization of the logistic function is the hyperbolastic function of type I. The standard logistic function, where L=1,k=1,x_0=0, is sometimes simply called ''the sigmoid''. It is also sometimes called the ''expit'', being the inverse of the
logit In statistics, the logit ( ) function is the quantile function associated with the standard logistic distribution. It has many uses in data analysis and machine learning, especially in data transformations. Mathematically, the logit is the ...
.


History

The logistic function was introduced in a series of three papers 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 equ ...
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 Exponential growth is a process that increases quantity over time. It occurs when the instantaneous rate of change (that is, the derivative) of a quantity with respect to time is proportional to the quantity itself. Described as a function, a q ...
model, under the guidance of
Adolphe Quetelet Lambert Adolphe Jacques Quetelet FRSF or FRSE (; 22 February 1796 – 17 February 1874) was a Belgian astronomer, mathematician, statistician and sociologist who founded and directed the Brussels Observatory and was influential in introduc ...
. 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 In mathematics, the term linear function refers to two distinct but related notions: * In calculus and related areas, a linear function is a function whose graph is a straight line, that is, a polynomial function of degree zero or one. For disti ...
and
geometric growth Exponential growth is a process that increases quantity over time. It occurs when the instantaneous rate of change (that is, the derivative) of a quantity with respect to time is proportional to the quantity itself. Described as a function, a q ...
(whose curve he calls a
logarithmic curve In mathematics, logarithmic growth describes a phenomenon whose size or cost can be described as a logarithm function of some input. e.g. ''y'' = ''C'' log (''x''). Note that any logarithm base can be used, since one can be converte ...
, instead of the modern term
exponential curve Exponential growth is a process that increases quantity over time. It occurs when the instantaneous rate of change (that is, the derivative) of a quantity with respect to time is proportional to the quantity itself. Described as a function, a q ...
), 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 k = 1, x_0 = 0, L = 1, which yields f(x) = \frac = \frac = \frac12 + \frac12 \tanh\left(\frac\right). In practice, due to the nature of the
exponential function The exponential function is a mathematical function denoted by f(x)=\exp(x) or e^x (where the argument is written as an exponent). Unless otherwise specified, the term generally refers to the positive-valued function of a real variable, a ...
e^, it is often sufficient to compute the standard logistic function for x 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 1 - f(x) = f(-x). Thus, x \mapsto f(x) - 1/2 is an
odd function In mathematics, even functions and odd functions are functions which satisfy particular symmetry relations, with respect to taking additive inverses. They are important in many areas of mathematical analysis, especially the theory of power seri ...
. The logistic function is an offset and scaled
hyperbolic tangent In mathematics, hyperbolic functions are analogues of the ordinary trigonometric functions, but defined using the hyperbola rather than the circle. Just as the points form a circle with a unit radius, the points form the right half of the un ...
function: f(x) = \frac12 + \frac12 \tanh\left(\frac\right), or \tanh(x) = 2 f(2x) - 1. This follows from \begin \tanh(x) & = \frac = \frac \\ &= f(2x) - \frac = f(2x) - \frac = 2f(2x) - 1. \end


Derivative

The standard logistic function has an easily calculated
derivative In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. F ...
. The derivative is known as the density of the
logistic distribution Logistic may refer to: Mathematics * Logistic function, a sigmoid function used in many fields ** Logistic map, a recurrence relation that sometimes exhibits chaos ** Logistic regression, a statistical model using the logistic function ** Logit, ...
: f(x) = \frac = \frac, \fracf(x) = \frac = \frac = f(x)\big(1 - f(x)\big) The logistic distribution has mean ''x''0 and variance ''π''/3''k''


Integral

Conversely, its
antiderivative In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a function is a differentiable function whose derivative is equal to the original function . This can be stated symbolically ...
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 ...
u = 1 + e^x, since f(x) = \frac = \frac, so (dropping the
constant of integration In calculus, the constant of integration, often denoted by C (or c), is a constant term added to an antiderivative of a function f(x) to indicate that the indefinite integral of f(x) (i.e., the set of all antiderivatives of f(x)), on a connected ...
) \int \frac\,dx = \int \frac\,du = \ln u = \ln (1 + e^x). In
artificial neural network Artificial neural networks (ANNs), usually simply called neural networks (NNs) or neural nets, are computing systems inspired by the biological neural networks that constitute animal brains. An ANN is based on a collection of connected unit ...
s, this is known as the ''
softplus In the context of artificial neural networks, the rectifier or ReLU (rectified linear unit) activation function is an activation function defined as the positive part of its argument: : f(x) = x^+ = \max(0, x), where ''x'' is the input to a ne ...
'' function and (with scaling) is a smooth approximation of the
ramp function The ramp function is a unary real function, whose graph is shaped like a ramp. It can be expressed by numerous definitions, for example "0 for negative inputs, output equals input for non-negative inputs". The term "ramp" can also be used for o ...
, just as the logistic function (with scaling) is a smooth approximation of the
Heaviside step function The Heaviside step function, or the unit step function, usually denoted by or (but sometimes , or ), is a step function, named after Oliver Heaviside (1850–1925), the value of which is zero for negative arguments and one for positive argume ...
.


Logistic differential equation

The standard logistic function is the solution of the simple first-order non-linear
ordinary differential equation In mathematics, an ordinary differential equation (ODE) is a differential equation whose unknown(s) consists of one (or more) function(s) of one variable and involves the derivatives of those functions. The term ''ordinary'' is used in contrast w ...
\fracf(x) = f(x)\big(1 - f(x)\big) with
boundary condition In mathematics, in the field of differential equations, a boundary value problem is a differential equation together with a set of additional constraints, called the boundary conditions. A solution to a boundary value problem is a solution to th ...
f(0) = 1/2. 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 f between 0 and 1, and negative for f 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 In mathematics, an ordinary differential equation is called a Bernoulli differential equation if it is of the form : y'+ P(x)y = Q(x)y^n, where n is a real number. Some authors allow any real n, whereas others require that n not be 0 or 1. The e ...
and has the following solution: f(x) = \frac. Choosing the constant of integration C = 1 gives the other well known form of the definition of the logistic curve: f(x) = \frac = \frac. More quantitatively, as can be seen from the analytical solution, the logistic curve shows early
exponential growth Exponential growth is a process that increases quantity over time. It occurs when the instantaneous rate of change (that is, the derivative) of a quantity with respect to time is proportional to the quantity itself. Described as a function, a q ...
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 In statistics, the logit ( ) function is the quantile function associated with the standard logistic distribution. It has many uses in data analysis and machine learning, especially in data transformations. Mathematically, the logit is the ...
function : \operatorname p = \log \frac p \text 0 and so converts the logarithm of
odds Odds provide a measure of the likelihood of a particular outcome. They are calculated as the ratio of the number of events that produce that outcome to the number that do not. Odds are commonly used in gambling and statistics. Odds also have ...
into a
probability Probability is the branch of mathematics concerning numerical descriptions of how likely an Event (probability theory), event is to occur, or how likely it is that a proposition is true. The probability of an event is a number between 0 and ...
. The conversion from the
log-likelihood ratio In statistics, the likelihood-ratio test assesses the goodness of fit of two competing statistical models based on the ratio of their likelihoods, specifically one found by maximization over the entire parameter space and another found after im ...
of two alternatives also takes the form of a logistic curve. The differential equation derived above is a special case of a general differential equation that only models the sigmoid function for x > 0. In many modeling applications, the more ''general form'' \frac = \frac f(x)\big(a - f(x)\big), \quad f(0) = \frac a can be desirable. Its solution is the shifted and scaled sigmoid aS\big(k(x - r)\big). The hyperbolic-tangent relationship leads to another form for the logistic function's derivative: \frac f(x) = \frac14 \operatorname^2\left(\frac\right), which ties the logistic function into the
logistic distribution Logistic may refer to: Mathematics * Logistic function, a sigmoid function used in many fields ** Logistic map, a recurrence relation that sometimes exhibits chaos ** Logistic regression, a statistical model using the logistic function ** Logit, ...
.


Rotational symmetry about (0, 1/2)

The sum of the logistic function and its reflection about the vertical axis, f(-x), is \frac + \frac = \frac + \frac = 1. The logistic function is thus rotationally symmetrical about the point (0, 1/2).


Applications

LinkS. W. Link, Psychometrika, 1975, 40, 1, 77–105 created an extension of Wald's theory of sequential analysis to a distribution-free accumulation of random variables until either a positive or negative bound is first equaled or exceeded. LinkS. W. Link, Attention and Performance VII, 1978, 619–630 derives the probability of first equaling or exceeding the positive boundary as 1/(1+e^), the logistic function. This is the first proof that the logistic function may have a stochastic process as its basis. LinkS. W. Link, The wave theory of difference and similarity (book), Taylor and Francis, 1992 provides a century of examples of "logistic" experimental results and a newly derived relation between this probability and the time of absorption at the boundaries.


In ecology: modeling population growth

A typical application of the logistic equation is a common 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 ...
(see also
population dynamics Population dynamics is the type of mathematics used to model and study the size and age composition of populations as dynamical systems. History Population dynamics has traditionally been the dominant branch of mathematical biology, which has ...
), originally due to Pierre-François Verhulst in 1838, where the rate of reproduction is proportional to both the existing population and the amount of available resources, all else being equal. The Verhulst equation was published after Verhulst had read
Thomas Malthus Thomas Robert Malthus (; 13/14 February 1766 – 29 December 1834) was an English cleric, scholar and influential economist in the fields of political economy and demography. In his 1798 book '' An Essay on the Principle of Population'', Mal ...
' ''
An Essay on the Principle of Population An, AN, aN, or an may refer to: Businesses and organizations * Airlinair (IATA airline code AN) * Alleanza Nazionale, a former political party in Italy * AnimeNEXT, an annual anime convention located in New Jersey * Anime North, a Canadian an ...
'', which describes the
Malthusian growth model A Malthusian growth model, sometimes called a simple exponential growth model, is essentially exponential growth based on the idea of the function being proportional to the speed to which the function grows. The model is named after Thomas Robert ...
of simple (unconstrained) exponential growth. Verhulst derived his logistic equation to describe the self-limiting growth of a
biological Biology is the scientific study of life. It is a natural science with a broad scope but has several unifying themes that tie it together as a single, coherent field. For instance, all organisms are made up of cells that process hereditary in ...
population. The equation was rediscovered in 1911 by A. G. McKendrick for the growth of bacteria in broth and experimentally tested using a technique for nonlinear parameter estimation. The equation is also sometimes called the ''Verhulst-Pearl equation'' following its rediscovery in 1920 by
Raymond Pearl Raymond Pearl (June 3, 1879 – November 17, 1940) was an American biologist, regarded as one of the founders of biogerontology. He spent most of his career at Johns Hopkins University in Baltimore. Pearl was a prolific writer of academic books, ...
(1879–1940) and
Lowell Reed Lowell Jacob Reed (January 8, 1886 – April 29, 1966) was 7th president of the Johns Hopkins University in Baltimore, Maryland. He was born in Berlin, New Hampshire, the son of Jason Reed, a millwright and farmer, and Louella Coffin Reed. Edu ...
(1888–1966) of the
Johns Hopkins University Johns Hopkins University (Johns Hopkins, Hopkins, or JHU) is a private university, private research university in Baltimore, Maryland. Founded in 1876, Johns Hopkins is the oldest research university in the United States and in the western hem ...
. Another scientist,
Alfred J. Lotka Alfred James Lotka (March 2, 1880 – December 5, 1949) was a US mathematician, physical chemist, and statistician, famous for his work in population dynamics and energetics. An American biophysicist, Lotka is best known for his propos ...
derived the equation again in 1925, calling it the ''law of population growth''. Letting P represent population size (N is often used in ecology instead) and t represent time, this model is formalized by the
differential equation In mathematics, a differential equation is an equation that relates one or more unknown functions and their derivatives. In applications, the functions generally represent physical quantities, the derivatives represent their rates of change, an ...
: \frac=r P \left(1 - \frac\right), where the constant r defines the growth rate and K is the
carrying capacity The carrying capacity of an environment is the maximum population size of a biological species that can be sustained by that specific environment, given the food, habitat, water, and other resources available. The carrying capacity is defined as t ...
. In the equation, the early, unimpeded growth rate is modeled by the first term +rP. The value of the rate r represents the proportional increase of the population P in one unit of time. Later, as the population grows, the modulus of the second term (which multiplied out is -r P^2 / K) becomes almost as large as the first, as some members of the population P interfere with each other by competing for some critical resource, such as food or living space. This antagonistic effect is called the ''bottleneck'', and is modeled by the value of the parameter K. The competition diminishes the combined growth rate, until the value of P ceases to grow (this is called ''maturity'' of the population). The solution to the equation (with P_0 being the initial population) is P(t) = \frac = \frac, where \lim_ P(t) = K, where K is the limiting value of P, the highest value that the population can reach given infinite time (or come close to reaching in finite time). It is important to stress that the carrying capacity is asymptotically reached independently of the initial value P(0) > 0, and also in the case that P(0) > K. In ecology,
species In biology, a species is the basic unit of classification and a taxonomic rank of an organism, as well as a unit of biodiversity. A species is often defined as the largest group of organisms in which any two individuals of the appropriate s ...
are sometimes referred to as r-strategist or K-strategist depending upon the selective processes that have shaped their life history strategies. Choosing the variable dimensions so that n measures the population in units of carrying capacity, and \tau measures time in units of 1/r, gives the dimensionless differential equation \frac = n (1-n).


Time-varying carrying capacity

Since the environmental conditions influence the carrying capacity, as a consequence it can be time-varying, with K(t) > 0, leading to the following mathematical model: \frac = rP \cdot \left(1 - \frac\right). A particularly important case is that of carrying capacity that varies periodically with period T: K(t + T) = K(t). It can be shown that in such a case, independently from the initial value P(0) > 0, P(t) will tend to a unique periodic solution P_*(t), whose period is T. A typical value of T is one year: In such case K(t) may reflect periodical variations of weather conditions. Another interesting generalization is to consider that the carrying capacity K(t) is a function of the population at an earlier time, capturing a delay in the way population modifies its environment. This leads to a logistic delay equation, which has a very rich behavior, with bistability in some parameter range, as well as a monotonic decay to zero, smooth exponential growth, punctuated unlimited growth (i.e., multiple S-shapes), punctuated growth or alternation to a stationary level, oscillatory approach to a stationary level, sustainable oscillations, finite-time singularities as well as finite-time death.


In statistics and machine learning

Logistic functions are used in several roles in statistics. For example, they are the
cumulative distribution function In probability theory and statistics, the cumulative distribution function (CDF) of a real-valued random variable X, or just distribution function of X, evaluated at x, is the probability that X will take a value less than or equal to x. Ev ...
of the logistic family of distributions, and they are, a bit simplified, used to model the chance a chess player has to beat their opponent in the
Elo rating system The Elo rating system is a method for calculating the relative skill levels of players in zero-sum games such as chess. It is named after its creator Arpad Elo, a Hungarian-American physics professor. The Elo system was invented as an improved ch ...
. More specific examples now follow.


Logistic regression

Logistic functions are used in
logistic regression In statistics, the logistic model (or logit model) is a statistical model that models the probability of an event taking place by having the log-odds for the event be a linear function (calculus), linear combination of one or more independent var ...
to model how the probability p of an event may be affected by one or more explanatory variables: an example would be to have the model p = f(a + bx), where x is the explanatory variable, a and b are model parameters to be fitted, and f is the standard logistic function. Logistic regression and other
log-linear model A log-linear model is a mathematical model that takes the form of a function whose logarithm equals a linear combination of the parameters of the model, which makes it possible to apply (possibly multivariate) linear regression. That is, it has ...
s are also commonly used in
machine learning Machine learning (ML) is a field of inquiry devoted to understanding and building methods that 'learn', that is, methods that leverage data to improve performance on some set of tasks. It is seen as a part of artificial intelligence. Machine ...
. A generalisation of the logistic function to multiple inputs is the
softmax activation function The softmax function, also known as softargmax or normalized exponential function, converts a vector of real numbers into a probability distribution of possible outcomes. It is a generalization of the logistic function to multiple dimensions, a ...
, used in multinomial logistic regression. Another application of the logistic function is in the
Rasch model The Rasch model, named after Georg Rasch, is a psychometric model for analyzing categorical data, such as answers to questions on a reading assessment or questionnaire responses, as a function of the trade-off between the respondent's abilities, at ...
, used in
item response theory In psychometrics, item response theory (IRT) (also known as latent trait theory, strong true score theory, or modern mental test theory) is a paradigm for the design, analysis, and scoring of tests, questionnaires, and similar instruments measuring ...
. In particular, the Rasch model forms a basis for
maximum likelihood In statistics, maximum likelihood estimation (MLE) is a method of estimation theory, estimating the Statistical parameter, parameters of an assumed probability distribution, given some observed data. This is achieved by Mathematical optimization, ...
estimation of the locations of objects or persons on a
continuum Continuum may refer to: * Continuum (measurement), theories or models that explain gradual transitions from one condition to another without abrupt changes Mathematics * Continuum (set theory), the real line or the corresponding cardinal number ...
, based on collections of
categorical data In statistics, a categorical variable (also called qualitative variable) is a variable that can take on one of a limited, and usually fixed, number of possible values, assigning each individual or other unit of observation to a particular group or ...
, for example the abilities of persons on a continuum based on responses that have been categorized as correct and incorrect.


Neural networks

Logistic functions are often used in
neural network A neural network is a network or circuit of biological neurons, or, in a modern sense, an artificial neural network, composed of artificial neurons or nodes. Thus, a neural network is either a biological neural network, made up of biological ...
s to introduce
nonlinearity In mathematics and science, a nonlinear system is a system in which the change of the output is not proportional to the change of the input. Nonlinear problems are of interest to engineers, biologists, physicists, mathematicians, and many other ...
in the model or to clamp signals to within a specified interval. A popular neural net element computes a linear combination of its input signals, and applies a bounded logistic function as the
activation function In artificial neural networks, the activation function of a node defines the output of that node given an input or set of inputs. A standard integrated circuit can be seen as a digital network of activation functions that can be "ON" (1) or " ...
to the result; this model can be seen as a "smoothed" variant of the classical threshold neuron. A common choice for the activation or "squashing" functions, used to clip for large magnitudes to keep the response of the neural network boundedGershenfeld 1999, p. 150. is g(h) = \frac, which is a logistic function. These relationships result in simplified implementations of
artificial neural network Artificial neural networks (ANNs), usually simply called neural networks (NNs) or neural nets, are computing systems inspired by the biological neural networks that constitute animal brains. An ANN is based on a collection of connected unit ...
s with
artificial neuron An artificial neuron is a mathematical function conceived as a model of biological neurons, a neural network. Artificial neurons are elementary units in an artificial neural network. The artificial neuron receives one or more inputs (representing e ...
s. Practitioners caution that sigmoidal functions which are antisymmetric about the origin (e.g. the
hyperbolic tangent In mathematics, hyperbolic functions are analogues of the ordinary trigonometric functions, but defined using the hyperbola rather than the circle. Just as the points form a circle with a unit radius, the points form the right half of the un ...
) lead to faster convergence when training networks with
backpropagation In machine learning, backpropagation (backprop, BP) is a widely used algorithm for training feedforward neural network, feedforward artificial neural networks. Generalizations of backpropagation exist for other artificial neural networks (ANN ...
. The logistic function is itself the derivative of another proposed activation function, the
softplus In the context of artificial neural networks, the rectifier or ReLU (rectified linear unit) activation function is an activation function defined as the positive part of its argument: : f(x) = x^+ = \max(0, x), where ''x'' is the input to a ne ...
.


In medicine: modeling of growth of tumors

Another application of logistic curve is in medicine, where the logistic differential equation is used to model the growth of tumors. This application can be considered an extension of the above-mentioned use in the framework of ecology (see also the Generalized logistic curve, allowing for more parameters). Denoting with X(t) the size of the tumor at time t, its dynamics are governed by X' = r\left(1 - \frac X K \right)X, which is of the type X' = F(X)X, \quad F'(X) \le 0, where F(X) is the proliferation rate of the tumor. If a chemotherapy is started with a log-kill effect, the equation may be revised to be X' = r\left(1 - \frac X K \right)X - c(t) X, where c(t) is the therapy-induced death rate. In the idealized case of very long therapy, c(t) can be modeled as a periodic function (of period T) or (in case of continuous infusion therapy) as a constant function, and one has that \frac 1 T \int_0^T c(t)\, dt > r \to \lim_ x(t) = 0, i.e. if the average therapy-induced death rate is greater than the baseline proliferation rate, then there is the eradication of the disease. Of course, this is an oversimplified model of both the growth and the therapy (e.g. it does not take into account the phenomenon of clonal resistance).


In medicine: modeling of a pandemic

A novel infectious pathogen to which a population has no immunity will generally spread exponentially in the early stages, while the supply of susceptible individuals is plentiful. The SARS-CoV-2 virus that causes
COVID-19 Coronavirus disease 2019 (COVID-19) is a contagious disease caused by a virus, the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). The first known case was COVID-19 pandemic in Hubei, identified in Wuhan, China, in December ...
exhibited exponential growth early in the course of infection in several countries in early 2020. Factors including a lack of susceptible hosts (through the continued spread of infection until it passes the threshold for
herd immunity Herd immunity (also called herd effect, community immunity, population immunity, or mass immunity) is a form of indirect protection that applies only to contagious diseases. It occurs when a sufficient percentage of a population has become imm ...
) or reduction in the accessibility of potential hosts through physical distancing measures, may result in exponential-looking epidemic curves first linearizing (replicating the "logarithmic" to "logistic" transition first noted by Pierre-François Verhulst, as noted above) and then reaching a maximal limit. A logistic function, or related functions (e.g. the
Gompertz function The Gompertz curve or Gompertz function is a type of mathematical model for a time series, named after Benjamin Gompertz (1779–1865). It is a sigmoid function which describes growth as being slowest at the start and end of a given time period. Th ...
) are usually used in a descriptive or phenomenological manner because they fit well not only to the early exponential rise, but to the eventual levelling off of the pandemic as the population develops a herd immunity. This is in contrast to actual models of pandemics which attempt to formulate a description based on the dynamics of the pandemic (e.g. contact rates, incubation times, social distancing, etc.). Some simple models have been developed, however, which yield a logistic solution.


Modeling early COVID-19 cases

A
generalized logistic function The generalized logistic function or curve is an extension of the logistic function, logistic or sigmoid function, sigmoid functions. Originally developed for growth modelling, it allows for more flexible S-shaped curves. The function is some ...
, also called the Richards growth curve, has been applied to model the early phase of the
COVID-19 Coronavirus disease 2019 (COVID-19) is a contagious disease caused by a virus, the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). The first known case was COVID-19 pandemic in Hubei, identified in Wuhan, China, in December ...
outbreak. The authors fit the generalized logistic function to the cumulative number of infected cases, here referred to as ''infection trajectory''. There are different parameterizations of the
generalized logistic function The generalized logistic function or curve is an extension of the logistic function, logistic or sigmoid function, sigmoid functions. Originally developed for growth modelling, it allows for more flexible S-shaped curves. The function is some ...
in the literature. One frequently used forms is f(t ; \theta_1,\theta_2,\theta_3, \xi) = \frac where \theta_1,\theta_2,\theta_3 are real numbers, and \xi is a positive real number. The flexibility of the curve f is due to the parameter \xi : (i) if \xi = 1 then the curve reduces to the logistic function, and (ii) as \xi approaches zero, the curve converges to the
Gompertz function The Gompertz curve or Gompertz function is a type of mathematical model for a time series, named after Benjamin Gompertz (1779–1865). It is a sigmoid function which describes growth as being slowest at the start and end of a given time period. Th ...
. In epidemiological modeling, \theta_1, \theta_2, and \theta_3 represent the final epidemic size, infection rate, and lag phase, respectively. See the right panel for an example infection trajectory when (\theta_1,\theta_2,\theta_3) is set to (10000,0.2,40). One of the benefits of using a growth function such as the
generalized logistic function The generalized logistic function or curve is an extension of the logistic function, logistic or sigmoid function, sigmoid functions. Originally developed for growth modelling, it allows for more flexible S-shaped curves. The function is some ...
in epidemiological modeling is its relatively easy application to the
multilevel model Multilevel models (also known as hierarchical linear models, linear mixed-effect model, mixed models, nested data models, random coefficient, random-effects models, random parameter models, or split-plot designs) are statistical models of parame ...
framework, where information from different geographic regions can be pooled together.


In chemistry: reaction models

The concentration of reactants and products in autocatalytic reactions follow the logistic function. The degradation of
Platinum group The platinum-group metals (abbreviated as the PGMs; alternatively, the platinoids, platinides, platidises, platinum group, platinum metals, platinum family or platinum-group elements (PGEs)) are six noble, precious metallic elements clustered to ...
metal-free (PGM-free) oxygen reduction reaction (ORR) catalyst in fuel cell cathodes follows the logistic decay function, suggesting an autocatalytic degradation mechanism.


In physics: Fermi–Dirac distribution

The logistic function determines the statistical distribution of fermions over the energy states of a system in thermal equilibrium. In particular, it is the distribution of the probabilities that each possible energy level is occupied by a fermion, according to
Fermi–Dirac statistics Fermi–Dirac statistics (F–D statistics) is a type of quantum statistics that applies to the physics of a system consisting of many non-interacting, identical particles that obey the Pauli exclusion principle. A result is the Fermi–Dirac di ...
.


In material science: Phase diagrams

See
Diffusion bonding Diffusion bonding or diffusion welding is a solid-state welding technique used in metalworking, capable of joining similar and dissimilar metals. It operates on the principle of solid-state diffusion, wherein the atoms of two solid, metallic surfac ...
.


In linguistics: language change

In linguistics, the logistic function can be used to model
language change Language change is variation over time in a language's features. It is studied in several subfields of linguistics: historical linguistics, sociolinguistics, and evolutionary linguistics. Traditional theories of historical linguistics identify ...
:Bod, Hay, Jennedy (eds.) 2003, pp. 147–156 an innovation that is at first marginal begins to spread more quickly with time, and then more slowly as it becomes more universally adopted.


In agriculture: modeling crop response

The logistic S-curve can be used for modeling the crop response to changes in growth factors. There are two types of response functions: ''positive'' and ''negative'' growth curves. For example, the crop yield may ''increase'' with increasing value of the growth factor up to a certain level (positive function), or it may ''decrease'' with increasing growth factor values (negative function owing to a negative growth factor), which situation requires an ''inverted'' S-curve.


In economics and sociology: diffusion of innovations

The logistic function can be used to illustrate the progress of the diffusion of an innovation through its life cycle. In ''The Laws of Imitation'' (1890),
Gabriel Tarde Gabriel Tarde (; in full Jean-Gabriel De Tarde; 12 March 1843 – 13 May 1904) was a French sociologist, criminologist and social psychologist who conceived sociology as based on small psychological interactions among individuals (much as i ...
describes the rise and spread of new ideas through imitative chains. In particular, Tarde identifies three main stages through which innovations spread: the first one corresponds to the difficult beginnings, during which the idea has to struggle within a hostile environment full of opposing habits and beliefs; the second one corresponds to the properly exponential take-off of the idea, with f(x)=2^x; finally, the third stage is logarithmic, with f(x)=\log(x), and corresponds to the time when the impulse of the idea gradually slows down while, simultaneously new opponent ideas appear. The ensuing situation halts or stabilizes the progress of the innovation, which approaches an asymptote. In a
Sovereign state A sovereign state or sovereign country, is a polity, political entity represented by one central government that has supreme legitimate authority over territory. International law defines sovereign states as having a permanent population, defin ...
, the subnational units (constituent states or cities) may use loans to finance their projects. However, this funding source is usually subject to strict legal rules as well as to economy
scarcity In economics, scarcity "refers to the basic fact of life that there exists only a finite amount of human and nonhuman resources which the best technical knowledge is capable of using to produce only limited maximum amounts of each economic good. ...
constraints, specially the resources the banks can lend (due to their
equity Equity may refer to: Finance, accounting and ownership * Equity (finance), ownership of assets that have liabilities attached to them ** Stock, equity based on original contributions of cash or other value to a business ** Home equity, the dif ...
or
Basel , french: link=no, Bâlois(e), it, Basilese , neighboring_municipalities= Allschwil (BL), Hégenheim (FR-68), Binningen (BL), Birsfelden (BL), Bottmingen (BL), Huningue (FR-68), Münchenstein (BL), Muttenz (BL), Reinach (BL), Riehen (BS ...
limits). These restrictions, which represent a saturation level, along with an exponential rush in an
economic competition In economics, competition is a scenario where different economic firmsThis article follows the general economic convention of referring to all actors as firms; examples in include individuals and brands or divisions within the same (legal) firm ...
for money, create a
public finance Public finance is the study of the role of the government in the economy. It is the branch of economics that assesses the government revenue and government expenditure of the public authorities and the adjustment of one or the other to achie ...
diffusion of credit pleas and the aggregate national response is a
sigmoid curve A sigmoid function is a mathematical function having a characteristic "S"-shaped curve or sigmoid curve. A common example of a sigmoid function is the logistic function shown in the first figure and defined by the formula: :S(x) = \frac = \ ...
. In the history of economy, when new products are introduced there is an intense amount of
research and development Research and development (R&D or R+D), known in Europe as research and technological development (RTD), is the set of innovative activities undertaken by corporations or governments in developing new services or products, and improving existi ...
which leads to dramatic improvements in quality and reductions in cost. This leads to a period of rapid industry growth. Some of the more famous examples are: railroads, incandescent light bulbs,
electrification Electrification is the process of powering by electricity and, in many contexts, the introduction of such power by changing over from an earlier power source. The broad meaning of the term, such as in the history of technology, economic histor ...
, cars and air travel. Eventually, dramatic improvement and cost reduction opportunities are exhausted, the product or process are in widespread use with few remaining potential new customers, and markets become saturated. Logistic analysis was used in papers by several researchers at the International Institute of Applied Systems Analysis (
IIASA The International Institute for Applied Systems Analysis (IIASA) is an independent international research institute located in Laxenburg, near Vienna, in Austria. Through its research programs and initiatives, the institute conducts policy-o ...
). These papers deal with the diffusion of various innovations, infrastructures and energy source substitutions and the role of work in the economy as well as with the long economic cycle. Long economic cycles were investigated by Robert Ayres (1989). Cesare Marchetti published on long economic cycles and on diffusion of innovations. Arnulf Grübler's book (1990) gives a detailed account of the diffusion of infrastructures including canals, railroads, highways and airlines, showing that their diffusion followed logistic shaped curves. Carlota Perez used a logistic curve to illustrate the long ( Kondratiev) business cycle with the following labels: beginning of a technological era as ''irruption'', the ascent as ''frenzy'', the rapid build out as ''synergy'' and the completion as ''maturity''.


See also

*
Cross fluid A Cross fluid is a type of generalized Newtonian fluid whose viscosity depends upon shear rate according to the following equation: :\mu_\mathrm(\dot \gamma) = \mu_\infty + \frac where \mu_\mathrm(\dot \gamma) is viscosity as a function of she ...
*
Diffusion of innovations Diffusion of innovations is a theory that seeks to explain how, why, and at what rate new ideas and technology spread. Everett Rogers, a professor of communication studies, popularized the theory in his book ''Diffusion of Innovations''; the book ...
*
Exponential growth Exponential growth is a process that increases quantity over time. It occurs when the instantaneous rate of change (that is, the derivative) of a quantity with respect to time is proportional to the quantity itself. Described as a function, a q ...
*
Hyperbolic growth When a quantity grows towards a singularity under a finite variation (a "finite-time singularity") it is said to undergo hyperbolic growth. More precisely, the reciprocal function 1/x has a hyperbola as a graph, and has a singularity at 0, meani ...
*
Generalised logistic function The generalized logistic function or curve is an extension of the logistic or sigmoid functions. Originally developed for growth modelling, it allows for more flexible S-shaped curves. The function is sometimes named Richards's curve after ...
*
Gompertz curve The Gompertz curve or Gompertz function is a type of mathematical model for a time series, named after Benjamin Gompertz (1779–1865). It is a sigmoid function which describes growth as being slowest at the start and end of a given time period. Th ...
*
Heaviside step function The Heaviside step function, or the unit step function, usually denoted by or (but sometimes , or ), is a step function, named after Oliver Heaviside (1850–1925), the value of which is zero for negative arguments and one for positive argume ...
*
Hill equation (biochemistry) In biochemistry and pharmacology, the Hill equation refers to two closely related equations that reflect the binding of ligands to macromolecules, as a function of the ligand concentration. A ligand is "a substance that forms a complex with a bio ...
* Hubbert curve *
List of mathematical functions In mathematics, some functions or groups of functions are important enough to deserve their own names. This is a listing of articles which explain some of these functions in more detail. There is a large theory of special functions which developed ...
*
Logistic distribution Logistic may refer to: Mathematics * Logistic function, a sigmoid function used in many fields ** Logistic map, a recurrence relation that sometimes exhibits chaos ** Logistic regression, a statistical model using the logistic function ** Logit, ...
*
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 ...
*
Logistic regression In statistics, the logistic model (or logit model) is a statistical model that models the probability of an event taking place by having the log-odds for the event be a linear function (calculus), linear combination of one or more independent var ...
* Logistic smooth-transmission model *
Logit In statistics, the logit ( ) function is the quantile function associated with the standard logistic distribution. It has many uses in data analysis and machine learning, especially in data transformations. Mathematically, the logit is the ...
*
Log-likelihood ratio In statistics, the likelihood-ratio test assesses the goodness of fit of two competing statistical models based on the ratio of their likelihoods, specifically one found by maximization over the entire parameter space and another found after im ...
*
Malthusian growth model A Malthusian growth model, sometimes called a simple exponential growth model, is essentially exponential growth based on the idea of the function being proportional to the speed to which the function grows. The model is named after Thomas Robert ...
* Michaelis–Menten equation *
Population dynamics Population dynamics is the type of mathematics used to model and study the size and age composition of populations as dynamical systems. History Population dynamics has traditionally been the dominant branch of mathematical biology, which has ...
* ''r''/''K'' selection theory *
Rectifier (neural networks) In the context of artificial neural networks, the rectifier or ReLU (rectified linear unit) activation function is an activation function defined as the positive part of its argument: : f(x) = x^+ = \max(0, x), where ''x'' is the input to a neu ...
*
Shifted Gompertz distribution The shifted Gompertz distribution is the distribution of the larger of two independent random variables one of which has an exponential distribution with parameter b and the other has a Gumbel distribution with parameters \eta and b . In its o ...
*
Tipping point (sociology) In sociology, a tipping point is a point in time when a group—or many group members—rapidly and dramatically changes its behavior by widely adopting a previously rare practice. History The phrase was first used in sociology by Morton Grodzi ...


Notes


References

* ** Published as: * * * *


External links

* L.J. Linacre
Why logistic ogive and not autocatalytic curve?
accessed 2009-09-12. * https://web.archive.org/web/20060914155939/http://luna.cas.usf.edu/~mbrannic/files/regression/Logistic.html * {{MathWorld , title=Sigmoid Function , urlname= SigmoidFunction
Online experiments with JSXGraph



Seeing the s-curve is everything.

Restricted Logarithmic Growth with Injection
Special functions Differential equations Population Population ecology Logistic regression Growth curves