Exams › JEE Advanced › Maths
Correct answer: surjective but not injective
Check f(1) = (1+1)/2 = 1 and f(2) = 2/2 = 1, so two distinct inputs map to 1 => not injective. For surjectivity, any m in N is achieved: f(2m) = m (using the even branch). So every natural number is in the range => surjective. Hence f is surjective but not injective.