Introduction to Modern Algebra

Contents › Chapter 2

Chapter 2. Subgroups and cyclic groups

2.1 Subgroups

The rotations of a square form a group of their own, sitting inside the group D4D_4 of all eight symmetries; the even integers form a group of their own inside Z\mathbb{Z}, under the same addition.

Subgroups

Definition 2.1.1 (Subgroup).Not yet reviewed

Let GG be a group. A subset HH of GG is a subgroup of GG, written H≤GH \le G, if:

  • (i) Closure: ab∈Hab \in H for all a,b∈Ha, b \in H.
  • (ii) Identity: the identity ee of GG lies in HH.
  • (iii) Inverses: a−1∈Ha^{-1} \in H for every a∈Ha \in H.

When GG is written additively, the conditions read a+b∈Ha + b \in H, 0∈H0 \in H and −a∈H-a \in H.

A subgroup is a group in its own right, under the operation of GG. By Closure, the operation of GG combines two elements of HH into an element of HH. It is associative on HH, because it is associative on all of GG. The identity ee lies in HH and changes nothing there, and the inverse in GG of an element of HH lies in HH.

Every group GG has the subgroups {e}\{e\}, the trivial subgroup, and GG itself. A subgroup other than GG is a proper subgroup, written H<GH < G.

Two tests

Checking three conditions every time is slow. The first test below folds them into one; the second shows that for a finite subset, Closure alone is enough.

Theorem 2.1.2 (Subgroup tests).

Let GG be a group and HH a subset of GG.

  • (i) HH is a subgroup of GG if and only if HH is non-empty and ab−1∈Hab^{-1} \in H for all a,b∈Ha, b \in H.
  • (ii) If HH is finite and non-empty, and ab∈Hab \in H for all a,b∈Ha, b \in H, then HH is a subgroup of GG.
Proof.

Idea. For (i), the single condition ab−1∈Hab^{-1} \in H, applied to well-chosen pairs, gives Identity, then Inverses, then Closure. For (ii), multiplying the elements of HH by one of them, aa, only rearranges HH, so some product equals aa and some product equals ee.

  1. (i) If HH is a subgroup, then HH is non-empty and ab−1∈Hab^{-1} \in H for all a,b∈Ha, b \in H.

    e∈He \in H, so HH is non-empty. For a,b∈Ha, b \in H, the inverse b−1b^{-1} lies in HH by Inverses, so ab−1∈Hab^{-1} \in H by Closure.

  2. Conversely, suppose that HH is non-empty and that ab−1∈Hab^{-1} \in H whenever a,b∈Ha, b \in H. Then Identity holds: e∈He \in H.

    HH has some element aa, and the pair a,aa, a gives aa−1=e∈Haa^{-1} = e \in H.

  3. Inverses holds: a−1∈Ha^{-1} \in H for every a∈Ha \in H.

    For a∈Ha \in H, the pair e,ae, a gives ea−1=a−1∈Hea^{-1} = a^{-1} \in H, since e∈He \in H by the step before.

  4. Closure holds: ab∈Hab \in H for all a,b∈Ha, b \in H. This proves (i).

    For a,b∈Ha, b \in H, the inverse b−1b^{-1} lies in HH by the step before, so the pair a,b−1a, b^{-1} gives a(b−1)−1∈Ha(b^{-1})^{-1} \in H, and (b−1)−1=b(b^{-1})^{-1} = b by Theorem 1.2.4. So ab∈Hab \in H.

  5. (ii) Let a∈Ha \in H. Then every element of HH is axax for some x∈Hx \in H.

    The element aa exists since HH is non-empty. The rule x↦axx \mapsto ax is a function from HH to HH, since ax∈Hax \in H by the hypothesis. It is injective: ax=ayax = ay gives x=yx = y by cancellation (Theorem 1.2.4). An injective function from a finite set to itself is also surjective, because its values are as many different elements as the set has.

  6. Identity holds: e∈He \in H.

    By the previous step, a=axa = ax for some x∈Hx \in H. Then ax=a=aeax = a = ae, and cancellation gives x=ex = e, so e∈He \in H.

  7. Inverses holds, so HH is a subgroup. This proves (ii).

    By the fifth step, applied to ee (which lies in HH by the sixth step), e=aye = ay for some y∈Hy \in H. Then ay=e=aa−1ay = e = aa^{-1}, and cancellation gives y=a−1y = a^{-1}, so a−1∈Ha^{-1} \in H. Since aa was any element of HH, Identity and Inverses hold, and Closure is the hypothesis.

□

In an additive group, test (i) asks for a−b∈Ha - b \in H whenever a,b∈Ha, b \in H. Test (ii) fails without finiteness: {0,1,2,… }\{0, 1, 2, \dots\} is non-empty and closed under addition, but it is not a subgroup of Z\mathbb{Z}.

Subgroups of familiar groups

Two facts about real square matrices from linear algebra are used below: the transpose ATA^{\mathsf T} of a matrix AA satisfies (AB)T=BTAT(AB)^{\mathsf T} = B^{\mathsf T}A^{\mathsf T} and (AT)T=A(A^{\mathsf T})^{\mathsf T} = A.

Example 2.1.3 (Subgroups of familiar groups).

Each of these is a subgroup, by one of the tests of Theorem 2.1.2.

  • (i) The multiples of nn in Z\mathbb{Z}. For an integer n≥0n \ge 0, let nZ={nk:k∈Z}n\mathbb{Z} = \{nk : k \in \mathbb{Z}\}. It contains 0=n⋅00 = n \cdot 0, and for nknk and nlnl in it, nk−nl=n(k−l)nk - nl = n(k - l) is in it, so nZ≤Zn\mathbb{Z} \le \mathbb{Z} by test (i). For n=0n = 0 this is the trivial subgroup {0}\{0\}, for n=1n = 1 it is all of Z\mathbb{Z}, and 2Z2\mathbb{Z} is the even integers.

  • (ii) The rotations in DnD_n. The nn rotations e,r,r2,…,rn−1e, r, r^2, \dots, r^{n-1} form a finite, non-empty subset of DnD_n, and it is closed, since rarb=ra+br^ar^b = r^{a+b} by the rules of Example 1.4.2. So it is a subgroup by test (ii). The reflections are not: they do not contain ee, and (ras)(rbs)=ra−b(r^as)(r^bs) = r^{a-b} is a rotation.

  • (iii) The fourth roots of 11 in C×\mathbb{C}^\times. The set {1,i,−1,−i}\{1, i, -1, -i\} consists of the powers 11, ii, i2=−1i^2 = -1 and i3=−ii^3 = -i of ii, and i4=1i^4 = 1. A product of two of them is therefore again a power of ii, and so again one of the four. By test (ii) it is a subgroup of C×\mathbb{C}^\times.

  • (iv) Matrix groups. Three subsets of GLn(R)GL_n(\mathbb{R}), each containing the identity matrix II:

    SLn(R)={A:det⁡A=1},O(n)={A:ATA=I},SO(n)=O(n)∩SLn(R).\begin{gathered} SL_n(\mathbb{R}) = \{A : \det A = 1\}, \\ O(n) = \{A : A^{\mathsf T}A = I\}, \\ SO(n) = O(n) \cap SL_n(\mathbb{R}). \end{gathered}

    They are the special linear group, the orthogonal group and the special orthogonal group. Each is a subgroup by test (i). If det⁡A=det⁡B=1\det A = \det B = 1, then det⁡(AB−1)=det⁡A/det⁡B=1\det(AB^{-1}) = \det A / \det B = 1. If ATA=IA^{\mathsf T}A = I and BTB=IB^{\mathsf T}B = I, then multiplying BTB=IB^{\mathsf T}B = I on the right by B−1B^{-1} gives BT=B−1B^{\mathsf T} = B^{-1}, so BBT=IBB^{\mathsf T} = I too. So AB−1=ABTAB^{-1} = AB^{\mathsf T}, and it lies in O(n)O(n):

    (ABT)T(ABT)=BATABT=BBT=I.\begin{aligned} (AB^{\mathsf T})^{\mathsf T}(AB^{\mathsf T}) &= BA^{\mathsf T}AB^{\mathsf T} \\ &= BB^{\mathsf T} = I. \end{aligned}

    The two checks together show that SO(n)SO(n) is a subgroup.

