Let f:R+→{−1,0,1} defined by f(x)=sgn(x−x4+x7−x8−1) where sgn denotes signum function. Then f(x) is
many-one and into
f(x)=sgn(x−x4+x7−x8−1)
for xϵ(0,1); x−1<0, x7−x4<0
∴x−x4+x7−x8−1<0
For xϵ(1,∞); x<x4, x7<x8
∴x−x4+x7−x8−1<0
Also for x=1, x−x4+x7−x8−1=−1
Thus, x−x4+x7−x8−1<0 for all xϵR+
Hence, sgn(x−x4+x7−x8−1)=−1 ∀ xϵR+
Therefore, f(x) is many-one and into functions.