Mathematics (JEE)HardGATE CS
How many functions from {1, 2, 3, 4} to {1, 2, 3, 4} are NOT surjective?
- A. 232
- B. 208
- C. 240
- D. 256
Correct answer: A. 232
Total functions 4⁴ = 256; the surjective ones are the 4! = 24 permutations. So 256 − 24 = 232. Option 208 subtracts 48 by double-counting.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- 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?
- How many partitions of the integer 10 consist of distinct parts (no part repeated)?
- How many partitions of 12 have at most 3 parts?