The matrices of the square’s symmetries from Example 1.4.5 lie in O(2)O(2): the quarter turn RR and the reflection SS both satisfy RTR=STS=IR^{\mathsf T}R = S^{\mathsf T}S = I. The quarter turn has det⁡R=1\det R = 1, so it lies in SO(2)SO(2), while det⁡S=−1\det S = -1, so the reflection does not.

2.2 Powers and the order of an element

Adding [8][8] again and again in Z/12Z\mathbb{Z}/12\mathbb{Z} gives [8][8], [4][4], [0][0], and then the same three classes over and over (Definition 1.3.2). The same can be done with one element of any group: combine it with itself again and again, and count the steps until it comes back to the identity.

Powers and order

Some facts below are proved by induction: to prove a statement for every integer n≥1n \ge 1, prove it for n=1n = 1, and prove it for n+1n + 1 assuming it for nn.

Definition 2.2.1 (Order of an element).Not yet reviewed

Let gg be an element of a group GG. Its powers are g0=eg^0 = e; gn=gg⋯gg^n = gg \cdots g, the product of nn copies of gg, for n≥1n \ge 1; and g−n=(g−1)ng^{-n} = (g^{-1})^n for n≥1n \ge 1. For all integers mm and nn,

gmgn=gm+n,(gm)n=gmn.g^mg^n = g^{m+n}, \qquad (g^m)^n = g^{mn}.

The order of an element gg, written ord⁡(g)\ord(g), is the least integer n≥1n \ge 1 with gn=eg^n = e, if there is one. If there is none, gg has infinite order.

In additive notation the powers are the multiples nana: 0a=00a = 0, na=a+⋯+ana = a + \cdots + a (nn terms) and (−n)a=n(−a)(-n)a = n(-a), with ma+na=(m+n)ama + na = (m + n)a and n(ma)=(nm)an(ma) = (nm)a. The order of aa is the least n≥1n \ge 1 with na=0na = 0.

Proof.

Idea. Count copies of gg and of g−1g^{-1}: for exponents of the same sign both laws are a count, and for exponents of opposite signs the copies of gg cancel against copies of g−1g^{-1}.

  1. (gn)−1=g−n(g^n)^{-1} = g^{-n} for every integer nn.

    For n≥1n \ge 1, applying (ab)−1=b−1a−1(ab)^{-1} = b^{-1}a^{-1} (Theorem 1.2.4) n−1n - 1 times, by induction, gives (gg⋯g)−1=g−1g−1⋯g−1=g−n(gg \cdots g)^{-1} = g^{-1}g^{-1} \cdots g^{-1} = g^{-n}. For n=0n = 0 both sides are ee. For n≤−1n \le -1, the case already proved, applied to −n-n, gives (g−n)−1=gn(g^{-n})^{-1} = g^n, and taking the inverse of both sides gives g−n=(gn)−1g^{-n} = (g^n)^{-1}.

  2. gmgn=gm+ng^mg^n = g^{m+n} for all integers mm and nn.

    If m,n≥0m, n \ge 0, both sides are products of m+nm + n copies of gg; if m,n≤0m, n \le 0, both sides are products of −m−n-m - n copies of g−1g^{-1}. If mm and nn have opposite signs, gmgng^mg^n is a row of copies of gg next to a row of copies of g−1g^{-1}. Where a gg meets a g−1g^{-1}, the two cancel to ee, and canceling one pair at a time leaves ∣m+n∣\lvert m + n \rvert copies of one kind, which is gm+ng^{m+n}. For example, g5g−2=ggggg g−1g−1=g3g^5g^{-2} = ggggg\,g^{-1}g^{-1} = g^3.

  3. (gm)n=gmn(g^m)^n = g^{mn} for all integers mm and nn.

    For n≥0n \ge 0, (gm)n(g^m)^n is a product of nn copies of gmg^m, which is gmng^{mn} by n−1n - 1 uses of the second step (and both sides are ee when n=0n = 0). For n<0n < 0, the first step applied to gmg^m gives (gm)n=((gm)−n)−1(g^m)^n = \bigl((g^m)^{-n}\bigr)^{-1}, and (gm)−n=g−mn(g^m)^{-n} = g^{-mn} by the case n>0n > 0; so (gm)n=(g−mn)−1=gmn(g^m)^n = (g^{-mn})^{-1} = g^{mn}, by the first step again.

□

Every group has exactly one element of order 11, the identity. In C×\mathbb{C}^\times the number −1-1 has order 22 and ii has order 44, while 22 has infinite order, since 2n>12^n > 1 for every n≥1n \ge 1. In Z\mathbb{Z} every element other than 00 has infinite order. In D4D_4 the rotation rr has order 44.

The subgroup generated by an element

Definition 2.2.2 (Cyclic subgroup).

Let gg be an element of a group GG. The cyclic subgroup generated by gg is the set of all powers of gg,

⟨g⟩={gn:n∈Z}.\langle g \rangle = \{g^n : n \in \mathbb{Z}\}.

In additive notation, ⟨a⟩={na:n∈Z}\langle a \rangle = \{na : n \in \mathbb{Z}\}. The group GG is cyclic if G=⟨g⟩G = \langle g \rangle for some g∈Gg \in G, and such an element gg is a generator of GG.

⟨g⟩\langle g \rangle is a subgroup of GG, by test (i) of Theorem 2.1.2. It is non-empty, since it contains g0=eg^0 = e, and for any two of its elements gmg^m and gng^n, the laws of exponents give gm(gn)−1=gmg−n=gm−ng^m(g^n)^{-1} = g^mg^{-n} = g^{m-n}, which is again a power of gg.

It is the smallest subgroup of GG containing gg. A subgroup HH that contains gg contains gn=gg⋯gg^n = gg \cdots g for n≥1n \ge 1 by Closure, g0=eg^0 = e by Identity, and g−n=(gn)−1g^{-n} = (g^n)^{-1} by Inverses, so ⟨g⟩⊆H\langle g \rangle \subseteq H.

Every cyclic group is abelian, since gmgn=gm+n=gngmg^mg^n = g^{m+n} = g^ng^m.

The order of gg is the order of ⟨g⟩\langle g \rangle

The word “order” now has two meanings: the number of elements of a group, and the number of steps an element takes to return to ee. The next theorem shows that they agree.

Theorem 2.2.3 (Order and powers).

Let gg be an element of a group GG.

  • (i) If ord⁡(g)=n\ord(g) = n is finite, then gk=eg^k = e exactly when nn divides kk, and ga=gbg^a = g^b exactly when a≡b(modn)a \equiv b \pmod n. So ⟨g⟩={e,g,g2,…,gn−1}\langle g \rangle = \{e, g, g^2, \dots, g^{n-1}\}, these nn powers are all different, and ∣⟨g⟩∣=ord⁡(g)\lvert \langle g \rangle \rvert = \ord(g).
  • (ii) If gg has infinite order, then the powers gag^a, for a∈Za \in \mathbb{Z}, are all different, and ⟨g⟩\langle g \rangle is infinite.
Proof.

