JustToThePoint
English Website Version JustToThePoint en español
Skip to main content

Transpositions, Parity, and the Alternating Group $A_n$

Who can deny that life is not fair, nor easy, just a messy affair where we muddle along with glimpses of significant relationships, search of meaning, and purpose? Who can justify that lies are abundant and spreading, news are mainly fake, and driven by political and economic narratives, history is being twisted, trust is all gone, and we all know that something needs to be done? Who can deny that yesterday is gone, tomorrow is not promised, and we only have today? Who can rebuff that destiny is a bitch, money is king and sometimes even god, and life is but a dream, a worn out ship on troubled waters? Who can deny that I love you, Bew, like crazy, my sweet angel? Desperate verses IV, M. Anawim, #justtothepoint.

Ben thinking lying down bedroom hands head  

Introduction

In group theory, permutations can be broken down into the simplest possible non-trivial rearrangements: swaps of just two elements. Throughout this article, we use right-to-left function composition, meaning that in a product $\sigma \tau$, the permutation $\tau$ is applied first, followed by $\sigma$.

Decomposing Permutations into Transpositions

A transposition (or $2$-cycle) is a cycle of length $2$, written $(ab)$ with $a \neq b$, which swaps $a$ and $b$ while fixing all other elements.

Theorem. Every permutation $\alpha \in S_n$ (for $n > 1$) can be expressed as a product of transpositions.

Proof.

First, consider the identity permutation $e$. Since $n > 1$, the transposition $(12)$ exists in $S_n$, and we can write $e = (12)(12)$ (or, by convention, as the empty product of $0$ transpositions).

Now let $\alpha \in S_n$ be any non-identity permutation. By the Disjoint Cycle Decomposition Theorem, $\alpha$ can be written as a product of disjoint cycles of length at least $2$: $\alpha = (a_1 a_2 \dots a_k)(b_1 b_2 \dots b_t) \dots (c_1 c_2 \dots c_s)$

We claim that any $k$-cycle $(a_1 a_2 \dots a_k)$ can be written as a product of $k - 1$ transpositions: $(a_1 a_2 \dots a_k) = (a_1 a_k)(a_1 a_{k-1}) \dots (a_1 a_3)(a_1 a_2)$

To verify this identity, we trace the image of each element $a_i$ under the right-hand side, working from right to left:For $a_1$:

This matches the action of $(a_1 a_2 \dots a_k)$ on every element. Applying this decomposition to each disjoint cycle in $\alpha$ yields: $\alpha = (a_1 a_k)(a_1 a_{k-1}) \dots (a_1 a_2)(b_1 b_t)(b_1 b_{t-1}) \dots (b_1 b_2) \dots (c_1 c_s)(c_1 c_{s-1}) \dots (c_1 c_2)$.

Thus, $\alpha$ is a product of transpositions. $\blacksquare$

Examples:

Important Observation: Unlike disjoint cycle decomposition, the decomposition of a permutation into transpositions is not unique. For instance: $(123) = (13)(12) = (23)(13) = (12)(13)(12)(12)$

Notice, however, that in all three expressions above, the number of transpositions is even ($2$, $2$, and $4$). As we are about to prove, this is not a coincidence.

Even and Odd Permutations

Definition. A permutation $\alpha \in S_n$ is called an even permutation if it can be expressed as a product of an even number of transpositions. It is called an odd permutation if it can be expressed as a product of an odd number of transpositions. At this point, it is not yet obvious that “even” and “odd” are mutually exclusive.

Could a permutation be written as both a product of $2$ transpositions and a product of $3$ transpositions? To rule this out, we first analyze the identity permutation $e$.

Lemma (Parity of the Identity). If the identity permutation $e \in S_n$ is written as a product of transpositions, $e = \beta_1 \beta_2 \dots \beta_r,$ then $r$ must be even.

Proof.

We proceed by strong induction on $r$, the number of transpositions.

Base Cases:

Inductive Step: Suppose $r > 2$, and assume that whenever $e$ is written as a product of $k$ transpositions with $k < r$, $k$ must be even.

Let $e = \beta_1 \beta_2 \dots \beta_r$ and let $a$ be one of the two elements moved by the rightmost transposition $\beta_r$. Look at the rightmost pair of transpositions $\beta_{r-1} \beta_r$. Since $a$ appears in $\beta_r$, we can write $\beta_r = (ab)$ for some $b \neq a$. Letting $a, b, c, d$ denote distinct elements, there are exactly four possibilities for the product $\beta_{r-1} \beta_r$:

  1. $(ab)(ab) = e$
  2. $(ac)(ab) = (ab)(bc)$
  3. $(cb)(ab) = (ac)(cb)$
  4. $(cd)(ab) = (ab)(cd)$

You can verify Cases 2 and 3 directly by right-to-left composition: in Case 2, both sides equal the $3$-cycle $(abc)$; in Case 3, both sides equal $(acb)$. Case 4 holds because disjoint transpositions commute.

By the strong induction hypothesis, since $r - 2 < r$, $r - 2$ must be even. Therefore, $r$ is even.

We now repeat this exact process on the new pair consisting of the transposition containing this rightmost $a$ and the transposition immediately to its left. At each step, one of two things happens:

However, evaluating this product at $a$ gives: $e(a) = (ax)\bigl(\gamma_2 \gamma_3 \dots \gamma_r(a)\bigr) = (ax)(a) = x \neq a$. This contradicts $e(a) = a$. Therefore, Case 1 must occur at some step, which proves $r$ is even. $\blacksquare$

Theorem (Well-Definedness of Parity). No permutation in $S_n$ can be expressed as both a product of an even number of transpositions and a product of an odd number of transpositions.

Proof.

Suppose a permutation $\alpha \in S_n$ can be written in two ways as a product of transpositions: $\alpha = \beta_1 \beta_2 \dots \beta_r = \zeta_1 \zeta_2 \dots \zeta_s$

Since every transposition is its own inverse ($\beta_i^{-1} = \beta_i$), the inverse of $\alpha$ is: $\alpha^{-1} = (\beta_1 \beta_2 \dots \beta_r)^{-1} = \beta_r^{-1} \dots \beta_2^{-1} \beta_1^{-1} = \beta_r \dots \beta_2 \beta_1$

Multiplying $\alpha$ by $\alpha^{-1}$ gives the identity: $e = \alpha \alpha^{-1} = \zeta_1 \zeta_2 \dots \zeta_s \beta_r \dots \beta_2 \beta_1$

This expresses $e$ as a product of $r + s$ transpositions. By the Parity of the Identity Lemma, $r + s$ must be even. Therefore, $r$ and $s$ must have the same parity (either both are even, or both are odd). $\blacksquare$

The Alternating Group $A_n$

Because parity is well-defined, we can cleanly separate all even permutations into their own algebraic structure.

Theorem. For any $n \ge 1$, the set of all even permutations in $S_n$, denoted $A_n = \{\sigma \in S_n \mid \sigma \text{ is even}\}$, forms a subgroup of $S_n$. It is called the alternating group of degree $n$.

Proof.

We apply the One-Step Subgroup Test:

  1. Non-empty ($e \in A_n$): The identity permutation $e$ is indeed an even permutation ($0$ transpositions), so $e \in A_n$.

  2. Closed under $\alpha\beta^{-1}$: Let $\alpha, \beta \in A_n$. Then $\alpha$ is a product of $2k$ transpositions and $\beta$ is a product of $2m$ transpositions for some integers $k, m \ge 0$: $\alpha = \tau_1 \tau_2 \dots \tau_{2k}, \qquad \beta = \sigma_1 \sigma_2 \dots \sigma_{2m}$

Taking the inverse of $\beta$ reverses the order of the transpositions (since each transposition is its own inverse): $\beta^{-1} = \sigma_{2m} \dots \sigma_2 \sigma_1$

Therefore, $\alpha\beta^{-1} = \tau_1 \tau_2 \dots \tau_{2k} \sigma_{2m} \dots \sigma_2 \sigma_1$ which is a product of $2k + 2m = 2(k+m)$ transpositions. Thus $\alpha\beta^{-1}$ is even, so $\alpha\beta^{-1} \in A_n$. Hence, $A_n \le S_n$. $\blacksquare$

Theorem (Order of $A_n$). For $n > 1$, the order of the alternating group is: $\vert{}A_n\vert{} = \frac{n!}{2}$

Note: The condition $n > 1$ is essential. When $n = 1$, $S_1 = A_1 = \{e\}$, so $\vert{}A_1\vert{} = 1 \neq 1!/2$. For $n > 1$, we are guaranteed that the transposition $(12)$ exists in $S_n$.

Proof.

Let $A_n$ be the set of even permutations in $S_n$, and let $B_n$ be the set of odd permutations in $S_n$. By Theorem 1 and Theorem 2, every permutation is either even or odd, and never both. Thus, $A_n$ and $B_n$ form a partition of $S_n$: $S_n = A_n \cup B_n \quad \text{and} \quad A_n \cap B_n = \emptyset$

Define a map $\Phi: A_n \to B_n$ by: $\Phi(\alpha) = (12)\alpha$

Since $\Phi$ is a bijection between $A_n$ and $B_n$, we have $\vert{}A_n\vert{} = \vert{}B_n\vert{}$. Because $A_n$ and $B_n$ partition $S_n$: $\vert{}S_n\vert{} = \vert{}A_n\vert{} + \vert{}B_n\vert{} = 2\vert{}A_n\vert{} \implies \vert{}A_n\vert{} = \frac{\vert{}S_n\vert{}}{2} = \frac{n!}{2}$. This completes the proof. $\blacksquare$

Why Parity Matters Beyond Abstract Algebra

The key idea is that parity is a conserved piece of information. Once you classify permutations into two types, even and odd, many seemingly unrelated problems suddenly become questions about whether a process can change parity.

Every term corresponds to a permutation $\sigma$.

  1. If $\sigma$ is even, $\operatorname{sgn}(\sigma)=+1.$
  2. If $\sigma$ is odd, $\operatorname{sgn}(\sigma)=-1$

