Sign Function

What is the sign function?

    In mathematics, the sign function, written as Sgn(x), is defined by $$ Sgn(x) = \frac{x}{|x|} $$ It returns:
  • $f(x) = 1$ if $x > 0$
  • $f(x) = -1$ if $x < 0$

It is called the sign function because it outputs the sign of the input value $x$.

Here is the graph of Sgn(x):

graph of the sign function Sgn(x)

At $x=0$ the function is undefined, since the origin is a point of discontinuity.

The left- and right-hand limits as $x$ approaches zero are not the same:

$$ \lim_{x \rightarrow 0^-} Sgn(x) = -1 $$

$$ \lim_{x \rightarrow 0^+} Sgn(x) = +1 $$

This jump from $-1$ to $+1$ produces a discontinuity at the origin.

From a mathematical standpoint, this is classified as a discontinuity of the first kind. By convention, the value at $x=0$ is often set to $f(0)=0$, which is the midpoint between the two one-sided limits.

example of a first-kind discontinuity

And so on.

 
 

Please feel free to point out any errors or typos, or share suggestions to improve these notes. English isn't my first language, so if you notice any mistakes, let me know, and I'll be sure to fix them.

FacebookTwitterLinkedinLinkedin
knowledge base

Functions

Mathematical Analysis

More Topics

Functions of Two Variables