Question
Question: Let A be a set of 4 elements. From the set of all functions A to A, the probability that it is an in...
Let A be a set of 4 elements. From the set of all functions A to A, the probability that it is an into function is?
(a) 323
(b) 0
(c) 3229
(d) 1
Solution
We start solving the problem by finding the total number of functions that can be formed from A to A using the fact that the total number of functions that can be formed from a set C to C where C is having ‘n’ elements is nn functions. We then find the total number of functions that can be formed from A to A using the fact that the total number of into functions that can be formed from a set C to C where C is having ‘n’ elements is nn−n! functions. We then substitute the obtained values in the formula probability = Total number of functions from A to ATotal number of into functions from A to A to get the required answer.
Complete step by step answer:
According to the problem, we are given that A is a set consisting of 4 elements. We need to find the probability that the set of functions from A to A is an into function.
Let us find the total number of functions from sets A to A can be formed. We know that the total number of functions that can be formed from a set C to C where C is having ‘n’ elements is nn functions.
So, the total number of functions that can be formed from A to A is 44=256 functions ---(1).
We know that the total number of into functions that can be formed from a set C to C where C is having ‘n’ elements is nn−n! functions, where n!=n×(n−1)×(n−2)×......×3×2×1.
So, the number of into functions that can be formed from A to A is 44−4!=256−(4×3×2×1)=256−24=232 functions ---(2).
Now, let us find the probability that the functions from A to A is an into function.
We know that probability = Total number of functions from A to ATotal number of into functions from A to A.
⇒ Probability = 256232=3229.
We have found the required probability as 3229.
So, the correct answer is “Option c”.
Note: We should not confuse into function with the onto function while solving this problem. We can also find the total number of into functions by subtracting the total number of onto functions from the total number of functions. We should know that the value of probability is between 0 and 1. Similarly, we can expect problems to find the probability that the functions from A to A are many to one function.