Mathematics (JEE)HardJEE Advanced
How many surjective functions are there from a 5-element set onto a 3-element set?
- A. 243
- B. 240
- C. 150
- D. 125
Correct answer: C. 150
Surjections = 3⁵ − 3·2⁵ + 3·1⁵ = 243 − 96 + 3 = 150 by inclusion–exclusion. Option 243 counts all functions; 240 subtracts only the 3 constant maps.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- What is the Stirling number of the second kind S(6, 3), the number of ways to partition a 6-element set into 3 non-empty unlabelled blocks?
- How many functions from {1, 2, 3, 4} to {1, 2, 3, 4} are NOT surjective?
- How many functions f from {1, 2, 3, 4, 5} to {1, 2, 3} are onto and satisfy f(1) = 1?
- How many partitions of the set {1, 2, 3, 4, 5, 6} into 3 non-empty blocks have 1 and 2 in the same block?
- How many functions f: {1, 2, 3, 4} → {1, 2, 3, 4} satisfy f(f(x)) = f(x) for every x?
- How many functions f: {1, 2, 3, 4} → {a, b, c} satisfy |f⁻¹(a)| = 2?