(i) f(x) = , If f(x1) = f(x2) ⇒ =
⇒ x1 = x2
Each x ∈ R, has a unique image in codomain.
⇒ f is one-one.
(ii) For each y belonging codomain, then y = or x = , there is a unique pre-image of y.
⇒ f is onto.
(b) When domain R, is replaced by N, codomain R, remaining the same, then f : N → R,
If f(x1) = f(x2)
⇒ =
⇒ n1 = n2 where n1, n2 ∈ N.
⇒ f is one-one.
But for every real number belonging to codomain may not have a pre-image in N.
e.g. = ∉ N
∴ f is not onto.