Solve for one-one.
Signum Function f:R→R, given by f(x)=⎧⎪⎨⎪⎩1for x>00for x=0−1for x<0
f(1)=f(2)=1
⇒f(x1)=f(x2)=1 for x>0
But x1≠x2
Since, different elements have the same image 1, for x>0 and −1 for x<0
∴f is not one-one.
Solve for onto:
f(x) has only 3 values, {−1,0,1} in its range. Other than these 3 values of co-domain R has no preimage in its domain.
f is not onto.
Hence, Signum Function is neither one-one nor onto.