Sigmoid function

Imagine a curve that starts slowly, rises steeply, then levels off again, forming a distinctive 'S' shape. This deceptively simple form, known as a sigmoid function, appears everywhere from population growth to the firing of neurons in our brains. Understanding these elegant mathematical tools unlocks insights into countless natural and artificial systems. Sigmoid functions are characterized by their 'S-shaped' graph, typically showing a gradual rise, a steep increase, and then a leveling off. The logistic function is the most well-known sigmoid, fundamental to modeling growth, probability, and activation in artificial intelligence. Beyond their defining shape, sigmoids possess unique mathematical properties like differentiability, boundedness, and a bell-shaped derivative, making them powerful tools across diverse scientific and engineering fields.

Source: Wikipedia

AI Summary

Imagine a curve that starts slowly, rises steeply, then levels off again, forming a distinctive 'S' shape. This deceptively simple form, known as a sigmoid function, appears everywhere from population growth to the firing of neurons in our brains. Understanding these elegant mathematical tools unlocks insights into countless natural and artificial systems.

The S-Shaped Curve

At its heart, a sigmoid function is any mathematical function whose graph forms a characteristic 'S' shape. Think of something gradually beginning, rapidly accelerating, and then tapering off towards a limit — that's the essence of a sigmoid.

The most famous member of the sigmoid family is undoubtedly the logistic function. It's so prevalent that sometimes, in certain fields like artificial intelligence, the term 'sigmoid function' is used as a direct synonym for 'logistic function'.

The logistic function, often denoted by $\sigma(x)$, has a simple yet powerful formula. It takes any real number as input and squashes it into a predictable output range, typically between 0 and 1. This characteristic 'squashing' makes it incredibly useful for normalization.

\sigma (x)={\frac {1}{1+e^{-x}}}

All sigmoid functions share these key features: they are defined for all real numbers, and their output values usually lie between two horizontal asymptotes, commonly 0 and 1, or sometimes -1 and 1. They are also generally monotonic, meaning they consistently either increase or decrease.

Defining Characteristics

Beyond their visual S-shape, sigmoid functions possess specific mathematical properties. They are bounded, meaning their output values never go beyond certain limits, and they are differentiable, allowing us to calculate their slope at any point — a crucial aspect for optimization in many applications.

Perhaps one of their most elegant properties is the shape of their derivative. When you take the derivative of a sigmoid function, you get a bell-shaped curve. This means that the rate of change is highest in the middle of the 'S' and tapers off at the extremes.

Conversely, the integral of any continuous, non-negative bell-shaped function will yield a sigmoid. This deep connection explains why sigmoids appear frequently as cumulative distribution functions in statistics, effectively mapping probabilities from 0 to 1.

Sigmoid functions are also characterized by an inflection point, where the curve transitions from being concave (curving downwards) to convex (curving upwards). For many common sigmoids, this critical point lies at x = 0, marking where the steepest part of the 'S' occurs.

A Family of Sigmoids

While the logistic function is a superstar, the sigmoid family is diverse. Other notable members include the Gompertz curve, often used in modeling population growth or disease spread, and the ogee curve, which surprisingly finds application in the design of spillways for dams.

The hyperbolic tangent, or tanh function, is another widely used sigmoid. It's essentially a shifted and scaled version of the logistic function, with an output range from -1 to 1, making it useful in contexts where negative values are meaningful.

The formula for the hyperbolic tangent, $\tanh x$, showcases its exponential nature, similar to the logistic function. This mathematical elegance allows it to maintain the smooth, 'S' shape while providing a symmetrical output around zero.

f(x)=\tanh x={\frac {e^{x}-e^{-x}}{e^{x}+e^{-x}}}

Another important sigmoid is the error function, $\operatorname{erf}(x)$, which is intimately related to the cumulative distribution function of the normal distribution. It quantifies the probability that a random variable falls within a certain range.

The error function's definition as an integral of the Gaussian function underscores its link to probability and statistics. Its smooth transition from negative to positive values makes it a natural fit for modeling cumulative probabilities.

