Signum Function is an important function in mathematics that helps us to know the sign of a real number. It is usually expressed as a function of a variable and denoted either by f(x) or by sgn(x). It may also be written as a sign(x). Signum Function also has applications in various fields such as physics, electronics, and AI due to which it becomes much more important to study signum function.

Signum Function
A signum function is neither a one-one nor an onto function as various elements has the same image and a pre-image has various images in the co-domain and domain set respectively. In this article, we shall discuss the signum function in detail.
What is Signum Function?
Signum function is a special type of function in Mathematics that attributes +1 (positive one) and -1(negative one) for the positive, and negative values of the input. This means that if a positive value is supplied to the signum function, the output is always +1, and it is -1 if a negative value is supplied to the signum function. In the case of zero, the output is always zero.Â
Signum Function Definition
The signum function is mathematically defined as follows:
[Tex]\bold{sgn(x) = \begin{cases} \frac{|x|}{x}, & if~ x\neq0\\ 0, & if~x=0 \end{cases}}
[/Tex]
This function can be written in simplified form as follows:
[Tex]\bold{sgn(x) = \begin{cases} 1, & if~ x>0,\\ -1,& if~x<0,\\ 0, & if~x=0 \end{cases}}
[/Tex]
Domain and Range of Signum Function
The Domain of the signum function is all real numbers i.e. R and the co-domain and range of the signum function are [-1, 0, 1].

Signum Function Graph
The graph for the signum function has three components. It is a straight line parallel to the X-axis with a y-intercept of 1 for all positive values. The graph is a straight line parallel to X-axis intersecting Y axis at -1 whereas for 0 it is a simple point with coordinates (0, 0) i.e. origin. The graph for the signum function is shown below:

Properties of Signum Function
Signum function sgn(x) has the following properties:
- If sgn(x) = 1, x>0
- If sgn(x) = -1, x<0
- x = |x|sgn(x)
- sgn(x.y) = sgn(x).sgn(y)
- sgn(sgn(x)) = sgn(x)
- sgn(x+y) < sgn(x) + sgn(y) + 1
- If xâ 0, then sgn(x)sgn(1/x) = 1
- If xâ 0, then sgn(1/x) = 1/sgn(x)
- sgn(x)+sgn(y)-1 âĪ sgn(x+y)
- If xâ 0, then sgn(x)=sgn(1/x)
- If yâ 0, then sgn(x/y)=sgn(x)/sgn(y)
Applications of Signum Function
Signum function has various applications in different fields. Some of its applications are:
- It is used to find the sign of the real number
- It helps to project a complex number on the unit circle
- A positively or negatively inclined line with the X-axis is obtained when the signum function is integrated
- It can also be used to predict the probability of the occurrence of an event.
- It is also used for implementing the on and off switch in electronic devices.
- It also finds applications in a thermostat such that the system starts cooling above a specific temperature and stops cooling below a specific temperature.
Also Read
Solved Problems on Signum Function
Problem 1: Find the probable values of x if sgn(x2 – 5x + 6) = 1.
Answer:
We know that the signum function gives a value of 1 when the value supplied to it is greater than 0.
Thus x2 – 5x + 6 > 0
(x-3)(x-2) > 0
It is only possible if both (x-2) and (x-3) are either positive or negative.
Case 1: If both are positive
x can assume the values greater than 3 i.e. x â (3, â)
Case 2: If both are negative
x can assume the values lesser than 2 i.e. x â (-â, 2)
Thus the probable values of x are (-â, 2) U (3, â).
Problem 2: Find the probable values of x if sgn(2x2 – 7x + 6) = 1.
Answer:
We know that the signum function gives a value of 1 when the value supplied to it is greater than 0.
Thus 2x2 – 7x + 6 > 0
(2x-3)(x-2) > 0
It is only possible if both (x-2) and (2x-3) are either positive or negative.
Case 1: If both are positive
x can assume the values greater than 2 i.e. x â (2, â)
Case 2: If both are negative
x can assume the values lesser than 3/2 i.e. x â (-â, 3/2)
Thus the probable values of x are (-â, 3/2) U (2, â).
Problem 3: Calculate the value of the signum function for the values in the set [1, -0.5, 0.435, 0].
Answer:
We know that [Tex]sgn(x) = \begin{Bmatrix} 1, if~ x>0,\\ -1, if~x<0,\\ 0, if~x=0 \end{Bmatrix}Â
[/Tex]
Thus sgn(1) = 1,sgn(-0.5) = -1,
sgn(0.435) = 1, and
sgn(0) = 0
Problem 4: Calculate the value of sgn(1/x) if sgn(x) = -1.
Answer:
As, sgn(x)sgn(1/x) = 1 if x is not equal to zero.
Thus sgn(1/x)(-1) = 1
Therefore, sgn(1/x) = -1
Similar Reads
Function in Maths
A function in math is like a machine that takes an input, does something to it, and gives a specific output. For each input, thereâs exactly one output. Itâs a rule that connects each input to one and only one result. Functions are fundamental in fields like algebra and calculus. They help model rel
4 min read
Square Function
A square function is also a quadratic function. A square function is represented as f(x) = x2. The graph of the square function is in the shape of a parabola or U- shaped. Based on the coefficient of x2 (highest degree in a square function), the graph may be U- shaped or Inverted U- shaped. In this
9 min read
Functions in LISP
A function is a set of statements that takes some input, performs some tasks, and produces the result. Through functions, we can split up a huge task into many smaller functions. They also help in avoiding the repetition of code as we can call the same function for different inputs. Defining Functio
3 min read
Graphing Function
Graphing Function is the process of illustrating the graph (the curve) for the function that corresponds to it. Plotting simple functions like linear, quadratic, cubic, et al. examples doesnât pose a challenge; depicting functions of a more complex nature like rational, logarithmic, and others requi
13 min read
TypeScript Function
TypeScript functions are blocks of reusable code designed to perform specific tasks. They support object-oriented programming principles like classes and polymorphism. Functions can include type annotations for parameters and return values, enhancing code clarity, safety, and maintainability. Syntax
2 min read
Function Table in Math
A function table in math is a table used to organize and display the relationship between inputs (often called x values or independent variables) and their corresponding outputs (often called y values or dependent variables) in a function. The table shows how a specific function transforms one value
8 min read
Radical Function
A radical function is any function that includes a variable within a radical symbol (â). The most common types of radical functions involve square roots and cube roots, but they can include any root. These functions can be expressed in the form [Tex]f(x) = \sqrt[n]{P(x)}[/Tex]â, where P(x) is a poly
7 min read
ES6 Functions
The ES6 function is the same as a normal function, but ES6 has some differences. A function is a set of instruction that takes some inputs, do some specific task and produce output. A function is a set of codes that can be reused in the program at any time. Syntax: function func-name() { // body } f
6 min read
Invertible Functions
As the name suggests Invertible means "inverse", and Invertible function means the inverse of the function. Invertible functions, in the most general sense, are functions that "reverse" each other. For example, if f takes a to b, then the inverse, f-1, must take b to a. Table of Content Invertible F
15+ min read
Types of Functions
Functions are defined as the relations which give a particular output for a particular input value. A function has a domain and codomain (range). f(x) usually denotes a function where x is the input of the function. In general, a function is written as y = f(x). A function is a relation between two
15 min read