# Intuition about the semidirect product of groups

If we have two groups $G,H$ the construction of the direct product is quite natural. If we think about the most natural way to make the cartesian product $G\times H$ into a group it is certainly by defining the multiplication

$$(g_1,h_1)(g_2,h_2)=(g_1g_2,h_1h_2),$$

with identity $(1,1)$ and inverse $(g,h)^{-1}=(g^{-1},h^{-1})$.

On the other hand we have the construction of the semidirect product which is as follows: consider $G$,$H$ groups and $\varphi : G\to \operatorname{Aut}(H)$ a homomorphism, we define the semidirect product group as the cartesian product $G\times H$ together with the operation

$$(g_1,h_1)(g_2,h_2)=(g_1g_2,h_1\varphi(g_1)(h_2)),$$

and we denote the resulting group as $G\ltimes H$.

We an then show that this is a group and show many properties of it. My point here is the intuition.

This construction doesn't seem quite natural to make. There are many operations to turn the cartesian product into a group. The one used when defining the direct product is the most natural. Now, why do we give special importance to this one?

What is the intuition behind this construction? What are we achieving here and why this particular way of making the cartesian product into a group is important?

-
Sorry I can't give more details here and now but I advise to look into the Euclidean group as a good motivation for the semi direct product. Translations composed with rotations need for a semi direct product. – Learning is a mess Mar 19 at 15:05
One observation: internal direct product looks for two normal subgroups generating thw whole group with trivial intersection. For the internal semidirect product, one of the groups need not be normal - so, a broader range of groups can be described via this notion. – lisyarus Mar 19 at 15:09
I don't love this order for the semidirect product. For me, I find it more natural to write the normal subgroup on the left because then $(h_1,g_1)(h_2,g_2)=h_1g_1h_2g_2$ and you are using the automorphism to interchange the $g_1$ and the $h_2$, so this equals $h_1\phi_{g_1}(h_2)g_1g_2$. – Michael Burr Mar 19 at 15:42

Forget about the actual construction of the semidirect product for now. I argue that the semidirect product is important because it arises naturally and beautifully in many areas of mathematics. I will list below many examples, and I urge you to find a few that interest you and look at them in detail.

Before doing that let me just give the following extra motivation: say you have a group $G$, and you find two subgroups $H,K$ such that every element of $G$ can be uniquely written as a product $hk$ for $h \in H$, $k \in K$. In other words, you have a set-theoretic bijection between $G$ and $H \times K$. Then certainly you'd want to understand $G$ by studying its smaller components $H$ and $K$. One way to achieve this would be to find a suitable group structure on $H \times K$ intertwining the structures of $H$ and $K$ such that the above bijection becomes a group isomorphism. This can be done; however doing things in this generality becomes rapidly tedious. If instead we restrict our attention to such decompositions with $H$ normal in $G$, the problem becomes more much manageable. In this case we have what we call a split exact sequence $$1 \to H \to G \to K \to 1,$$ and $G$ is called a semidirect product of $H$ and $K$. An existence and uniqueness theorem gives us all the possible semidirect products one can obtain from $H$ and $K$ through the group of homomorphisms from $K$ to $\operatorname{Aut}H$. Note that $K = \mathbb{Z}/2$ appears often in practice, because this guarantees normality of $H$. Now here are some examples:

• The symmetric group $S_n = A_n \rtimes \mathbb{Z}/2$. The exact sequence is $$1 \to A_n \to S_n \xrightarrow{\mathit{sign}} \mathbb{Z}/2 \to 1.$$

• The dihedral group $D_n = \mathbb{Z}/n \rtimes \mathbb{Z}/2$. The exact sequence is $$1 \to \mathbb{Z}/n \to D_n \xrightarrow{\mathit{det}} \mathbb{Z}/2 \to 1.$$

