Mathematics (JEE)ModerateCAT · MBA placement

How many surjective functions are there from {1, 2, 3, 4, 5} onto {1, 2}?

  1. A. 30
  2. B. 32
  3. C. 10
  4. D. 20

Correct answer: A. 30

Surjections onto a 2-element set: 2⁵ − 2 = 30. Option 32 is 2⁵, which allows functions missing an element.

More Permutations, Combinations and Probability questions

Exams that ask this topic