I have the following problem:
Let $X$ be a set and $F$ the set of all bijections $f: X\to X$. We consider the composition $f \circ g$ as a binary operation on $F$. Describe precisely for which sets $X$ this operation is commutative.
So, I get that $g$ must also be a bijection if it is a member of $F$, although $f$ and $g$ are not necessarily inverses of each other. I'm thinking the operation is commutative for the identity elements, since each $f$ and $g$ is an injection, but I'm not entirely sure if
- I'm 100% right about that, and there are absolutely no other sets.
- How to prove it rigorously.
Any assistance you could offer would be genuinely appreciated! Thanks.
If $X$ has at least three elements $\{x,y,z\} \subset X$ then you can find two bijections $f$ and $g$ which do not commute. Just take $f$ to be the map which swaps $x$ and $y$ and $g$ be the map which swaps $y,z$.
For sets with $0$, $1$ or $2$ elements it is easy to see that bijections (i.e. permutations) do commute (by direct computation):