• The infinite dihedral group $D_\infty = \mathbb{Z} \rtimes \mathbb{Z}/2$. The exact sequence depends on your explicit construction. You may take $$1 \to \mathbb{Z} \to \mathbb{Z}/2 * \mathbb{Z}/2 \to \mathbb{Z}/2 \to 1$$ or $$1 \to \mathbb{Z} \to A(1,\mathbb{Z}) \to \mathbb{Z}/2 \to 1,$$ where $A(1,\mathbb{Z})$ is the group of affine transformations of the form $x \mapsto ax + b$, where $a \in \{ \pm 1 \} \cong \mathbb{Z}/2$ and $b \in \mathbb{Z}$.

• Many matrix groups, thanks to the determinant map. For example, $G = \operatorname{GL}(n,\mathbb{F})$, $O(n,\mathbb{F})$ and $U(n)$ have respective subgroups $H = \operatorname{SL}(n,\mathbb{F}),\operatorname{SO}(n,\mathbb{F}),\operatorname{SU}(n)$ and $K = \mathbb{F}^\times,\mathbb{Z}/2,U(1)$.

• The fundamental group of the Klein bottle is $G = \langle x,y \mid xyx = y \rangle$. This is just the nontrivial semidirect product of $\mathbb{Z}$ with itself. Interestingly, the other (trivial) semidirect product $\mathbb{Z}^2$ is the fundamental group of the other closed surface of Euler characteristic $0$, namely the torus.

• The affine group $A(n,\mathbb{F}) = \mathbb{F}^n \rtimes \operatorname{GL}(n,\mathbb{F})$. Its elements are transformations $\mathbb{F}^n \to \mathbb{F}^n$ of the form $x \mapsto Ax + b$, with $A$ an invertible matrix and $b$ a translation vector. The exact sequence is $$1 \to \mathbb{F}^n \to A(n,\mathbb{F}) \xrightarrow{f} \operatorname{GL}(n,\mathbb{F}) \to 1$$ where $f$ forgets the affine structure (the translation part).

• The hyperoctahedral group $O(n,\mathbb{Z})$ is the group of signed permutation matrices. We have two decompositions $O(n,\mathbb{Z}) \cong \operatorname{SO}(n,\mathbb{Z}) \rtimes \mathbb{Z}/2$ and $O(n,\mathbb{Z}) \cong (\mathbb{Z}/2)^n \rtimes S_n$. In the corresponding exact sequences the surjective map is respectively the determinant homomorphism and the "forget all the signs" homomorphism.

-
By the way, I recently wrote some notes on the subject if this perspective interests you. – Alex Provost Mar 20 at 17:34

It is nice to think about $D_4$ as a semidirect product. Namely, $D_4=\langle \sigma,\tau:\sigma^4=\tau^2=1,\tau\sigma=\sigma^{-1}\tau\rangle$. You can see the automorphism because $\sigma$ and $\tau$ do not commute, but the automorphism ($x\mapsto x^{-1}$) tells you how to move the $\tau$ past the $\sigma$.

In general, the direct product is not enough because the operation between elements of the two subgroups is always commutative. On the other hand, if $G$ is a group, $N$ is a normal subgroup, $H$ is a subgroup ($H$ need not be normal like in a direct product), $H\cap N=\{1\}$, and $G=NH$, then $G$ must be a semidirect product. (The operation between elements of $N$ and $H$ need not be commutative.) So, you can argue that the semidirect product classifies all groups constructed in this way.

The big idea in a semidirect product is the following:

• You have two subgroups $N$ and $H$. You understand the operation when you multiply elements of $N$ and you understand the operation when you multiply elements of $H$.

• The automorphism is used to compare the operation between elements of $N$ and elements of $H$.

• You know that $N$ is normal, so for any $n\in N$ and $h\in H$, $hnh^{-1}$ is some element of $N$, and the map $n\mapsto hnh^{-1}$ is an automorphism of $N$. The semidirect product construction describes this conjugation automorphism. Therefore, if the automorphism determined by conjugation is $\phi_h:N\rightarrow N$, then $hn=hnh^{-1}h=\phi_h(n)h$.