Idea. Divide each exponent by nn with remainder, and use that no power grg^r with 0<r<n0 < r < n is ee.

  1. (i) Let ord⁡(g)=n\ord(g) = n. For every integer kk, gk=grg^k = g^r, where k=qn+rk = qn + r with 0≤r<n0 \le r < n.

    Divide kk by nn: k=qn+rk = qn + r with 0≤r<n0 \le r < n. By the laws of exponents,

    gk=(gn)qgr=eqgr=gr.g^k = (g^n)^qg^r = e^qg^r = g^r.
  2. gk=eg^k = e exactly when nn divides kk.

    If nn divides kk, then r=0r = 0 and gk=g0=eg^k = g^0 = e. If gk=eg^k = e, then gr=eg^r = e with 0≤r<n0 \le r < n; since nn is the least positive exponent with gn=eg^n = e, the remainder rr is not positive, so r=0r = 0 and nn divides kk.

  3. ga=gbg^a = g^b exactly when a≡b(modn)a \equiv b \pmod n.

    First, ga=gbg^a = g^b exactly when ga−b=eg^{a-b} = e: multiplying ga=gbg^a = g^b on the right by g−bg^{-b} gives ga−b=eg^{a-b} = e, and conversely ga−b=eg^{a-b} = e gives ga=ga−bgb=gbg^a = g^{a-b}g^b = g^b. By the previous step this happens exactly when nn divides a−ba - b, that is, when a≡b(modn)a \equiv b \pmod n.

  4. ⟨g⟩\langle g \rangle has exactly the nn elements e,g,…,gn−1e, g, \dots, g^{n-1}. This proves (i).

    By the first step, each power gkg^k equals grg^r, where rr is the remainder of kk, one of 0,1,…,n−10, 1, \dots, n - 1. And no two of e,g,…,gn−1e, g, \dots, g^{n-1} are equal, since their exponents differ by less than nn and so are not congruent mod nn.

  5. (ii) If gg has infinite order, then the powers gag^a are all different, and ⟨g⟩\langle g \rangle is infinite.

    Suppose ga=gbg^a = g^b with a>ba > b. Then ga−b=eg^{a-b} = e with a−b≥1a - b \ge 1, so gg would have finite order.

□

Roots of unity

The complex numbers give a cyclic group of every order. Recall the polar form: every non-zero complex number is z=ρeiθz = \rho e^{i\theta} with ρ=∣z∣>0\rho = \lvert z \rvert > 0 and θ\theta real, and (ρeiθ)n=ρneinθ(\rho e^{i\theta})^n = \rho^n e^{in\theta} by De Moivre’s formula. Also eiθ=1e^{i\theta} = 1 exactly when θ\theta is an integer multiple of 2π2\pi.

Example 2.2.4 (Roots of unity).

Let n≥1n \ge 1 and ζn=e2πi/n\zeta_n = e^{2\pi i/n}. The complex numbers zz with zn=1z^n = 1 are the nn-th roots of unity. They form the set

μn={ζnk:k=0,1,…,n−1},\mu_n = \{\zeta_n^k : k = 0, 1, \dots, n - 1\},

and μn=⟨ζn⟩\mu_n = \langle \zeta_n \rangle is a cyclic subgroup of C×\mathbb{C}^\times of order nn.

Every ζnk\zeta_n^k is an nn-th root of unity, since (ζnk)n=e2πik=1(\zeta_n^k)^n = e^{2\pi ik} = 1. Conversely, let z=ρeiθz = \rho e^{i\theta} with zn=ρneinθ=1z^n = \rho^n e^{in\theta} = 1. Taking absolute values gives ρn=1\rho^n = 1, so ρ=1\rho = 1, and then einθ=1e^{in\theta} = 1, so nθ=2πkn\theta = 2\pi k for some integer kk. So z=e2πik/n=ζnkz = e^{2\pi ik/n} = \zeta_n^k. The nn-th roots of unity are therefore exactly the powers of ζn\zeta_n, that is, ⟨ζn⟩\langle \zeta_n \rangle.

Next, μn\mu_n has exactly nn elements. The numbers ζnk=e2πik/n\zeta_n^k = e^{2\pi ik/n} for k=0,1,…,n−1k = 0, 1, \dots, n - 1 are different, since their angles 2πk/n2\pi k/n are different numbers in [0,2π)[0, 2\pi). And every power of ζn\zeta_n is one of them: dividing k=qn+rk = qn + r with 0≤r<n0 \le r < n gives ζnk=(ζnn)qζnr=ζnr\zeta_n^k = (\zeta_n^n)^q\zeta_n^r = \zeta_n^r. Also ζnk=1\zeta_n^k = 1 exactly when k/nk/n is an integer, so ord⁡(ζn)=n\ord(\zeta_n) = n.

The nn-th roots of unity lie on the unit circle, at the angles 2πk/n2\pi k/n: they are the corners of a regular nn-gon, and multiplying by ζn\zeta_n turns the circle through 2π/n2\pi/n. For example, μ4={1,i,−1,−i}\mu_4 = \{1, i, -1, -i\} is the subgroup of Example 2.1.3, and μ3={1,ω,ω2}\mu_3 = \{1, \omega, \omega^2\} with

ω=ζ3=e2πi/3=−12+32i.\omega = \zeta_3 = e^{2\pi i/3} = -\tfrac12 + \tfrac{\sqrt3}{2}i.

Powers of ζn\zeta_n multiply as classes mod nn add: ζnaζnb=ζna+b\zeta_n^a\zeta_n^b = \zeta_n^{a+b}, with exponents counted mod nn, as for the rotations rarb=ra+br^ar^b = r^{a+b} of DnD_n.

Some groups, such as Z/nZ\mathbb{Z}/n\mathbb{Z}, μn\mu_n and Z\mathbb{Z}, are generated by one element; others, such as (Z/8Z)×(\mathbb{Z}/8\mathbb{Z})^\times, are not.

2.3 Subgroups of Z\mathbb{Z} and the greatest common divisor

For every integer n≥0n \ge 0 the multiples nZn\mathbb{Z} form a subgroup of Z\mathbb{Z} (Example 2.1.3), and nZn\mathbb{Z} is the cyclic subgroup ⟨n⟩\langle n \rangle. Are there any other subgroups of Z\mathbb{Z}? The answer gives the greatest common divisor of two integers a new description, and with it the rule behind the units mod nn (Example 1.3.4): modulo 88 they are [1],[3],[5],[7][1], [3], [5], [7], and modulo 1010 they are [1],[3],[7],[9][1], [3], [7], [9].

Every subgroup of Z\mathbb{Z} is cyclic

The proof uses division with remainder (each integer aa is a=qn+ra = qn + r with 0≤r<n0 \le r < n, for a positive integer nn) and one consequence of induction: every non-empty set of positive integers has a least element.

Theorem 2.3.1 (Subgroups of Z\mathbb{Z}).

Every subgroup HH of Z\mathbb{Z} is nZ=⟨n⟩n\mathbb{Z} = \langle n \rangle for exactly one integer n≥0n \ge 0. If H≠{0}H \neq \{0\}, then nn is the least positive element of HH.

Proof.

Idea. The least positive element nn of HH divides every element of HH, because the remainder on dividing by nn lies in HH and is smaller than nn.

  1. If H={0}H = \{0\}, then H=0ZH = 0\mathbb{Z}. Otherwise HH has a least positive element nn.

    If H≠{0}H \neq \{0\}, then HH contains some a≠0a \neq 0, and also −a-a by Inverses, and one of aa and −a-a is positive. So the positive elements of HH form a non-empty set, and it has a least element nn.

  2. nZ⊆Hn\mathbb{Z} \subseteq H.

    nZ=⟨n⟩n\mathbb{Z} = \langle n \rangle is the smallest subgroup of Z\mathbb{Z} containing nn (Definition 2.2.2).

  3. H⊆nZH \subseteq n\mathbb{Z}. So H=nZH = n\mathbb{Z}, with nn the least positive element of HH.

    Let a∈Ha \in H, and divide it by nn: a=qn+ra = qn + r with 0≤r<n0 \le r < n. Here qn∈nZ⊆Hqn \in n\mathbb{Z} \subseteq H, so r=a+(−qn)r = a + (-qn) lies in HH by Inverses and Closure. Since r<nr < n and nn is the least positive element of HH, the remainder rr is not positive. So r=0r = 0, and a=qn∈nZa = qn \in n\mathbb{Z}.

  4. The integer n≥0n \ge 0 with H=nZH = n\mathbb{Z} is unique.

    The subgroup 0Z={0}0\mathbb{Z} = \{0\} is different from every mZm\mathbb{Z} with m>0m > 0, which contains mm. And if nZ=mZn\mathbb{Z} = m\mathbb{Z} with n,m>0n, m > 0, then nn and mm are both the least positive element of the same set, so n=mn = m.

□

The greatest common divisor

For integers aa and bb, not both 00, the greatest common divisor gcd⁡(a,b)\gcd(a, b) is the largest integer that divides both aa and bb. It exists, since 11 divides both, and a common divisor is at most ∣a∣\lvert a \rvert when a≠0a \neq 0 (and at most ∣b∣\lvert b \rvert when b≠0b \neq 0). For example, gcd⁡(42,30)=6\gcd(42, 30) = 6, gcd⁡(17,5)=1\gcd(17, 5) = 1 and gcd⁡(a,0)=∣a∣\gcd(a, 0) = \lvert a \rvert.

Theorem 2.3.2 (Bézout’s identity).

Let aa and bb be integers, not both 00, and let d=gcd⁡(a,b)d = \gcd(a, b). Then the integer combinations of aa and bb are exactly the multiples of dd:

{ax+by:x,y∈Z}=dZ.\{ax + by : x, y \in \mathbb{Z}\} = d\mathbb{Z}.

In particular d=ax+byd = ax + by for some integers xx and yy, dd is the least positive integer of this form, and every common divisor of aa and bb divides dd.

Proof.

Idea. Collect all the combinations ax+byax + by into one set. It is a subgroup of Z\mathbb{Z}, so by Theorem 2.3.1 it consists of the multiples of its least positive element, and that element turns out to be gcd⁡(a,b)\gcd(a, b).

  1. The set S={ax+by:x,y∈Z}S = \{ax + by : x, y \in \mathbb{Z}\} is a subgroup of Z\mathbb{Z}.

    Closure: (ax+by)+(ax′+by′)=a(x+x′)+b(y+y′)(ax + by) + (ax' + by') = a(x + x') + b(y + y') lies in SS. Identity: 0=a⋅0+b⋅00 = a \cdot 0 + b \cdot 0 lies in SS. Inverses: −(ax+by)=a(−x)+b(−y)-(ax + by) = a(-x) + b(-y) lies in SS.

  2. S=cZS = c\mathbb{Z}, where c=ax0+by0c = ax_0 + by_0 is the least positive element of SS.

    SS is not {0}\{0\}, since it contains a=a⋅1+b⋅0a = a \cdot 1 + b \cdot 0 and b=a⋅0+b⋅1b = a \cdot 0 + b \cdot 1, which are not both 00. So by Theorem 2.3.1, S=cZS = c\mathbb{Z}, where cc is the least positive element of SS; say c=ax0+by0c = ax_0 + by_0.

  3. cc divides aa and bb.

    aa and bb lie in S=cZS = c\mathbb{Z}.

  4. Every common divisor mm of aa and bb divides cc, and m≤cm \le c.

    If a=ma′a = ma' and b=mb′b = mb', then c=ax0+by0=m(a′x0+b′y0)c = ax_0 + by_0 = m(a'x_0 + b'y_0). So m≤∣m∣≤cm \le \lvert m \rvert \le c, since c>0c > 0.

  5. c=gcd⁡(a,b)=dc = \gcd(a, b) = d, and every claim of the theorem holds.

    By the last two steps, cc is a common divisor of aa and bb that is at least as large as every common divisor, so cc is gcd⁡(a,b)=d\gcd(a, b) = d. With c=dc = d, the second and fourth steps prove every claim of the theorem.

□

To find the coefficients xx and yy, run the Euclidean algorithm. If a=qb+ra = qb + r, then the common divisors of aa and bb are exactly the common divisors of bb and rr: a common divisor of bb and rr divides a=qb+ra = qb + r, and a common divisor of aa and bb divides r=a−qbr = a - qb. So gcd⁡(a,b)=gcd⁡(b,r)\gcd(a, b) = \gcd(b, r). Dividing again and again, the remainders get smaller until one is 00, and the last non-zero remainder is the gcd. For gcd⁡(42,30)\gcd(42, 30):

42=1⋅30+12,30=2⋅12+6,12=2⋅6+0,\begin{aligned} 42 &= 1 \cdot 30 + 12, \\ 30 &= 2 \cdot 12 + 6, \\ 12 &= 2 \cdot 6 + 0, \end{aligned}

so gcd⁡(42,30)=gcd⁡(30,12)=gcd⁡(12,6)=6\gcd(42, 30) = \gcd(30, 12) = \gcd(12, 6) = 6. Running the divisions backwards, each time replacing a remainder by what it equals in the line above, writes the gcd as a combination:

6=30−2⋅12=30−2(42−30)=3⋅30−2⋅42.\begin{aligned} 6 &= 30 - 2 \cdot 12 \\ &= 30 - 2(42 - 30) \\ &= 3 \cdot 30 - 2 \cdot 42. \end{aligned}

The theorem is named after Étienne Bézout, whose work on polynomial equations led to the corresponding statement for polynomials. For integers it already appears in a 1624 book by Claude-Gaspar Bachet de Méziriac.

Euclid’s lemma

An integer p>1p > 1 is prime if its only positive divisors are 11 and pp.

Theorem 2.3.3 (Euclid’s lemma).Not yet reviewed

Let aa, bb and cc be integers. If aa divides bcbc and gcd⁡(a,b)=1\gcd(a, b) = 1, then aa divides cc. In particular, if a prime pp divides bcbc, then pp divides bb or pp divides cc.

Proof.

The idea is to write 11 as a combination of aa and bb and multiply it by cc.

Since gcd⁡(a,b)=1\gcd(a, b) = 1, Theorem 2.3.2 gives integers xx and yy with 1=ax+by1 = ax + by. Multiplying by cc gives c=acx+bcyc = acx + bcy. The integer aa divides acxacx, and it divides bcybcy because it divides bcbc. So aa divides their sum cc.

For the prime case, suppose pp divides bcbc but not bb. The positive divisors of pp are 11 and pp, and pp does not divide bb, so gcd⁡(p,b)=1\gcd(p, b) = 1. The first part, with a=pa = p, shows that pp divides cc. □

Without the hypothesis gcd⁡(a,b)=1\gcd(a, b) = 1 the conclusion can fail: 66 divides 4⋅9=364 \cdot 9 = 36, but 66 divides neither 44 nor 99. The statement for primes is Proposition 30 of Book VII of Euclid’s Elements.

Which classes are units

Theorem 2.3.4 (Units mod nn).

Let n≥1n \ge 1 and a∈Za \in \mathbb{Z}. The class [a][a] is a unit in Z/nZ\mathbb{Z}/n\mathbb{Z} exactly when gcd⁡(a,n)=1\gcd(a, n) = 1. In that case, if ax+ny=1ax + ny = 1, then [a]−1=[x][a]^{-1} = [x].

Proof.

The idea is that [a][x]=[1][a][x] = [1] says that nn divides ax−1ax - 1, that is, ax+ny=1ax + ny = 1 for some integer yy; and Bézout’s identity says when such a combination exists.

