1.

A function f from the set of natural number to integers defined by `f(n)={{:(,(n-1)/(2),"when n is odd"),(,-(n)/(2),"when n is even"):}`A. neither one-one nor ontoB. one-one but not ontoC. one but not one-oneD. one-one and onto both

Answer» Correct Answer - D
Clearly, range (f)=Z (Set of integers)
So,f is onto
We observe that distinct odd natural numbers are mapped to distinct non-negative integers and distinct even natural numbers are mapped to distinct negative integers.
So, f is one-one
Hence, f is both one-one and onto.


Discussion

No Comment Found