-
I believe you want the decomposition $G = NH$ to be unique. (I.e. $N \cap H = 1$.) Otherwise consider, say, $N = H = G$. – Alex Provost Mar 19 at 16:05
@AlexProvost Thanks for the catch. – Michael Burr Mar 19 at 16:21

I take a different point of view than most people on this, I think, which is due to the way I first encountered it (along the lines of mathematical physics). To me the direct product is lacking in much structure. You effectively just slap two groups together and call it a day - much like when you combine two subspaces via direct sums.

The semi-direct product is a simple way to really mix two groups together. Let's consider matrices. If we have two groups of square matrices (with the same dimension), say $G$ and $H$, then if we were to multiply elements, we'd have $g_1 h_1 g_2 h_2$. This would be like the product $(g_1,h_1)(g_2,h_2)$ in direct product notation. If $H$ commutes with $G$, then we could rewrite this as $g_1 g_2 h_1 h_2$ which we could realize as being similar to $(g_1g_2,h_1h_2)$ in direct product notation. The two groups don't really see each other in this setting.

We know however that this is not always the case. Instead what you might have is that $H$ acts on $G$ in some way so that if you try to repackage the product $g_1 h_1 g_2 h_2$ in the form $g_1 g_2 h_1 h_2$, $g_2$ gets mixed up a bit by $h_1$. Since we don't want to leave the group $G$, we would need that $h_1$ acting on $g_2$ gives us another element in $G$. Moreover $h_1 I = I h_1$ so $h_1$ would have to permute the elements of $G$ while leaving the identity fixed. Moreover, if we had $g_1 h_1 g_2g_3 h_3$, then acting $h_1$ on each of $g_2$ and $g_3$ independently (and moving over) should give the same result as acting on their product (and moving over) - this is just the homomorphism property.

This does not give rise to the automorphism aspect, but this can be seen by noting that $h^{-1}hg = g$ and so if $h$ mapped $g$ to the identity, you would have a contradiction (unless $g = I$ of course).

In summary: if you had two matrix groups $G$ and $H$ that did not necessarily commute but attempted to reorder the elements in a direct product kind of way, you necessarily need that $H$ acts on $G$ by automorphisms.

-

You are looking at this in the wrong way.

The main reason for which we define the direct product of groups is that we like describing/understanding the structure of groups and we noticed that many groups are, well, direct products.

Now not all groups are direct products. For example, the dihedral group is not a direct product. But in this last example, for example, we are able to provide a very useful description of the group in a way that resembles a direct product in a way. As we find this same phenomenon in many contexts, we give it a name and call it semidirect product.

It is wrong, and a source of frustration, to look for the intuition of a definition which is motivated by examples: no one had any intuitive reason to come up with the definition of semidirect products out of thin air.

The definition does not have an intuition to justfy it: it is a useful concept in that it applies to many examples and it encapsulates many useful features which are useful to do things with groups.

You would not as for intution for the definition of the term «tree».

The construction does not seem natural to you simply because you do not know many groups and you have not yet spent much time investigating the structure of groups in any detail — if you do that, then the sheer force of examples will make it natural.

The key point is what it means for a definition to be «natural». And it does almost never mean «one could come up with it out of abstract meditation»: essentally all definitions are made to codify a situation that people encounter often and which, for that reason, is useful to give a name to. Of course, this meaning of «naturality» is relative: what seems unnatural to you would be utterly natural to, say, Burnside.

The punchline of all this is that it is almost never useful or productive to ask for the intuition of definitions when you first encounter them: what will help you is not some etherial intuition but examples, and that is what one should ask for to maximize understanding.

The next question would naturally be «what is the intuition behind the Zappa–Szép product and the answer would be the same: none. But some groups are not direct products not semidirect products but they still have two subgroups which somewhat similar properties as the factors of a direct product, and since this occurs often in practice, we give a name to that situation.

-
As evidence, you should notice that most of the time when people ask for intuition they get answered back with examples. – Mariano Suárez-Alvarez Mar 19 at 18:44