Group of Integers Modulo \(n\)
In Intro to Abstract Algebra, we established the
foundational group axioms and core structural concepts like Abelian groups and subgroups. In this page,
we pivot from general concepts to specific examples of finite groups, which are crucial building blocks
of abstract algebra.
Before introducing our first family of finite cyclic groups, we record a fundamental
structural fact that will be used repeatedly in what follows.
Theorem: Every Cyclic Group is Abelian
Let \(G = \langle a \rangle\) be a cyclic group. Then \(G\) is Abelian.
Proof:
Let \(x, y \in G\). Since \(G = \langle a \rangle\), there exist integers
\(m, n \in \mathbb{Z}\) such that \(x = a^m\) and \(y = a^n\). By the integer
exponent laws in a group,
\[
xy = a^m a^n = a^{m+n} = a^{n+m} = a^n a^m = yx.
\]
Hence \(G\) is Abelian.
The converse is false: the Klein four-group \(V_4 = \{e, a, b, ab\}\)
(with \(a^2 = b^2 = e\) and \(ab = ba\)) is Abelian, but every non-identity
element has order \(2\), so no single element generates the group.
Group of Integers Modulo \(n\):
The set
\[
\mathbb{Z}_n = \{0, 1, \cdots, n-2, n-1\}, \, (n \geq 1)
\]
is a finite cyclic group under addition modulo \(n\). For any \(k > 0\) in \(\mathbb{Z}_n\), the
inverse of the element \(k\) is \(n - k\). The identity is \(0\).
For example, consider:
\[
\mathbb{Z}_8 = \{0, 1, 2, 3, 4, 5, 6, 7\}.
\]
- \(1\) (Generator):
\[
\langle 1 \rangle = \{1, 1+1, 1+1+1, \cdots,\} (\bmod 8)
\]
Thus, we have:
\[
\langle 1 \rangle = \{1, 2, 3, 4, 5, 6, 7, 0\} = \mathbb{Z}_8
\]
- \(3\) (Generator):
\[
\langle 3 \rangle = \{3, 3+3, 6+3, 9+3, \cdots \} (\bmod 8)
\]
Thus, we have:
\[
\langle 3 \rangle = \{3, 6, 1, 4, 7, 2, 5, 0 \} = \mathbb{Z}_8
\]
- \(5\) (Generator):
\[
\langle 5 \rangle = \{5, 5+5, 10+5, 15+5, \cdots \} (\bmod 8)
\]
Thus, we have:
\[
\langle 5 \rangle = \{5, 2, 7, 4, 1, 6, 3, 0 \} = \mathbb{Z}_8
\]
- \(7\) (Generator):
\[
\langle 7 \rangle = \{7, 7+7, 14+7, 21+7, \cdots \} (\bmod 8)
\]
Thus, we have:
\[
\langle 7 \rangle = \{7, 6, 5, 4, 3, 2, 1, 0 \} = \mathbb{Z}_8
\]
Thus, \(1, 3, 5, \text{ and } 7\) are generators of \(\mathbb{Z}_8\):
\[
\mathbb{Z}_8 = \langle 1 \rangle = \langle 3 \rangle = \langle 5 \rangle = \langle 7 \rangle,
\]
whereas \(2, 4, \text{ and } 6\) are not generators of \(\mathbb{Z}_8 \). For instance,
\[
\langle 2 \rangle = \{2, 2+2, 4+2, 6+2, 8+2, \ldots\} \pmod 8
= \{2, 4, 6, 0, 2, \ldots\},
\]
which cycles back to \(2\) after four steps. Hence
\[
\langle 2 \rangle = \{0, 2, 4, 6\} \neq \mathbb{Z}_8.
\]
In general, the element \(n-1\) is a generator of \(\mathbb{Z}_n \) because it is the unique additive inverse of the generator \(1\).
Remember that in abstract additive notation, the inverse of \(1\) is written as \(-1\). Working in \(\mathbb{Z}_n\),
we define the notation:
\[
-1 = n-1 \pmod n.
\]
Thus, for \(\mathbb{Z}_8 \), the two guaranteed generators are \(1\) and \(7\).
Indeed, the inverse of any generator of \(\mathbb{Z}_n\) is also always a generator.
This fact is supported by the full classification theorem for generators of \(\mathbb{Z}_n\):
Theorem: Generators of \(\mathbb{Z}_n\)
An integer \(k \in \mathbb{Z}_n\) is a generator of \(\mathbb{Z}_n\)
if and only if \(k\) and \(n\) are relatively prime:
\[
\gcd (n, k) = 1.
\]
This fact comes from more general settings. First, we introduce the following theorem:
Theorem: Order of a Power
Let \(a\) be an element of order \(n\) in a group, and let \(k\) be a positive integer. Then
\[
\langle a^k \rangle = \langle a^{\gcd(n, k)} \rangle
\]
and
\[
|a^k| = \frac{n}{\gcd(n, k)}.
\]
Proof:
Let \(d = \gcd(n, k)\). Since \(d \mid k\), we can write \(k = dr\) for
some positive integer \(r\). Then
\[
a^k = a^{dr} = (a^d)^r \in \langle a^d \rangle,
\]
which gives
\[
\langle a^k \rangle \subseteq \langle a^d \rangle.
\]
For the reverse inclusion, there exist integers \(s\) and \(t\) such that
\[
d = ns + kt,
\]
since the greatest common divisor can be written as an integer linear
combination of \(n\) and \(k\).
Using \(a^n = e\) (since \(|a| = n\)), we rewrite \(a^d\) as
\[
\begin{align*}
a^d &= a^{ns+kt} \\\\
&= (a^n)^s (a^k)^t \\\\
&= e^s \cdot (a^k)^t \\\\
&= (a^k)^t \in \langle a^k \rangle.
\end{align*}
\]
This gives
\[
\langle a^d \rangle \subseteq \langle a^k \rangle,
\]
and combining both inclusions we conclude
\[
\langle a^k \rangle = \langle a^d \rangle.
\]
For the second part, we compute \(|a^d|\). Using the integer exponent law
\((a^d)^{n/d} = a^{d \cdot (n/d)} = a^n\), and since \(|a| = n\) implies
\(a^n = e\), we have
\[
(a^d)^{n/d} = e,
\]
so \(|a^d| \leq n/d\).
For the reverse inequality, let \(i\) be a positive integer with
\(i < n/d\). Then \(0 < di < n\). By definition of order, \(|a| = n\)
means that \(a^m \neq e\) for all \(m\) with \(0 < m < n\). In particular,
\[
(a^d)^i = a^{di} \neq e.
\]
Hence \(n/d\) is the smallest positive integer yielding the identity, so
\(|a^d| = n/d\). Combining with \(\langle a^k \rangle = \langle a^d \rangle\),
\[
|a^k| = |\langle a^k \rangle| = |\langle a^d \rangle| = |a^d| = \frac{n}{d}
= \frac{n}{\gcd(n,k)}.
\]
The Generators of \(\mathbb{Z}_n\) theorem is now an immediate consequence.
Proof of Generators of \(\mathbb{Z}_n\):
In \(\mathbb{Z}_n = \langle 1 \rangle\), the element \(k\) is the
\(k\)-th multiple of the generator \(1\) (the additive analogue of
\(1^k\) in the
Order of a Power
theorem). Since \(|1| = n\), the same theorem gives
\[
|k| = \frac{n}{\gcd(n, k)}.
\]
An element \(k\) generates \(\mathbb{Z}_n\) if and only if
\(|k| = n\), which holds if and only if \(\gcd(n, k) = 1\).
Subgroups of Cyclic Groups
Suppose a cyclic group \(G = \langle a \rangle\) has order 30. Then \(|a| = 30\),
so \(a^{30} = e\). The subgroups corresponding to positive divisors of 30 are:
\[
\begin{align*}
&\langle a^{30} \rangle = \{e\} \\\\
&\langle a^{15} \rangle = \{e, a^{15}\} \\\\
&\langle a^{10} \rangle = \{e, a^{10}, a^{20}\} \\\\
&\langle a^6 \rangle = \{e, a^6, a^{12}, a^{18}, a^{24} \} \\\\
&\langle a^5 \rangle = \{e, a^5, a^{10}, a^{15}, a^{20}, a^{25}\} \\\\
&\langle a^3 \rangle = \{e, a^3, a^6, \cdots, a^{27}\} \\\\
&\langle a^2 \rangle = \{e, a^2, a^4, \cdots, a^{28}\} \\\\
&\langle a^1 \rangle = \{e, a, a^2, \cdots, a^{29}\}
\end{align*}
\]
Theorem: Fundamental Theorem of Cyclic Groups
Let \(G = \langle a \rangle\) be a cyclic group of order \(n\).
- Every subgroup of \(G\) is cyclic. Moreover, the order of any subgroup of \(G\) is a divisor of \(n\).
- For each positive divisor \(k\) of \(n\), the group \(G\) has exactly one subgroup of order \(k\), namely \(\langle a^{n/k} \rangle\).
Proof:
Part 1:
Let \(H\) be a subgroup of \(G = \langle a \rangle\). If \(H = \{e\}\), then \(H\) is cyclic.
Now assume \(H \neq \{e\}\). We first show that \(H\) contains an element of the form
\(a^t\) for some positive integer \(t\). Since \(H \neq \{e\}\), there exists a
non-identity element \(b \in H\). Because \(G = \langle a \rangle\), we have \(b = a^t\)
for some integer \(t\), and \(t \neq 0\) (otherwise \(b = a^0 = e\)). If \(t > 0\), we
are done. If \(t < 0\), then by the subgroup property \(b^{-1} = a^{-t} \in H\) with
\(-t > 0\). Thus, our claim is verified.
Now let \(m\) be the least positive integer such that \(a^m \in H\). By closure,
\(\langle a^m \rangle \subseteq H\).
Next, we claim that \(H = \langle a^m \rangle\). Let \(b\) be any element in \(H\).
Since \(b \in G\), we have \(b = a^k\) for some integer \(k\).
By the Division Algorithm, we can write \(k = mq + r\) where \(0 \leq r < m\).
Then:
\[
a^k = a^{mq+r} = a^{mq}a^r \implies a^r = a^{-mq}a^k.
\]
Since \(a^k \in H\) and \(a^{-mq} = (a^m)^{-q} \in H\), it follows that \(a^r \in H\).
However, \(m\) is the least positive integer such that \(a^m \in H\) and \(0 \leq r < m\).
Thus, \(r\) must be \(0\).
Therefore,
\[
b = a^k = a^{mq} = (a^m)^q \in \langle a^m \rangle.
\]
This implies every element in \(H\) is generated by \(a^m\), and hence \(H = \langle a^m \rangle\). Therefore,
every subgroup of a cyclic group is cyclic.
Part 2:
Let \(H\) be any subgroup of \(G = \langle a \rangle\), where \(|G| = n\).
From Part 1, \(H = \langle a^m \rangle\), where \(m\) is the least positive integer
such that \(a^m \in H\). We show \(m \mid n\).
By the
Order of a Power
theorem applied to \(a\) (with \(|a| = n\)), we have
\(\langle a^m \rangle = \langle a^{\gcd(n,m)} \rangle\), so
\(a^{\gcd(n,m)} \in H\). Since \(\gcd(n,m)\) is a positive integer satisfying
\(a^{\gcd(n,m)} \in H\), the minimality of \(m\) forces
\(m \leq \gcd(n,m)\). Combined with the general inequality
\(\gcd(n,m) \leq m\), this gives \(m = \gcd(n,m)\), so \(m \mid n\).
Therefore, by the Order of a Power theorem,
\[
|H| = |\langle a^m \rangle| = |a^m| = \frac{n}{\gcd(n,m)} = \frac{n}{m},
\]
which divides \(n\). This proves that the order of any subgroup of \(G\) is a divisor of \(n\).
Now let \(k\) be any positive divisor of \(n\). Then \(\langle a^{n/k} \rangle\) is a subgroup of order
\[
|\langle a^{n/k} \rangle | = \frac{n}{\gcd(n, n/k)} = \frac{n}{n/k} = k.
\]
It remains to show uniqueness. Suppose \(K\) is any subgroup of \(G\) of order \(k\).
By Part 1 applied to \(K\), we have \(K = \langle a^s \rangle\) for the least positive
integer \(s\) with \(a^s \in K\); the same divisibility argument used above (applied
to \(K\) in place of \(H\)) gives \(s \mid n\). By the Order of a Power theorem,
\[
|K| = |a^s| = \frac{n}{\gcd(n,s)} = \frac{n}{s} = k,
\]
where the last step uses \(s \mid n\). Solving gives \(s = n/k\), so
\(K = \langle a^{n/k} \rangle\).
Euler Phi Function
Using the
Order of a Power
theorem, we can count the number of elements of each order in a finite cyclic
group. Here, we introduce a number-theoretic function that emerges naturally in this count.
For instance, to find the number of generators of a cyclic group of order \(n\), we need to
count how many integers \(k\) satisfy \(\gcd(k, n) = 1\). This count is provided by the Euler Phi Function.
Euler Phi Function \(\phi(n)\):
Let \(\phi (1) = 1\), and for any integer \(n > 1\), let \(\phi (n)\) denote the number of positive
integers less than \(n\) and relatively prime to \(n\).
Theorem: Number of Elements of Each Order in a Cyclic Group
If \(d\) is a positive divisor of \(n\), the number of elements of order \(d\) in a cyclic group
of order \(n\) is \(\phi (d)\).
Proof:
Let \(G = \langle a \rangle\) be a cyclic group of order \(n\). Every element of \(G\)
has the form \(a^k\), and by the
Order of a Power
theorem,
\[
|a^k| = \frac{n}{\gcd(n, k)}.
\]
Thus \(a^k\) has order \(d\) if and only if \(\gcd(n, k) = n/d\).
We count the integers \(k \in \{1, 2, \ldots, n\}\) with \(\gcd(n, k) = n/d\).
Since \(\gcd(n, k) = n/d\) divides \(k\), we can write \(k = (n/d) \cdot j\) for some positive
integer \(j\). Substituting,
\[
\gcd(n, k) = \gcd\!\left(n, \tfrac{n}{d} \cdot j\right)
= \tfrac{n}{d} \cdot \gcd(d, j),
\]
so \(\gcd(n, k) = n/d\) if and only if \(\gcd(d, j) = 1\).
The integers \(k \in \{1, \ldots, n\}\) satisfying \((n/d) \mid k\) are exactly those of the form
\(k = (n/d) \cdot j\) with \(j \in \{1, \ldots, d\}\), and under this correspondence the condition
\(\gcd(n, k) = n/d\) becomes \(\gcd(d, j) = 1\) (by the previous step). Hence the number of \(k\)
giving an element of order \(d\) equals the number of \(j \in \{1, \ldots, d\}\) with \(\gcd(d, j) = 1\),
which is \(\phi(d)\) by definition.
Theorem: Distributive Property of gcd
For any positive integers \(a, b, c\),
\[
\gcd(ab, ac) = a \cdot \gcd(b, c).
\]
Proof sketch: Since \(\gcd(b, c)\) divides both \(b\) and \(c\),
\(a\gcd(b, c)\) divides both \(ab\) and \(ac\), so \(a\gcd(b, c) \mid \gcd(ab, ac)\).
Conversely, \(a\) divides both \(ab\) and \(ac\), so \(a \mid \gcd(ab, ac)\); writing
\(\gcd(ab, ac) = aq\), we see \(aq \mid ab\) and \(aq \mid ac\) imply \(q \mid b\)
and \(q \mid c\), hence \(q \mid \gcd(b, c)\), giving
\(\gcd(ab, ac) = aq \mid a\gcd(b, c)\). The two divisibilities give equality.
This fact was used in the proof of the
Number of Elements of Each Order
theorem in the step
\(\gcd(n, (n/d) j) = (n/d) \cdot \gcd(d, j)\), applied with \(a = n/d\),
\(b = d\), \(c = j\).
Corollary: Number of Generators of a Cyclic Group
The number of generators of a cyclic group of order \(n\) is \(\phi(n)\).
Proof:
In a cyclic group of order \(n\), the generators are precisely the elements of order
\(n\). Applying the
Number of Elements of Each Order
theorem with \(d = n\), the number of such elements is \(\phi(n)\).
Corollary: Number of Elements of Order \(d\) in a Finite Group
In a finite group, the number of elements of order \(d\) is a multiple of \(\phi (d)\).
Proof:
Let \(G\) be a finite group and let \(d\) be a positive integer. If \(G\) has no
element of order \(d\), the count is \(0\), which is a multiple of \(\phi(d)\).
Otherwise, let \(a \in G\) have order \(d\). Then \(\langle a \rangle\) is a cyclic
subgroup of order \(d\), and by the
Number of Elements of Each Order
theorem, it contains exactly \(\phi(d)\) elements
of order \(d\).
Suppose \(b \in G\) has order \(d\) with \(b \notin \langle a \rangle\). Then
\(\langle b \rangle\) is another cyclic subgroup of order \(d\), also containing
\(\phi(d)\) elements of order \(d\). We claim \(\langle a \rangle\) and
\(\langle b \rangle\) share no element of order \(d\). Indeed, if \(c\) has order
\(d\) and \(c \in \langle a \rangle \cap \langle b \rangle\), then \(\langle c \rangle\)
is a cyclic subgroup of order \(d\) contained in both \(\langle a \rangle\) and
\(\langle b \rangle\). Since \(|\langle c \rangle| = |\langle a \rangle| = |\langle b \rangle| = d\),
we must have \(\langle c \rangle = \langle a \rangle = \langle b \rangle\),
contradicting \(b \notin \langle a \rangle\).
Therefore, the order-\(d\) elements of \(G\) partition into disjoint groups of size
\(\phi(d)\), one for each distinct cyclic subgroup of order \(d\). The total count
is thus a multiple of \(\phi(d)\).
Permutation Groups
Here, we introduce a family of non-Abelian groups, namely permutation groups.
Remember, a permutation of a set \(A\) is a function from \(A\) to itself that is a bijective function
(one-to-one and onto). For example, consider a set \(A = \{1, 2, 3\}\). A permutation of \(A\) is essentially an ordered
arrangement of its elements. So, the total number of permutations for \(A\) is given by the factorial \(3! = 3 \cdot 2 \cdot 1 = 6\).
Permutation Groups:
A permutation group of a set \(A\) is a set of permutations of \(A\) that forms a group
under function composition.
For example, the permutation group of \(A = \{1, 2, 3\}\) is the set of all bijections
from \(\{1, 2, 3\}\) to itself.
To represent these permutations explicitly, we use the two-row matrix notation. In this format, the elements
of the set \(A\) are listed in the top row, and directly below each element is its image (where it is mapped to)
under the permutation.
For a permutation \(\sigma\) on a set of \(n\) elements, the notation is structured as follows:
\[
\sigma = \begin{bmatrix} i_{1} & i_{2} & \cdots & i_{n} \\\\
\sigma(i_{1}) & \sigma(i_{2}) & \cdots & \sigma(i_{n})
\end{bmatrix}
\]
This means the element \(i_k\) in the top row maps to the element \(\sigma(i_k)\) directly beneath it.
The elements of \(S_3\) are expressed using this notation as follows:
\[
\begin{align*}
\epsilon &= \begin{bmatrix} 1 & 2 & 3 \\ 1 & 2 & 3 \end{bmatrix} , \quad \alpha = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 3 & 1 \end{bmatrix}, \\\\
\alpha^2 &= \begin{bmatrix} 1 & 2 & 3 \\ 3 & 1 & 2 \end{bmatrix} , \quad \beta = \begin{bmatrix} 1 & 2 & 3 \\ 1 & 3 & 2 \end{bmatrix}, \\\\
\alpha \beta &= \begin{bmatrix} 1 & 2 & 3 \\ 2 & 1 & 3 \end{bmatrix} , \quad \alpha^2 \beta = \begin{bmatrix} 1 & 2 & 3 \\ 3 & 2 & 1 \end{bmatrix}.
\end{align*}
\]
This group is called the symmetric group of degree \(3\) and is denoted by \(S_3\).
The order of this group is given by \(|S_3| = 3! = 6.\) In general, we define the symmetric group as follows:
Symmetric Groups:
Let \(A = \{1, 2, \cdots, n-1, n\}\). The set of all permutations of \(A\) is called the symmetric group of
degree \(n\) and is denoted by \(S_n\). Elements of this group can be written in two-row matrix notation as:
\[
\alpha = \begin{bmatrix} 1 & 2 & \cdots & n-1 & n \\ \alpha(1) & \alpha(2) & \cdots & \alpha(n-1) & \alpha(n) \end{bmatrix}.
\]
\(S_n\) has the \(n \cdot (n-1) \cdots 3 \cdot 2 \cdot 1 = n!\) elements.
Theorem: \(S_n\) is a group
The set \(S_n\) forms a group under function composition. Closure holds because the composition
of two bijections is a bijection; associativity holds because function composition is always
associative; the identity permutation \(\epsilon\) (with \(\epsilon(i) = i\) for all \(i\)) acts
as the identity element; and every bijection has an inverse that is itself a bijection.
While the two-row matrix notation is explicit, it becomes cumbersome for composition and order calculation.
For practical use, we employ the more compact and functional cycle notation.
Definition: Cycle Notation
Let \(i_1, i_2, \ldots, i_k\) be distinct elements of \(\{1, 2, \ldots, n\}\) with \(k \geq 2\).
The permutation \(\alpha\) that maps \(i_1 \to i_2 \to \cdots \to i_k \to i_1\), and leaves all
other elements fixed, is written as the \(\mathbf{k}\)-cycle
\(\left(i_{1}\, i_{2}\, \ldots\, i_{k}\right)\). Elements that are fixed (map to themselves)
are usually omitted, unless they are the only element, in which case the identity permutation
is represented by \((1)\) or \(\epsilon\).
Let's list all elements of \(S_3\) again using cycle notation. We compute them by tracking where each element \(1, 2, 3\) maps to.
1. Identity and Rotations (Subgroup of order 3):
\[
\begin{align*}
\epsilon &= \begin{bmatrix} 1 & 2 & 3 \\ 1 & 2 & 3 \end{bmatrix} = (1) \\\\
\alpha &= \begin{bmatrix} 1 & 2 & 3 \\ 2 & 3 & 1 \end{bmatrix} = (1\, 2\, 3) \quad (\text{since } 1\to 2\to 3\to 1) \\\\
\alpha^2 &= \begin{bmatrix} 1 & 2 & 3 \\ 3 & 1 & 2 \end{bmatrix} = (1\, 3\, 2) \quad (\text{since } 1\to 3\to 2\to 1)
\end{align*}
\]
2. Reflections (Transpositions):
To find the cycle notation for products like \(\beta\), \(\alpha\beta\), and \(\alpha^2\beta\), we perform the composition.
Remember, composition works from right to left.
For \(\beta\) (swaps 2 and 3, fixes 1):
\[
\beta = \begin{bmatrix} 1 & 2 & 3 \\ 1 & 3 & 2 \end{bmatrix} = (2\, 3)
\]
For \(\alpha\beta\) (Compose \(\beta\) then \(\alpha\)):
1. Start with \(1\): \(\beta(1)=1\), then \(\alpha(1)=2\). Total: \(1 \to 2\).
2. Next with \(2\): \(\beta(2)=3\), then \(\alpha(3)=1\). Total: \(2 \to 1\). (Cycle closes: \((1\, 2)\))
3. Check \(3\): \(\beta(3)=2\), then \(\alpha(2)=3\). Total: \(3 \to 3\). (Fixed)
\[
\alpha\beta = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 1 & 3 \end{bmatrix} = (1\, 2)
\]
For \(\alpha^2\beta\) (Compose \(\beta\) then \(\alpha^2\)):
1. Start with \(1\): \(\beta(1)=1\), then \(\alpha^2(1)=3\). Total: \(1 \to 3\).
2. Next with \(3\): \(\beta(3)=2\), then \(\alpha^2(2)=1\). Total: \(3 \to 1\). (Cycle closes: \((1\, 3)\))
3. Check \(2\): \(\beta(2)=3\), then \(\alpha^2(3)=2\). Total: \(2 \to 2\). (Fixed)
\[
\alpha^2\beta = \begin{bmatrix} 1 & 2 & 3 \\ 3 & 2 & 1 \end{bmatrix} = (1\, 3)
\]
Permutation Properties
To efficiently calculate the order of a permutation and to simplify complex compositions, it is essential to
master the properties of cycle decomposition. This section focuses on the structural theorems that allow us to
uniquely represent any permutation and analyze its properties.
Two cycles \((i_1\, i_2\, \ldots \, i_k)\) and \((j_1\, j_2\, \ldots\, j_m)\) are disjoint
if they have no numbers in common. That is, the sets \(\{i_1, \ldots, i_k\}\) and \(\{j_1, \ldots, j_m\}\) are
mutually exclusive.
Theorem: Products of Disjoint Cycles
Every permutation of a finite set can be written as a cycle or as a product of disjoint cycles.
Moreover, this decomposition is unique up to the order of the factors.
Proof:
Existence.
Let \(\alpha\) be a permutation of a finite set \(S = \{1, 2, \ldots, n\}\).
Step 1 (cycle through a single element).
Fix any \(x \in S\) and consider the sequence
\(x, \alpha(x), \alpha^2(x), \ldots\). Since \(S\) is finite, the pigeonhole
principle yields nonnegative integers \(i < j\) with
\(\alpha^i(x) = \alpha^j(x)\). Because \(\alpha\) is a bijection, applying
\(\alpha^{-i}\) gives \(x = \alpha^{j-i}(x)\). Therefore the set
\(\{t \geq 1 : \alpha^t(x) = x\}\) is nonempty; let \(k\) be its smallest
element.
The elements \(x, \alpha(x), \ldots, \alpha^{k-1}(x)\) are distinct: if
\(\alpha^a(x) = \alpha^b(x)\) for some \(0 \leq a < b < k\), then
\(\alpha^{b-a}(x) = x\) with \(0 < b - a < k\), contradicting the minimality of
\(k\). If \(k = 1\), then \(\alpha\) fixes \(x\). If \(k \geq 2\), then on the
set \(O_x := \{x, \alpha(x), \ldots, \alpha^{k-1}(x)\}\), the permutation
\(\alpha\) agrees with the \(k\)-cycle
\((x\; \alpha(x)\; \alpha^2(x)\; \cdots\; \alpha^{k-1}(x))\).
Step 2 (iterate over remaining elements).
If \(O_x = S\), we are done. Otherwise, pick any \(y \in S \setminus O_x\) and
repeat Step 1 to obtain a set \(O_y\) and an associated cycle. We claim
\(O_x \cap O_y = \emptyset\). Suppose instead that \(z \in O_x \cap O_y\),
so \(z = \alpha^a(x) = \alpha^b(y)\) for some integers \(a, b \geq 0\). Then
\(y = \alpha^{a-b}(x) \in O_x\) (using that \(O_x\) is closed under both
\(\alpha\) and \(\alpha^{-1}\), since \(\alpha^k(x) = x\)), contradicting
\(y \in S \setminus O_x\).
Continuing this process until every element of \(S\) is covered yields a
partition
\(S = O_{x_1} \sqcup O_{x_2} \sqcup \cdots \sqcup O_{x_s}\),
and \(\alpha\) equals the product of the corresponding cycles (with 1-cycles,
corresponding to fixed points, omitted from the notation).
Uniqueness.
Suppose \(\alpha = \gamma_1 \gamma_2 \cdots \gamma_t\) is any decomposition
into pairwise disjoint cycles of length \(\geq 2\). For each non-fixed element
\(x \in S\), exactly one \(\gamma_i\) moves \(x\); on the support of
\(\gamma_i\), all other \(\gamma_j\) act as the identity. Hence
\(\alpha(x) = \gamma_i(x)\), \(\alpha^2(x) = \gamma_i^2(x)\), and so on, so the
support of \(\gamma_i\) equals
\(O_x = \{x, \alpha(x), \alpha^2(x), \ldots\}\), and \(\gamma_i\) is
determined entirely by \(\alpha\) and \(x\). Therefore the cycles in any
decomposition are precisely the sets \(O_{x_i}\) produced in the existence
proof, so the decomposition is unique up to the order of the factors.
Theorem: Disjoint Cycles Commute
If the pair of cycles \(\alpha = (a_1 \, a_2 \, \ldots \, a_m) \) and \(\beta = (b_1 \, b_2 \, \ldots \, b_n) \) have
no entries in common, then \(\alpha \beta = \beta \alpha\).
Proof:
Let \(S\) be the finite set on which \(\alpha\) and \(\beta\) act. Since the cycles are disjoint,
the set \(S\) can be partitioned into three mutually exclusive and exhaustive subsets:
- \(A = \{a_1, a_2, \ldots, a_m\}\), the set of elements moved by \(\alpha\).
- \(B = \{b_1, b_2, \ldots, b_n\}\), the set of elements moved by \(\beta\).
- \(C = \{ c_1, c_2, \ldots, c_k\}\), the set of all other elements in \(S\) (fixed by both \(\alpha\) and \(\beta\)).
To prove that the permutations are equal, we must show that the result of applying the compositions
\(\alpha \beta\) and \(\beta \alpha\) is identical:
\[
\forall x \in S, \, (\alpha \beta)(x) = (\beta \alpha)(x).
\]
Case 1: \(x \in A\) (The element is moved by \(\alpha\))
Since \(A\) and \(B\) are disjoint, \(\beta\) must fix every element in \(A\). Thus, \(\beta(x) = x\).
For the composition \(\alpha \beta\):
\[
(\alpha \beta)(x) = \alpha(\beta (x)) = \alpha(x).
\]
Since \(x \in A\), \(\alpha(x)\) is also in \(A\). Because \(A\) and \(B\) are disjoint, \(\beta\) fixes \(\alpha(x)\).
For the composition \(\beta \alpha\):
\[
(\beta \alpha)(x) = \beta (\alpha (x)) = \alpha (x).
\]
Thus, for \(x \in A\), \((\alpha \beta)(x) = \alpha(x) = (\beta \alpha)(x)\).
Case 2: \(x \in B\) (The element is moved by \(\beta\))
Since \(B\) and \(A\) are disjoint, \(\alpha\) must fix every element in \(B\). Thus, \(\alpha(x) = x\).
For the composition \(\alpha \beta\):
\[
(\alpha \beta)(x) = \alpha(\beta (x)).
\]
Since \(x \in B\), \(\beta(x) \in B\). Because \(B\) and \(A\) are disjoint, \(\alpha\) fixes \(\beta(x)\). Therefore,
\[
(\alpha \beta)(x) = \beta (x).
\]
For the composition \(\beta \alpha\):
\[
(\beta \alpha)(x) = \beta (\alpha (x)) = \beta (x),
\]
since \(\alpha(x) = x\).
Thus, for \(x \in B\), \((\alpha \beta)(x) = \beta(x) = (\beta \alpha)(x)\).
Case 3: \(x \in C\) (The element is fixed by both \(\alpha\) and \(\beta\))
By the definition of the set \(C\), we have \(\alpha(x) = x\) and \(\beta(x) = x\).
For the composition \(\alpha \beta\):
\[
(\alpha \beta)(x) = \alpha(\beta (x)) = \alpha(x) = x.
\]
For the composition \(\beta \alpha\):
\[
(\beta \alpha)(x) = \beta (\alpha (x)) = \beta (x) = x.
\]
Thus, for \(x \in C\), \((\alpha \beta)(x) = x = (\beta \alpha)(x)\).
Since the result of the two compositions is the same across all three exhaustive subsets,
we conclude that \(\alpha \beta = \beta \alpha\).
Theorem: Order of a Permutation
The order of a permutation of a finite set is the least common multiple (LCM) of the lengths of its disjoint cycles.
Proof:
Let \(\alpha\) be a permutation and its disjoint cycle decomposition be:
\[
\alpha = \beta_1 \beta_2 \ldots \beta_r
\]
where \(\beta_i\) is a cycle of length \(k_i\). The order of a \(k_i\)-cycle is \(|\beta_i| = k_i\):
for a cycle \(\sigma = (i_1\, i_2\, \ldots\, i_{k_i})\), we have \(\sigma^{k_i}(i_j) = i_j\) for every \(j\)
(the indices cycle back), so \(\sigma^{k_i} = \epsilon\); and for any \(0 < t < k_i\),
\(\sigma^t(i_1) = i_{1+t} \neq i_1\), so no smaller positive power yields the identity.
We must show that \(|\alpha| = \text{lcm}(k_1, k_2, \ldots, k_r) = m\).
Step 1: Show that \(\alpha^m = \epsilon\)
Since the cycles \(\beta_1, \ldots, \beta_r\) are pairwise disjoint, they pairwise commute
(by the
Disjoint Cycles Commute
theorem). Consequently, for any positive integer \(t\):
\[
\alpha^t = (\beta_1 \beta_2 \cdots \beta_r)^t = \beta_1^t \beta_2^t \cdots \beta_r^t.
\]
By the definition of the least common multiple, \(m\) is a multiple of each \(k_i\).
Since \(|\beta_i| = k_i\), we have \(\beta_i^m = \epsilon\) for every \(i\).
It follows that:
\[
\alpha^m = \epsilon \cdot \epsilon \cdots \epsilon = \epsilon.
\]
Since \(\alpha^m = \epsilon\), the theorem on order dividing any annihilating power gives \(|\alpha| \mid m\),
and thus \(|\alpha| \leq m\).
Step 2: Show that \(m\) is the smallest such positive integer
Suppose \(\alpha^t = \epsilon\) for some positive integer \(t\). This means:
\[
\beta_1^t \beta_2^t \cdots \beta_r^t = \epsilon.
\]
Since the cycles are disjoint, each \(\beta_i\) moves a disjoint set of elements.
For any element \(x\) moved by the cycle \(\beta_i\), the other cycles \(\beta_j\) (\(j \neq i\)) fix \(x\).
Applying the permutation to such an \(x\), we get:
\[
\alpha^t(x) = \beta_i^t(x) = x.
\]
Since this holds for all \(x\) in the support of \(\beta_i\), we must have \(\beta_i^t = \epsilon\).
By the same theorem, \(\beta_i^t = \epsilon\) implies that \(|\beta_i| = k_i\)
divides \(t\). Because this must hold for every \(i \in \{1, \ldots, r\}\), \(t\) must be
a common multiple of all cycle lengths \(k_1, \ldots, k_r\).
By definition, the least common multiple \(m\) is the smallest such integer. Thus, \(t \geq m\).
We conclude that \(|\alpha| = m = \text{lcm}(k_1, k_2, \ldots, k_r)\).
For example, consider the permutation \(\alpha \in S_5\) defined in two-row notation as:
\[
\alpha = \begin{bmatrix} 1 & 2 & 3 & 4 & 5 \\ 2 & 3 & 1 & 5 & 4 \end{bmatrix}
\]
- Decomposition into Disjoint Cycles (by the
Products of Disjoint Cycles theorem):
We trace the elements: \(1 \to 2 \to 3 \to 1\) (a 3-cycle) and \(4 \to 5 \to 4\) (a 2-cycle).
The disjoint cycle factorization is:
\[
\alpha = (1\, 2\, 3)(4\, 5)
\]
This factorization is unique up to the order of the disjoint cycles (e.g., \((4\, 5)(1\, 2\, 3)\)).
- Order of the Permutation (by the
Order of a Permutation theorem):
The cycle lengths are \(3\) for \((1\, 2\, 3)\) and \(2\) for \((4\, 5)\).
The order of \(\alpha\) is the Least Common Multiple (LCM) of the cycle lengths:
\[
|\alpha| = \text{lcm}(3, 2) = 6.
\]
This means \(\alpha\) must be composed with itself 6 times to return to the identity: \(\alpha^6 = \epsilon\).
Theorem: Product of 2-Cycles
Every permutation in \(S_n, \, n > 1\), is a product of 2-cycles.
Proof:
Since every permutation can be written as a product of disjoint cycles (by the
Products of Disjoint Cycles
theorem), it suffices to show
that every cycle can be written as a product of 2-cycles (transpositions).
Consider an arbitrary \(k\)-cycle: \(\sigma = (i_1\, i_2\, \ldots\, i_k)\).
We claim that:
\[
(i_1\, i_2\, \ldots\, i_k) = (i_1\, i_k)(i_1\, i_{k-1}) \cdots (i_1\, i_3)(i_1\, i_2)
\]
where the product of \(k-1\) transpositions is evaluated from right to left.
Let \(\tau\) denote the product on the right-hand side. We verify that \(\sigma\) and \(\tau\)
agree on all elements.
-
For \(i_1\):
The rightmost transposition \((i_1\, i_2)\) sends \(i_1 \mapsto i_2\).
Each subsequent transposition \((i_1\, i_m)\) for \(m = 3, \ldots, k\) fixes \(i_2\) (since \(i_2 \neq i_1\) and \(i_2 \neq i_m\)).
Thus \(\tau(i_1) = i_2 = \sigma(i_1)\).
-
For \(i_j\) where \(2 \leq j \leq k-1\):
Reading right to left: the transpositions \((i_1\, i_2), (i_1\, i_3), \ldots, (i_1\, i_{j-1})\) all fix \(i_j\).
The transposition \((i_1\, i_j)\) sends \(i_j \mapsto i_1\).
The next transposition \((i_1\, i_{j+1})\) sends \(i_1 \mapsto i_{j+1}\).
The remaining transpositions \((i_1\, i_{j+2}), \ldots, (i_1\, i_k)\) all fix \(i_{j+1}\).
Thus \(\tau(i_j) = i_{j+1} = \sigma(i_j)\).
-
For \(i_k\):
Reading right to left: the transpositions \((i_1\, i_2), (i_1\, i_3), \ldots, (i_1\, i_{k-1})\) all fix \(i_k\).
The leftmost transposition \((i_1\, i_k)\) sends \(i_k \mapsto i_1\).
Thus \(\tau(i_k) = i_1 = \sigma(i_k)\).
-
For any \(x \notin \{i_1, \ldots, i_k\}\):
Every transposition \((i_1\, i_m)\) fixes \(x\), so \(\tau(x) = x = \sigma(x)\).
Since \(\sigma\) and \(\tau\) agree on all elements of \(\{1, 2, \ldots, n\}\), we have \(\sigma = \tau\).
Therefore, every cycle is a product of transpositions. Since every permutation is a product of disjoint cycles,
every permutation in \(S_n\) is a product of transpositions.
Following the
Product of 2-Cycles
theorem, we can decompose our \(\alpha \in S_5\) into the product of 2-cycles as follows:
\[
\begin{align*}
\alpha &= \begin{bmatrix} 1 & 2 & 3 & 4 & 5 \\ 2 & 3 & 1 & 5 & 4 \end{bmatrix} \\\\
&= (1\, 2\, 3)(4\, 5) \\\\
&= (1\, 3)(1\, 2)(4\, 5).
\end{align*}
\]
Alternating Groups
Every permutation can be uniquely factored into a product of disjoint cycles, and subsequently,
decomposed into a product of 2-cycles (transpositions). This decomposition,
though NOT unique in the specific transpositions used, leads us to the concept
of permutation parity. A key theorem guarantees the invariance of this property: the number of 2-cycles
in any factorization of a given permutation will always be consistently even or consistently odd.
This fundamental distinction establishes the alternating Group (\(A_n\)) as a crucial normal subgroup of
the symmetric Group (\(S_n\)), which plays an important role in Galois theory and the determination of
the solvability of polynomial equations.
Lemma: The Identity is Even
If the identity \(\epsilon = \beta_1 \beta_2 \cdots \beta_r\), where each \(\beta_i\) is a 2-cycle,
then \(r\) must be an even number.
Proof:
Suppose for contradiction that some odd \(r \geq 1\) admits a representation
\(\epsilon = \beta_1 \beta_2 \cdots \beta_r\) with each \(\beta_j\) a 2-cycle.
Since a single 2-cycle moves two elements and is never the identity, \(r \geq 3\).
Among all such odd representations, pick one with \(r\) minimal.
Fix any symbol \(a\) appearing in the 2-cycles, and let \(\beta_i\) be the
rightmost 2-cycle containing \(a\) (so \(\beta_{i+1}, \ldots, \beta_r\)
all fix \(a\)).
The case \(i = 1\).
If \(\beta_1\) is the only 2-cycle containing \(a\), then \(\beta_2, \ldots, \beta_r\)
all fix \(a\), so
\[
\epsilon(a) = \beta_1 \beta_2 \cdots \beta_r(a) = \beta_1(a).
\]
But \(\beta_1\) is a 2-cycle containing \(a\), so \(\beta_1(a) \neq a\).
This contradicts \(\epsilon(a) = a\).
The case \(i \geq 2\).
We examine the adjacent pair \(\beta_{i-1}\beta_i\). Writing \(\beta_i = (a\, b)\),
there are four possible configurations for \(\beta_{i-1}\), depending on how its
entries relate to \(\{a, b\}\) (where \(c, d\) denote symbols distinct from \(a, b\)
and from each other):
- \(\beta_{i-1}\beta_i = (a\,b)(a\,b) = \epsilon\). The two 2-cycles cancel,
reducing the total count to \(r - 2\).
- \(\beta_{i-1}\beta_i = (a\,c)(a\,b) = (a\,b)(b\,c)\). After rewriting, \(a\)
no longer appears in position \(i\); it appears only in position \(i - 1\).
- \(\beta_{i-1}\beta_i = (b\,c)(a\,b) = (a\,c)(b\,c)\). After rewriting, \(a\)
appears only in position \(i - 1\).
- \(\beta_{i-1}\beta_i = (c\,d)(a\,b) = (a\,b)(c\,d)\) (disjoint cycles commute,
by the
Disjoint Cycles Commute
theorem). After rewriting, \(a\) appears only in position \(i - 1\).
In case 1, we obtain a representation of \(\epsilon\) as a product of \(r - 2\)
2-cycles. Since \(r\) is odd, so is \(r - 2\), and \(r - 2 \geq 1\). But \(r - 2 = 1\)
is impossible (a single 2-cycle is not the identity), while \(r - 2 \geq 3\)
contradicts the minimality of \(r\). Either way, a contradiction.
In cases 2, 3, 4, the total count remains \(r\), but the rightmost 2-cycle
containing \(a\) has moved from position \(i\) to position \(i - 1\), strictly
smaller. Since this position is a positive integer, repeated application of the
cases must terminate — either by reaching case 1 (yielding the contradiction above)
or by reducing the position to \(i = 1\), which gives the contradiction of the
previous paragraph.
In every scenario we reach a contradiction. Therefore no odd \(r\) admits such a
representation, so \(r\) must be even.
Theorem: The Parity Theorem (Always Even or Always Odd)
If a permutation \(\alpha\) can be expressed as a product of an even (odd) number of 2-cycles,
then every decomposition of \(\alpha\) into a product of 2-cycles must have an even (odd) number of 2-cycles.
In symbols, if
\[
\alpha = \beta_1 \beta_2 \cdots \beta_r \text{ and } \alpha = \gamma_1 \gamma_2 \cdots \gamma_s
\]
where \(\beta\)'s and \(\gamma\)'s are 2-cycles, then \(r\) and \(s\) are both even or both odd.
Proof:
Suppose that a permutation \(\alpha\) has two different decompositions into 2-cycles:
\[
\alpha = \beta_1 \beta_2 \cdots \beta_r \quad \text{and} \quad \alpha = \gamma_1 \gamma_2 \cdots \gamma_s
\]
We want to show that \(r\) and \(s\) must have the same parity.
Equating the two expressions:
\[
\beta_1 \beta_2 \cdots \beta_r = \gamma_1 \gamma_2 \cdots \gamma_s
\]
Since every 2-cycle is its own inverse, we multiply both sides by \(\beta_r \cdots \beta_1\) to isolate the identity:
\[
\epsilon = \gamma_1 \gamma_2 \cdots \gamma_s \beta_r \cdots \beta_1
\]
The identity is now expressed as a product of \(s + r\) transpositions.
By the Lemma above, the total number of transpositions \(s + r\) must be even.
Note that if \(s+r\) is even, then \(s\) and \(r\) must be both even or both odd. This confirms that
the parity of \(\alpha\) is well-defined and consistent across any possible decomposition.
By the Parity Theorem, the parity of a permutation is well-defined — it does not depend on the
particular decomposition chosen. This allows us to classify permutations by their parity.
Even and Odd Permutations:
A permutation that can be expressed as a product of an even number of 2-cycles is called an even permutation.
A permutation that can be expressed as a product of an odd number of 2-cycles is called an odd permutation.
Alternating Group of Degree \(n\):
The alternating group of degree \(n\), denoted \(A_n\), is the set of all even permutations in \(S_n\).
Theorem: Order of the Alternating Group \(A_n\)
For \(n > 1\),
\[
|A_n| = \frac{|S_n|}{2} = \frac{n!}{2}.
\]
Proof:
We construct a bijection between \(A_n\) and \(S_n \setminus A_n\) (the set of
odd permutations). Since \(n > 1\), the transposition \((1\, 2) \in S_n\), and
we define
\[
\phi: A_n \to S_n \setminus A_n, \qquad \phi(\alpha) = (1\, 2)\,\alpha.
\]
Well-defined.
If \(\alpha \in A_n\), then \(\alpha = \beta_1 \beta_2 \cdots \beta_{2k}\) for
some even number of 2-cycles \(\beta_j\). Therefore
\[
(1\, 2)\,\alpha = (1\, 2)\,\beta_1 \beta_2 \cdots \beta_{2k}
\]
is a product of \(2k + 1\) 2-cycles. Since \(2k + 1\) is odd, \((1\, 2)\alpha\)
admits an odd-length decomposition into 2-cycles; by the
Parity Theorem,
every decomposition of \((1\, 2)\alpha\) has odd length, so
\((1\, 2)\alpha \in S_n \setminus A_n\).
Injective.
If \(\phi(\alpha) = \phi(\beta)\), then \((1\, 2)\alpha = (1\, 2)\beta\).
Multiplying both sides on the left by \((1\, 2)\) and using \((1\, 2)(1\, 2) = \epsilon\),
\[
\alpha = (1\, 2)(1\, 2)\alpha = (1\, 2)(1\, 2)\beta = \beta.
\]
Surjective.
Given any odd \(\sigma \in S_n \setminus A_n\), consider \((1\, 2)\sigma\).
Writing \(\sigma = \gamma_1 \gamma_2 \cdots \gamma_{2\ell + 1}\) as a product of
an odd number of 2-cycles, we see \((1\, 2)\sigma\) is a product of
\(2\ell + 2\) 2-cycles, an even number, so \((1\, 2)\sigma \in A_n\). Moreover,
\[
\phi\!\left((1\, 2)\sigma\right) = (1\, 2)(1\, 2)\sigma = \sigma.
\]
Therefore \(\phi\) is a bijection, so \(|A_n| = |S_n \setminus A_n|\). By the
Product of 2-Cycles
theorem, every permutation in \(S_n\) is a product of 2-cycles, and by
the Parity Theorem its parity is unambiguous; hence \(A_n\) and \(S_n \setminus A_n\)
partition \(S_n\), giving
\[
|A_n| + |S_n \setminus A_n| = |S_n| = n!.
\]
Combined with \(|A_n| = |S_n \setminus A_n|\), this yields \(|A_n| = n!/2\).
To determine the parity (even or odd) of a permutation, we decompose it into 2-cycles (transpositions) and count them.
- Odd Permutation (\(\alpha\) in \(S_5\)):
The permutation \(\alpha = (1\, 2\, 3)(4\, 5)\) is decomposed as:
\[
\alpha = (1\, 3)(1\, 2)(4\, 5)
\]
This is a product of \(r = 3\) two-cycles. Since \(3\) is an odd number, \(\alpha\) is an odd permutation.
- Even Permutation (\(\gamma\) in \(S_5\)):
Consider the 3-cycle \(\gamma = (1\, 2\, 3)\). It is decomposed as:
\[
\gamma = (1\, 3)(1\, 2)
\]
This is a product of \(r = 2\) two-cycles. Since \(2\) is an even number, \(\gamma\) is an even permutation.
(Note: Any cycle of odd length is an even permutation.)
- Order of the Alternating Group \(A_4\) (by the Order of the Alternating Group theorem):
The symmetric group \(S_4\) has \(|S_4| = 4! = 24\) elements.
The alternating group \(A_4\) (the set of all even permutations in \(S_4\)) has order:
\[
|A_4| = \frac{|S_4|}{2} = \frac{24}{2} = 12
\]