Suppose [a][a] is a unit, with [a][x]=[ax]=[1][a][x] = [ax] = [1]. Then nn divides ax−1ax - 1, say ax−1=knax - 1 = kn, and with y=−ky = -k this reads ax+ny=1ax + ny = 1. Every common divisor of aa and nn divides ax+ny=1ax + ny = 1, so gcd⁡(a,n)=1\gcd(a, n) = 1.

Conversely, suppose gcd⁡(a,n)=1\gcd(a, n) = 1. By Theorem 2.3.2 there are integers xx and yy with ax+ny=1ax + ny = 1. For any such xx and yy, ax−1=−nyax - 1 = -ny is a multiple of nn, so [a][x]=[ax]=[1][a][x] = [ax] = [1]. So [a][a] is a unit, and its inverse is [x][x]. □

The units mod 88 are therefore the classes of the odd numbers 1,3,5,71, 3, 5, 7, and the units mod 1010 are the classes of 1,3,7,91, 3, 7, 9, the numbers from 00 to 99 divisible by neither 22 nor 55. When n=pn = p is prime, every aa that pp does not divide has gcd⁡(a,p)=1\gcd(a, p) = 1, so (Z/pZ)×={[1],[2],…,[p−1]}(\mathbb{Z}/p\mathbb{Z})^\times = \{[1], [2], \dots, [p - 1]\} has p−1p - 1 elements.

2.4 Inside a cyclic group

A cyclic group is everything one element generates. Which of its elements generate it, and which subgroups sit inside it? The answers are counts and divisors, computed with the greatest common divisor (Theorem 2.3.2).

Counting generators

Definition 2.4.1 (Euler’s function).

For a positive integer nn, Euler’s function φ(n)\varphi(n) is the number of integers kk with 1≤k≤n1 \le k \le n and gcd⁡(k,n)=1\gcd(k, n) = 1.

The classes [1],[2],…,[n][1], [2], \dots, [n] are the nn classes mod nn (with [n]=[0][n] = [0]), and [k][k] is a unit exactly when gcd⁡(k,n)=1\gcd(k, n) = 1 (Theorem 2.3.4). So φ(n)\varphi(n) is the order of (Z/nZ)×(\mathbb{Z}/n\mathbb{Z})^\times. The function was introduced by Leonhard Euler in 1763; the letter φ\varphi is due to Carl Friedrich Gauss, in 1801.

Theorem 2.4.2 (Order of a power).Not yet reviewed

Let gg be an element of a group with ord⁡(g)=n\ord(g) = n finite, and let kk be an integer. Then

ord⁡(gk)=ngcd⁡(n,k).\ord(g^k) = \frac{n}{\gcd(n, k)}.

So gkg^k generates ⟨g⟩\langle g \rangle exactly when gcd⁡(n,k)=1\gcd(n, k) = 1, and a cyclic group of order nn has exactly φ(n)\varphi(n) generators.

Proof.

Idea. (gk)m=gkm(g^k)^m = g^{km} is ee exactly when nn divides kmkm, and after canceling the common factor d=gcd⁡(n,k)d = \gcd(n, k) from nn and kk, this happens exactly when n/dn/d divides mm.

  1. Write n=dn′n = dn' and k=dk′k = dk', with d=gcd⁡(n,k)≥1d = \gcd(n, k) \ge 1. Then gcd⁡(n′,k′)=1\gcd(n', k') = 1.

    By Theorem 2.3.2, d=nx+kyd = nx + ky for some integers xx and yy, and dividing by dd gives 1=n′x+k′y1 = n'x + k'y, so every common divisor of n′n' and k′k' divides 11.

  2. For an integer mm, (gk)m=e(g^k)^m = e exactly when n′n' divides mm. So ord⁡(gk)=n′=n/d\ord(g^k) = n' = n/d.

    (gk)m=gkm(g^k)^m = g^{km}, and by Theorem 2.2.3 this is ee exactly when nn divides kmkm, that is, when dn′dn' divides dk′mdk'm, that is, when n′n' divides k′mk'm. If n′n' divides mm, then n′n' divides k′mk'm. Conversely, if n′n' divides k′mk'm, then n′n' divides mm by Theorem 2.3.3, since gcd⁡(n′,k′)=1\gcd(n', k') = 1. So the least positive such mm is n′n'.

  3. gkg^k generates ⟨g⟩\langle g \rangle exactly when gcd⁡(n,k)=1\gcd(n, k) = 1.

    The powers of gkg^k are powers of gg, so ⟨gk⟩⊆⟨g⟩\langle g^k \rangle \subseteq \langle g \rangle. By Theorem 2.2.3 these subgroups have ord⁡(gk)=n/d\ord(g^k) = n/d and nn elements, so they are equal exactly when n/d=nn/d = n, that is, when d=1d = 1.

  4. A cyclic group of order nn has exactly φ(n)\varphi(n) generators.

    Let G=⟨g⟩G = \langle g \rangle have order nn. Since GG is finite, gg does not have infinite order (part (ii) of Theorem 2.2.3), so ord⁡(g)=∣⟨g⟩∣=n\ord(g) = \lvert \langle g \rangle \rvert = n by part (i). The nn elements of GG are g1,g2,…,gng^1, g^2, \dots, g^n (with gn=eg^n = e), all different, since their exponents are not congruent mod nn. By the previous step, gkg^k generates GG exactly when gcd⁡(n,k)=1\gcd(n, k) = 1, and φ(n)\varphi(n) of the exponents k=1,…,nk = 1, \dots, n have this property.

□

Subgroups of a cyclic group

Theorem 2.4.3 (Subgroups of a cyclic group).

Let G=⟨g⟩G = \langle g \rangle be a cyclic group, and let HH be a subgroup of GG.

  • (i) HH is cyclic: H=⟨gm⟩H = \langle g^m \rangle, where m=0m = 0 if H={e}H = \{e\}, and otherwise mm is the least positive integer with gm∈Hg^m \in H.
  • (ii) If GG has finite order nn, then ∣H∣\lvert H \rvert divides nn, and for each positive divisor dd of nn, GG has exactly one subgroup of order dd, namely ⟨gn/d⟩\langle g^{n/d} \rangle.
Proof.

Idea. A subgroup H≠{e}H \neq \{e\} of ⟨g⟩\langle g \rangle is pinned down by the least positive power gmg^m it contains: dividing any other exponent in HH by mm leaves a remainder rr with gr∈Hg^r \in H, so r=0r = 0. For finite GG, the order of a power then counts the elements of HH.

  1. If H≠{e}H \neq \{e\}, then some positive power of gg lies in HH, so mm exists.

    Every element of HH is a power gkg^k, since G=⟨g⟩G = \langle g \rangle. An element gk≠eg^k \neq e of HH has k≠0k \neq 0, and its inverse g−kg^{-k} also lies in HH; one of kk and −k-k is positive. So the set of positive kk with gk∈Hg^k \in H is non-empty, and it has a least element mm.

  2. If H≠{e}H \neq \{e\}, a power gkg^k lies in HH exactly when mm divides kk.

    If k=qmk = qm, then gk=(gm)qg^k = (g^m)^q lies in HH, because ⟨gm⟩\langle g^m \rangle is the smallest subgroup containing gmg^m (Definition 2.2.2). Conversely, let gk∈Hg^k \in H, and divide: k=qm+rk = qm + r with 0≤r<m0 \le r < m. Then gr=gk(gm)−qg^r = g^k(g^m)^{-q} lies in HH by Inverses and Closure. Since mm is the least positive exponent with gm∈Hg^m \in H, the remainder rr is not positive, so r=0r = 0.

  3. H=⟨gm⟩H = \langle g^m \rangle in every case. This proves (i).

    For H={e}H = \{e\}, H=⟨g0⟩H = \langle g^0 \rangle. Otherwise, every element of HH is a power gkg^k, as in the first step, so by the previous step the elements of HH are exactly the powers (gm)q(g^m)^q, and H=⟨gm⟩H = \langle g^m \rangle.

  4. If GG has order nn and H≠{e}H \neq \{e\}, then mm divides nn.

    Since ⟨g⟩=G\langle g \rangle = G is finite, gg does not have infinite order (part (ii) of Theorem 2.2.3), so ord⁡(g)=∣⟨g⟩∣=n\ord(g) = \lvert \langle g \rangle \rvert = n by part (i). So gn=eg^n = e lies in HH, and by the second step mm divides nn.

  5. If GG has order nn, then ∣H∣\lvert H \rvert divides nn.

    If H={e}H = \{e\}, its order 11 divides nn. Otherwise H=⟨gm⟩H = \langle g^m \rangle and mm divides nn by the previous step, so gcd⁡(n,m)=m\gcd(n, m) = m, and by Theorem 2.4.2, ∣H∣=ord⁡(gm)=n/m\lvert H \rvert = \ord(g^m) = n/m, which divides nn.

  6. For each positive divisor dd of nn, the subgroup ⟨gn/d⟩\langle g^{n/d} \rangle has order dd.

    Since n/dn/d divides nn, Theorem 2.4.2 gives ord⁡(gn/d)=n/gcd⁡(n,n/d)=n/(n/d)=d\ord(g^{n/d}) = n/\gcd(n, n/d) = n/(n/d) = d.

  7. It is the only subgroup of order dd. This proves (ii).

    Let HH have order dd. If d=1d = 1, then H={e}=⟨gn⟩H = \{e\} = \langle g^n \rangle. Otherwise H=⟨gm⟩H = \langle g^m \rangle, where mm divides nn by the fourth step, and d=∣H∣=n/md = \lvert H \rvert = n/m as computed in the fifth step, so m=n/dm = n/d.

