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

Mathematics · JEE Main · NTA ExamsSets, Relations and Functions

A function \(\text { f }\), from the set of natural numbers to integers, defined by

\(f(n)\) = \[\left\{\begin{array}{l} \frac{n-1}{2}, \text { when } n \text { is odd } \\ -\frac{n}{2}, \text { when } n \text { is even } \end{array}\right.\], is

  1. One-one but not onto
  2. Onto but not one-one
  3. One-one and onto both
  4. Neither one-one nor onto

Answer

(C) 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