Let N denote the set of all non-negative integers and Z denote th

Let N denote the set of all non-negative integers and Z denote th
| Let N denote the set of all non-negative integers and Z denote the set of all integers. The function f : Z N given by f(x) = |x| is :

A. One-one but not onto

B. Onto but not one-one

C. Both one-one and onto

D. Neither one-one nor onto

Please scroll down to see the correct answer and solution guide.

Right Answer is: B

SOLUTION

f : Z  N and f(x) = |x|

when we draw a parallel line to x-axis.

Then,

It cuts the curve into more than one point.

Therefore, f(x) = |x| is not one-one.