Heaviside step function
Encyclopedia : H : HE : HEA : Heaviside step function
The Heaviside step function, sometimes called the unit step function and named in honor of Oliver Heaviside, is a discontinuous function whose value is zero for negative argument and one for positive argument:
- [H(x)=\begin 0, & x < 0 \\ 1, & x > 0 \end]
It is the cumulative distribution function of a random variable which is almost surely 0. (See constant random variable.)
The Heaviside function is an integral of the Dirac delta function.
- [ H(x) = \int_^x \mathrmt ]
Discrete form
We can also define an alternative form of the unit step as a function of a discrete variable n:
- [H[n]=\begin 0, & n < 0 \\ 1, & n \ge 0 \end]
This function is the cumulative summation of the Kronecker delta:
- [ H[n] = \sum_^ \delta[k] \,]
- [ \delta[k] = \delta_ \,]
Analytic approximations
For a smooth approximation to the step function, one can use the logistic function
- [H(x) \approx \frac + \frac\tanh(kx) = \frac^}],
- [H(x)=\lim_\frac(1+\tanh kx)=\lim_\frac^}]
- [H(x) = \lim_ \frac + \frac\arctan(kx) \ ]
- [H(x) = \lim_ \frac + \frac\operatorname(kx) \ ]
Representations
Often an integral representation of the step function is useful:
- [H(x)=\lim_ -}\int_^\infty \epsilon} \mathrm^ x \tau} \mathrm\tau ]
H(0)
The value of H(0) can be defined differently. It can be given as H(0) = 0, H(0) = 1/2 or H(0) = 1. H(0) = 1/2 is the most consistent choice used, since it maximizes the symmetry of the function and becomes completely consistent with the signum function. This makes for a more general definition:
- [ H(x) = \begin 0, & x < 0 \\ \frac, & x = 0 \\ 1, & x > 0 \end]
- [ H(x) = \frac \left ( 1 + \sgn(x) \right ) ]
- [ H_n(x) = \begin 0, & x < 0 \\ n, & x = 0 \\ 1, & x > 0 \end]
See also
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