f(x)=\operatorname{erf} (x)={\frac {2}{\sqrt {\pi }}}\int _{0}^{x}e^{-t^{2}}\,dt

Other sigmoids include the arctangent function, which maps real numbers to a range between $-\pi/2$ and $\pi/2$, and the Gudermannian function, which links hyperbolic and trigonometric functions.

Arctangent function: $f(x)=\arctan x$ Gudermannian function: $f(x)=\operatorname {gd} (x)$

Where Sigmoids Shape Our World

Sigmoid functions are far more than mathematical curiosities; they are foundational to modeling countless real-world phenomena. Many natural processes, like complex system learning curves, exhibit this characteristic progression from slow beginnings, accelerating, and then reaching a saturation point.

In Artificial Intelligence

In artificial neural networks, sigmoids are vital as 'activation functions.' They introduce non-linearity into the network, allowing it to learn complex patterns. Without them, a neural network, no matter how many layers deep, would only be able to perform linear transformations.

Sometimes, for computational efficiency, simpler approximations called 'hard sigmoids' are used. These functions mimic the S-shape but are computationally less intensive, making them suitable for resource-constrained applications.

Across Science and Engineering

In statistics, as mentioned, sigmoids frequently appear as cumulative distribution functions for various probability distributions. They tell us the probability that a random variable will take a value less than or equal to a certain point.

Biochemistry and pharmacology extensively use sigmoid functions, particularly the Hill and Hill-Langmuir equations, to model phenomena like enzyme kinetics and drug-receptor binding, where a dose-response relationship follows an S-shaped curve.

Even in audio signal processing, sigmoids find a home. They are used as 'waveshaper transfer functions' to emulate the warm, saturated sound of analog circuitry clipping, adding a distinct character to audio.

Computer graphics artists use sigmoid functions for smooth blending of colors or geometry. This ensures seamless transitions, avoiding harsh lines or sudden changes that would break visual continuity.

In chemistry, titration curves, which plot pH against the volume of titrant added, naturally exhibit a sigmoid shape. This is due to the logarithmic nature of the pH scale and the sharp change in concentration around the equivalence point.

Agricultural scientists utilize sigmoids in models like the van Genuchten–Gupta model, which applies an inverted S-curve to predict crop yield response to factors like soil salinity, helping optimize farming practices.

Even in electrochemistry, a hierarchy of sigmoid growth models helps re-analyze kinetic data from nucleation experiments, revealing insights into crystal growth and the formation of new phases.

Article

Sigmoid function

The logistic curve

Plot of the error function

A sigmoid function is any mathematical function whose graph has a characteristic S-shaped or sigmoid curve.

A common example of a sigmoid function is the logistic function.

Other sigmoid functions are given in the Examples section. In some fields, most notably in the context of artificial neural networks, the term "sigmoid function" is used as a synonym for "logistic function".

Special cases of sigmoid functions include the Gompertz curve (used in modeling systems that saturate at large values of x) and the ogee curve (used in the spillway of some dams). Sigmoid functions have domain of all real numbers, with return (response) value commonly monotonically increasing but could be decreasing. Sigmoid functions most often show a return value (y axis) in the range 0 to 1. Another commonly used range is from −1 to 1.

There is also the Heaviside step function, which instantaneously transitions between 0 and 1.

A wide variety of sigmoid functions including the logistic and hyperbolic tangent functions have been used as the activation function of artificial neurons. Sigmoid curves are also common in statistics as cumulative distribution functions (which go from 0 to 1), such as the integrals of the logistic density, the normal density, and Student's t probability density functions. The logistic sigmoid function is invertible, and its inverse is the logit function.

Theory

Sigmoid function

In mathematics, a unitary sigmoid function is a bounded sigmoid-type function normalized to the unit range, typically with lower and upper asymptotes at 0 and 1. The theory proposed by Grebenc distinguishes three kinds of unitary sigmoid functions according to their asymptotic behavior and the presence or absence of oscillation near the asymptotes.

