Mathematics (JEE)Very hardJEE Advanced
The number of functions f: {1, 2, 3, 4, 5} → {1, 2, 3, 4, 5} with f(f(x)) = x for every x is:
- A. 25
- B. 26
- C. 11
- D. 16
Correct answer: B. 26
Such f is a permutation made of fixed points and swaps: the identity (1), one swap (C(5, 2) = 10) or two swaps (5 × 3 = 15). Total 26. Forgetting the identity gives 25; forgetting the two-swap case gives 11.
Practise more Sets, Relations and Functions questionsSets, Relations and Functions: notes and key points
More Sets, Relations and Functions questions
- The inverse of the bijection f: R → R, f(x) = (2ˣ − 2⁻ˣ)/2, is:
- For f(x) = x² − 2x, the number of real solutions of f(f(x)) = 3 is:
- In a class of 60, 35 students like Maths, 30 like Physics and 25 like Chemistry; 15 like Maths and Physics, 12 like Physics and Chemistry…
- In a universal set of 100 elements, n(A) = 80, n(B) = 70 and n(C) = 60. The least possible value of n(A ∩ B ∩ C) is:
- On the set of natural numbers, define aRb if a divides b². Then R is:
- The number of non-decreasing functions f: {1, 2, 3, 4} → {1, 2, 3, 4, 5} is: