DM - Functions & Relations -Q3

+1 vote

Below function is defined from set of all positive integers to set of  all integers 

\text{f(n) = (n-1)/2 if n is odd, }

             \text{-n/2 if n is even }

Which of the following statements is true?

(A). It is one to one but not onto

(B). It is onto but not one-one

(C). It is bijection

(D). It is neither One-One nor Onto

asked Jun 24 in Discrete Maths by gbeditor (44,560 points)
reshown Jun 27 by gbeditor

1 Answer

+1 vote
Best answer

So, We have one-one and onto, hence, bijection.

answered 5 days ago by deepak-gatebook (112,760 points)
i checked from the mapping diagram