where ${\displaystyle S}$ is an increasing sigmoid function, ${\displaystyle f(x)}$ is a transformation of the independent variable, and ${\displaystyle A}$ and ${\displaystyle B}$ are constants controlling scaling and translation.

1st kind

A unitary sigmoid function of the first kind is a bounded increasing function that approaches its lower and upper asymptotes monotonically, without oscillation. This class includes many of the standard sigmoid functions used in statistics, biomathematics, and engineering, such as the logistic function and related generalizations.

2nd kind

A unitary sigmoid function of the second kind is a bounded increasing function that oscillates near the upper asymptote while preserving an overall sigmoid transition.

3rd kind

A unitary sigmoid function of the third kind is a bounded increasing function that oscillates near both the lower and upper asymptotes. These functions retain the global shape of a sigmoid curve but exhibit oscillatory behavior in the vicinity of both limiting states.

Fig. 1. Graphical representation of the three kinds of sigmoid functions on the infinite domain: the 1st kind (red solid line), the 2nd kind (violet dashed line), the 3rd kind (blue dotted line).

Taxonomy

The tables below show the taxonomy of unitary sigmoid functions of all three kinds.

Table 1. Taxonomy matrix with examples of sigmoid functions of the 1st kind

<table><thead><tr><th>No</th><th>Type of sigmoid function</th><th>Unbounded interval {\displaystyle x\in (-\infty ,+\infty )}</th><th>Semi-bounded interval {\displaystyle x\in [0,+\infty ),\ a>1,\ a\notin 2n,\ b>0}</th><th>Unitary interval {\displaystyle x\in (0,1),\ a,b>0}</th></tr></thead><tbody><tr><td>1</td><td>rational</td><td>{\displaystyle {\frac {1}{2}}\left(1+{\frac {x}{|a|+|x|}}\right)} (Elliot)</td><td>{\displaystyle \left(1+(b\,x)^{-a}\right)^{-c}}</td><td>{\displaystyle {\frac {1}{2}}\left(1+{\frac {(b+{\frac {1}{0-x}}+{\frac {1}{1-x}})}{\left|a\right|+\left|b+{\frac {1}{0-x}}+{\frac {1}{1-x}}\right|}}\right)}</td></tr><tr><td>2</td><td>irrational</td><td>{\displaystyle {\frac {1}{2}}\left(1+{\frac {x}{\sqrt {a^{2}+x^{2}}}}\right)} (algebraic) {\displaystyle {\sqrt[{-b}]{1+e^{-b\,a\,x}}}} (Richards)</td><td>{\displaystyle {\frac {x^{a}}{\sqrt {b^{2}+x^{2a}}}}}</td><td>{\displaystyle \left(1-\left(1-x^{a}\right)^{b}\right)^{c}}</td></tr><tr><td>3</td><td>exponential</td><td>{\displaystyle \left(1+e^{-a\,x}\right)^{-1}} (Logistic/Verhulst) {\displaystyle {\frac {1}{2}}+{\frac {x}{2|x|}}\left(1-e^{-a|x|}\right)} (Laplace)</td><td>{\displaystyle 2^{-b^{-x^{a}}}}; {\displaystyle 1-e^{-a\,x^{2}}} (Rayleigh)</td><td>{\displaystyle \left(1+e^{\frac {-a\,(2x^{b}-1)}{x^{b}(1-x^{b})}}\right)^{-1}}</td></tr><tr><td>4</td><td>logarithmic</td><td>{\displaystyle \ln \!\left({\frac {1+e^{ax}e^{\frac {1}{2}}}{1+e^{ax}e^{-{\frac {1}{2}}}}}\right)}</td><td>{\displaystyle \ln \!\left({\frac {1+x^{a}e^{\frac {1}{2}}}{1+x^{a}e^{-{\frac {1}{2}}}}}\right)}</td><td>{\displaystyle \ln \!\left({\frac {1+e^{\frac {a(2x^{b}-1)}{x^{b}(1-x^{b})}}e^{\frac {1}{2}}}{1+e^{\frac {a(2x^{b}-1)}{x^{b}(1-x^{b})}}e^{-{\frac {1}{2}}}}}\right)}</td></tr><tr><td>5</td><td>trigonometric</td><td>{\displaystyle \sin \!\left({\frac {\pi }{2+2\,e^{-a\,x}}}\right)}</td><td>{\displaystyle \sin \!\left({\frac {\pi \,e^{a\ln(x)}}{2+2\,e^{a\ln(x)}}}\right)}</td><td>{\displaystyle {\frac {1}{2}}\left(1-\cos(\pi \,x)\right)}</td></tr><tr><td>6</td><td>inverse trigonometric</td><td>{\displaystyle {\frac {1}{2}}+{\frac {1}{\pi }}\arctan(a\,x)} (Lorenz)</td><td>{\displaystyle {\frac {1}{2}}+{\frac {1}{\pi }}\arctan(x^{a})}</td><td>{\displaystyle {\frac {1}{2}}+{\frac {1}{\pi }}\arctan \!\left({\frac {a(2x^{b}-1)}{x^{b}(1-x^{b})}}\right)}</td></tr><tr><td>7</td><td>hyperbolic</td><td>{\displaystyle {\frac {1}{2}}+{\frac {1}{2}}\tanh(a\,x)}</td><td>{\displaystyle {\frac {1}{2}}+{\frac {1}{2}}\tanh(a\ln(x))} (Log-logistic)</td><td>{\displaystyle {\frac {1}{2}}+{\frac {1}{2}}\tanh \!\left({\frac {a(2x^{b}-1)}{x^{b}(1-x^{b})}}\right)}</td></tr><tr><td>8</td><td>inverse hyperbolic</td><td>{\displaystyle {\frac {2}{\pi }}\arcsin \!\left({\frac {1}{1+e^{-a(x-c)}}}\right),\ e^{c}={\sqrt {2}}-1}</td><td>{\displaystyle {\frac {2}{\pi }}\arcsin \!\left({\frac {x^{a}}{1+x^{a}}}\right)}</td><td>{\displaystyle {\frac {2}{\pi }}\arcsin \!\left({\frac {1}{1+e^{a\cot(\pi x)}}}\right)}</td></tr><tr><td>9</td><td>special</td><td>{\displaystyle {\frac {1}{2}}+{\frac {1}{2}}\,\operatorname {erf} \!\left({\frac {a}{\sqrt {2}}}\,x\right)} (Normal)</td><td>{\displaystyle {\frac {1}{2}}+{\frac {1}{2}}\,\operatorname {erf} \!\left({\frac {a}{\sqrt {2}}}\ln(x)\right)} (Log-normal)</td><td>{\displaystyle {\frac {1}{2}}+{\frac {1}{2}}\,\operatorname {erf} \!\left({\frac {a(2x^{b}-1)}{x^{b}(1-x^{b})}}\right)}</td></tr><tr><td>10</td><td>stochastic</td><td>—</td><td>{\displaystyle e^{\left(a-{\frac {b^{2}}{2}}\right)x+b\,w{i}}\cdot \left(y{0}^{-1}+a\int {0}^{x}e^{\left(a-{\frac {b^{2}}{2}}\right)s+b\,w{s}}ds\right)^{-1}}</td><td>—</td></tr><tr><td>11</td><td>chaotic</td><td>{\displaystyle {\frac {dx}{dt}}=-x+yz,\quad {\frac {dy}{dt}}=-ay+az,\quad {\frac {dz}{dt}}=-z+by-(b-1)xy} (Grebenc)</td><td>—</td><td>—</td></tr></tbody></table>

