How Many Functions Meet the Fixed Point Criterion?

  • MHB
  • Thread starter Saitama
  • Start date
  • Tags
    Functions
In summary, the problem asks for the number of functions that are into and satisfy a given condition. The question is clarified to ask for the number of functions that are into and satisfy at least one condition. The number is found to be 435.
  • #1
Saitama
4,243
93
Problem:
Let $f:\{1,2,3,4,5\}\rightarrow \{1,2,3,4,5\}$, then the number of functions which are into and satisfy $f(i)=i$ for at least one $i=1,2,3,4,5$ are

A)435
B)2121
C)2025
D)None of these

Attempt:
Looking at the opposite case i.e where $f(i)=i$ for at least one of the given i's is not satisfied, I can find the number of derangements but I am not sure if it helps. I need a few hints to begin with. My mind goes blank on these combinatorics problems. (Doh)

Any help is appreciated. Thanks!
 
Physics news on Phys.org
  • #2
Keyword : Derangement function.

Count the number of permutations (this is just $5!$) and then exclude the derangement.
 
  • #3
mathbalarka said:
Keyword : Derangement function.

Count the number of permutations (this is just $5!$) and then exclude the derangement.

Hi mathbalarka! :)

I am not sure but number of possible functions are $5^5$ or perhaps I misunderstood what you meant by the number of permutations.

The derangement is $!5=44$.

Thanks!
 
  • #4
Pranav said:
I am not sure but number of possible functions are $5^5$

Then we are talking of different things. Is $f(\{1, 2, 3, 4, 5\}) = \{2, 2, 2, 2, 2\}$ allowed?
 
  • #5
mathbalarka said:
Then we are talking of different things. Is $f(\{1, 2, 3, 4, 5\}) = \{2, 2, 2, 2, 2\}$ allowed?

Yes.
 
  • #6
Pranav said:
Yes.

Then you are obviously correct.
 
  • #7
mathbalarka said:
Then you are obviously correct.

?

I still have no idea about approaching this problem. :(
 
  • #8
Neither do I. This new interpretation seems harder than mine.
 
  • #9
Pranav said:
Problem:
Let $f:\{1,2,3,4,5\}\rightarrow \{1,2,3,4,5\}$, then the number of functions which are into and satisfy $f(i)=i$ for at least one $i=1,2,3,4,5$ are

A)435
B)2121
C)2025
D)None of these

Attempt:
Looking at the opposite case i.e where $f(i)=i$ for at least one of the given i's is not satisfied, I can find the number of derangements but I am not sure if it helps. I need a few hints to begin with. My mind goes blank on these combinatorics problems. (Doh)

Any help is appreciated. Thanks!

Hey Pranav! :)

Let's indeed look at the opposite case, where $f(i) \ne i$ for each $i$.
Then $1$ can be mapped to 4 possible numbers and so can any of the other numbers.
Therefore the opposite case contains $4^5$ functions.
 
  • #10
I like Serena said:
Hey Pranav! :)

Let's indeed look at the opposite case, where $f(i) \ne i$ for each $i$.
Then $1$ can be mapped to 4 possible numbers and so can any of the other numbers.
Therefore the opposite case contains $4^5$ functions.

Hi ILS! :)

Yes, agreed, so the total number of functions where $f(i)=i$ for at least one $i$ are $5^5-4^5=2101$. This brings me close to option C. Since I need the into functions, I have to subtract the onto ones but how should I do it? :confused:
 
Last edited:
  • #11
Pranav said:
Yes, agreed, so the total number of functions where $f(i)=i$ for at least one $i$ are $5^5-4^5=2101$. This brings me close to option C. Since I need the into functions, I have to subtract the onto ones but how should I do it? :confused:
I think that there is a typo in the question. I thinkm 2101 is correct.
Using inclusion/exclusion I get [tex]\sum\limits_{k = 1}^5 {{{\left( { - 1} \right)}^{k + 1}}\binom{5}{k}{{\left( 5 \right)}^{5 - k}}} = 2101[/tex]. See here
 
  • #12
Sorry for the late reply. :eek:

Plato said:
I think that there is a typo in the question. I thinkm 2101 is correct.
Using inclusion/exclusion I get [tex]\sum\limits_{k = 1}^5 {{{\left( { - 1} \right)}^{k + 1}}\binom{5}{k}{{\left( 5 \right)}^{5 - k}}} = 2101[/tex]. See here

Hi Plato!

I found the number of functions where $f(i)=i$ for at least one $i$ by $5^5-4^5=2101$ but I don't see how it deals with the into functions. I mean there can be onto functions too in these 2101 functions. How do I eliminate those? :confused: :confused:

Please help, I have got a mindblock here. (Sweating)
 
  • #13
Pranav said:
I found the number of functions where $f(i)=i$ for at least one $i$ by $5^5-4^5=2101$ but I don't see how it deals with the into functions. I mean there can be onto functions too in these 2101 functions. How do I eliminate those?

That is a matter of vocabulary. If [tex]f:A\to B[/tex] it is easy to find text material says the [tex]f[/tex] maps [tex]A[/tex] into [tex]B.[/tex].

On the other hand, to say [tex]f[/tex] is onto means that [tex]f(A)=B[/tex].

I am not saying that there is no author who uses into in some special way. I am just saying that I am not aware of such.

To see what I mean look at this.
 
Last edited:
  • #14
Plato said:
That is a matter of vocabulary. If [tex]f:A\to B[/tex] it is easy to find text material says the [tex]f[/tex] maps [tex]A[/tex] into [tex]B.[/tex].

On the other hand, to say [tex]f[/tex] is onto means that [tex]f(A)=B[/tex].

I am not saying that there is no author who uses into in some special way. I am just saying that I am not aware of such.

To see what I mean look at this.

Thank you Plato! I just saw my textbook and yes, there is really no special use of "into".

I remember my teacher saying that into functions are those where range is not equal to co-domain but I am unable find this definition anywhere, I will have to talk about this to my teacher. Thank you once again Plato. :)
 

FAQ: How Many Functions Meet the Fixed Point Criterion?

What is the definition of a function?

A function is a mathematical rule that assigns exactly one output value to each input value. It can be represented by a set of ordered pairs, a graph, or an algebraic expression.

How do you determine the number of functions?

The number of functions can be determined by using the formula 2^n, where n is the number of elements in the input set. This formula assumes that the output set is unlimited and the inputs can be repeated.

What is the difference between a one-to-one function and an onto function?

A one-to-one function is a function in which each input has a unique output, while an onto function is a function in which every element in the output set is mapped to by at least one element in the input set.

How do you find the number of one-to-one functions?

The number of one-to-one functions can be found using the formula n!, where n is the number of elements in the input set. This formula assumes that the output set is also the same size as the input set and that the inputs cannot be repeated.

Can a function have more than one input or output?

Yes, a function can have more than one input and output. This type of function is called a multivariable function and can be represented by a set of ordered pairs or an algebraic expression with multiple variables.

Similar threads

Replies
7
Views
3K
Replies
23
Views
1K
Replies
2
Views
1K
Replies
2
Views
2K
Replies
5
Views
1K
2
Replies
69
Views
6K
Replies
3
Views
1K
Back
Top