□

The lattice of subgroups

Write HdH_d for the subgroup of order dd of a cyclic group GG of order nn. One of these subgroups lies inside another exactly when the orders divide: Hd⊆Hd′H_d \subseteq H_{d'} exactly when dd divides d′d'. If Hd⊆Hd′H_d \subseteq H_{d'}, then HdH_d is a subgroup of Hd′H_{d'}, which is cyclic of order d′d' by part (i) of Theorem 2.4.3, so dd divides d′d' by part (ii). Conversely, if dd divides d′d', then the cyclic group Hd′H_{d'} has a subgroup of order dd by part (ii); it is a subgroup of GG of order dd, so it is HdH_d.

So the subgroups of a cyclic group can be drawn as a lattice of subgroups: one entry per divisor of nn, larger subgroups higher up, and a line from each subgroup up to the next larger subgroups that contain it. For Z/12Z\mathbb{Z}/12\mathbb{Z}, with orders 1212; 66 and 44; 33 and 22; and 11:

Z/12Z ⁣╱ ⁣ ⁣╲ ⁣⟨[2]⟩⟨[3]⟩ ⁣╱ ⁣ ⁣╲ ⁣ ⁣╱ ⁣⟨[4]⟩⟨[6]⟩ ⁣╲ ⁣ ⁣╱ ⁣{[0]}\begin{array}{ccccccc} & & & & \mathbb{Z}/12\mathbb{Z} & & \\ & & & \!\diagup\! & & \!\diagdown\! & \\ & & \langle [2] \rangle & & & & \langle [3] \rangle \\ & \!\diagup\! & & \!\diagdown\! & & \!\diagup\! & \\ \langle [4] \rangle & & & & \langle [6] \rangle & & \\ & \!\diagdown\! & & \!\diagup\! & & & \\ & & \{[0]\} & & & & \end{array}

Reading down a line is inclusion: ⟨[6]⟩={[0],[6]}\langle [6] \rangle = \{[0], [6]\} lies in both ⟨[2]⟩\langle [2] \rangle and ⟨[3]⟩\langle [3] \rangle, because its order 22 divides their orders 66 and 44, while ⟨[4]⟩\langle [4] \rangle, of order 33, lies in ⟨[2]⟩\langle [2] \rangle, of order 66, but not in ⟨[3]⟩\langle [3] \rangle, because 33 does not divide the order 44 of ⟨[3]⟩\langle [3] \rangle.

Subgroups and cyclic groups: Exercises

Exercise 2.1.

Decide whether each subset is a subgroup. If it is, say which test of Theorem 2.1.2 shows it; if it is not, name a condition of Definition 2.1.1 that fails and show that it fails.

  • (a) The positive real numbers, in R×\mathbb{R}^\times.
  • (b) The matrices AA with det⁡A=2\det A = 2, in GL2(R)GL_2(\mathbb{R}).
  • (c) {[1],[3],[9]}\{[1], [3], [9]\}, in (Z/13Z)×(\mathbb{Z}/13\mathbb{Z})^\times.
  • (d) The integers divisible by 44 or by 66, in Z\mathbb{Z}.
Solution.

(a) A subgroup, by test (i). The set contains 11, so it is non-empty, and for positive xx and yy the number xy−1=x/yxy^{-1} = x/y is positive.

(b) Not a subgroup: Identity fails, since the identity matrix II has det⁡I=1≠2\det I = 1 \neq 2. (Closure fails too: det⁡(AB)=det⁡Adet⁡B=4\det(AB) = \det A \det B = 4.)

(c) A subgroup, by test (ii). The set is finite and non-empty, and it is closed: [3][3]=[9][3][3] = [9], [3][9]=[27]=[1][3][9] = [27] = [1] and [9][9]=[81]=[3][9][9] = [81] = [3], since 27=2⋅13+127 = 2 \cdot 13 + 1 and 81=6⋅13+381 = 6 \cdot 13 + 3; products with [1][1] change nothing.

(d) Not a subgroup: Closure fails. Both 44 and 66 are in the set, but 4+6=104 + 6 = 10 is divisible by neither 44 nor 66. □

Exercise 2.2.

Find the order of every element of D4D_4 and of the quaternion group Q8Q_8 (Example 1.4.6), and list the cyclic subgroup each element generates. Deduce that neither group is cyclic.

Solution.

In D4D_4: the identity ee has order 11. The rotations rr and r3r^3 have order 44, and ⟨r⟩=⟨r3⟩={e,r,r2,r3}\langle r \rangle = \langle r^3 \rangle = \{e, r, r^2, r^3\}, since the powers of r3r^3 are r3,r6=r2,r9=r,r12=er^3, r^6 = r^2, r^9 = r, r^{12} = e. The half turn r2r^2 has order 22, with ⟨r2⟩={e,r2}\langle r^2 \rangle = \{e, r^2\}. Each of the four reflections ff has order 22, since (rks)(rks)=rk−k=e(r^ks)(r^ks) = r^{k-k} = e by the rules of Example 1.4.2, and ⟨f⟩={e,f}\langle f \rangle = \{e, f\}.

In Q8Q_8, whose identity is written 11: 11 has order 11, and −1-1 has order 22, with ⟨−1⟩={1,−1}\langle -1 \rangle = \{1, -1\}. Each of ±i,±j,±k\pm i, \pm j, \pm k has order 44: for instance i2=−1i^2 = -1, i3=−ii^3 = -i and i4=1i^4 = 1, and (−i)2=i2=−1(-i)^2 = i^2 = -1, (−i)4=1(-i)^4 = 1. So ⟨i⟩=⟨−i⟩={1,i,−1,−i}\langle i \rangle = \langle -i \rangle = \{1, i, -1, -i\}, and likewise ⟨j⟩=⟨−j⟩={1,j,−1,−j}\langle j \rangle = \langle -j \rangle = \{1, j, -1, -j\} and ⟨k⟩=⟨−k⟩={1,k,−1,−k}\langle k \rangle = \langle -k \rangle = \{1, k, -1, -k\}.

