wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Let A be a set of n distinct elements. Then the total number of distinct functions from A to A is ____ and out of these ____are onto functions.

Open in App
Solution

Let A={a1,a2,...an}.
We can associate each ai(1in) with any of a1,a2,...an.
Thus, the number of function from A to A is nn.

Since A is finite, a function f:AA is onto if and only if it is one-to-one.
For a1 we have n choices; a2, there are (n1) choices and so on.
Thus, required number of onto functions is n(n1)...2.1=n!

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Cartesian Product
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon