I am learning some basic group theory, and just getting my head around permutations. In particular, I want to consider the counter-example noted in the title.
Let $X = \{1, 2, 3\}$, then why is $\sigma$, where $$ \sigma = \left(\begin{matrix} 1 & 2 \\ 2 & 3\end{matrix}\right),$$ not a permutation?
The reason I have in my notes, which I happily accepted during class, is that the above permutation is not "closed"; that is, it does not map $Y \mapsto Y$ where $Y = \{1, 2\}$. But it does $X \mapsto X$, if I define $X$ as above.
So is it not a permutation on $X$?
We know that all permutations are bijective. For injectivity, we can checik if $\sigma$ has an inverse, and it does:
$\sigma^{-1} = \left(\begin{matrix}2 & 3 \\ 1 & 2\end{matrix}\right).$
However, I think that $\sigma$ is not surjective, since it does not map every element of $X$ to some other element in $X$. So, $\sigma$ is not bijective.
Am I understanding the counter-example correctly?