Identify the function f(x) based on the description given below.
1. Its domain is R and range is {-1, 0, 1}
2. f(x) is +ve when x > 0, f(x) is negative when x is less than zero.
3. It is an odd function
4. The graph of the function breaks (discontinuous) at x = 0
Signum function
We will eliminate the options using the conditions given. Its domain is R and range is {-1, 0, 1}. Options D and E, (|x|x) and (x|x|), are not defined when x = 0. So these two can't be the answer Range of sin x is [-1, 1]. This includes the values {-1, 0, 1}, but it has other values between -1 and 1. So the range is not same. ⇒ sin x can't be the function |x| is the next option. Its range is [0, ∞). So |x| can't be the function.
Next option signum function satisfies all the conditions given.