Definition:Signum Function
Jump to navigation
Jump to search
Definition
Let $X \subseteq \R$ be a subset of the real numbers.
The signum function $\sgn: X \to \set {-1, 0, 1}$ is defined as:
- $\forall x \in X: \map \sgn x := \sqbrk {x > 0} - \sqbrk {x < 0}$
where $\sqbrk {x > 0}$ etc. denotes Iverson's convention.
That is:
- $\forall x \in X: \map \sgn x := \begin {cases} -1 & : x < 0 \\ 0 & : x = 0 \\ 1 & : x > 0 \end {cases}$
Graph of Signum Function
The graph of the signum function is illustrated below:
Natural Numbers
The signum function $\sgn: \N \to \set {0, 1}$ is the restriction of the signum function to the natural numbers, defined as:
- $\forall n \in \N: \map \sgn n := \begin {cases} 0 & : n = 0 \\ 1 & : n > 0 \end{cases}$
Also known as
The signum of a number is known, informally and colloquially, as its sign.
Hence it can also be seen denoted as $\map {\mathrm {sign} } x$.
The concept of a number as being signed or unsigned is used in computer science to distinguish between integers and natural numbers.
Also see
- Results about the signum function can be found here.
Sources
- 1978: Ronald N. Bracewell: The Fourier Transform and its Applications (2nd ed.) ... (previous) ... (next): Frontispiece
- 1978: Ronald N. Bracewell: The Fourier Transform and its Applications (2nd ed.) ... (previous) ... (next): Chapter $4$: Notation for some useful Functions: Summary of special symbols: Table $4.1$ Special symbols
- 1978: Ronald N. Bracewell: The Fourier Transform and its Applications (2nd ed.) ... (previous) ... (next): Inside Back Cover
- 1997: Donald E. Knuth: The Art of Computer Programming: Volume 1: Fundamental Algorithms (3rd ed.) ... (previous) ... (next): $\S 1.2.3$: Sums and Products: Answers to Exercises: $46$
- 1998: David Nelson: The Penguin Dictionary of Mathematics (2nd ed.) ... (previous) ... (next): signum function
- 2008: David Nelson: The Penguin Dictionary of Mathematics (4th ed.) ... (previous) ... (next): signum function
- 2014: Christopher Clapham and James Nicholson: The Concise Oxford Dictionary of Mathematics (5th ed.) ... (previous) ... (next): signum function