0 votes
84 views
in Chapter 1 Relations and Functions by (8.1k points)
edited
Find the number of all the onto functions from the set {1, 2, 3, …,n } to itself.

1 Answer

0 votes
by (8.1k points)
selected by
 
Best answer
Let
Y: 1 2 3 4 …. n
X: 1 2 3 4 …. n
One of the elements of set Y (say 1) may have any one of the pre-images 1, 2, 3, … n, i.e., in n ways.
The second element say 2 will have the pre-image in (n – 1) ways.
∴ The number of ways, we can have the pre-images
n x (n – 1)(n – 2) …. 3. 2. 1 = n!
Thus, there are nl possible onto functions.

Related questions

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

535 users

...