Let F denote the set of all onto functions from A={a1,a2,a3,a4} to B={x,y,z}. A function f is chosen at random from F. The probability that f is defined such that x is only mapped once.
A
23
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
13
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
16
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
0
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C23 Let us first count the number of elements in F. Total number of functions from A to B is 34=81. The number of functions which contain exactly two elements in the range is 3⋅24=48. The number of functions which contain exactly one elements in its range is 3×14=3 . Thus, the number of onto functions from A to B is 81−48+3=36 [using principle of inclusion exclusion] ∴n(F)=36 Let f∈F. We now count the number of ways in which f−1(x) consists of single element. We can choose preimage of x in 4 ways. The remaining 3 elements can be mapped onto [y,z] is 23−2=6 ways. ∴f−1(x) will consists of exactly one element in 4×6=24ways. Thus, the probability of the required event is 24/36=2/3.