Combinatoric algebra - Part 1

S = { 1 , 2 , 3 } , f : S S S=\{1,2,3\}, f:S→S satisfies the property: x S , f ( f ( x ) ) = f ( x ) \forall x∈S, f(f(x))=f(x) .

How many different functions are there for f ( x ) f(x) ?

Note: Can you generalize the result for S = { 1 , 2 , 3 , . . . , n } S=\{1,2,3,...,n\} ?

1 8 4 10

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.

1 solution

Alex Burgess
Jul 9, 2019

Define stationary x S x \in S s.t. f ( x ) = x f(x) = x .

f ( y ) = z z f(y) = z \implies z is stationary. Hence the number of stationary values of f ( x ) f(x) is 1 \geq 1 .

Assume f ( x ) f(x) has i i stationary values. There are ( n i ) \binom{n}{i} chooses for these.

The n i n - i non-stationary numbers have i i chooses for their image.

Therefore there are ( n i ) i n i \binom{n}{i} i^{ n - i } unique functions f ( x ) f(x) with exactly i i stationary values.

Summing over all possible values of i i :

Total = i = 1 n ( n i ) i n i = \sum_{i = 1}^{n} \binom{n}{i} i^{ n - i } . (Unsure right now if this will give a nice answer).


For n = 3 n = 3 :

Total = i = 1 3 ( 3 i ) i 3 i = ( 3 1 ) 1 2 + ( 3 2 ) 2 1 + ( 3 3 ) 3 0 = 3 + 6 + 1 = 10 = \sum_{i = 1}^{3} \binom{3}{i} i^{ 3 - i } = \binom{3}{1} 1^{2} + \binom{3}{2} 2^{1} + \binom{3}{3} 3^{0} = 3 + 6 + 1 = 10 .

Nice generalisation (although "fixed point" would be a more standard term than "stationary value").

Calculating a few terms using your sum shows that this sequence is known to OEIS, here . No neat closed form is given there, but some interesting equivalent definitions of the sequence are.

Chris Lewis - 1 year, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...