Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

The range of f(x)=sgn(x) is:
A. [-1,1]
B. {-1,0,1}
C. {-1}
D. {1}

Answer
VerifiedVerified
488.1k+ views
1 likes
like imagedislike image
Hint: Here, we have to tell the range of the function f(x)=sgn(x). For this, we will first define sgn(x). It is the signum function on x whose definition is given as sgn(x)={1,  x>00,  x=01,  x<0. Now that we know the definition of the function, we can see what values the function will take for different values of x, and hence we will get the range of the required function. Thus, we will get the answer.

Complete step-by-step solution
Here, we have to tell the range of f(x)=sgn(x).
Now, we know that sgn(x) means signum function on x and we also know that it is defined as:
sgn(x)={1,  x>00,  x=01,  x<0
Now, from the definition of the function, we can see that the function will give the value as 1 for all the positive values of x, the value as 0 for x=0 and the value as -1 for all negative values of x.
Hence, the signum function gives only three value values, which are -1, 0, and 1.
Hence, the range of the function f(x)=sgn(x) is {-1,0,1}.
Thus, option (B) is the correct option.

Note: If there is any confusion finding the range of the function, we can take the help of the graph of the function. The graph of a signum function is given as:
seo images

From the graph, we can clearly see that the range of f(x)=sgn(x) is {-1,0,1}.