Let set A={1,2,3,...,n}, and let set X be the collection of all the functions from A to A. We randomly pick a function f from X. (1). What is the probability that f is injective?

Respuesta :

Answer:

[tex]\frac{n1}{n^n}[/tex]

Step-by-step explanation:

Given that set A={1,2,3,...,n},

and  set X be the collection of all the functions from A to A.

From A to A functions should be such that each element in A has a unique image in A

Each element has n choices to select the image

So total number of functions from A to A=[tex]n*n*...ntimes\\=n^n[/tex]

If injective if one element in A is selected as image it should not be image for other element

So first element has n ways, second n-1 ways and so on

No .of injective functions =

[tex]n(n-1)....1\\=n![/tex]

So probability for injective funcitons

=[tex]\frac{n1}{n^n}[/tex]

ACCESS MORE
EDU ACCESS
Universidad de Mexico