Mathematics (JEE)Very hardJEE Main · JEE Advanced

The number of onto functions f: {1, 2, 3, 4, 5} → {1, 2, 3} with f(1) = 1 is:

  1. A. 48
  2. B. 50
  3. C. 60
  4. D. 36

Correct answer: B. 50

There are 3⁵ − 3·2⁵ + 3 = 150 onto functions, and by symmetry among the three values exactly one-third have f(1) = 1, giving 50. Directly: 2, 3, 4, 5 must cover {2, 3}, so 3⁴ − 2·2⁴ + 1 = 50.

More Sets, Relations and Functions questions

Exams that ask this topic