Mathematics (JEE)Very hardJEE Main · JEE Advanced
The number of functions f : {1, 2, 3, 4, 5} → {1, 2, 3, 4, 5} satisfying f(f(x)) = x for every x is:
- A. 16
- B. 10
- C. 26
- D. 120
Correct answer: C. 26
Such an f is a bijection made only of fixed points and swapped pairs. With 0 pairs: 1; 1 pair: ⁵C₂ = 10; 2 pairs: 5 × 3 = 15 (choose the fixed point, then pair the other four in 3 ways). Total 1 + 10 + 15 = 26.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- Two players each throw a pair of fair dice once. The probability that their totals are equal is:
- A 4-digit PIN (digits 0–9, repetition allowed) is chosen at random. The probability that it uses exactly two different digits is:
- The number of non-congruent triangles with integer side lengths and perimeter 12 is:
- The number of ways of placing 3 identical rooks on a 4 × 4 chessboard so that no two of them are in the same row or the same column is:
- A bag contains 5 balls, and the number of white balls in it is equally likely to be 0, 1, 2, 3, 4 or 5. A ball is drawn, found to be white…
- The number of ways of choosing two disjoint non-empty subsets of {1, 2, 3, 4, 5} (the pair being unordered) is: