Group theory through GAP
Group Recap
For \(H \leq G\), the (right) coset of \(H\) relative to \(g \in G\) is the set \[ Hg = \left\{ hg \mid h \in H \right\}. \] If \(1, h, h_2, \dots, h_k\) are the elements of \(H\), then \[ Hg = \left\{ g, h_1 g, \dots, h_k g \right\}. \]
Note that \(Hg_1\) and \(Hg_2\) are the same if and only if \(g_2 \in Hg_1\), which happens if and only if \(g_2 g_1^{-1} \in H\), i.e. \(\exists h \in H\) such that \(g_2 = hg_1\).
This means that the set of distinct cosets of \(H\) in \(G\) forms a partition of the elemens of \(G\).
Let \(G\) be a finite group and \(H \leq G\). Then \(\abs{H} \mid \abs{G}\).
Since the cosets of \(H\) form a partition of \(G\) intk \(g \geq 1\) parts of size \(\abs{H}\), we have \[ \abs{G} = \abs{H} \cdot k. \]
For a finite group \(G\), the order of any element \(g \in G\) divides the order of \(G\).
Let \(\abs{G} = n\).
If the order of \(g\) is \(k\), then the subgroup \((g)\) has \(k\) elements, so \(k \mid n\) by Lagrange's theorem.
Permutations
Let \(X\) be a set. A permutation on \(X\) is a bijection \(X \rightarrow X\) onto itself.
Let \(X\) be a set. The (right) symmetric group on \(X\), denoted \(\operatorname{Sym}_R(X)\) is the group of all permutations on the set \(X\) with the operation of "reversed composition," i.e. for \(\sigma, \rho \in \operatorname{Sym}_R(X)\), then \[ \sigma \star \rho = \rho \circ \sigma. \]
Dually one can define the left symmetric group using the composition. For our purposes of computer algebra, we wil always assume that we are using the right symmetric group. So we use the notation \(S_X\) to mean \(\operatorname{Sym}_R(X)\).
In particular, if \(X = \left\{ 1, \dots, n \right\}\), we also denote \(S_X = S_n\). Note that we have \(\abs{S_n} = n!\).
Consider the subgroup \(G\) of \(S_5\) consisting of the identity and the following permutations:
\begin{align*} \sigma &= \begin{pmatrix} 1 & 2 & 3 & 4 & 5 \\ 1 & 2 & 3 & 5 & 4 \end{pmatrix} \\ \tau &= \begin{pmatrix} 1 & 2 & 3 & 4 & 5 \\ 3 & 2 & 1 & 4 & 5 \end{pmatrix} \\ \mu &= \begin{pmatrix} 1 & 2 & 3 & 4 & 5 \\ 3 & 2 & 1 & 5 & 4 \end{pmatrix} \end{align*}This group has four elements. The multiplication table looks like
| \(id\) | \(\sigma\) | \(\tau\) | \(\mu\) | |
|---|---|---|---|---|
| \(id\) | \(id\) | \(\sigma\) | \(\tau\) | \(\mu\) |
| \(\sigma\) | \(\sigma\) | \(id\) | \(\mu\) | \(\tau\) |
| \(\tau\) | \(\tau\) | \(\mu\) | \(id\) | \(\sigma\) |
| \(\mu\) | \(\mu\) | \(\tau\) | \(\sigma\) | \(id\) |
This is the Klein 4-group \(V\).
This representation is "nice," but is quite space-inefficient. Let us consider other ways of representing the group.
We would normally use the the cyclic notation \[ \sigma = (45) \quad \tau = (13) \quad \mu = (13)(45) \]
Remember that two cycles are dijoint if they have no symbols in common. Observe that disjoint cycles commute. Also note that the order of a cycle in \(S_n\) is the length of the cycle.
Let \(\sigma \in S_n\). Then \(\sigma_n\) can be written as a product of disjoint cycles.
Let \(\sigma \in S_n\). Define \(X_1\) to be \[ \left\{ 1, \sigma(1), \sigma^2(1), \dots \right\}. \] The set \(X_1\) is finite because \(X\) is finite. If \(X_1 = X\), we are done. Otherwise, let \(i \in X\) be the smallest element not in \(X_1\). Continue by induction. Define \[ \sigma_j(x) = \begin{cases} \sigma(x) & x \in X_j \\ x & x \not\in X_j \end{cases} \] Then \(\sigma = \sigma_1\sigma_2 \dots \sigma_k\).
We call a 2-cycle a transposition.
Observe that if we have a cycle of length \(k \geq 2\) \((a_1,\dots, a_k)\), then \[ (a_1,\dots, a_k) = (a_ka_1)(a_ka_2) \cdots (a_ka_{k-1}). \] This means that every permutation cycle can be written as a product of transpositions.
It follows that any permutation itself can be written as a product of transpositions. The factorization of a permutation into transpositions is itself not unique.
Let \(\tau_1, \dots, \tau_k \in S_n\) be transpositions. If \(\tau_1 \cdots \tau_k = \operatorname{id}\), then \(k\) is even.
First note that \(k \neq 1\). If \(k = 2\), we are done. Assume \(k \geq 3\). Assume that the lemma holds for \(k' < k\).
Since \(k \geq 3\), we have 4 possibilities for \(\tau_{k-1}\) and \(\tau_k\).
- \((ab)(ab) = \operatorname{id}\)
- \((ab)(ac) = (ac)(bc)\)
- \((bc)(ab) = (ac)(bc)\)
- \((cd)(ab) = (ab)(cd)\)
If case 1 holds, then \(\operatorname{id} = \tau_1\dots, \tau_k = \tau_1\tau_2 \cdots \tau_{k-2}\), so we are done by the inductive hypothesis.
If any of the remaining cases holds then we can change the last two transpositions according to the chart. This rewrites the identity as \[ \operatorname{id} = \tau_1 \cdots \tau_{k-2} \tau_{k-1}' \tau_k' \] where the symbol \(a\) doe not appear in \(\tau_k'\) but does appear in \(\tau_{k-1}'\).
Now consider the product \(\tau_{k-2} \tau_{k-1}'\). Again we have four possibilities as above. If \(\tau_{k-2} = \tau_{k-1}'\), then we are done. Otherwise we can write the identity as \[ \operatorname{id} = \tau_1 \tau_2 \cdots \tau_{k-3} \tau_{k-2}' \tau_{k-1}'' \tau_k. \] where \(a\) is fixed by the last two transpositions but not by \(\tau_{k-2}'\). We continue this process until we either find two consecutive transpositions that cancel each other out, when we are done by the inductive hypothesis, or we have an expression of the form \[ \operatorname{id} = \tau_1^{ * } \tau_2^{ * } \cdots \tau_k^{ * }, \] where \(a\) is fixed by \(t_i^{ * }\) for all \(i \geq 2\), but not by \(\tau_1^{ * }\). This contradicts the product being the identity.
Let \(\sigma \in S_n\). The number of factors for any two factorization of \(\sigma\) into a product of transpositions is either always even or always odd.
Suppose \(\alpha_1 \cdots \alpha_k = \sigma = \beta_1 \cdots \beta_m\) for transpositions \(\alpha_i, \beta_j\). Then \[ \operatorname{id} = \alpha_1 \cdots \alpha_k \beta_m^{-1} \cdots \beta_k^{-1} \] is a product of transpositions. By the identity permutation parity lemma, \(k + m\) is even, therefore \(k\) and \(m\) have the same parity.
We define the parity of the permutation \(\sigma \in S_n\) simply as the parity of the number of factors in any factorization of \(\sigma\). This is well defined by the parity lemma.
We say \(\sigma\) itself is even if its parity is even, and odd if its parity is odd.
The set of all even permutations in \(S_n\) forms a subgroup called the alternating subgroup (of degree \(n\)) denoted as \(\operatorname{Alt}(n)\) or \(A_n\).
In \(S_n\) there are as many even permutations as there are odd.
Let \(X\) be the set of all even permutations. Let \(Y\) be the set of all odd permutations.
Let \(\sigma\) be a fixed transposition (e.g. (12)). Define \[ f_\sigma : X \rightarrow Y \] as \(f_{\sigma}(\tau) = \sigma\tau\). Clearly \(f_{\sigma}\) is well-defined.
Suppose that \(f_{\sigma}(x) = f_\sigma(y)\). Then also \(\sigma x = \sigma y\), so \(x = y\), so \(f_{\sigma}\) is injective. If \(\tau\) is any element in \(Y\) then \(\sigma \tau \in X\) and \(f_{\sigma}(\sigma\tau) = \tau\sigma\tau = \tau\), so \(f_{\sigma}\) is surjective.
\(A_n\) has index 2 in \(S_n\).
\(A_4\) has 12 elements. We can find subgroups of \(A_4\) of orders 1,2,3,4, and 12. But can we find a subgroup of order 6?
\(A_4\) does not contain a subgroup of order 6.
An exercise in the exercise sheets states that if \(H\) is a subgroup of \(G\) of index 2, then \(H\) contains all squares.
Note that the square of a 3-cycle is its inverse, which is distinct. Thus if \(A_4\) had a subgroup of index 2, it would have to contain all the 3-cycles, of which there are 8, and also the identity, so it is impossible for us to have 6 elements.
Group actions
Let \(X\) be a (nonempty) set and let \(G\) be a group. A (right) action of \(G\) on \(X\) is a map \[ \varphi : X \times G \rightarrow X \] such that
- \(\varphi(x, \operatorname{id}) = x\)
- \(\varphi(\varphi(x, g_1), g_2) = \varphi(x, g_1 g_2)\)
The image of \((x, g)\) is denoted \(x^g\), and we say that \(g\) acts on \(x\). The above laws then read
- \(x^{\operatorname{id}} = x\)
- \((x^g_1)^{g_2} = x^{g_1g_2}\)
- The symmetric group \(S_n\) acts on \(\left\{ 1, \dots, n \right\}\).
- Invertible square matrices with elements in a field form groups which act on the appropriate vector space.
- The dihedral group \(D_n\) acts on the vertices of a regular \(n\)-gon.
- The dihedral group \(D_n\) also acts on the edges of a regular \(n\)-gon.
Let \(G\) be a group acting on a set \(X\) with the action \(\varphi : X \times G \rightarrow X\). The mapping \(\Phi_{\varphi} : G \rightarrow S_X\) given by \[ \rho_{\varphi}(g) : x \mapsto x^{g^{-1}} \] is a group homomorphism.
Conversely, every group homomorphism \(\rho : G \rightarrow S_X\) induces an action of \(G\) on \(X\).
First let us observe that \(\rho_{\varphi}\) is a well-defined permutatio of the set \(X\). Let us verify that \(\rho_{\varphi}\) is a group homomorphism.
\(\rho_{\varphi}(gh)\) is a function given by \(x \mapsto x^{(gh)^{-1}}\). Thus \(\rho_{\varphi}(gh) = \rho_{\varphi}(g) \rho_{\varphi}(h)\) and hence \(\rho_{\varrho}\) is a homomorphism.
For the converse, let \(\rho : G \rightarrow S_X\) be a homomorphism. Then \((x, g) \mapsto \rho(g)(x)\) is a well-defined action. To see this, note that if \(g = \operatorname{id}_G\) then \(\rho(g) = \operatorname{Id}_{S_X}\) and thus \((x, g) \mapsto x\). The fact that the ation is associative follows from the fact that the operation in \(S_X\) is associative.
Every group \(G\) acts on itself by right multiplication. That is the function \(\varphi : G \times G \rightarrow G\) given by \((g, h) \mapsto gh\). We think of the \(G\) in the first parameter as the underlying set.
This induces a homomorphism \(\rho : G \rightarrow S_G\) given by \(\rho(g)\) given by the permutation \(h \mapsto hg\). We call this action the right regular action of \(G\). This is also often called the right regular representation (or Cayley representation) of \(G\).
We wonder whether \(\rho\) is injective. If so, the image of \(G\) is a subgroup of \(S_G\) which means we can consider every group as a permutation group.
If \(G\) is a group acting on \(X\), then the kernel of the action is the set \[ K \coloneqq \left\{ g \in G \mid x^g = x \text{ for all } x \in X \right\} \]
We say an action is faithful if \(K = \left\{ \operatorname{id} \right\}\) or equivalently if given \(g,h \in G\) where \(g \neq h\), then there exists \(x \in X\) such that \(x^g \neq x^h\).
Observe that the homomorphism \(\rho\) giving the right regular action of \(G\) is injective. Indeed, if \(g, h\ in G\) where \(g \neq h\) and \(x^g = x^h\), for every \(x \in G\), then \(xg=xh\) and thus \(g = h\), which is a contradiction.
This means that every group \(G\) embeds into the symmetric group \(S_G\).
Every finite group with \(n\) elements is isomorphic to a subgroup of \(S_n\).
Cayley's theorem tells us that \(\operatorname{Aut}(Q)\), the group of symmetries of the cube in \(\R^3\) is isomorphic to a subgroup of \(S_48\), which is absolutely massive and has a complicated structure. However, we may consider different actions of \(\operatorname{Aut}(Q)\) to embed it into a smaller group of permutations. It suffices that we find a faithful action. For instance, the action of \(\operatorname{Aut}(Q)\) on the vertices of \(Q\) is faithful (because if you fix 3 vertices, you fix all of them via the identity), thus we may consider \(\operatorname{Aut}(Q)\) as a subgroup of \(S_8\).
We can do even better by considering the action on the faces and embed into \(S_6\).
A group \(G\) acts on the set of cosets of a subgroup \(H \leq G\) by multiplication on the right. It need not be faithful. If \(K \leq H\) is a normal subgroup of \(G\), then \(xkx^{-1} \in K \subseteq H\) implying \(Hxk = Hx\).
Every group \(G\) acts on itself by conjugation. This is the action given by \[ x \mapsto g^{-1}xg \] The permutation induced by the action of any \(g \in G\) is an automorphism of \(G\). The kernel of this action is the center of \(G\), denoted \(Z(G)\) consisting of the elements of \(G\) that commute with every other element, i.e. \[ Z(G) = \left\{ g \in G \mid \forall h \in G .\, gh = hg \right\}. \]
Thus if \(g \in Z(G)\), then \(hg = gh\) holds for every \(\forall h \in G\), so we have \(g^{-1}h g = h\).
Let \(G\) be a group acting on \(X\). Given \(x \in X\), the orbit of \(x\) is the set \[ x^G \coloneqq \operatorname{Orb}_G(x) = \left\{ y \in X \mid y = x^g \text{ for some } g \in G \right\}. \]
The stabilizer of \(x\) is the set \[ G_x \coloneqq \operatorname{Stab}_x = \left\{ g \in G \mid x^g = x \right\}. \]
For \(g \in G\), the set of fixed points of \(g\) is \[ X_g \coloneqq \operatorname{Fix}(g) = \left\{ x \in X \mid x^g = x \right\}. \] The set of all fixed points of \(G\) is \[ X_G \coloneqq \operatorname{Fix}(G) = \left\{ x \in X \mid \forall g \in G .\, x^g = x \right\}. \]
Let \(G\) be a group acting on \(X\) and let \(g, h \in G\) and \(x, y \in X\). Then
- \(x^G\) and \(y^G\) are either equal as sets or they are disjoint, so orbits partition \(X\).
- The stabilizer \(G_X\) is a subgroup of \(G\) and \(G_y = g^{-1} G_x g\) whenever \(y = x^g\). Moreover, \(x^g = x^h\) if and only if \(G_x g = G_x h\).
For the first part, suppose we have \(z \in x^G \cap y^G\). Then there exist \(a, b \in G\) such that \(x^a = z\) and \(y^b = z\). Then \(x^a = y^b\) so \(x = (y^b)^{a^{-1}} = y^{ba^{-1}}\) which means that \(x\) and \(y\) are in the same orbit.
To see \(G_x\) is a subgroup note that \(\operatorname{id}_G \in G_x\) and clearly if \(a, b \in G_x\) then \(a^{-1}\) and \(b^{-1}\) fix \(x\), which means that \(ab^{-1}\) fixes \(x\).
Suppose \(y = x^g\). Then
\begin{align*} h \in G_y &\iff (x^g)^h = x^g = y \\ &\iff x^{ghg^{-1}} = x \\ &\iff ghg^{-1} \in G_x \\ &\iff h \in g^{-1}G_x g. \end{align*}Thus \(G_y = g^{-1} G_x g\).
Finally suppose \(x^g = x^h\). Then
\begin{align*} x^g = x^h &\iff x^{gh^{-1}} = x \\ &\iff gh^{-1} \in G_x \\ &\iff G_xg = G_xh \end{align*}Note that for cosets we have \(Ha = Hb\) if and only if \(ab^{-1} \in H\)
Let \(G\) be a group acting on a set \(X\) and let \(x \in X\). Then \[ \abs{x^G} = [G : G_x] \]
By the previous theorem \(\varphi : x^G \rightarrow G/G_x\) given by \[ x^g \mapsto G_x g \] is bijective.
Let \(G\) be a group acting on \(X\). Then we say (the action of) \(G\) is
- Transitive if \(\forall x, y \in X .\, \exists g \in G .\, x^g = y\). Equivalently, there is only one orbit.
- semiregular (or free, or fixed-point free) if no point in \(X\) is fixed by a nontrivial element of \(G\). Equivalently, stabilizers are vial.
- Regular if it's both transitive and semiregular.
- The action of any group \(G\) on itself by multiplication is transitive. This action is also semiregular. This means it is regular.
- The action of any nontrivial group \(G\) via conjugation is not transitive, because only the identity is fixed by conjugation. This action is in general not semiregular.
If \(G\) acts regularly on \(X\) then \[ \abs{G} = \abs{X}. \] This means that the action of an element \(g \in G\) is completely determined by its action on a single element of \(x\), i.e. given \(x ,y \in X\), we always have \(\exists! g\in G\) such that \(x^g = y\).
Suppose \(G\) is transitive on \(X\). Then
- Stabilizers form a single conjugacy class.
- \(\abs{G : G_x} = \abs{X}\) by the orbit stabilizer theorem.
We can compute the group automorphisms of the cube to have order 48.
First, let \(F\) be the face with vertices \(\left\{ 1,2,3,4 \right\}\). Observe there is a group \(H\) isomorphic to \(D_4\) that fixes \(F\) set-wise. Moreover, the action of \(H\) on the cube is completely determined by its action on \(\left\{ 1,2,3,4 \right\}\).
That is, \(H\) is the stabilizer of \(F\) in \(\operatorname{Aut}(Q)\). Clearly, we can map \(F\) to any other face of the cube via a rotation. This means that the orbit of\(F\) has 6 elements. Then, if we consider the action of \(\operatorname{Aut}(Q)\) on the set of faces of \(Q\), it follows from the orbit-stabilizer theorem that
\begin{align*} \abs{\operatorname{Aut}(Q)} &= \abs{\operatorname{Aut}(Q)_F} \cdot \abs{F^{\operatorname{Aut}(Q)}} \\ &= \abs{H} \cdot 6 \\ &= 8 \cdot 6 = 48 \end{align*}Let \(G\) be a group acting on set \(X\). Let \(N\) be the number of elements of \(G\) under this action. Then \[ N = \frac{1}{\abs{G}}\sum\limits_{g \in G}^{} \operatorname{Fix}(g) \]
We can rewrite the expression as follows
\begin{align*} \frac{1}{\abs{G}} \sum\limits_{g \in G}^{} \operatorname{Fix}(g) &= \frac{1}{\abs{G}} \sum\limits_{x \in X}^{} \abs{G_X} \\ &= \frac{1}{\abs{G}} \sum\limits_{x \in X }^{} \frac{\abs{G}}{\abs{x^G}}\\ &= \sum\limits_{x \in X}^{} \frac{1}{\abs{x^G}} \\ &= \sum\limits_{\text{orbits}}^{} \sum\limits_{\text{elements in orbits}}^{} \frac{1}{\abs{x^G}} \\ &= \sum\limits_{\text{orbits}}^{} \cdot 1 \\ &= N \end{align*}If \(G\) is transitive on \(X\) where \(\abs{X} \geq 2\), then there exists \(g \in G\) having no fixed points.
Since \(G\) is transitive, the number of orbits \(N\) is equal to 1. By Burnside's lemma we have \[ 1 = \frac{1}{\abs{G}} \sum\limits_{g \in G}^{} \operatorname{Fix}(g) \] Now \(\operatorname{Fix}(\operatorname{id_G}) = \abs{X}\). If every element of \(G\) fixes at least 1 point, then the right side of the equality is above 1, which is a contradiction.
Suppose we're making flags by stitching rectangles of fabric together. Two flags are the same if we can rotate one upside down to obtain the other. If we have \(n\) stripes and \(q\) colors, how many different flags can we make, having \(n\) stripes?
Let \(\tau \in S_n\) be the permutation \((1n)(2 n-1)\cdots (n1)\). Let \(C\) be the set of all \(n\)-tuples \(c = (c_1, \dots, c_n)\), where each \(c_i\) is one of our \(q\) colors.
Then \(G = (\tau)\) acts on \(C\) by flipping the coordinates \((c_1, \dots, c_n)^{\tau} = (c_n,c_{n-1},\dots, c_1)\). Then the number of different flags is the number \(N\) of orbits. By Burnside lemma it suffices that we know how many elements are fixed by \(\operatorname{id}\) and by \(\tau\). Clearly we have \(\operatorname{Fix}(\operatorname{id}) = q^n\). An element of \(C\) is fixed by \(\tau\) if it is a palindrome. There are \(q^{\ceil{\frac{n}{2}}}\) palindromes. Then \[ N = \frac{1}{\abs{G}} \sum\limits_{g \in G}^{} \operatorname{Fix}(g) = \frac{1}{2} \left( q^n + q^{\ceil{\frac{n}{2}}} \right). \]
Normal subgroups, quotients, isomorphism theorems
If \(S\) and \(T\) are subgroups of a finite group \(G\), then \[ \abs{ST} \abs{S \cap T} = \abs{S} \cdot \abs{T} \]
Define \(f : S \times T \rightarrow ST\) by \((s, t) \mapsto st\). Then \(f\) is clearly surjective. It suffices to show that for every \(x \in ST\), we have \(\abs{f^{-1}(x)} = \abs{S \cap T}\).
We will show that \[ f^{-1}(x) = \left\{ (sd, d^{-1}t) \mid d \in S \cap T \right\}. \] Where \(x = st\). Note that \(f(sd, d^{-1}t) = sdd^{-1}t = st\).
For the other inclusion, let \((s, t)\) and \((\sigma, \tau)\) be in \(f^{-1}(x)\). That is, \(st = x = \sigma\tau\). Then \(s^{-1}\sigma = t\tau^{-1}\). Note that \(s^{-1}\sigma \in S\) and \(t \tau^{-1} \in T\), so they are both in the intersection.
Let \(d = s^{-1}\sigma = t\tau^{-1}\). Then \[ \sigma = s(s^{-1}\sigma) = sd \quad \text{and} \quad d^{-1} t = \tau t^{-1}t = \tau. \] Then \((\sigma, \tau) = (sd, d^{-1}t)\). as required, proving that \[ (\sigma, \tau) \in \left\{ (sd, d^{-1}t) \mid d \in S \cap T \right\}. \]
We have shown that \(\abs{f^{-1}(x)} = \abs{S \cap T}\), and therefore \(\abs{ST} \abs{S \cap T} = \abs{S} \abs{T}\).
A subgroup \(N \leq G\) is normal, denoted \(N \unlhd G\) if \[ \forall g \in G .\, g^{-1} N g = N. \]
The kernel of a homomorphism \(\varphi : G \rightarrow H\), denoted \(\ker(\varphi)\) is the set of all elements \(g \in G\) such that \(\varphi(g) = \operatorname{id}_H\).
The kernel of a homomorphism \(\varphi : G \rightarrow H\) is a normal subgroup of \(G\).y