Table 2. Taxonomy matrix with examples of sigmoid functions of the 2nd kind on the unbounded interval

<table><thead><tr><th>No</th><th>Type of sigmoid function</th><th>Unbounded interval {\displaystyle x\in (-\infty ,+\infty ),\ A<1,\ b>0,\ A+B=1}</th><th>Explanation</th></tr></thead><tbody><tr><td>1</td><td>All functions from Table 1</td><td>{\displaystyle s(a\,x)+A\cdot \operatorname {Ai} (-b\,x)}</td><td>Adding {\displaystyle A\cdot \operatorname {Ai} (-bx)} to the functions {\displaystyle s(ax)} of the 3rd column of the Table 1, where {\displaystyle \operatorname {Ai} } is the Airy Ai function</td></tr><tr><td>2</td><td>special</td><td>{\displaystyle a\int \operatorname {Ai} (-a\,x)\,dx+{\tfrac {1}{3}}}</td><td></td></tr><tr><td>3</td><td>special</td><td>{\displaystyle A\,s(a\,x)+{\frac {B}{8}}\left(1+2\,C(a\,x)\right)^{2}+{\frac {B}{8}}\left(1+2\,S(a\,x)\right)^{2}}</td><td>{\displaystyle C}, {\displaystyle S} are Fresnel integrals</td></tr><tr><td>4</td><td>special</td><td>{\displaystyle 1-{\frac {\sin(b\,e^{a\,x})}{b\,e^{a\,x}}}}</td><td></td></tr><tr><td>5</td><td>special</td><td>{\displaystyle 1-J{0}\!\left(b\,e^{a\,x}\right)}</td><td>{\displaystyle J{0}} is a Bessel J function</td></tr></tbody></table>

