Total number of function from A to A

  • MHB
  • Thread starter juantheron
  • Start date
  • Tags
    Function
In summary, the total number of functions from A to A can be calculated by taking the cardinality of set A and raising it to the power of itself. A function is a mathematical relationship between two sets, while a total function is a type of function where every element in the first set is paired with an element in the second set. The total number of functions from A to A can be infinite if the cardinality of set A is infinite. If the cardinality of set A increases, the total number of functions from A to A will also increase. There are no restrictions on the elements in set A when calculating the total number of functions from A to A.
  • #1
juantheron
247
1
If $A = \left\{1,2,3,4,5\right\}$. Then total number of function from $A$ to $A$

for which $f(f(x)) = x$
 
Mathematics news on Phys.org
  • #2
jacks said:
If $A = \left\{1,2,3,4,5\right\}$. Then total number of function from $A$ to $A$

for which $f(f(x)) = x$

Firstly, $f$ must be onto. Proof: suppose $f$ is not onto, so $f(x)$ never takes some value $y$. Then $f(f(y))$ cannot equal $y$ and the function fails to meet the requirements. Next, $f$ must be one-to-one. Proof: suppose $f$ is not one-to-one, so $f(x) = f(y)$ for some distinct $x$, $y$. Now assume towards a contradiction that $f(f(x)) = x$ for all $x$. Then $f(f(y)) = x$ for $x \ne y$, and so there can be no such function.

Hence $f$ must necessarily be a bijection, i.e. a permutation. We can now consider the group of permutations of five elements $S_5$ and specifically the elements $a$ such that $a^2 = e$. There are 26 such elements (25 elements of order 2 and the identity) so there are 26 functions. QED.​
 

FAQ: Total number of function from A to A

How do you calculate the total number of functions from A to A?

The total number of functions from A to A can be calculated by taking the number of elements in set A and raising it to the power of itself. This is known as the cardinality of the set, and can be written as |A|^|A| or A^A.

What is the difference between a function and a total function?

A function is a mathematical relationship between two sets, where each element in the first set is paired with exactly one element in the second set. A total function is a type of function where every element in the first set is paired with an element in the second set. In other words, there are no "missing" or undefined outputs in a total function.

Can the total number of functions from A to A be infinite?

Yes, the total number of functions from A to A can be infinite if the cardinality of set A is infinite. This means that there are an infinite number of ways to pair each element in set A with an element in set A.

How does the total number of functions from A to A change if the cardinality of set A increases?

If the cardinality of set A increases, the total number of functions from A to A will also increase. This is because there are more elements to pair with each other, resulting in a larger number of possible functions.

Are there any restrictions on the elements in set A when calculating the total number of functions from A to A?

No, there are no restrictions on the elements in set A. The total number of functions from A to A can be calculated for any set A, regardless of the type or number of elements it contains.

Similar threads

Back
Top