Mathematics (JEE)HardJEE Main pattern
Let f: N → N be defined by f(n) = n + 1 if n is odd and f(n) = n − 1 if n is even. Then f is:
- A. one-one but not onto
- B. onto but not one-one
- C. both one-one and onto
- D. neither one-one nor onto
Correct answer: C. both one-one and onto
f swaps 1↔2, 3↔4, 5↔6, … Then f(f(n)) = n for every n, so f is its own inverse and therefore a bijection (one-one and onto).
Practise more Sets, Relations and Functions questionsSets, Relations and Functions: notes and key points
More Sets, Relations and Functions questions
- Consider the following statements for sets A, B, C in a universal set U: (1) A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C). (2) A − (B ∪ C) = (A − B) ∩…
- The number of functions f: {1, 2, 3, 4} → {1, 2, 3, 4} satisfying f(f(x)) = f(x) for every x is:
- The number of equivalence relations on {1, 2, 3, 4} that contain the pair (1, 2) is:
- On A = {1, 2, 3, 4}, the number of ordered pairs in the smallest equivalence relation containing (1, 2) and (2, 3) is:
- With [x] the greatest integer ≤ x, the domain of f(x) = 1/√([x]² − [x] − 6) is:
- Let f(x) = x/√(1 + x²). If fⁿ denotes f composed with itself n times, then f⁸(1) equals: