Solveeit Logo

Question

Question: Number of onto(surjective) function from A to B if \( n\left( A \right) = 6 \) and \( n\left( B \rig...

Number of onto(surjective) function from A to B if n(A)=6n\left( A \right) = 6 and n(B)=3n\left( B \right) = 3 is
A. 262{2^6} - 2
B. 363{3^6} - 3
C. 340340
D. 540540

Explanation

Solution

In order to find the number of onto(surjective) functions between A and B , let us assume the n(A)=mn\left( A \right) = m and n(B)=nn\left( B \right) = n . Since 1nm1 \leqslant n \leqslant m , use the direct formula for number of surjective functions as r=1n(1)nrnCrrm\Rightarrow \sum\nolimits_{r = 1}^n {{{\left( { - 1} \right)}^{n - r}}\,{}^n{C_r}{r^m}} by putting the values of m and n. Simplify the expression to get the required result.

Complete step by step answer:
We are given a relation A to B in which n(A)=6n\left( A \right) = 6 and n(B)=3n\left( B \right) = 3
n(A)n\left( A \right) basically denotes the number of elements in the A set and similarly n(B)n\left( B \right) denotes the number of elements in the B set. Let them be mm and nn respectively.
According to the question, we are supposed to calculate the number of onto or surjective functions that can be created between the elements of set A and B.
So surjective or Onto functions are the functions between A and B in which for every element of B, there is at least one or more than one element matching with A.
To calculate the number of such functions, there is a direct formula for 1nm1 \leqslant n \leqslant m
No of onto functions=
r=1n(1)nrnCrrm\Rightarrow \sum\nolimits_{r = 1}^n {{{\left( { - 1} \right)}^{n - r}}\,{}^n{C_r}{r^m}}
Putting m=6,n=3m = 6,n = 3 , we have
r=13(1)3r3Crr6 (1)23C1(1)6+(1)13C2(2)6+(1)03C3(3)6  \Rightarrow \sum\nolimits_{r = 1}^3 {{{\left( { - 1} \right)}^{3 - r}}\,{}^3{C_r}{r^6}} \\\ \Rightarrow {\left( { - 1} \right)^2}\,{}^3{C_1}{\left( 1 \right)^6} + {\left( { - 1} \right)^1}\,{}^3{C_2}{\left( 2 \right)^6} + {\left( { - 1} \right)^0}\,{}^3{C_3}{\left( 3 \right)^6} \\\
Remember the formula of C(n,r)=nCr=n!r!(nr)!C\left( {n,r} \right) = {}^n{C_r} = \dfrac{{n!}}{{r!\left( {n - r} \right)!}}
Simplifying the expression further, we get
(3)63×26+3=3((3)526+1) 540  \Rightarrow {\left( 3 \right)^6} - 3 \times {2^6} + 3 = 3\left( {{{\left( 3 \right)}^5} - {2^6} + 1} \right) \\\ \Rightarrow 540 \\\
So, the correct answer is Option D.

Note: 1. Relation: Let A and B are two sets. Then a relation R from set A to set B is a subset of A×BA \times B
Thus, R is a relation from A to B RA×B\Leftrightarrow R \subseteq A \times B
If R is a relation form a non-void set A to a non-void set B and if (a,b)R(a,b) \in R ,then we write
aRba\,R\,b which is read as “a is related to b by the relation R “. If (a,b)R(a,b) \notin R , then we write aRba\,{R}\,b and we say that a is not related to b by the relation R.
2. The formula of number of surjective functions is only value for 1nm1 \leqslant n \leqslant m , if m<nm < n , the number of onto functions is 0 as it is not possible to use all elements of BB .