ExamBro
ExamBro
GUJCET · Maths · Relations and Functions

Let \(f: {N} \rightarrow {N}\) be defined by \(f(n) = \begin{cases} \frac{n+1}{2} & ; \text{if } n \text{ is odd} \\ \frac{n}{2} & ; \text{if } n \text{ is even} \end{cases}\), for all \(n \in \mathbb{N}\) then \(f\) is ________.

  1. A One - one but not onto
  2. B One - one and onto
  3. C Many - one and onto
  4. D Neither one - one nor onto
Verified Solution

Answer & Solution

Correct Answer

(C) Many - one and onto

Step-by-step Solution

Detailed explanation

\(f(1) = \frac{1+1}{2} = 1\) \(f(2) = \frac{2}{2} = 1\)