Sign function

Sign function

In mathematics, the sign function is a mathematical function that extracts the sign of a real number. To avoid confusion with the sine function, this function is often called the signum function (after the Latin 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:

: sgn x = egin{cases}-1 & ext{if } x < 0, \0 & ext{if } x = 0, \1 & ext{if } x > 0. end{cases}

Properties

Any real number can be expressed as the product of its absolute value and its sign function:: x = sgn(x) cdot |x|,. qquad qquad (1)From equation (1) it follows that whenever "x" is not equal to 0 we have: sgn(x) = {x over |x,. qquad qquad (2)

The signum function is the derivative of the absolute value function (up to the indeterminacy at zero):: {d |x| over dx} = sgn(x) ,.

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,: {d sgn(x) over dx} = 2 delta(x) ,.

The signum function is related to the Heaviside step function "H"1/2("x") thus:: sgn(x) = 2 H_{1/2}(x) - 1 ,,where the 1/2 subscript of the step function means that "H"1/2(0) = 1/2. The signum can also be written using the Iverson bracket notation:: sgn x = - [x < 0] + [x > 0] ,.For k gg 0, a smooth approximation of the sign function is : sgn x approx anh(kx) ,.See Heaviside step function – Analytic approximations.

Complex Signum

The signum function can be generalized to complex numbers as:sgn z = frac{z} for any "z" ∈ mathbb{C} except "z" = 0. The signum of a given complex number "z" is the point on the unit circle of the complex plane that is nearest to "z". Then, for "z" ≠ 0,:sgn z = exp(iarg z),,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:: operatorname{csgn}(z)= egin{cases} 1 & ext{if } Re(z) > 0 vee (Re(z) = 0 land Im(z) > 0), \ -1 & ext{if } Re(z) < 0 vee (Re(z) = 0 land Im(z) < 0), \ 0 & ext{if } Re(z)=Im(z)=0. end{cases}We then have (except for "z" = 0)::operatorname{csgn}(z) = frac{z}{sqrt{z^2 = frac{sqrt{z^2{z}.

Generalized signum function

At real values of ~x~, it is possible to define a generalized function&ndash;version of the signum function, varepsilon (x), such that ~varepsilon(x)^2 =1~ everywhere, including at the point ~x=0~ (unlike ~sgn~, for which sgn(0)^2 =0~). This generalized signum allows construction of the algebra of generalized functions, but the price of such generalization is the loss of commutativity. In particular, the generalized signum anticommutes with the delta-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
] :varepsilon(x) delta(x)+delta(x) varepsilon(x) = 0~;in addition, ~varepsilon(x)~ cannot be evaluated at ~x=0~; and the special name, varepsilon is necessary to distinguish it from the function ~sgn~. (varepsilon(0) is not defined, but ~sgn(0) = 0~.)

ee also

*Negative and non-negative numbers
*Absolute value
*Rectangular function

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Sign (mathematics) — The plus and minus symbols are used to show the sign of a number. Not to be confused with the sine function in trigonometry. In mathematics, the word sign refers to the property of being positive or negative. Every nonzero real number is either… …   Wikipedia

  • Sign (disambiguation) — A sign is an entity which indicates another entity. This may refer to:*Commercial signage *Sign (display device) **Stop sign *Sign (semiotics)*Plus and minus signs, used to indicate negative and non negative numbers in mathematics **Sign function …   Wikipedia

  • sign — [sīn] n. [ME signe < OFr < L signum, a mark, token, prob. < base of secare, to cut (see SAW1): orig. sense prob. “incised mark”] 1. something that indicates a fact, quality, etc.; indication; token [black as a sign of mourning] 2. a) a… …   English World dictionary

  • sign — n 1 Sign, mark, token, badge, note, symptom can denote a sensible and usually visible indication by means of which something not outwardly apparent or obvious is made known or revealed. Sign is the most comprehensive of these terms, being… …   New Dictionary of Synonyms

  • Function (mathematics) — f(x) redirects here. For the band, see f(x) (band). Graph of example function, In mathematics, a function associates one quantity, the a …   Wikipedia

  • Sign — Any abnormality that indicates a disease process, such as a change in appearance, sensation, or function, that is observed by a physician when evaluating a patient. * * * 1. Any abnormality indicative of disease, discoverable on examination of… …   Medical dictionary

  • Sign language in infants and toddlers — This article is about the usage of sign language to communicate with infants and toddlers.DevelopmentIn the United States, teaching sign language to non signing families to communicate with their hearing infants and toddlers was developed by… …   Wikipedia

  • Sign of contradiction — s. Contradiction comes from the Latin contra , against and dicere , to speak. According to Catholic tradition, a sign of contradiction points to the presence of Christ or the presence of the divine due to the union of that person or reality with… …   Wikipedia

  • sign — I. noun Etymology: Middle English signe, from Anglo French, from Latin signum mark, token, sign, image, seal; perhaps akin to Latin secare to cut more at saw Date: 13th century 1. a. a motion or gesture by which a thought is expressed or a… …   New Collegiate Dictionary

  • Sign of the Takahe — The Sign of the Takahe is today a function centre and tea rooms built in the style of an English Manor House. Designed by J.G. Collins, construction was carried out between 1918 and 1948. The Takahe also provides one of the better panoramic views …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”