Table 3. Taxonomy matrix with examples of sigmoid functions of the 3rd kind

<table><thead><tr><th>No</th><th>Type</th><th>Unbounded interval {\displaystyle x\in (-\infty ,+\infty ),\ A+B=1,\ B\neq 0}</th><th>Explanation</th></tr></thead><tbody><tr><td>1</td><td>special</td><td>{\displaystyle A\,s(a\,x)+B\!\left({\tfrac {1}{2}}+{\frac {\operatorname {Si} (ax)}{\pi }}\right)}</td><td>Adding {\displaystyle B\!\left({\frac {1}{2}}+{\frac {\operatorname {Si} (ax)}{\pi }}\right)} to the functions {\displaystyle A\,s(ax)} of the 3rd column of the Table 1, where {\displaystyle \operatorname {Si} } is the sine integral function</td></tr><tr><td>2</td><td>special</td><td>{\displaystyle A\,s(a\,x)+B\!\left({\tfrac {1}{2}}+{\tfrac {1}{2}}e^{\operatorname {Ci} (ax)}\right)}</td><td>Adding {\displaystyle B\!\left({\frac {1}{2}}+{\frac {e^{\operatorname {Ci} (ax)}}{2}}\right)} to the functions {\displaystyle A\,s(ax)} of the 3rd column of Table 1, where {\displaystyle \operatorname {Ci} } is the cosine integral function</td></tr><tr><td>3</td><td>special</td><td>{\displaystyle A\,s(a\,x)+B\!\left({\tfrac {1}{2}}+S(a\,x)\right)}</td><td>{\displaystyle S(ax)} is the Fresnel S integral</td></tr><tr><td>4</td><td>special</td><td>{\displaystyle A\,s(a\,x)+B\!\left({\tfrac {1}{2}}+C(a\,x)\right)}</td><td>{\displaystyle C(ax)} is the Fresnel C integral</td></tr></tbody></table>

Construction methods

The same theory presents a list of 30 methods for constructing sigmoid functions.. These include algebraic transformations, integration and convolution methods, constructions from bell-shaped functions, solutions of ordinary and partial differential equations, recursive schemes, stochastic differential equations, feedback systems, and chaotic systems.

• M0: Construction method for sigmoid functions not evident or intuitive • M1: Inverse of singularity functions • M2: Sigmoid functions of embedded positive functions • M3: Rising a sigmoid function to the power • M4: Exponentiating a sigmoid function • M5: Symmetric sigmoid functions derived from asymmetric ones • M6: Sigmoid functions of the reciprocal independent variable • M7: Embedding a sigmoid function into other function • M8: Sum of sigmoid functions • M9: Multiplication of sigmoid functions • M10: Integral of the product of an increasing and a decreasing function • M11: Derivation from lambda (bell-shaped) functions • M12: Integration of lambda (bell-shaped) function • M13: Integration of the sum of lambda (bell-shaped) functions • M14: Integration of the product of two lambda (bell-shaped) functions • M15: Integration of the difference of two shifted sigmoid functions • M16: Integration of the product of two shifted sigmoid functions • M17: Convolution of sigmoid functions • M18: Integration of the product of lambda and sigmoid function • M19: Solutions of ordinary differential equations • M20: Solutions of partial differential equation (PDE) • M21: Solutions of functional differential equation (FDE) • M22: Sum of a sigmoid function and some derivatives • M23: Combination of sigmoid functions, its derivative and integral • M24: Filtering sigmoid functions • M25: Special cases of Gauss hypergeometric functions • M26: Feedback closed-loop systems • M27: Recursive functions • M28: Recursive time-delayed feed-forward loops • M29: Solutions of stochastic differential equation • M30: Chaotic sigmoid functions

Definition

Sigmoid function

A sigmoid function is a bounded, differentiable, real function that is defined for all real input values and has a positive derivative at each point.

Properties

Sigmoid function

In general, a sigmoid function is monotonic, and has a first derivative which is bell shaped. Conversely, the integral of any continuous, non-negative, bell-shaped function (with one local maximum and no local minimum, unless degenerate) will be sigmoidal. Thus the cumulative distribution functions for many common probability distributions are sigmoidal. One such example is the error function, which is related to the cumulative distribution function of a normal distribution; another is the arctan function, which is related to the cumulative distribution function of a Cauchy distribution.

A sigmoid function is constrained by a pair of horizontal asymptotes as ${\displaystyle x\rightarrow \pm \infty }$.

A sigmoid function is convex for values less than a particular point, and it is concave for values greater than that point: in many of the examples here, that point is 0.

Examples

Sigmoid function

Some sigmoid functions compared. In the drawing all functions are normalized in such a way that their slope at the origin is 1.

• Logistic function ${\displaystyle f(x)={\frac {1}{1+e^{-x}}}}$ • Hyperbolic tangent (shifted and scaled version of the logistic function, above) ${\displaystyle f(x)=\tanh x={\frac {e^{x}-e^{-x}}{e^{x}+e^{-x}}}}$ • Arctangent function ${\displaystyle f(x)=\arctan x}$ • Gudermannian function ${\displaystyle f(x)=\operatorname {gd} (x)=\int {0}^{x}{\frac {dt}{\cosh t}}=2\arctan \left(\tanh \left({\frac {x}{2}}\right)\right)}$ • Error function ${\displaystyle f(x)=\operatorname {erf} (x)={\frac {2}{\sqrt {\pi }}}\int {0}^{x}e^{-t^{2}}\,dt}$ • Generalised logistic function ${\displaystyle f(x)=\left(1+e^{-x}\right)^{-\alpha },\quad \alpha >0}$ • Smoothstep function ${\displaystyle f(x)={\begin{cases}{\displaystyle \left(\int {0}^{1}\left(1-u^{2}\right)^{N}du\right)^{-1}\int {0}^{x}\left(1-u^{2}\right)^{N}\ du},&|x|\leq 1\\\\\operatorname {sgn}(x)&|x|\geq 1\\\end{cases}}\quad N\in \mathbb {Z} \geq 1}$ • Some algebraic functions, for example ${\displaystyle f(x)={\frac {x}{\sqrt {1+x^{2}}}}}$ • and in a more general form ${\displaystyle f(x)={\frac {x}{\left(1+|x|^{k}\right)^{1/k}}}}$ • Up to shifts and scaling, many sigmoids are special cases of ${\displaystyle f(x)=\varphi (\varphi (x,\beta ),\alpha ),}$ where ${\displaystyle \varphi (x,\lambda )={\begin{cases}(1-\lambda x)^{1/\lambda }&\lambda \neq 0\\e^{-x}&\lambda =0\\\end{cases}}}$ is the inverse of the negative Box–Cox transformation, and ${\displaystyle \alpha <1}$ and ${\displaystyle \beta <1}$ are shape parameters. • Smooth transition function normalized to (−1,1):