At first sight this looks arbitrary. Why do we attach $+1$ and $−1$?

The reason is that the determinant is designed to detect orientation.

A $2\times2$ example. For $A= \begin{pmatrix} a & b\\ c & d \end{pmatrix},$ there are only two permutations: (i) identity e, which is even; transposition $(12)$, odd.

Thus, $\det(A)=ad-bc.$ Notice the minus sign comes precisely from the odd permutation.

Now swap the two rows: $\begin{pmatrix} c & d\\ a & b \end{pmatrix}.$ Its determinant is $cb-da =-(ad-bc).$ The determinant changes sign. Swapping two rows is a transposition.

A transposition changes parity: $\text{even} \leftrightarrow \text{odd}$. Therefore, every term that previously had sign $+1$ now has sign $−1$ and vice versa. So $\det(\text{matrix with swapped rows}) = -\det(A).$

Consider the famous puzzle: $\begin{matrix} 1&2&3&4\\ 5&6&7&8\\ 9&10&11&12\\ 13&14&15&\square \end{matrix}$. Every legal sequence of tile slides that returns the empty space to the bottom-right corner induces an even permutation of the $15$ numbered tiles.

Swapping tiles $14$ and $15$ is a single transposition (an odd permutation), which is why that configuration is mathematically impossible to solve. $\begin{matrix} 1&2&3&4\\ 5&6&7&8\\ 9&10&11&12\\ 13&15&14&\square \end{matrix}$

In other words, if the blank starts and ends in the same corner, the overall effect on the 15 numbered tiles must be an even permutation, $\text{reachable states} \subseteq A_{15}.$ The solved puzzle has even parity. Every legal sequence preserves the appropriate parity invariant. Therefore, an odd configuration can never be reached.

Worked Exercises

Solution.

$\vert{}A_4\vert{} = \frac{4!}{2} = \frac{24}{2} = 12$.

We classify the even permutations in $S_4$ by their disjoint cycle structures:

Fixing $4$: $(123), (132)$

Fixing $3$: $(124), (142)$

Fixing $2$: $(134), (143)$

Fixing $1$: $(234), (243)$

Note: Single transpositions and $4$-cycles are excluded because they are odd: a $4$-cycle requires $3$ transpositions. Summing these up gives $1 + 3 + 8 = 12$ elements: $A_4 = \{e, (12)(34), (13)(24), (14)(23), (123), (132), (124), (142), (134), (143), (234), (243)\}$

Recall the Socks-and-Shoes Property for group inverses: $(\sigma_1 \sigma_2 \dots \sigma_l)^{-1} = \sigma_l^{-1} \dots \sigma_2^{-1} \sigma_1^{-1}$. For a single cycle $\sigma = (a_1 a_2 \dots a_k)$, since $\sigma$ maps $a_1 \to a_2 \to \dots \to a_k \to a_1$, its inverse simply reverses the arrows: $\sigma^{-1} = (a_k a_{k-1} \dots a_2 a_1)$

  1. Find $\tau^{-1}$ for $\tau = (1243)(67)$. \ Applying the Socks-and-Shoes Property and reversing each cycle: $\tau^{-1} = (67)^{-1}(1243)^{-1} = (76)(3421)$.
    Because $(76)$ and $(3421)$ are disjoint, they commute. Writing each cycle starting with its smallest element gives: $\tau^{-1} = (1342)(67)$.

  2. Given $\sigma = (254)$ and $\tau = (123)(45)$, compute $\sigma^{-1} \circ \tau^{-1}$.
    First, compute each inverse individually: $\sigma^{-1} = (452) = (245)$ and $\tau^{-1} = (45)^{-1}(123)^{-1} = (54)(321) = (132)(45)$.
    Now compose $\sigma^{-1} \circ \tau^{-1} = (245)(132)(45)$ from right to left:

Therefore, $\sigma^{-1} \circ \tau^{-1} = (1342)$.

Bibliography

This content is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. This post relies heavily on the following resources, especially on NPTEL-NOC IITM, Introduction to Galois Theory, Michael Penn, and Contemporary Abstract Algebra, Joseph A. Gallian.
  1. NPTEL-NOC IITM, Introduction to Galois Theory.
  2. Algebra, Second Edition, by Michael Artin.
  3. LibreTexts, Abstract and Geometric Algebra, Abstract Algebra: Theory and Applications (Judson).
  4. Field and Galois Theory, by Patrick Morandi. Springer.
  5. Michael Penn (Abstract Algebra), and MathMajor.
  6. Contemporary Abstract Algebra, Joseph, A. Gallian.
  7. Andrew Misseldine: College Algebra and Abstract Algebra.
Bitcoin donation
Children reading and learning

JustToThePoint Copyright © 2011 - 2026 Anawim. ALL RIGHTS RESERVED. Bilingual e-books, articles, and videos to help your child and your entire family succeed, develop a healthy lifestyle, and have a lot of fun. About us., Social Issues, Join us.

This website uses cookies to improve your navigation experience.
By continuing, you are consenting to our use of cookies, in accordance with our Cookies Policy and Website Terms and Conditions of use.