Definition (permutation)
A permutation is a bijective function $f: X\to X$. This means that $f$ has an inverse $f^{-1}:X\to X$ where $$ f\circ f^{-1} = Id_X = f^{-1}\circ f. $$
A permutation is a bijective function $f: X\to X$. This means that $f$ has an inverse $f^{-1}:X\to X$ where $$ f\circ f^{-1} = Id_X = f^{-1}\circ f. $$