Folioby Interconnected
Log InSign Up

Direct and Semidirect Products

We develop the two fundamental ways of building new groups from old: the direct product and the semidirect product. After proving the equivalence of internal and external direct products, we define the semidirect product and illustrate it with the dihedral groups, symmetric groups, and groups of order pq.

FO
Folio Official
March 1, 2026

1 The Direct Product of Groups

Definition 1 (External direct product).
Given groups G and H, the external direct productG×H is the set of ordered pairs {(g,h)∣g∈G,h∈H} equipped with the componentwise operation
(g1​,h1​)(g2​,h2​)=(g1​g2​, h1​h2​).​
Proposition 2.
G×H is a group. The identity is (eG​,eH​), and the inverse of (g,h) is (g−1,h−1).
Proof.
Associativity follows from that of G and H: (g1​,h1​)((g2​,h2​)(g3​,h3​))=(g1​,h1​)(g2​g3​,h2​h3​)=(g1​g2​g3​,h1​h2​h3​), which equals ((g1​,h1​)(g2​,h2​))(g3​,h3​). The identity and inverse properties are verified componentwise. □
Proposition 3.
In G×H, define Gˉ={(g,eH​)∣g∈G} and Hˉ={(eG​,h)∣h∈H}. Then:
  1. Gˉ⊴G×H and Hˉ⊴G×H.

  2. Gˉ∩Hˉ={(eG​,eH​)}.

  3. GˉHˉ=G×H.

  4. Gˉ≅G and Hˉ≅H.

Proof.
For (1), take any (g′,h′)∈G×H and (g,eH​)∈Gˉ. Then (g′,h′)(g,eH​)(g′,h′)−1=(g′gg′−1,eH​)∈Gˉ, so Gˉ⊴G×H. The argument for Hˉ is identical. Parts (2), (3), and (4) follow directly from the definitions. □

2 The Internal Direct Product

Definition 4 (Internal direct product).
Let G be a group with normal subgroups N and K. We say G is the internal direct product of N and K, written G=N×K, if the following three conditions hold:
  1. N⊴G and K⊴G.

  2. N∩K={e}.

  3. NK=G.

Theorem 5 (Recognition criterion for direct products).
If N and K are normal subgroups of G with N∩K={e} and NK=G, then the map φ:N×K→G defined by (n,k)↦nk is a group isomorphism.
Proof.
We first show that every element of N commutes with every element of K. For n∈N and k∈K, consider the commutator nkn−1k−1. Since K⊴G, we have nkn−1∈K, so nkn−1k−1=(nkn−1)k−1∈K. Since N⊴G, we have kn−1k−1∈N, so nkn−1k−1=n(kn−1k−1)∈N. Thus nkn−1k−1∈N∩K={e}, giving nk=kn.

It follows that φ is a homomorphism:
φ((n1​,k1​)(n2​,k2​))=φ(n1​n2​,k1​k2​)=n1​n2​k1​k2​=n1​k1​n2​k2​=φ(n1​,k1​)φ(n2​,k2​).

Surjectivity follows from NK=G. For injectivity, if nk=e then n=k−1∈N∩K={e}, so n=k=e. □
Corollary 6.
If G=N×K is an internal direct product, then every element of N commutes with every element of K: nk=kn for all n∈N, k∈K.

3 Generalized Direct Products

Definition 7.
A group G is the internal direct product of normal subgroups N1​,…,Nr​, written G=N1​×⋯×Nr​, if:
  1. Each Ni​⊴G.

  2. Ni​∩(N1​⋯Ni−1​Ni+1​⋯Nr​)={e} for i=1,…,r.

  3. N1​N2​⋯Nr​=G.

Example 8.
We have Z/6Z≅Z/2Z×Z/3Z. Indeed, N={0,3}≅Z/2Z and K={0,2,4}≅Z/3Z are normal subgroups of Z/6Z with N∩K={0} and N+K=Z/6Z.
Proposition 9.
If gcd(m,n)=1, then Z/mnZ≅Z/mZ×Z/nZ (the group-theoretic Chinese Remainder Theorem).

4 Motivation for the Semidirect Product

In a direct product G=N×K, the elements of N and K commute with each other. However, many groups cannot be decomposed in this way.

Example 10.
Consider the dihedral group Dn​ (the symmetry group of a regular n-gon, of order 2n). The rotation subgroup R=⟨r⟩≅Z/nZ is normal, and the subgroup S={e,s}≅Z/2Z generated by a reflection satisfies R∩S={e} and RS=Dn​. But S is generally not normal, and rs=sr (in fact srs−1=r−1).

This situation motivates the semidirect product, which generalizes the direct product by allowing one factor to act non-trivially on the other.

5 Definition of the Semidirect Product

Definition 11 (External semidirect product).
Let N and H be groups and φ:H→Aut(N) a homomorphism. The semidirect product of N and H with respect to φ, denoted N⋊φ​H, is the set N×H equipped with the operation
(n1​,h1​)(n2​,h2​)=(n1​⋅φ(h1​)(n2​), h1​h2​).​
Theorem 12.
N⋊φ​H is a group.
Proof.
Associativity: Using the facts that each φ(h) is an automorphism and φ is a homomorphism:
​((n1​,h1​)(n2​,h2​))(n3​,h3​)=(n1​φ(h1​)(n2​), h1​h2​)(n3​,h3​)=(n1​φ(h1​)(n2​)⋅φ(h1​h2​)(n3​), h1​h2​h3​)=(n1​φ(h1​)(n2​)⋅φ(h1​)(φ(h2​)(n3​)), h1​h2​h3​)=(n1​φ(h1​)(n2​φ(h2​)(n3​)), h1​h2​h3​)=(n1​,h1​)(n2​φ(h2​)(n3​), h2​h3​)=(n1​,h1​)((n2​,h2​)(n3​,h3​)).​

