Given an example of a map
(i) which is one-one but not onto.
(ii) which is not one-one but onto.
(iii) which is neither one-one nor onto.
(i) Let f:N→N, be a mapping defined by f(x)=2x
which is one-one
For f(x1)=f(x2)
⇒2x1=2x2x1=x2
Further f is not onto. as for 1∈N, there does not exist any x in such that f(x)=2x=1.
(ii) Let f:N→N,given by f(1)=f(2)=1 and f(x)=x-1 for every x > 2. f is not one-one as f(1)=f(2)=1. But f is onto.
(iii) The mapping f:R→R defined as f(x)=x2, is neither one-one nor onto.