Both groups have 88 elements, and no element of either has order 88. By Theorem 2.2.3, ∣⟨g⟩∣=ord⁡(g)≤4\lvert \langle g \rangle \rvert = \ord(g) \le 4 for every element gg, so no element generates the whole group: neither group is cyclic. □

Exercise 2.3.

Use the Euclidean algorithm to find gcd⁡(252,198)\gcd(252, 198) and to write it as 252x+198y252x + 198y with integers xx and yy. Then find the inverse of [11][11] in Z/26Z\mathbb{Z}/26\mathbb{Z}.

Solution.

The divisions are

252=1⋅198+54,198=3⋅54+36,54=1⋅36+18,36=2⋅18,\begin{aligned} 252 &= 1 \cdot 198 + 54, \\ 198 &= 3 \cdot 54 + 36, \\ 54 &= 1 \cdot 36 + 18, \\ 36 &= 2 \cdot 18, \end{aligned}

so gcd⁡(252,198)=18\gcd(252, 198) = 18, the last non-zero remainder. Running them backwards,

18=54−36=54−(198−3⋅54)=4⋅54−198=4(252−198)−198=4⋅252−5⋅198,\begin{aligned} 18 &= 54 - 36 \\ &= 54 - (198 - 3 \cdot 54) \\ &= 4 \cdot 54 - 198 \\ &= 4(252 - 198) - 198 \\ &= 4 \cdot 252 - 5 \cdot 198, \end{aligned}

and indeed 1008−990=181008 - 990 = 18.

For [11][11] mod 2626: gcd⁡(11,26)=1\gcd(11, 26) = 1, so [11][11] is a unit by Theorem 2.3.4. The divisions 26=2⋅11+426 = 2 \cdot 11 + 4, 11=2⋅4+311 = 2 \cdot 4 + 3 and 4=1⋅3+14 = 1 \cdot 3 + 1 give

1=4−3=4−(11−2⋅4)=3⋅4−11=3(26−2⋅11)−11=3⋅26−7⋅11.\begin{aligned} 1 &= 4 - 3 \\ &= 4 - (11 - 2 \cdot 4) \\ &= 3 \cdot 4 - 11 \\ &= 3(26 - 2 \cdot 11) - 11 \\ &= 3 \cdot 26 - 7 \cdot 11. \end{aligned}

So [11]−1=[−7]=[19][11]^{-1} = [-7] = [19]. Check: 11⋅19=209=8⋅26+111 \cdot 19 = 209 = 8 \cdot 26 + 1. □

Exercise 2.4.

Let HH and KK be subgroups of a group GG. Show that H∩KH \cap K is a subgroup of GG.

Hint.

Use test (i) of Theorem 2.1.2, in both directions.

Solution.

The plan is to check the single condition of test (i) of Theorem 2.1.2 for H∩KH \cap K, using the same test for HH and for KK.

H∩KH \cap K is non-empty: both HH and KK contain ee, by Identity.

Let a,b∈H∩Ka, b \in H \cap K. Since HH is a subgroup and a,b∈Ha, b \in H, test (i) gives ab−1∈Hab^{-1} \in H. In the same way ab−1∈Kab^{-1} \in K. So ab−1∈H∩Kab^{-1} \in H \cap K, and H∩KH \cap K is a subgroup by test (i). □

Exercise 2.5.Not yet reviewed

Let GG be a group with identity ee, and let HH be a subset of GG that is a group under the operation of GG. Show that HH is a subgroup of GG.

Hint.

Closure is given. The work is in Identity and Inverses: the identity ff of HH, and the inverse bb in HH of an element aa, are not yet known to be ee and a−1a^{-1}. Once f=ef = e, compare abab with aa−1aa^{-1}.

Solution.

Let ff be the identity element of the group HH. The plan is to show that f=ef = e and that inverses in HH are inverses in GG, by turning each equation that holds in HH into an equation in GG and canceling there.

First, f=ef = e. Since ff is the identity of HH and f∈Hf \in H, we have ff=fff = f. Since ee is the identity of GG, we have fe=ffe = f. So ff=feff = fe, and canceling ff on the left (Theorem 1.2.4) gives f=ef = e.

Next, let a∈Ha \in H, and let b∈Hb \in H be its inverse in the group HH, so that ab=f=eab = f = e. Also aa−1=eaa^{-1} = e in GG. So ab=aa−1ab = aa^{-1}, and canceling aa on the left gives b=a−1b = a^{-1}.

Finally, HH satisfies the three conditions of Definition 2.1.1. Closure holds because HH is a group under the operation of GG, so ab∈Hab \in H for all a,b∈Ha, b \in H. Identity holds because e=fe = f lies in HH. Inverses holds because the inverse bb of aa in HH is a−1a^{-1}, so a−1∈Ha^{-1} \in H. □

Exercise 2.6.

Let GG be an abelian group and n≥1n \ge 1 an integer, and let H={g∈G:gn=e}H = \{g \in G : g^n = e\}.

  • (a) Show that HH is a subgroup of GG.
  • (b) Show that for G=D4G = D_4 and n=2n = 2 the same set is not a subgroup.
Hint.

For (a), first show that (xy)n=xnyn(xy)^n = x^ny^n when xy=yxxy = yx. For (b), list the elements of D4D_4 that square to ee.

Solution.

(a) The plan is to use test (i) of Theorem 2.1.2, with the rule (xy)n=xnyn(xy)^n = x^ny^n for elements that commute.

The rule: let xx and yy commute. First ykx=xyky^kx = xy^k for every k≥1k \ge 1, by induction: it holds for k=1k = 1, and yk+1x=y(ykx)=y(xyk)=(yx)yk=(xy)yk=xyk+1y^{k+1}x = y(y^kx) = y(xy^k) = (yx)y^k = (xy)y^k = xy^{k+1}. Then (xy)n=xnyn(xy)^n = x^ny^n by induction on nn: it holds for n=1n = 1, and

(xy)n+1=(xy)n(xy)=xnynxy=xnxyny=xn+1yn+1.\begin{aligned} (xy)^{n+1} &= (xy)^n(xy) = x^ny^nxy \\ &= x^nxy^ny = x^{n+1}y^{n+1}. \end{aligned}

Now HH is non-empty, since en=ee^n = e. Let a,b∈Ha, b \in H. Since GG is abelian, aa and b−1b^{-1} commute, so

(ab−1)n=an(b−1)n=an(bn)−1=ee−1=e,\begin{aligned} (ab^{-1})^n &= a^n(b^{-1})^n \\ &= a^n(b^n)^{-1} = ee^{-1} = e, \end{aligned}

using (b−1)n=b−n=(bn)−1(b^{-1})^n = b^{-n} = (b^n)^{-1} from the laws of exponents (Definition 2.2.1). So ab−1∈Hab^{-1} \in H, and HH is a subgroup by test (i).

(b) In D4D_4 the elements with g2=eg^2 = e are ee, the half turn r2r^2 and the four reflections ss, rsrs, r2sr^2s, r3sr^3s (the quarter turns rr and r3r^3 have r2≠er^2 \neq e and r6=r2≠er^6 = r^2 \neq e). By the rules of Example 1.4.2, s⋅rs=r0−1=r3s \cdot rs = r^{0-1} = r^3, which is not in the set. So Closure fails, and the set is not a subgroup. Part (a) needed GG to be abelian, and D4D_4 is not. □

Exercise 2.7.

Let gg and hh be elements of a group GG. Show that g−1g^{-1} and hgh−1hgh^{-1} have the same order as gg (either all three have infinite order, or all have the same finite order). Deduce that abab and baba have the same order for all a,b∈Ga, b \in G.

Hint.

Show that (hgh−1)k=hgkh−1(hgh^{-1})^k = hg^kh^{-1} for k≥1k \ge 1, and compare the exponents k≥1k \ge 1 that give ee.

Solution.

The plan is to show that, for each k≥1k \ge 1, gk=eg^k = e exactly when (g−1)k=e(g^{-1})^k = e, and exactly when (hgh−1)k=e(hgh^{-1})^k = e. Then the three elements have the same exponents giving ee, so the same least one, or none at all.

For g−1g^{-1}: by the laws of exponents (Definition 2.2.1), (g−1)k=g−k=(gk)−1(g^{-1})^k = g^{-k} = (g^k)^{-1}, and (gk)−1=e(g^k)^{-1} = e exactly when gk=eg^k = e.

For hgh−1hgh^{-1}: first (hgh−1)k=hgkh−1(hgh^{-1})^k = hg^kh^{-1}, by induction on kk. It holds for k=1k = 1, and

(hgh−1)k+1=(hgkh−1)(hgh−1)=hgk(h−1h)gh−1=hgk+1h−1.\begin{aligned} (hgh^{-1})^{k+1} &= (hg^kh^{-1})(hgh^{-1}) \\ &= hg^k(h^{-1}h)gh^{-1} \\ &= hg^{k+1}h^{-1}. \end{aligned}

If gk=eg^k = e, then hgkh−1=hh−1=ehg^kh^{-1} = hh^{-1} = e. Conversely, if hgkh−1=ehg^kh^{-1} = e, then multiplying on the left by h−1h^{-1} and on the right by hh gives gk=h−1h=eg^k = h^{-1}h = e.

For the last claim, ba=a−1(ab)aba = a^{-1}(ab)a, which is hgh−1hgh^{-1} with h=a−1h = a^{-1} and g=abg = ab, since h−1=ah^{-1} = a (Theorem 1.2.4). So baba has the same order as abab. □

Exercise 2.8.

Let n≥1n \ge 1, and let aa and bb be integers with gcd⁡(a,n)=1\gcd(a, n) = 1 and gcd⁡(b,n)=1\gcd(b, n) = 1. Show that gcd⁡(ab,n)=1\gcd(ab, n) = 1.

Hint.

Translate each gcd condition into a statement about classes mod nn.

Solution.

The plan is to turn the question into one about units mod nn, where the answer is that the units form a group.

By Theorem 2.3.4, [a][a] and [b][b] are units in Z/nZ\mathbb{Z}/n\mathbb{Z}. The units form a group under multiplication (Example 1.3.4), so by Closure [a][b]=[ab][a][b] = [ab] is a unit. By Theorem 2.3.4 again, gcd⁡(ab,n)=1\gcd(ab, n) = 1. □

Exercise 2.9.

Let n≥1n \ge 1, and let μn\mu_n be the group of nn-th roots of unity.

  • (a) Show that for each positive divisor dd of nn, μd\mu_d is a subgroup of μn\mu_n, and that every subgroup of μn\mu_n is one of these.
  • (b) List the generators of μ12\mu_{12} as powers of ζ12\zeta_{12}.
Hint.

μn\mu_n is cyclic of order nn. How many subgroups of order dd can it have?

Solution.

The plan is to find, for each divisor dd of nn, a subgroup of μn\mu_n of order dd; since μn\mu_n is cyclic, there is no room for any other.

(a) Let dd be a positive divisor of nn. If zd=1z^d = 1, then zn=(zd)n/d=1z^n = (z^d)^{n/d} = 1, so μd⊆μn\mu_d \subseteq \mu_n. By Example 2.2.4, μd\mu_d is a subgroup of C×\mathbb{C}^\times; it satisfies Closure, Identity and Inverses under the multiplication of C×\mathbb{C}^\times, which is also the operation of μn\mu_n, so μd\mu_d is a subgroup of μn\mu_n. It has order dd, again by Example 2.2.4.

Now μn=⟨ζn⟩\mu_n = \langle \zeta_n \rangle is cyclic of order nn. By Theorem 2.4.3, every subgroup of μn\mu_n has an order dd dividing nn, and μn\mu_n has only one subgroup of that order. Since μd\mu_d is a subgroup of order dd, every subgroup of μn\mu_n is μd\mu_d for some divisor dd of nn.

(b) ζ12\zeta_{12} has order 1212, so by Theorem 2.4.2 the power ζ12k\zeta_{12}^k generates μ12\mu_{12} exactly when gcd⁡(12,k)=1\gcd(12, k) = 1. With 1≤k≤121 \le k \le 12 this gives the φ(12)=4\varphi(12) = 4 generators ζ12\zeta_{12}, ζ125\zeta_{12}^5, ζ127\zeta_{12}^7 and ζ1211\zeta_{12}^{11}. □

Exercise 2.10.

Let G=⟨g⟩G = \langle g \rangle be a cyclic group in which gg has infinite order. Show that gg and g−1g^{-1} are the only generators of GG, and that the subgroups ⟨gm⟩\langle g^m \rangle, for m=0,1,2,…m = 0, 1, 2, \dots, are all different and are all the subgroups of GG.

Hint.

Since gg has infinite order, ga=gbg^a = g^b only when a=ba = b. Use this to decide when gkg^k lies in ⟨gm⟩\langle g^m \rangle.

Solution.

The finite case was settled by counting elements, which is not possible here; instead, everything rests on the fact that, by Theorem 2.2.3, ga=gbg^a = g^b only when a=ba = b.

The key fact: for integers kk and mm, gk∈⟨gm⟩g^k \in \langle g^m \rangle exactly when mm divides kk. Indeed, gk∈⟨gm⟩g^k \in \langle g^m \rangle means gk=(gm)q=gmqg^k = (g^m)^q = g^{mq} for some integer qq, and since the powers of gg are all different, this means k=mqk = mq.

Generators: gkg^k generates GG exactly when g∈⟨gk⟩g \in \langle g^k \rangle, since then ⟨g⟩⊆⟨gk⟩\langle g \rangle \subseteq \langle g^k \rangle, because ⟨g⟩\langle g \rangle is the smallest subgroup containing gg (Definition 2.2.2). By the key fact with exponent 11, this happens exactly when kk divides 11, that is, k=1k = 1 or k=−1k = -1.

All subgroups: by Theorem 2.4.3, every subgroup of GG is ⟨gm⟩\langle g^m \rangle for some m≥0m \ge 0.

All different: ⟨g0⟩={e}\langle g^0 \rangle = \{e\}, while for m≥1m \ge 1 the subgroup ⟨gm⟩\langle g^m \rangle contains gm≠eg^m \neq e. And for m≥1m \ge 1, the key fact says that the least positive kk with gk∈⟨gm⟩g^k \in \langle g^m \rangle is mm. So ⟨gm⟩\langle g^m \rangle determines mm, and different values of mm give different subgroups. □

Exercise 2.11.

Find a group GG and two elements a,b∈Ga, b \in G, each of order 22, such that abab has infinite order.

Hint.

First explain why GG must be infinite. Then think of symmetries of a line: what do two reflections in different points compose to?

Solution.

Every element of a finite group has finite order, since its powers cannot all be different (Theorem 2.2.3), so GG must be infinite. On a line, two reflections in different points make a translation, which never returns to the start; the permutations of Z\mathbb{Z} give such a pair.

Let G=SZG = S_{\mathbb{Z}}, the group of all permutations of Z\mathbb{Z} (Definition 1.4.3), and let a(x)=−xa(x) = -x and b(x)=1−xb(x) = 1 - x. Both are bijections of Z\mathbb{Z}, so they lie in GG. Neither is the identity, and each undoes itself: a(a(x))=xa(a(x)) = x and b(b(x))=1−(1−x)=xb(b(x)) = 1 - (1 - x) = x. So aa and bb have order 22.

The product abab, first bb and then aa, sends xx to a(1−x)=x−1a(1 - x) = x - 1. So (ab)k(ab)^k sends xx to x−kx - k, and for k≥1k \ge 1 it moves every integer, so (ab)k(ab)^k is not the identity. Hence abab has infinite order. □