Parity of a permutation

Dependencies:

  1. Canonical cycle notation of a permutation
  2. Product of cycles and a transposition

If a permutation can be written as a product of only an odd number of transpositions, it is called an odd permutation. If a permutation can be written as a product of only an even number of transpositions, it is called an even permutation. Every permutation is either an odd permutation or an even permutation.

Proof

Let there be $n$ cycles in the canonical cycle notation of the permutation $\lambda$. Let the $i^{\textrm{th}}$ cycle be $\sigma_i$ of length $n_i$. Then the parity of $\lambda$ is defined as

\[ \operatorname{parity}(\lambda) = \left( \sum_{i=1}^n (n_i - 1) \right) \% 2 \]

Lemma 1: multiplying a permutation by a transposition changes its parity

Let $\tau$ be a transposition.

Therefore, $\operatorname{parity}(\lambda\tau)$ is different from $\operatorname{parity}(\lambda)$.

Lemma 2: The parity of the product of $n$ transpositions is $n\%2$.

Proof by induction:

$P(n)$: Product of $n$ transpositions is $n\%2$.

Base case: A permutation with 0 transpositions is the identity permutation and its parity is 0. $\implies P(0)$.

Inductive step:

Assume $P(n)$, where $n \ge 0$. Let $\lambda\tau$ be a product of $n+1$ transpositions, where $\tau$ is a transposition.

\begin{align} & \operatorname{parity}(\lambda\tau) \\ &= (\operatorname{parity}(\lambda) + 1) \% 2 \tag{By lemma 1} \\ &= (n + 1) \% 2 \tag{By induction hypothesis} \\ &\Rightarrow P(n+1) \end{align}

Since $P(0)$ and $P(n) \Rightarrow P(n+1)$, by mathematical induction, $P(n)$ holds $\forall n \ge 0$.

Conclusion

We can therefore define the parity of a permutation as the parity of the number of transpositions it can be written as the product of.

Dependency for:

  1. Alternating Group
  2. Transposition bijects even and odd permutations

Info:

Transitive dependencies:

  1. /sets-and-relations/relation-composition-is-associative
  2. /sets-and-relations/composition-of-bijections-is-a-bijection
  3. Group
  4. Subgroup
  5. Permutation group
  6. Product of cycles and a transposition
  7. Permutation is disjoint cycle product
  8. Product of disjoint cycles is commutative
  9. Canonical cycle notation of a permutation