Mathematics (JEE)Moderate
A function f from {1, 2, 3, 4} to itself is chosen uniformly at random among all 4⁴ functions. What is the expected number of points x with f(x) = x?
- A. 1
- B. 1/4
- C. 4
- D. 2
Correct answer: A. 1
Each point is fixed with probability 1/4, so by linearity the expected number of fixed points is 4 · 1/4 = 1. The value 4 counts all points without checking the fixing condition.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A permutation of 1, 2, 3, 4, 5 is chosen uniformly at random. What is the probability that exactly one number stays in its own position?
- Lattice paths from (0, 0) to (4, 2) use unit steps right or up. How many of these paths pass through the point (2, 0)?
- Three distinct numbers are chosen at random from {1, 2, …, 9}. What is the probability that their sum is 15?
- Two fair dice are thrown. Given that the first die shows an even number, what is the probability that the sum of the two numbers is at…
- A fair die is rolled repeatedly until an even number appears. What is the expected number of rolls?
- Three distinct numbers are chosen at random from {1, 2, …, 12}. What is the probability that exactly one of them is a multiple of 3?