Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Heaviside step function

From Wikipedia, the free encyclopedia
Indicator function of positive numbers
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Heaviside step function" – news ·newspapers ·books ·scholar ·JSTOR
(December 2012) (Learn how and when to remove this message)
Heaviside step
The Heaviside step function, using the half-maximum convention
General information
General definitionH(x):={1,x00,x<0{\displaystyle H(x):={\begin{cases}1,&x\geq 0\\0,&x<0\end{cases}}}[dubiousdiscuss]
Fields of applicationOperational calculus

TheHeaviside step function, or theunit step function, usually denoted byH orθ (but sometimesu,1 or𝟙), is astep function named afterOliver Heaviside, the value of which iszero for negative arguments andone for positive arguments. Different conventions concerning the valueH(0) are in use. It is an example of the general class of step functions, all of which can be represented aslinear combinations of translations of this one.

The function was originally developed inoperational calculus for the solution ofdifferential equations, where it represents a signal that switches on at a specified time and stays switched on indefinitely. Heaviside developed the operational calculus as a tool in the analysis of telegraphic communications and represented the function as1.

Formulation

[edit]

Taking the convention thatH(0) = 1, the Heaviside function may be defined as:

For the alternative convention thatH(0) =1/2, it may be expressed as:

Other definitions which are undefined atH(0) include:

Relationship with Dirac delta

[edit]

TheDirac delta function is theweak derivative of the Heaviside function:δ(x)=ddx H(x),{\displaystyle \delta (x)={\frac {d}{dx}}\ H(x),}Hence the Heaviside function can be considered to be theintegral of the Dirac delta function. This is sometimes written as:H(x):=xδ(s)ds,{\displaystyle H(x):=\int _{-\infty }^{x}\delta (s)\,ds,}although this expansion may not hold (or even make sense) forx = 0, depending on which formalism one uses to give meaning to integrals involvingδ. In this context, the Heaviside function is thecumulative distribution function of arandom variable which isalmost surely 0. (SeeConstant random variable.)

Analytic approximations

[edit]

Approximations to the Heaviside step function are of use inbiochemistry andneuroscience, wherelogistic approximations of step functions (such as theHill and theMichaelis–Menten equations) may be used to approximate binary cellular switches in response to chemical signals.

For asmooth approximation to the step function, one can use thelogistic function:H(x)12+12tanhkx=11+e2kx,{\displaystyle H(x)\approx {\tfrac {1}{2}}+{\tfrac {1}{2}}\tanh kx={\frac {1}{1+e^{-2kx}}},}where a largerk corresponds to a sharper transition atx = 0.

If we takeH(0) =1/2, equality holds in the limit:H(x)=limk12(1+tanhkx)=limk11+e2kx.{\displaystyle H(x)=\lim _{k\to \infty }{\tfrac {1}{2}}(1+\tanh kx)=\lim _{k\to \infty }{\frac {1}{1+e^{-2kx}}}.}

A set of functions that successively approach the step function
12+12tanh(kx)=11+e2kx{\displaystyle {\tfrac {1}{2}}+{\tfrac {1}{2}}\tanh(kx)={\frac {1}{1+e^{-2kx}}}}
approaches the step function ask → ∞.

There aremany other smooth, analytic approximations to the step function.[1] Among the possibilities are:H(x)=limk(12+1πarctankx)H(x)=limk(12+12erfkx){\displaystyle {\begin{aligned}H(x)&=\lim _{k\to \infty }\left({\tfrac {1}{2}}+{\tfrac {1}{\pi }}\arctan kx\right)\\H(x)&=\lim _{k\to \infty }\left({\tfrac {1}{2}}+{\tfrac {1}{2}}\operatorname {erf} kx\right)\end{aligned}}}These limits holdpointwise and in the sense ofdistributions. In general, however,pointwise convergence need not imply distributional convergence, and vice versa distributional convergence need not imply pointwise convergence. (However, if all members of a pointwise convergent sequence of functions are uniformly bounded by some "nice" function, thenconvergence holds in the sense of distributions too.)

One could also use a scaled and shiftedSigmoid function.

In general, anycumulative distribution function of acontinuousprobability distribution that is peaked around zero and has a parameter that controls forvariance can serve as an approximation, in the limit as the variance approaches zero. For example, all three of the above approximations arecumulative distribution functions of common probability distributions: thelogistic,Cauchy andnormal distributions, respectively.

Non-Analytic approximations

[edit]

Approximations to the Heaviside step function could be made throughSmooth transition function like1m{\displaystyle 1\leq m\to \infty }:f(x)={12(1+tanh(m2x1x2)),|x|<11,x10,x1{\displaystyle {\begin{aligned}f(x)&={\begin{cases}{\displaystyle {\frac {1}{2}}\left(1+\tanh \left(m{\frac {2x}{1-x^{2}}}\right)\right)},&|x|<1\\\\1,&x\geq 1\\0,&x\leq -1\end{cases}}\end{aligned}}}

Integral representations

[edit]

Often anintegral representation of the Heaviside step function is useful:H(x)=limε0+12πi1τ+iεeixτdτ=limε0+ 12πi1τiεeixτdτ,{\displaystyle {\begin{aligned}H(x)&=\lim _{\varepsilon \to 0^{+}}-{\frac {1}{2\pi i}}\int _{-\infty }^{\infty }{\frac {1}{\tau +i\varepsilon }}e^{-ix\tau }d\tau \\&=\lim _{\varepsilon \to 0^{+}}\ {\frac {1}{2\pi i}}\int _{-\infty }^{\infty }{\frac {1}{\tau -i\varepsilon }}e^{ix\tau }d\tau ,\end{aligned}}}where the second representation is easy to deduce from the first, given that the step function is real and thus is its owncomplex conjugate.

Zero argument

[edit]

SinceH is usually used inintegration, and the value of a function at a single point does not affect its integral, it rarely matters what particular value is chosen ofH(0). Indeed whenH is considered as adistribution or an element ofL (seeLp space) it does not even make sense to talk of a value at zero, since such objects are only definedalmost everywhere. If using some analytic approximation (as in theexamples above) then often whatever happens to be the relevant limit at zero is used.

There exist various reasons for choosing a particular value.

Discrete form

[edit]

An alternative form of the unit step, defined instead as a functionH:ZR{\displaystyle H:\mathbb {Z} \rightarrow \mathbb {R} } (that is, taking in a discrete variablen), is:H[n]={0,n<0,1,n0,{\displaystyle H[n]={\begin{cases}0,&n<0,\\1,&n\geq 0,\end{cases}}}Or using the half-maximum convention:[2]H[n]={0,n<0,12,n=0,1,n>0,{\displaystyle H[n]={\begin{cases}0,&n<0,\\{\tfrac {1}{2}},&n=0,\\1,&n>0,\end{cases}}}wheren is aninteger. Ifn is an integer, thenn < 0 must imply thatn ≤ −1, whilen > 0 must imply that the function attains unity atn = 1. Therefore the "step function" exhibits ramp-like behavior over the domain of[−1, 1], and cannot authentically be a step function, using the half-maximum convention.

Unlike the continuous case, the definition ofH[0] is significant.

The discrete-time unit impulse is the first difference of the discrete-time step:δ[n]=H[n]H[n1].{\displaystyle \delta [n]=H[n]-H[n-1].}This function is the cumulative summation of theKronecker delta:H[n]=k=nδ[k],{\displaystyle H[n]=\sum _{k=-\infty }^{n}\delta [k],}whereδ[k]=δk,0{\textstyle \delta [k]=\delta _{k,0}} is thediscrete unit impulse function.

Antiderivative and derivative

[edit]

Theramp function is anantiderivative of the Heaviside step function:xH(ξ)dξ=xH(x)=max{0,x}.{\displaystyle \int _{-\infty }^{x}H(\xi )\,d\xi =xH(x)=\max\{0,x\}\,.}Thedistributional derivative of the Heaviside step function is theDirac delta function:dH(x)dx=δ(x).{\displaystyle {\frac {dH(x)}{dx}}=\delta (x)\,.}

Fourier transform

[edit]

TheFourier transform of the Heaviside step function is a distribution. Using one choice of constants for the definition of the Fourier transform we haveH^(s)=limNNNe2πixsH(x)dx=12(δ(s)iπp.v.1s).{\displaystyle {\hat {H}}(s)=\lim _{N\to \infty }\int _{-N}^{N}e^{-2\pi ixs}H(x)\,dx={\frac {1}{2}}\left(\delta (s)-{\frac {i}{\pi }}\operatorname {p.v.} {\frac {1}{s}}\right).}Herep.v.1/s is thedistribution that takes a test functionφ to theCauchy principal value ofφ(s)sds{\displaystyle \textstyle \int _{-\infty }^{\infty }{\frac {\varphi (s)}{s}}\,ds}. The limit appearing in the integral is also taken in the sense of (tempered) distributions.

Unilateral Laplace transform

[edit]

TheLaplace transform of the Heaviside step function is ameromorphic function. Using the unilateral Laplace transform we have:H^(s)=limN0NesxH(x)dx=limN0Nesxdx=1s{\displaystyle {\begin{aligned}{\hat {H}}(s)&=\lim _{N\to \infty }\int _{0}^{N}e^{-sx}H(x)\,dx\\&=\lim _{N\to \infty }\int _{0}^{N}e^{-sx}\,dx\\&={\frac {1}{s}}\end{aligned}}}When thebilateral transform is used, the integral can be split in two parts and the result will be the same.

See also

[edit]

References

[edit]
  1. ^Weisstein, Eric W."Heaviside Step Function".MathWorld.
  2. ^Bracewell, Ronald Newbold (2000).The Fourier transform and its applications (3rd ed.). New York: McGraw-Hill. p. 61.ISBN 0-07-303938-1.

External links

[edit]
Wikimedia Commons has media related toHeaviside function.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Heaviside_step_function&oldid=1326603619"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp