Question:

Let A = {x, y, z, u} and B = {a, b}. A function f : A → B is selected randomly. The probability that the function is an onto function is

Show Hint

When calculating the probability of selecting an onto function, use the principle of inclusion-exclusion. First, calculate the total number of functions, then subtract the cases where the function is not onto, and finally divide by the total number of functions to find the probability.

Updated On: Mar 31, 2025
  • \(\frac{5}{8}\)
  • \(\frac{7}{8}\)
  • \(\frac{1}{35}\)
  • \(\frac{1}{8}\)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Was this answer helpful?
2
13