Mathematics (JEE)HardJEE Main

The number of bijections f: {1, 2, 3, 4, 5} → {1, 2, 3, 4, 5} with f(1) ≠ 1 and f(2) ≠ 2 is:

  1. A. 44
  2. B. 72
  3. C. 78
  4. D. 96

Correct answer: C. 78

By inclusion–exclusion: 5! − 2·4! + 3! = 120 − 48 + 6 = 78. Forgetting to add back the 3! permutations fixing both gives 72; 44 is the number of derangements of all five.

More Sets, Relations and Functions questions

Exams that ask this topic