${\displaystyle {\begin{aligned}f(x)&={\begin{cases}{\displaystyle {\frac {2}{1+e^{-2m{\frac {x}{1-x^{2}}}}}}-1},&|x|<1\\\\\operatorname {sgn}(x)&|x|\geq 1\\\end{cases}}\\&={\begin{cases}{\displaystyle \tanh \left(m{\frac {x}{1-x^{2}}}\right)},&|x|<1\\\\\operatorname {sgn}(x)&|x|\geq 1\\\end{cases}}\end{aligned}}}$ using the hyperbolic tangent mentioned above. Here, ${\displaystyle m}$ is a free parameter encoding the slope at ${\displaystyle x=0}$, which must be greater than or equal to ${\displaystyle {\sqrt {3}}}$ because any smaller value will result in a function with multiple inflection points, which is therefore not a true sigmoid. This function is unusual because it actually attains the limiting values of −1 and 1 within a finite range, meaning that its value is constant at −1 for all ${\displaystyle x\leq -1}$ and at 1 for all ${\displaystyle x\geq 1}$. Nonetheless, it is smooth (infinitely differentiable, ${\displaystyle C^{\infty }}$) everywhere, including at ${\displaystyle x=\pm 1}$.

Applications

Sigmoid function

Inverted logistic S-curve to model the relation between wheat yield and soil salinity

Many natural processes, such as those of complex systems learning curves, exhibit a progression from small beginnings that accelerates and approaches a climax over time. When a specific mathematical model is lacking, a sigmoid function is often used.

The van Genuchten–Gupta model is based on an inverted S-curve and applied to the response of crop yield to soil salinity.

Examples of the application of the logistic S-curve to the response of crop yield (wheat) to both the soil salinity and depth to water table in the soil are shown in modeling crop response in agriculture.

In artificial neural networks, non-smooth functions are sometimes used for efficiency; these are known as hard sigmoids.

In audio signal processing, sigmoid functions are used as waveshaper transfer functions to emulate the sound of analog circuitry clipping.

In Digital signal processing in general, sigmoid functions, due to their higher order of continuity, have much faster asymptotic rolloff in the frequency domain than a Heavyside step function, and therefore are useful to smooth discontinuities before sampling to reduce aliasing. This is, for example, used to generate square waves in many kinds of Digital synthesizer.

In biochemistry and pharmacology, the Hill and Hill–Langmuir equations are sigmoid functions.

In driving, changing lanes is accomplished smoothly by following a sigmoid trajectory.

In computer graphics and real-time rendering, sigmoid functions are used to blend colors or geometry between two values, producing smooth transitions without visible seams or discontinuities.

Titration curves between strong acids and strong bases have a sigmoid shape due to the logarithmic nature of the pH scale.

The logistic function can be calculated efficiently by utilizing type III Unums.

A hierarchy of sigmoid growth models with increasing complexity (number of parameters) was built with the primary goal to re-analyze kinetic data, the so-called N-t curves, from heterogeneous nucleation experiments, in electrochemistry. The hierarchy includes at present three models, with 1, 2, and 3 parameters, if not counting the maximal number of nuclei Nmax, respectively—a tanh2 based model called α21 originally devised to describe diffusion-limited crystal growth (not aggregation!) in 2D, the Johnson–Mehl–Avrami–Kolmogorov (JMAK) model, and the Richards model. It was shown that for the concrete purpose, even the simplest model works, and thus it was implied that the experiments revisited are an example of two-step nucleation with the first step being the growth of the metastable phase in which the nuclei of the stable phase form.