# 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. The right-side or future value asymptote of the function is approached much more gradually by the curve than the left-side or lower valued asymptote. This is in contrast to the simple logistic function in which both asymptotes are approached by the curve symmetrically. It is a special case of the generalised logistic function. The function was originally designed to describe human mortality, but since has been modified to be applied in biology, with regard to detailing populations.

## History

Benjamin Gompertz (1779–1865) was an actuary in London who was privately educated. He was elected a fellow of the Royal Society in 1819. The function was first presented in his June 16, 1825 paper at the bottom of page 518. The Gompertz function reduced a significant collection of data in life tables into a single function. It is based on the assumption that the mortality rate increases exponentially as a person ages. The resulting Gompertz function is for the number of individuals living at a given age as a function of age.
Earlier work on the construction of functional models of mortality was done by the French mathematician Abraham de Moivre (1667–1754) in the 1750s. However, de Moivre assumed that the mortality rate was constant. An extension to Gompertz's work was proposed by the English actuary and mathematician William Matthew Makeham (1826–1891) in 1860, who added a constant background mortality rate to Gompertz's exponentially increasing one.
Graphs of Gompertz curves, showing the effect of varying one of a,b,c while keeping the others constant :
* Varying $a$
* Varying $b$
* Varying $c$

## Formula

$f(t)=a\mathrm {e} ^{-b\mathrm {e} ^{-ct}}$ where
* a is an asymptote, since lim$_{t→∞}$ae$^{−be−ct}$=ae$^0$=a{\textstyle \lim _{t\to \infty }a\mathrm {e} ^{-b\mathrm {e} ^{-ct}}=a\mathrm {e} ^{0}=a}
* b sets the displacement along the x-axis (translates the graph to the left or right).
* c sets the growth rate (y scaling)
* e is Euler's Number (e = 2.71828...)

### Properties

The curve f(t)=ae$^{−be−ct}$=ae$^{−e−ct+ln⁡b}${\textstyle f(t)=a\mathrm {e} ^{-b\mathrm {e} ^{-ct}}=ae^{-e^{-ct+\ln b}}} has the same shape as $f(t)=e^{-e^{-t}}$ after an affine transform.
The halfway point is found by solving f(t)=a/2{\textstyle f(t)=a/2} for t. $t_{hwp}={\frac {\ln(b)-\ln(\ln(2))}{c}}$ The point of maximum rate of increase (0.368a{\textstyle 0.368a}) is found by solving d$^2$/dt$^2$ f(t)=0{\textstyle {\frac {d^{2}}{dt^{2}}}f(t)=0} for t. $t_{max}=\ln(b)/c$ The increase at t$_{max}${\textstyle t_{max}} is $\max \left({\frac {df}{dt}}\right)={\frac {ac}{e}}$

### Derivation

