Let N be set of natural numbers, then the function , defined by
, is
Let N be set of natural numbers, then the function , defined by
, is
Solution
✅ Correct Option: 2
The function takes a natural number and:
- If is odd:
- If is even:
Examples:
To check if the function is injective, consider whether different inputs can produce the same output.
Since but , the function is not injective.
To check if the function is surjective, determine whether every natural number can be reached as an output.
For any natural number , let .
Then
Examples:
For :
For :
For :
Every natural number is reachable as an output, so the function is surjective.
The function is surjective but not injective.
Related questions:
2025: 22 May Shift 2
2025: 26 May Shift 2
2022: 16 July Shift 2
2026: 18 May Shift 1