Mathematics (JEE)HardCAT · MBA placement
How many functions f from {1, 2, 3, 4, 5} onto {1, 2} (both values attained) satisfy f(1) != f(2)?
- A. 30
- B. 8
- C. 24
- D. 16
Correct answer: D. 16
The 30 surjections from a 5-set onto a 2-set are split by whether f(1) = f(2); enumerating them leaves 16 with f(1) != f(2).
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many 3-element subsets of {1, 2, ..., 7} can be listed in increasing order as a, b, c with b - a = c - b (an arithmetic progression)?
- How many permutations of {1, 2, 3, 4, 5} have at most one fixed point (values i with p(i) = i)?
- A 3-letter word is formed by choosing each letter independently and uniformly from {a, b, c}. What is the probability that at least two of…
- Two fair dice are rolled. What is the probability that the sum is 5 or 9?
- An integer is chosen uniformly from 1 to 50. What is the probability that it is a perfect square or a prime number?
- A 3-digit number is chosen uniformly from 100 to 999. What is the probability that it is divisible by 5?