If A and B are two sets such that n(A) = 4 and n(B) = 5, then the number of non-constant functions from A into B is
If X has m elements and Y has n elements, the number if onto functions are,
$$n^m-\left(\begin{array}{c}n\\ 1\end{array}\right)(n-1)^{m} + \left(\begin{array}{c}n\\ 2\end{array}\right)(n-2^{m}) + ................+(-1)^{n-1}\left(\begin{array}{c}n\\ n-1\end{array}\right)1^{m}$$
here m= 5 and n= 4 put the value and we get
620 Answer
Create a FREE account and get: