Mathematics (JEE)Hard
How many functions f from {1, 2, 3, 4} to itself satisfy f(f(x)) = f(x) for every x?
- A. 192
- B. 41
- C. 49
- D. 36
Correct answer: B. 41
Such f fixes every value it takes. Choose the image set S (nonempty), then map the 4 points into S with each element of S mapped to itself: for each |S| = k, C(4,k)·k^(4−k). Summing gives the total. Enumerating confirms the key.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many non-negative integer solutions does a + b + c + d = 8 have if a ≤ 2 and b ≤ 3?
- Five identical coins are placed into three distinct boxes (a box may stay empty). In how many ways can this be done if the first box…
- A permutation of 1, 2, …, 6 is chosen at random. In how many permutations is exactly one number left in its original position?
- How many ordered pairs (x, y) with 1 ≤ x ≤ 12 and 1 ≤ y ≤ 12 satisfy the condition that x + y is a prime number?
- How many lattice paths from (0, 0) to (6, 3), using only unit steps right (R) and up (U), never go above the diagonal line y = x (every…
- How many lattice paths from (0, 0) to (4, 4) with unit steps R and U stay weakly below the diagonal (every point satisfies y ≤ x)?