A function f from the set of natural numbers to integers defined by f(n)= array ll n-1 2…

Mathematics · JEE Main · NTA ExamsSets, Relations and Functions

A function f from the set of natural numbers to integers defined by
\[f(n)=\left\{\begin{array}{ll} \frac{n-1}{2}, & \text { when } n \text { is odd } \\ -\frac{n}{2}, & \text { when } n \text { is even } \end{array}\right.\]
  1. onto but not one-one
  2. one-one and onto both
  3. neither one-one nor onto
  4. one-one but not onto

Answer

(B) one-one and onto both

Sign up free on Edukali to view the step-by-step worked solution and practice thousands of similar questions.

Related practice questions

More Sets, Relations and Functions questions · Browse all practice questions