The function curve can be derived from a Gompertz law of mortality, which states the rate of absolute mortality (decay) falls exponentially with current size. Mathematically,
$k^{r}\propto {\frac {1}{y(t)}}$
where
* r=y$^′$(t)/y(t) {\textstyle r={\frac {y'(t)}{y(t)}}} is the rate of growth
* k is an arbitrary constant.

## Example uses

Examples of uses for Gompertz curves include:
* Mobile phone uptake, where costs were initially high (so uptake was slow), followed by a period of rapid growth, followed by a slowing of uptake as saturation was reached
* Population in a confined space, as birth rates first increase and then slow as resource limits are reached
* Modelling of growth of tumors
* Modelling of cosmic reionization of hydrogen
* Modelling market impact in finance and aggregated subnational loans dynamic.
* Detailing population growth in animals of prey, with regard to predator-prey relationships
* Modelling bacterial cells within a population
* Examining disease spread
* the size of the English Wikipedia can be modelled with Gompertz function and a modified function to some extent

## Applications
### Gompertz curve

Population biology is especially concerned with the Gompertz function. This function is especially useful in describing the rapid growth of a certain population of organisms while also being able to account for the eventual horizontal asymptote, once the carrying capacity is determined (plateau cell/population number).
It is modeled as follows:
$N(t)=N_{0}\exp(\ln(N_{I}/N_{0})(1-\exp(-bt)))$
where:
* t{\textstyle t} is time
* N$_0${\textstyle N_{0}} is the initial density of cells
* N$_I${\textstyle N_{I}} is the plateau cell/population density
* b{\textstyle b} is the initial rate of tumor growth
This function consideration of the plateau cell number makes it useful in accurately mimicking real-life population dynamics. The function also adheres to the sigmoid function, which is the most widely accepted convention of generally detailing a population's growth. Moreover, the function makes use of initial growth rate, which is commonly seen in populations of bacterial and cancer cells, which undergo the log phase and grow rapidly in numbers. Despite its popularity, the function initial rate of tumor growth is difficult to predetermine given the varying microcosms present with a patient, or varying environmental factors in the case of population biology. In cancer patients, factors such as age, diet, ethnicity, genetic pre-dispositions, metabolism, lifestyle and origin of metastasis play a role in determining the tumor growth rate. The carrying capacity is also expected to change based on these factors, and so describing such phenomena is difficult.

### Metabolic curve

The metabolic function is particularly concerned with accounting for the rate of metabolism within an organism. This function can be applied to monitor tumor cells; metabolic rate is dynamic and is greatly flexible, making it more precise in detailing cancer growth. The metabolic curve takes in to consideration the energy the body provides in maintaining and creating tissue. This energy can be considered as metabolism and follows a specific pattern in cellular division. Energy conservation can be used to model such growth, irrespective of differing masses and development times. All taxa share a similar growth pattern and this model, as a result, considers cellular division, the foundation of the development of a tumor.
$B=\sum _{C}(N_{C}B_{C})+\left(E_{C}{\operatorname {d} \!N_{C} \over \operatorname {d} \!t}\right)$
* B{\textstyle B} = energy organism uses at rest
* N$_C${\textstyle N_{C}} = number of cells in the given organism
* B$_C${\textstyle B_{C}}= metabolic rate of an individual cell
* N$_C$B$_C${\textstyle N_{C}B_{C}}= energy required to maintain the existing tissue
* E$_C${\textstyle E_{C}}= energy required to create new tissue from an individual cell
The differentiation between energy used at rest and metabolic rate work allows for the model to more precisely determine the rate of growth. The energy at rest is lower than the energy used to maintain a tissue, and together represent the energy required to maintain the existing tissue. The use of these two factors, alongside the energy required to create new tissue, comprehensively map the rate of growth, and moreover, lead in to an accurate representation of the lag phase.

### Growth of tumors

In the 1960s A.K. Laird for the first time successfully used the Gompertz curve to fit data of growth of tumors. In fact, tumors are cellular populations growing in a confined space where the availability of nutrients is limited. Denoting the tumor size as X(t) it is useful to write the Gompertz Curve as follows:
    $X(t)=K\exp \left(\log \left({\frac {X(0)}{K}}\right)\exp \left(-\alpha t\right)\right)$
where:
* X(0){\textstyle X(0)} is the tumor size at the starting observation time;
* K{\textstyle K} is the carrying capacity, i.e. the maximum size that can be reached with the available nutrients. In fact it is: $\lim _{t\rightarrow +\infty }X(t)=K$
independently on X(0)>0. Note that, in absence of therapies etc.. usually it is X(0) < K, whereas, in presence of therapies, it may be X(0) > K;
* α{\textstyle \alpha } is a constant related to the proliferative ability of the cells.
* log⁡{\textstyle \log} refers to the natural log.
It can be shown that the dynamics of X(t) are governed by the Gompertz differential equation:
$X^{\prime }(t)=\alpha \log \left({\frac {K}{X(t)}}\right)X(t)$
i.e. is of the form when broken down:
$X^{\prime }(t)=F\left(X(t)\right)X(t),\quad {\mbox{with}}\quad F^{\prime }(X)\leq 0,$
F(X) is the instantaneous proliferation rate of the cellular population, whose decreasing nature is due to the competition for the nutrients due to the increase of the cellular population, similarly to the logistic growth rate. However, there is a fundamental difference: in the logistic case the proliferation rate for small cellular population is finite:
$F(X)=\alpha \left(1-\left({\frac {X}{K}}\right)^{\nu }\right)\Rightarrow F(0)=\alpha <+\infty$
whereas in the Gompertz case the proliferation rate is unbounded:
$\lim _{X\rightarrow 0^{+}}F(X)=\lim _{X\rightarrow 0^{+}}\alpha \log \left({\frac {K}{X}}\right)=+\infty$
As noticed by Steel and by Wheldon, the proliferation rate of the cellular population is ultimately bounded by the cell division time. Thus, this might be an evidence that the Gompertz equation is not good to model the growth of small tumors. Moreover, more recently it has been noticed that, including the interaction with immune system, Gompertz and other laws characterized by unbounded F(0) would preclude the possibility of immune surveillance.
The theoretical study by Fornalski et al. showed the biophysical basis of the Gompertz curve for cancer growth except very early phase where parabolic function is more appropriate. They found also that the Gompertz curve describes the most typical case among the broad family of the cancer dynamics’ functions.

### Gompertz growth and logistic growth

The Gompertz differential equation
$X^{\prime }(t)=\alpha \log \left({\frac {K}{X(t)}}\right)X(t)$
is the limiting case of the generalized logistic differential equation
$X^{\prime }(t)=\alpha \nu \left(1-\left({\frac {X(t)}{K}}\right)^{\frac {1}{\nu }}\right)X(t)$
(where $\nu >0$ is a positive real number) since
$\lim _{\nu \rightarrow +\infty }\nu \left(1-x^{1/\nu }\right)=-\log \left(x\right)$.
In addition, there is an inflection point in the graph of the generalized logistic function when
$X(t)=\left({\frac {\nu }{\nu +1}}\right)^{\nu }K$
and one in the graph of the Gompertz function when
$X(t)={\frac {K}{e}}=K\cdot \lim _{\nu \rightarrow +\infty }\left({\frac {\nu }{\nu +1}}\right)^{\nu }$.

### Gomp-ex law of growth

Based on the above considerations, Wheldon proposed a mathematical model of tumor growth, called the Gomp-Ex model, that slightly modifies the Gompertz law. In the Gomp-Ex model it is assumed that initially there is no competition for resources, so that the cellular population expands following the exponential law. However, there is a critical size threshold $X_{C}$ such that for $X>X_{C}$. The assumption that there is no competition for resources holds true in most scenarios. It can however be affected by limiting factors, that requires the creation of sub-factors variables.
the growth follows the Gompertz Law:
$F(X)=\max \left(a,\alpha \log \left({\frac {K}{X}}\right)\right)$
so that:
$X_{C}=K\exp \left(-{\frac {a}{\alpha }}\right).$
Here there are some numerical estimates for $X_{C}$:
* X$_C$≈10$^9${\textstyle X_{C}\approx 10^{9}} for human tumors
* X$_C$≈10$^6${\textstyle X_{C}\approx 10^{6}} for murine (mouse) tumors

## Inverse Gompertz function

The Gompertz function is a one-to-one correspondence (also known as an Bijective function) and so its inverse function can be explicitly expressed in traditional functional notation as a single continuous function. Given a Gompertz function of the form:
$f(t)=a\mathrm {e} ^{-\mathrm {e} ^{b-ct}}+d$ where
* d is the base horizontal asymptote, since lim$_{t→−∞}$ae$^{−eb−ct}$+d=ae$^{−∞}$+d=d{\textstyle \lim _{t\to -\infty }a\mathrm {e} ^{-\mathrm {e} ^{b-ct}}+d=a\mathrm {e} ^{-\infty }+d=d}
* a is the distance from the base to the second asymptote, since lim$_{t→∞}$ae$^{−eb−ct}$+d=ae$^0$+d=a+d{\textstyle \lim _{t\to \infty }a\mathrm {e} ^{-\mathrm {e} ^{b-ct}}+d=a\mathrm {e} ^{0}+d=a+d}
* b sets the displacement along the x-axis (translates the graph to the left or right).
* c sets the growth rate (y scaling)
* e is Euler's Number (e = 2.71828...)
the corresponding inverse function can be expressed as:
$f^{-1}(t)={\frac {1}{c}}\left[b-\ln \left(\ln \left({\frac {a}{t-d}}\right)\right)\right]$
The inverse function only produces numerical values in the set of real numbers between its two asymptotes, which are now vertical instead of horizontal like in the forward Gompertz function. Outside of the range defined by the vertical asymptotes, the inverse function requires computing the logarithm of negative numbers. For this and other reasons it is often impractical to try to fit an inverse Gompertz function to data directly, especially if one only has relatively few data points available from which to calculate the fit. Instead one can fit the transposed relationship of the data to a forward Gompertz function, and then convert it to the equivalent inverse function using the relationship between the two given above.
In this way the inverse function has many uses. For instance, certain ELISA assays have a standard curve whose concentrations can be fit extremely well to their optical density by a Gompertz function. Once the standards are thus fit to a Gompertz function, calculating the unknown concentration of samples in the assay from their measured optical density is achieved using the inverse of the Gompertz function that was produced when fitting the standard curve.