Mathematics (JEE)Very hardCMI entrance
How many functions f: {1, 2, 3, 4} → {1, 2, 3, 4} satisfy f(f(x)) = f(x) for every x?
- A. 40
- B. 64
- C. 24
- D. 41
Correct answer: D. 41
f∘f = f means every value is a fixed point. Choose the image set of size k (C(4,k) ways) and send the other 4 − k points to its k elements: Σ C(4,k)·k^(4−k) = 4 + 24 + 12 + 1 = 41. Option 40 forgets the identity map.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- 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?
- How many partitions of 15 have exactly 3 parts?
- A partition is called odd if all its parts are odd. How many partitions of 8 are odd?
- In how many ordered ways can 20 be written as a sum of 4 odd positive integers?