The Signum Function — Cheat sheet

Choose “Save as PDF” in the print dialog.
On this page

Key method

sgn⁡(x)={−1,x<0,0,x=0,1,x>0.\operatorname{sgn}(x)=\begin{cases}-1,&x<0,\\0,&x=0,\\1,&x>0.\end{cases}

For x≠0x\ne0, it equals x/∣x∣x/|x|. At zero, that quotient is undefined, so the separate definition is essential.

Example

The left-hand limit at zero is −1-1 and the right-hand limit is 11. Consequently, no two-sided limit exists there, even though the function value 00 is defined. Away from zero, the function is locally constant and its derivative is zero.

Avoid this mistake

Defining a value at a jump cannot make the two one-sided limits equal. The derivative of ∣x∣|x| is signum only for x≠0x\ne0; ∣x∣|x| is not differentiable at zero.