Exams › JEE Main › Maths
Consider the mapping f from the natural numbers to the integers given by f(n) = (n - 1)/2 for odd n, and f(n) = -n/2 for even n. Which of the following best describes f?
- neither injective nor surjective
- injective but not surjective
- surjective but not injective
- both injective and surjective
Correct answer: neither injective nor surjective
Solution
The function f is not injective because multiple natural numbers can map to the same integer (e.g., f(1) = 0 and f(2) = -1), and it is not surjective because not all integers are covered (e.g., there is no natural number n such that f(n) = -1.5).
Related JEE Main Maths questions
⚔️ Practice JEE Main Maths free + battle 1v1 →