It is given that f:R⋅→R⋅ is defined by f(x)=1x.
One-one.
f(x)=f(y)
⇒1x=1y
⇒x=y
∴f is one-one.
Onto:
It is clear that for y∈R⋅, there exists x=1y∈R⋅ (Exists as y≠=0) such that f(x)=11y=y
∴f is onto.
Thus, the given function (f) is one-one and onto.
Now, consider function $g: N \rightarrow R\cdot $ defined by
g(x)=1x
we have,
g(x1)=g(x2)⇒1x1=1x2⇒x1=x2
⇒g is one-one.
Further, it is clear that g is not onto as for 1.2∈R⋅ there does not exit any x in N such that g(x)=11.2
Hence, function g is one-one but onto.