Let , be groups and a morphism. The semidirect product is the set equipped with
Examples
Example 1.27
(a) The dihedral group () of the symmetries of a regular -gon: the rotations form a normal subgroup of index , any reflection generates a complement, and conjugating a rotation by a reflection inverts it: with . (b) The affine group of a line, : translations normal, homotheties a complement. (c) (complement: any transposition). (d) The quaternion group is not a semidirect product of proper subgroups: every nontrivial subgroup contains (Problem 1.1), so no two proper subgroups intersect trivially.