f(x)=⎧⎨⎩1,ifx>00,ifx=0−1,ifx<0 is neither one-one nor onto.
Open in App
Solution
f(x)=⎧⎪⎨⎪⎩1ifx>00ifx=0−1ifx<0⎫⎪⎬⎪⎭.
It is seen that f(1)=f(2)=1, but 1≠2.
∴f is not one-one. Now, as f(x) takes only 3 values (1,0, or−1).
For the element −2 in co-domain R, there does not exist any x in domain R such that f(x)=−2 ∴f is not onto Hence, the signum function is neither one-one nor onto.