Skip to main content
Mathematics LibreTexts

9.2: Direct Products

  • Page ID
    81099
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Given two groups \(G\) and \(H\text{,}\) it is possible to construct a new group from the Cartesian product of \(G\) and \(H\text{,}\) \(G \times H\text{.}\) Conversely, given a large group, it is sometimes possible to decompose the group; that is, a group is sometimes isomorphic to the direct product of two smaller groups. Rather than studying a large group \(G\text{,}\) it is often easier to study the component groups of \(G\text{.}\)

    External Direct Products

    If \((G,\cdot)\) and \((H, \circ)\) are groups, then we can make the Cartesian product of \(G\) and \(H\) into a new group. As a set, our group is just the ordered pairs \((g, h) \in G \times H\) where \(g \in G\) and \(h \in H\text{.}\) We can define a binary operation on \(G \times H\) by

    \[ (g_1, h_1)(g_2, h_2) = (g_1 \cdot g_2, h_1 \circ h_2); \nonumber \]

    that is, we just multiply elements in the first coordinate as we do in \(G\) and elements in the second coordinate as we do in \(H\text{.}\) We have specified the particular operations \(\cdot\) and \(\circ\) in each group here for the sake of clarity; we usually just write \((g_1, h_1)(g_2, h_2) = (g_1 g_2, h_1 h_2)\text{.}\)

    Proposition \(9.13\)

    Let \(G\) and \(H\) be groups. The set \(G \times H\) is a group under the operation \((g_1, h_1)(g_2, h_2) = (g_1 g_2, h_1 h_2)\) where \(g_1, g_2 \in G\) and \(h_1, h_2 \in H\text{.}\)

    Proof

    Clearly the binary operation defined above is closed. If \(e_G\) and \(e_H\) are the identities of the groups \(G\) and \(H\) respectively, then \((e_G, e_H)\) is the identity of \(G \times H\text{.}\) The inverse of \((g, h) \in G \times H\) is \((g^{-1}, h^{-1})\text{.}\) The fact that the operation is associative follows directly from the associativity of \(G\) and \(H\text{.}\)

    Example \(9.14\)

    Let \({\mathbb R}\) be the group of real numbers under addition.

    Solution

    The Cartesian product of \({\mathbb R}\) with itself, \({\mathbb R} \times {\mathbb R} = {\mathbb R}^2\text{,}\) is also a group, in which the group operation is just addition in each coordinate; that is, \((a, b) + (c, d) = (a + c, b + d)\text{.}\) The identity is \((0,0)\) and the inverse of \((a, b)\) is \((-a, -b)\text{.}\)

    Example \(9.15\)

    Consider

    \[ {\mathbb Z}_2 \times {\mathbb Z}_2 = \{ (0, 0), (0, 1), (1, 0),(1, 1) \}\text{.} \nonumber \]

    Solution

    Although \({\mathbb Z}_2 \times {\mathbb Z}_2\) and \({\mathbb Z}_4\) both contain four elements, they are not isomorphic. Every element \((a,b)\) in \({\mathbb Z}_2 \times {\mathbb Z}_2\) other than the identity has order \(2\text{,}\) since \((a,b) + (a,b) = (0,0)\text{;}\) however, \({\mathbb Z}_4\) is cyclic.

    The group \(G \times H\) is called the external direct product of \(G\) and \(H\text{.}\) Notice that there is nothing special about the fact that we have used only two groups to build a new group. The direct product

    \[ \prod_{i = 1}^n G_i = G_1 \times G_2 \times \cdots \times G_n \nonumber \]

    of the groups \(G_1, G_2, \ldots, G_n\) is defined in exactly the same manner. If \(G = G_1 = G_2 = \cdots = G_n\text{,}\) we often write \(G^n\) instead of \(G_1 \times G_2 \times \cdots \times G_n\text{.}\)

    Example \(9.16\)

    The group \({\mathbb Z}_2^n\text{,}\) considered as a set, is just the set of all binary \(n\)-tuples. The group operation is the “exclusive or” of two binary \(n\)-tuples.

    Solution

    For example,

    \[ (01011101) + (01001011) = (00010110)\text{.} \nonumber \]

    This group is important in coding theory, in cryptography, and in many areas of computer science.

    Theorem \(9.17\)

    Let \((g, h) \in G \times H\text{.}\) If \(g\) and \(h\) have finite orders \(r\) and \(s\) respectively, then the order of \((g, h)\) in \(G \times H\) is the least common multiple of \(r\) and \(s\text{.}\)

    Proof

    Suppose that \(m\) is the least common multiple of \(r\) and \(s\) and let \(n = |(g,h)|\text{.}\) Then

    \begin{gather*} (g,h)^m = (g^m, h^m) = (e_G,e_H)\\ (g^n, h^n) = (g, h)^n = (e_G,e_H)\text{.} \end{gather*}

    Hence, \(n\) must divide \(m\text{,}\) and \(n \leq m\text{.}\) However, by the second equation, both \(r\) and \(s\) must divide \(n\text{;}\) therefore, \(n\) is a common multiple of \(r\) and \(s\text{.}\) Since \(m\) is the least common multiple of \(r\) and \(s\text{,}\) \(m \leq n\text{.}\) Consequently, \(m\) must be equal to \(n\text{.}\)

    Corollary \(9.18\)

    Let \((g_1, \ldots, g_n) \in \prod G_i\text{.}\) If \(g_i\) has finite order \(r_i\) in \(G_i\text{,}\) then the order of \((g_1, \ldots, g_n)\) in \(\prod G_i\) is the least common multiple of \(r_1, \ldots, r_n\text{.}\

    Example \(9.19\)

    Let \((8, 56) \in {\mathbb Z}_{12} \times {\mathbb Z}_{60}\text{.}\)

    Solution

    Since \(\gcd(8,12) = 4\text{,}\) the order of \(8\) is \(12/4 = 3\) in \({\mathbb Z}_{12}\text{.}\) Similarly, the order of \(56\) in \({\mathbb Z}_{60}\) is \(15\text{.}\) The least common multiple of \(3\) and \(15\) is \(15\text{;}\) hence, \((8, 56)\) has order \(15\) in \({\mathbb Z}_{12} \times {\mathbb Z}_{60}\text{.}\)

    Example \(9.20\)

    The group \({\mathbb Z}_2 \times {\mathbb Z}_3\) consists of the pairs

    \begin{align*} & (0,0), & & (0, 1), & & (0, 2), & & (1,0), & & (1, 1), & & (1, 2)\text{.} \end{align*}

    Solution

    In this case, unlike that of \({\mathbb Z}_2 \times {\mathbb Z}_2\) and \({\mathbb Z}_4\text{,}\) it is true that \({\mathbb Z}_2 \times {\mathbb Z}_3 \cong {\mathbb Z}_6\text{.}\) We need only show that \({\mathbb Z}_2 \times {\mathbb Z}_3\) is cyclic. It is easy to see that \((1,1)\) is a generator for \({\mathbb Z}_2 \times {\mathbb Z}_3\text{.}\)

    The next theorem tells us exactly when the direct product of two cyclic groups is cyclic.

    Theorem \(9.21\)

    The group \({\mathbb Z}_m \times {\mathbb Z}_n\) is isomorphic to \({\mathbb Z}_{mn}\) if and only if \(\gcd(m,n)=1\text{.}\)

    Proof

    We will first show that if \({\mathbb Z}_m \times {\mathbb Z}_n \cong {\mathbb Z}_{mn}\text{,}\) then \(\gcd(m, n) = 1\text{.}\) We will prove the contrapositive; that is, we will show that if \(\gcd(m, n) = d \gt 1\text{,}\) then \({\mathbb Z}_m \times {\mathbb Z}_n\) cannot be cyclic. Notice that \(mn/d\) is divisible by both \(m\) and \(n\text{;}\) hence, for any element \((a,b) \in {\mathbb Z}_m \times {\mathbb Z}_n\text{,}\)

    \[ \underbrace{(a,b) + (a,b)+ \cdots + (a,b)}_{mn/d \; \text{times}} = (0, 0)\text{.} \nonumber \]

    Therefore, no \((a, b)\) can generate all of \({\mathbb Z}_m \times {\mathbb Z}_n\text{.}\)

    The converse follows directly from Theorem 9.17 since \(\lcm(m,n) = mn\) if and only if \(\gcd(m,n)=1\text{.}\)

    Corollary \(9.22\)

    Let \(n_1, \ldots, n_k\) be positive integers. Then

    \[ \prod_{i=1}^k {\mathbb Z}_{n_i} \cong {\mathbb Z}_{n_1 \cdots n_k} \nonumber \]

    if and only if \(\gcd( n_i, n_j) =1\) for \(i \neq j\text{.}\

    Corollary \(9.23\)

    If

    \[ m = p_1^{e_1} \cdots p_k^{e_k}\text{,} \nonumber \]

    where the \(p_i\)s are distinct primes, then

    \[ {\mathbb Z}_m \cong {\mathbb Z}_{p_1^{e_1}} \times \cdots \times {\mathbb Z}_{p_k^{e_k}}\text{.} \nonumber \]
    Proof

    Since the greatest common divisor of \(p_i^{e_i}\) and \(p_j^{e_j}\) is 1 for \(i \neq j\text{,}\) the proof follows from Corollary \(9.22\).

    In Chapter 13, we will prove that all finite abelian groups are isomorphic to direct products of the form

    \[ {\mathbb Z}_{p_1^{e_1}} \times \cdots \times {\mathbb Z}_{p_k^{e_k}} \nonumber \]

    where \(p_1, \ldots, p_k\) are (not necessarily distinct) primes.

    Internal Direct Products

    The external direct product of two groups builds a large group out of two smaller groups. We would like to be able to reverse this process and conveniently break down a group into its direct product components; that is, we would like to be able to say when a group is isomorphic to the direct product of two of its subgroups.

    Let \(G\) be a group with subgroups \(H\) and \(K\) satisfying the following conditions.

    • \(G = HK = \{ hk : h \in H, k \in K \}\text{;}\)
    • \(H \cap K = \{ e \}\text{;}\)
    • \(hk = kh\) for all \(k \in K\) and \(h \in H\text{.}\)

    Then \(G\) is the internal direct product of \(H\) and \(K\text{.}\)

    Example \(9.24\)

    The group \(U(8)\) is the internal direct product

    Solution

    of

    \[ H = \{1, 3 \} \quad \text{and} \quad K = \{1, 5 \}\text{.} \nonumber \]
    Example \(9.25\)

    The dihedral group \(D_6\) is an internal direct product of its two subgroups

    \[ H = \{\identity, r^3 \} \quad \text{and} \quad K = \{\identity, r^2, r^4, s, r^2s, r^4 s \}\text{.} \nonumber \]

    Solution

    It can easily be shown that \(K \cong S_3\text{;}\) consequently, \(D_6 \cong {\mathbb Z}_2 \times S_3\text{.}\)

    Example \(9.26\)

    Not every group can be written as the internal direct product of two of its proper subgroups. If the group \(S_3\) were an internal direct product of its proper subgroups \(H\) and \(K\text{,}\) then one of the subgroups, say \(H\text{,}\) would have to have order \(3\text{.}\)

    Solution

    In this case \(H\) is the subgroup \(\{ (1), (123), (132) \}\text{.}\) The subgroup \(K\) must have order \(2\text{,}\) but no matter which subgroup we choose for \(K\text{,}\) the condition that \(hk = kh\) will never be satisfied for \(h \in H\) and \(k \in K\text{.}\)

    Theorem \(9.27\)

    Let \(G\) be the internal direct product of subgroups \(H\) and \(K\text{.}\) Then \(G\) is isomorphic to \(H \times K\text{.}\)

    Proof

    Since \(G\) is an internal direct product, we can write any element \(g \in G\) as \(g =hk\) for some \(h \in H\) and some \(k \in K\text{.}\) Define a map \(\phi : G \rightarrow H \times K\) by \(\phi(g) = (h,k)\text{.}\)

    The first problem that we must face is to show that \(\phi\) is a well-defined map; that is, we must show that \(h\) and \(k\) are uniquely determined by \(g\text{.}\) Suppose that \(g = hk=h'k'\text{.}\) Then \(h^{-1} h'= k (k')^{-1}\) is in both \(H\) and \(K\text{,}\) so it must be the identity. Therefore, \(h = h'\) and \(k = k'\text{,}\) which proves that \(\phi\) is, indeed, well-defined.

    To show that \(\phi\) preserves the group operation, let \(g_1 = h_1 k_1\) and \(g_2 = h_2 k_2\) and observe that

    \begin{align*} \phi( g_1 g_2 ) & = \phi( h_1 k_1 h_2 k_2 )\\ & = \phi(h_1 h_2 k_1 k_2)\\ & = (h_1 h_2, k_1 k_2)\\ & = (h_1, k_1)( h_2, k_2)\\ & = \phi( g_1 ) \phi( g_2 )\text{.} \end{align*}

    We will leave the proof that \(\phi\) is one-to-one and onto as an exercise.

    Example \(9.28\)

    The group \({\mathbb Z}_6\) is an internal direct product isomorphic

    Solution

    to \(\{ 0, 2, 4\} \times \{ 0, 3 \}\text{.}\)

    We can extend the definition of an internal direct product of \(G\) to a collection of subgroups \(H_1, H_2, \ldots, H_n\) of \(G\text{,}\) by requiring that

    • \(G = H_1 H_2 \cdots H_n = \{ h_1 h_2 \cdots h_n : h_i \in H_i \}\text{;}\)
    • \(H_i \cap \langle \cup_{j \neq i} H_j \rangle = \{ e \}\text{;}\)
    • \(h_i h_j = h_j h_i\) for all \(h_i \in H_i\) and \(h_j \in H_j\text{.}\)

    We will leave the proof of the following theorem as an exercise.

    Theorem \(\PageIndex{1}\)

    Let \(G\) be the internal direct product of subgroups \(H_i\text{,}\) where \(i = 1, 2, \ldots, n\text{.}\) Then \(G\) is isomorphic to \(\prod_i H_i\text{.}\)


    This page titled 9.2: Direct Products is shared under a GNU Free Documentation License 1.3 license and was authored, remixed, and/or curated by Thomas W. Judson (Abstract Algebra: Theory and Applications) via source content that was edited to the style and standards of the LibreTexts platform.

    • Was this article helpful?