Sign Function

In mathematics and especially in computer science, the sign function is a logical function which extracts the sign of a real number. To avoid confusion with the sine function, this function is often called the signum function. The sign function is often represented as sgn and can be defined thus:
\sgn x = \left\{ \begin{matrix}
-1 & : & x < 0 \\ 0 & : & x = 0 \\ 1 & : & x > 0 \end{matrix} \right. Any real number can be expressed as the product of its absolute value and its sign function:
x = ( \sgn x ) |x|. \qquad \qquad (1)
From equation (1) it follows that
\sgn x = {x \over |x|} \qquad \qquad (2)
but equation (2) is indeterminate when x is set to zero. The signum function is the derivative of the absolute value function (up to the indeterminacy at zero):
{d |x| \over dx} = {x \over |x|}.
Also, the derivative of the signum function is two times the Dirac delta function,
{d \ \sgn x \over dx} = 2 \delta (x).
The signum function is related to the Heaviside step function h0.5(x) thus
\sgn x = 2 h_{0.5}(x) - 1,
where the 0.5 subscript of the step function means that h_{0.5}(0) = 0.5.

See also

 

<< PreviousWord BrowserNext >>
sunday league football
dassault etendard
joey kramer
kunststiftung nrw
in search of...
brad whitford
ser
little lulu
grand palace, bangkok
universit du qubec trois rivires
nationwide building society
ray tabano
irish bulletin
tiffany towers
ong teng cheong
lagging strand
guarneri quartet
rnase h
ronquil
dna polymerase i
penobscot river
met
gallia narbonensis
dnab helicase
william weld
baluran
wedge issue
black 47
firedamp
robert barton
dnaa
eyeglass prescription
kevin h. white
list of michigan related topics
cooperativity
filter binding assay
bangs
daybreak star cultural center
spermatogenesis
list of national parks of slovakia
consett
metlink
the synthetic dream foundation
dnac