Combination of Functions

Let a function f f be defined as f : { 1 , 2 , 3 , 4 } { 1 , 2 , 3 , 4 } f: \{1,2,3,4\} \to \{1,2,3,4\} .

If f f satisfies f ( f ( x ) ) = f ( x ) f(f(x)) = f(x) for all x { 1 , 2 , 3 , 4 } x\in \{1,2,3,4\} , then the number of such functions M M and the probability of selecting a bijective function is N N .

Given that M + N M +N can be expressed as P Q \dfrac PQ , where P P and Q Q are coprime positive integers, find P m o d Q P \bmod Q .


The answer is 1.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

The only bijective function f : A = { 1 , 2 , 3 , 4 } A = { 1 , 2 , 3 , 4 } f: A = \{1,2,3,4\} \to A =\{1,2,3,4\} such that f ( f ( x ) = f ( x ) , x A f(f(x) = f(x), \space \forall x \in A is the identity function in A A , ( f = I d A f = Id_A ) ,because if f I d A f \neq Id_A then x A \exists x \in A such that f ( x ) x f(x) \neq x and then f ( f ( x ) ) = f ( x ) f(f(x)) = f(x) \Rightarrow that function is not bijective. So N = 1 M M + N = M 2 + 1 M = P Q N = \frac{1}{M} \Rightarrow M + N = \frac{M^2 + 1}{M} = \frac{P}{Q} due to gcd ( M 2 + 1 , M ) = 1 \text{ gcd (}M^2 + 1, M) = 1 because M M + M 2 + 1 = 1 -M \cdot M + M^2 +1 = 1 and hence P m o d Q = 1 P \bmod Q = 1

Note .- M 1 M \neq 1

I arrived at the answer that M = 29 and N = 1/29 . Can anyone verify whether it is correct or wrong .

Arghyadeep Chatterjee - 2 years, 7 months ago

Log in to reply

My answer was M = 41 and N = 1/41. I separated the problem into cases in which the functions mapped onto 1, 2, 3 and 4 elements in the image, using the fact that any number in the image that had a different number mapping to it required that the function would map that number to itself and then found the number of functions in each case using permutations and the product rule. I think my answer is correct but I'm not 100% sure. These kinds of questions that demand ambiguous answers bother me.

Tristan Goodman - 3 weeks, 2 days ago

I arrived at the answer that M = 29 and N = 1/29 . Can anyone verify whether it is correct or wrong

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...