Mathematics (JEE)HardCAT · MBA placement

How many functions from {1, 2, 3, 4, 5} to {1, 2, 3} have an image with exactly 2 elements?

  1. A. 30
  2. B. 60
  3. C. 90
  4. D. 150

Correct answer: C. 90

Choose the 2-element image in C(3,2) = 3 ways, and count onto functions from 5 elements to it: 2⁵ − 2 = 30, giving 3 × 30 = 90. Option 60 forgets to divide by the overcount when the image is chosen.

More Permutations, Combinations and Probability questions

Exams that ask this topic