Identity: (eN​,eH​) serves as the identity, since (eN​,eH​)(n,h)=(eN​⋅φ(eH​)(n),h)=(n,h).

Inverse: (n,h)−1=(φ(h−1)(n−1),h−1), as one verifies by direct computation. □
Proposition 13.
In G=N⋊φ​H:
  1. Nˉ={(n,eH​)∣n∈N}⊴G and Nˉ≅N.

  2. Hˉ={(eN​,h)∣h∈H}≤G and Hˉ≅H (but Hˉ need not be normal).

  3. Nˉ∩Hˉ={(eN​,eH​)} and NˉHˉ=G.

  4. (eN​,h)(n,eH​)(eN​,h)−1=(φ(h)(n),eH​). That is, Hˉ acts on Nˉ via φ.

6 Recognition of Internal Semidirect Products

Theorem 14 (Recognition criterion for semidirect products).
Suppose a group G satisfies:
  1. N⊴G and H≤G.

  2. N∩H={e}.

  3. NH=G.

Define φ:H→Aut(N) by φ(h)(n)=hnh−1. Then G≅N⋊φ​H.
Proof.
Since NH=G and N∩H={e}, every element g∈G can be written uniquely as g=nh with n∈N and h∈H. Define Φ:N⋊φ​H→G by (n,h)↦nh.

This is a homomorphism:
Φ((n1​,h1​)(n2​,h2​))=Φ(n1​h1​n2​h1−1​,h1​h2​)=n1​h1​n2​h1−1​⋅h1​h2​=n1​h1​n2​h2​=Φ(n1​,h1​)Φ(n2​,h2​).

Surjectivity follows from NH=G, and injectivity from N∩H={e}. □

7 Examples of Semidirect Products

Example 15 (Dihedral groups).
Dn​≅Z/nZ⋊φ​Z/2Z, where φ(1)(k)=−k (negation in Z/nZ).
Example 16 (The symmetric group S3​).
S3​≅A3​⋊⟨(12)⟩≅Z/3Z⋊Z/2Z≅D3​.
Example 17 (Non-abelian groups of order pq).
Let p<q be primes with q≡1(modp). Then Aut(Z/qZ)≅(Z/qZ)× has order q−1, which is divisible by p, so it contains an element α of order p. Setting φ:Z/pZ→Aut(Z/qZ) with φ(1)=α, the semidirect product Z/qZ⋊φ​Z/pZ is a non-abelian group of order pq.
Example 18 (Trivial semidirect product).
When φ is the trivial homomorphism (φ(h)=idN​ for all h∈H), the semidirect product reduces to the direct product: N⋊φ​H=N×H.

8 Summary

  • Direct productN×K: both N⊴G and K⊴G, with N∩K={e} and NK=G. Elements of N and K commute.

  • Semidirect productN⋊H: N⊴G and H≤G (not necessarily normal), with N∩H={e} and NH=G. The subgroup H acts on N by conjugation.

  • The semidirect product depends on the choice of homomorphism φ:H→Aut(N). Different choices of φ generally yield non-isomorphic groups.

The direct and semidirect products are the fundamental methods for assembling groups from known building blocks — or, conversely, for decomposing a group into simpler pieces. They are indispensable tools for understanding group structure.

Group TheoryAlgebraTextbookDirect ProductsSemidirect Products
FO
Folio Official

Mathematics "between the lines" — exploring the intuition textbooks leave out, written in LaTeX on Folio.

1 followers·107 articles
Group Theory TextbookPart 8 of 11
Previous
The Sylow Theorems
Next
The Structure of Finite Abelian Groups

Share your expertise with the world

Write articles with LaTeX support, build your audience, and earn from your knowledge.

Start Writing — It's Free

More from Folio Official

Folio Official·March 1, 2026

Cosets and Lagrange's Theorem

Beginning with the definition of cosets of a subgroup, we prove Lagrange's theorem --- the assertion that the order of a subgroup divides the order of the group. As applications, we derive Fermat's little theorem and Euler's theorem, and we exhibit the alternating group A_4 as a counterexample to the converse.

Group TheoryAlgebraTextbook
2
Folio Official·March 1, 2026

Composition Series and the Jordan--Hölder Theorem

We introduce normal series and composition series, establishing the framework for decomposing a group into simple factors. The Jordan--Hölder theorem proves the uniqueness of the composition factors, and we develop the theory of solvable groups with its connections to the derived series.

Group TheoryAlgebraTextbook
1
Folio Official·March 1, 2026

The Homomorphism Theorems

We prove the three isomorphism theorems: the first (the image of a homomorphism is isomorphic to the quotient by its kernel), the second (the diamond isomorphism theorem), and the third (cancellation of nested quotients). Each theorem is illustrated with concrete examples and commutative diagrams.

Group TheoryAlgebraTextbook
Folio Official·March 1, 2026

Group Actions and the Class Equation

We introduce group actions and develop the orbit-stabilizer theorem, Burnside's lemma, and the class equation. Applications include the proof that the center of a p-group is nontrivial, the classification of groups of order p^2, the fixed-point theorem for p-groups, and Cayley's theorem.

Group TheoryAlgebraTextbook