Let a function be defined by
then, f is
then, f is
- (A)one-one but not onto
- (B)onto but not one-one
- (C)neither one-one nor onto
- (D)one-one and onto✓ Correct
Answer: (D)
Solution
Rewrite the function in terms of remainders modulo 4:
Every natural number falls into exactly one of these categories. The ranges are:
These three sets partition , and for each output value, there is exactly one input value. Therefore, f is both one-one and onto.
- For (even):
- For :
- For :
Every natural number falls into exactly one of these categories. The ranges are:
- (multiples of 4)
- (numbers ≡ 2 mod 4)
- (odd numbers)
These three sets partition , and for each output value, there is exactly one input value. Therefore, f is both one-one and onto.
JEE Main · 2022 · 28 Jun 2022 · Shift 1 · Single correct option