- Sign function
In
mathematics , the sign function is a mathematical function that extracts the sign of areal number . To avoid confusion with thesine function, this function is often called the signum function (after theLatin form of "sign").In mathematical expressions the sign function is often represented as sgn.
Definition
The signum function of a
real number "x" is defined as follows::
Properties
Any real number can be expressed as the product of its
absolute value and its sign function::From equation (1) it follows that whenever "x" is not equal to 0 we have:The signum function is the
derivative of the absolute value function (up to the indeterminacy at zero)::The signum function is differentiable with derivative 0 everywhere except at 0. It is not differentiable at 0 in the ordinary sense, but under the generalised notion of differentiation in distribution theory, the derivative of the signum function is two times the
Dirac delta function ,:The signum function is related to the
Heaviside step function "H"1/2("x") thus::where the 1/2 subscript of the step function means that "H"1/2(0) = 1/2. The signum can also be written using theIverson bracket notation::For , a smooth approximation of the sign function is :See Heaviside step function – Analytic approximations.Complex Signum
The signum function can be generalized to
complex numbers as:for any "z" ∈ except "z" = 0. The signum of a given complex number "z" is the point on theunit circle of thecomplex plane that is nearest to "z". Then, for "z" ≠ 0,:where arg is the complex argument function.For reasons of symmetry, and to keep this a proper generalization of the signum function on the reals, also in the complex domain one usually defines sgn 0 = 0.Another generalization of the sign function for real and complex expressions is "csgn", [Maple V documentation. May 21 1998] which is defined as::We then have (except for "z" = 0)::
Generalized signum function
At real values of , it is possible to define a
generalized function –version of the signum function, such that everywhere, including at the point (unlike , for which ). This generalized signum allows construction of thealgebra of generalized functions , but the price of such generalization is the loss ofcommutativity . In particular, the generalized signum anticommutes with thedelta-function ,cite journal
author=Yu.M.Shirokov
title = Algebra of one-dimensional generalized functions
journal=TMF
year=1979
volume=39
issue=3
pages=471–477
url=http://springerlink.metapress.com/content/w3010821x8267824/?p=5bb23f98d846495c808e0a2e642b983a&pi=3] :in addition, cannot beevaluate d at ; and the special name, is necessary to distinguish it from the function . ( is not defined, but .)ee also
*
Negative and non-negative numbers
*Absolute value
*Rectangular function References
Wikimedia Foundation. 2010.