I'm currently studying multilinear algebra and I felt the need to see just the basics of permutations since it's used to study symmetric and antisymmetric tensors. My doubt was: given some permutation how to find it's sign? I mean, how to find the number of inversions?
Searching this on google I've found Wikipedia's article on permutations and so I've read there about "disjoint cycles". I've found this method of finding the sign of a permutation very straightforward, however I'm still confused on how to work with it.
For instance, if we have:
$$\sigma=\begin{pmatrix}1 & 2 & 3 & 4 & 5 \\ 3 & 4 & 5 & 2 & 1\end{pmatrix}$$
Then $\sigma(1)=3$, $\sigma(3)=5$ and $\sigma(5)=1$ while $\sigma(2)=4$ and $\sigma(4)=2$. So I understand pretty easily that this is equivalent to writting
$$\sigma=\begin{pmatrix}1 & 2 & 3 & 4 & 5 \\ 3 & 4 & 5 & 2 & 1\end{pmatrix} = \begin{pmatrix}1 & 3 & 5\end{pmatrix}\begin{pmatrix}2 & 4\end{pmatrix}$$
However, on Wikpedia they further reduce this to the following:
$$\sigma=\begin{pmatrix}1 & 2 & 3 & 4 & 5 \\ 3 & 4 & 5 & 2 & 1\end{pmatrix} = \begin{pmatrix}1 & 3 & 5\end{pmatrix}\begin{pmatrix}2 & 4\end{pmatrix} =\begin{pmatrix}1 & 5\end{pmatrix}\begin{pmatrix}1 & 3\end{pmatrix}\begin{pmatrix}2 & 4\end{pmatrix}$$
Now, why is that? What allows this last step? What's behind all of this things? There it says that this is a way to decompose any permutation into composition of other permutations, but how is that? I'm simply not understanding the reasoning behind this.
I know that the "correct" was to first study group theory and so on, but I'm really just trying to get the basics for now to finish Kostrkin's book.
If someone can give some help or some reference it'll be of great assistance. Thanks very much in advance.