Unit 3: Subgroups and cyclic groups

Groups inside groups

The rotations of a square form a group of their own, sitting inside the full symmetry group. Such subgroups are everywhere, and the simplest of them, the cyclic groups, can be classified completely.

123456789101112
In this unit
  1. Subgroups
  2. The subgroup test
  3. The order of an element
  4. Cyclic groups
  5. Inside a cyclic group
  6. Subgroup diagrams
  7. Practice set
  8. Summary and glossary

Subgroups

Among the eight symmetries of a square, the four rotations \(e, r, r^2, r^3\) are special. Combining two rotations gives a rotation, "do nothing" is a rotation, and undoing a rotation is a rotation. So the rotations form a group by themselves, using the same operation as \(D_4\).

Definition

A subset \(H\) of a group \(G\) is a subgroup, written \(H \le G\), if \(H\) is itself a group under the operation of \(G\). That is: \(H\) contains \(e\), and whenever \(a\) and \(b\) are in \(H\), so are \(ab\) and \(a^{-1}\).

Associativity comes for free, since it already holds in \(G\). Why must a subgroup contain the identity \(e\) of \(G\), and not some other identity of its own? If \(f\) is an identity for \(H\), then \(ff = f = fe\), and cancelling \(f\) on the left gives \(f = e\).

Every group \(G\) has two subgroups it can't avoid: \(\{e\}\), the trivial subgroup, and \(G\) itself. Any other subgroup is called proper and nontrivial. Some examples:

And some non-examples. The three flips of a triangle are not a subgroup: two flips give a rotation, and \(e\) is missing. The odd integers are not a subgroup of \(\mathbb Z\): \(1 + 1 = 2\) is even. In \(\mathbb Z/6\), the set \(\{0, 1, 2\}\) is not a subgroup: \(1 + 2 = 3\) escapes.

The subgroup test

Checking three conditions every time is tedious. They can be packed into one.

Theorem (subgroup test)

A nonempty subset \(H\) of a group \(G\) is a subgroup if and only if \(ab^{-1} \in H\) whenever \(a, b \in H\).

If \(H\) is finite, it is enough that \(H\) is nonempty and \(ab \in H\) whenever \(a, b \in H\).

Proof

If \(H\) is a subgroup, then \(b^{-1} \in H\) and so \(ab^{-1} \in H\). Conversely, suppose the condition holds. Pick any \(a \in H\). Then \(e = aa^{-1} \in H\). For any \(b \in H\), \(b^{-1} = eb^{-1} \in H\). Finally, for \(a, b \in H\) we now know \(b^{-1} \in H\), so \(ab = a(b^{-1})^{-1} \in H\).

For the finite version, take \(a \in H\). The powers \(a, a^2, a^3, \ldots\) all lie in \(H\), which is finite, so two of them are equal: \(a^i = a^j\) with \(i < j\). Cancelling gives \(a^{j-i} = e\), so \(e \in H\). If \(j - i = 1\), then \(a = e\) and \(a^{-1} = e \in H\). Otherwise \(a^{j-i-1}\) is in \(H\), and \(a \cdot a^{j-i-1} = e\), so \(a^{-1} = a^{j-i-1} \in H\). ∎

The finite version fails for infinite sets: the positive integers \(\{1, 2, 3, \ldots\}\) are closed under addition, but they aren't a subgroup of \(\mathbb Z\).

Example: intersections

If \(H\) and \(K\) are subgroups of \(G\), so is \(H \cap K\). It contains \(e\), and if \(a, b\) lie in both, so does \(ab^{-1}\). For instance, \(2\mathbb Z \cap 3\mathbb Z = 6\mathbb Z\): the numbers divisible by both 2 and 3. Unions, on the other hand, usually fail. \(2\mathbb Z \cup 3\mathbb Z\) contains 2 and 3 but not \(2 + 3 = 5\).

The order of an element

Turn a square by a quarter turn, again and again. After four turns you're back where you started. The proof above used the same idea: in a finite group, the powers of an element must eventually come back to \(e\).

Definition

The order of an element \(g\), written \(\operatorname{ord}(g)\), is the smallest whole number \(n \ge 1\) with \(g^n = e\). If there is no such \(n\), then \(g\) has infinite order.

Here \(g^0 = e\), and negative powers mean powers of the inverse: \(g^{-k} = (g^{-1})^k\). The usual rules \(g^ig^j = g^{i+j}\) and \((g^i)^j = g^{ij}\) hold for all integers \(i, j\), positive or negative.

GroupElementOrder
Any group\(e\)1 (and \(e\) is the only element of order 1)
\(D_4\)\(r\), \(r^3\)4
\(D_4\)\(r^2\) and the four flips2
\(Q_8\)\(-1\)2
\(Q_8\)\(\pm i, \pm j, \pm k\)4, since \(i^2 = -1\) and \(i^4 = 1\)
\(\mathbb Z/12\)83, since \(8 + 8 + 8 = 24 \equiv 0\)
\(\mathbb Z\)any \(n \neq 0\)infinite
\(SO(2)\)rotation by 1 radianinfinite: \(n\) turns of 1 radian give the identity only if \(n = 2\pi k\), which would make \(\pi = \frac{n}{2k}\) rational

Theorem

Suppose \(g\) has order \(n\). Then \(g^k = e\) exactly when \(n\) divides \(k\). More generally, \(g^i = g^j\) exactly when \(i \equiv j \pmod n\). So the powers \(e, g, g^2, \ldots, g^{n-1}\) are all different, and every power of \(g\) is one of them.

If \(g\) has infinite order, all the powers \(g^k\), \(k \in \mathbb Z\), are different.

Proof

Divide \(k\) by \(n\): \(k = qn + m\) with \(0 \le m < n\). Then \(g^k = (g^n)^q g^m = g^m\). If \(g^k = e\), then \(g^m = e\) with \(m < n\); since \(n\) is the smallest positive exponent that gives \(e\), we must have \(m = 0\), so \(n\) divides \(k\). The converse is clear. For the second statement, \(g^i = g^j\) is the same as \(g^{i-j} = e\).

If \(g\) has infinite order and \(g^i = g^j\) with \(i > j\), then \(g^{i-j} = e\) with \(i - j \ge 1\), which is impossible. ∎

Cyclic groups

The powers of a single element always form a subgroup: it contains \(g^0 = e\), and \(g^i(g^j)^{-1} = g^{i-j}\) is again a power of \(g\).

Definition

The cyclic subgroup generated by \(g\) is \(\langle g\rangle = \{g^k : k \in \mathbb Z\}\). A group \(G\) is cyclic if \(G = \langle g\rangle\) for some \(g\), called a generator.

By the theorem above, \(\langle g\rangle\) has exactly \(\operatorname{ord}(g)\) elements. The two meanings of the word "order" agree: the order of an element is the order of the subgroup it generates.

In \(\mathbb Z/12\), written with addition, \(\langle k\rangle\) is the set of multiples of \(k\). Picture it on a clock: start at 0 and keep jumping \(k\) hours.

Cyclic subgroups of \(\mathbb Z/12\). Jumping by 1 or by 5 visits every hour, so both generate the whole group. Jumping by 2, 3, 4 or 6 visits only some hours, and comes back to 0 sooner.

Many groups we know are cyclic:

Multiplying by 2 cycles through all of \(U(9)\); multiplying by 4 does not. So 2 generates \(U(9)\), and 4 generates a subgroup of order 3.

A cyclic group is always abelian, since \(g^ig^j = g^{i+j} = g^jg^i\). The converse is false. \(U(8)\) is abelian, but every element has order 1 or 2, so no element generates all four. Non-abelian groups, such as \(D_3\) and \(Q_8\), are never cyclic.

Theorem (classification of cyclic groups)

Let \(G = \langle g\rangle\). If \(g\) has infinite order, \(G\) is a copy of \(\mathbb Z\): the rule \(g^k \leftrightarrow k\) matches the elements one to one, and turns multiplication in \(G\) into addition in \(\mathbb Z\). If \(g\) has order \(n\), \(G\) is a copy of \(\mathbb Z/n\), by the same rule with \(k\) taken mod \(n\).

Proof

The matching is one to one by the order theorem: different exponents give different powers when \(g\) has infinite order, and exponents give the same power exactly when they agree mod \(n\) when \(g\) has order \(n\). It turns products into sums because \(g^ig^j = g^{i+j}\). ∎

So, up to renaming, there is exactly one cyclic group of each order: \(\mathbb Z/n\) for each finite \(n\), and \(\mathbb Z\). The rest of this unit studies them through \(\mathbb Z/n\).

Inside a cyclic group

Which powers of a generator are themselves generators, and what are the subgroups? Everything comes down to greatest common divisors.

Theorem

  1. If \(g\) has order \(n\), then \(g^k\) has order \(\dfrac{n}{\gcd(k, n)}\). In \(\mathbb Z/n\): the element \(k\) has order \(\dfrac{n}{\gcd(k, n)}\).
  2. So, for \(n \ge 2\), \(k\) generates \(\mathbb Z/n\) exactly when \(\gcd(k, n) = 1\). There are \(\varphi(n)\) generators: exactly the elements of \(U(n)\).
  3. Every subgroup of a cyclic group is cyclic.
  4. For each divisor \(d\) of \(n\), \(\mathbb Z/n\) has exactly one subgroup of order \(n/d\), namely \(\langle d\rangle\). It has no other subgroups. Equivalently, there is exactly one subgroup of each order dividing \(n\).
Proofs

1. Let \(d = \gcd(k, n)\). By the order theorem, \((g^k)^m = e\) exactly when \(n\) divides \(km\), which is when \(\frac nd\) divides \(\frac kd m\). If \(\frac nd\) divides \(m\), this clearly holds. Conversely, \(\frac nd\) and \(\frac kd\) are coprime, so Bézout gives \(1 = x\frac nd + y\frac kd\), and then \(m = x\frac nd m + y\frac kd m\); if \(\frac nd\) divides \(\frac kd m\), it divides both terms, hence \(m\). So \((g^k)^m = e\) exactly when \(\frac nd\) divides \(m\), and the smallest such \(m \ge 1\) is \(\frac nd\).

2. \(k\) generates \(\mathbb Z/n\) exactly when its order is \(n\), that is, when \(\gcd(k, n) = 1\). The number of such \(k\) between 1 and \(n - 1\) is \(\varphi(n)\) by definition.

3. Let \(H \le \langle g\rangle\). If \(H = \{e\}\), it is \(\langle e\rangle\). Otherwise \(H\) contains some \(g^k\) with \(k \neq 0\), and with it \(g^{-k}\), so it contains a positive power of \(g\). Let \(m\) be the smallest positive exponent with \(g^m \in H\). For any \(g^k \in H\), divide: \(k = qm + t\) with \(0 \le t < m\). Then \(g^t = g^k(g^m)^{-q} \in H\), and \(t < m\) forces \(t = 0\). So every element of \(H\) is a power of \(g^m\), and \(H = \langle g^m\rangle\).

4. By part 3, a subgroup of \(\mathbb Z/n\) is \(\langle k\rangle\) for some \(k\). Let \(c = \gcd(k, n)\), a divisor of \(n\). Bézout gives \(c = ka + nb\) for some integers \(a, b\), so \(c \equiv ak \pmod n\) lies in \(\langle k\rangle\); and \(k\) is a multiple of \(c\), so \(k \in \langle c\rangle\). Hence \(\langle k\rangle = \langle c\rangle\): every subgroup is \(\langle d\rangle\) for a divisor \(d\) of \(n\), of order \(\frac nd\) by part 1. Different divisors give different orders, so different subgroups, and as \(d\) runs over the divisors of \(n\), so does \(\frac nd\). ∎

For \(\mathbb Z/12\), the divisors 1, 2, 3, 4, 6, 12 give exactly six subgroups. The clocks show all of them except \(\{0\}\) (\(\langle 1\rangle\) and \(\langle 5\rangle\) are the same subgroup): \(\langle 0\rangle = \{0\}\), \(\langle 6\rangle\), \(\langle 4\rangle\), \(\langle 3\rangle\), \(\langle 2\rangle\) and \(\langle 1\rangle\), of orders 1, 2, 3, 4, 6 and 12. The generators are 1, 5, 7 and 11: \(\varphi(12) = 4\).

The same argument as part 3, with addition, shows that the subgroups of \(\mathbb Z\) are exactly \(n\mathbb Z\) for \(n = 0, 1, 2, \ldots\)

Going deeper: groups with no subgroups to speak of

Which groups \(G \neq \{e\}\) have no proper nontrivial subgroups at all? Pick any \(g \neq e\). Then \(\langle g\rangle\) is not trivial, so it must be all of \(G\): \(G\) is cyclic. If \(g\) had infinite order, \(\langle g^2\rangle\) would be a proper nontrivial subgroup: it doesn't contain \(g\), since \(g = g^{2k}\) would give \(g^{2k-1} = e\) with \(2k - 1 \neq 0\). So \(G\) is finite, of order \(n\) say. If \(n = ab\) with \(1 < a, b < n\), then \(\langle g^a\rangle\) has order \(b\), again a proper nontrivial subgroup. So \(n\) is prime. Conversely, \(\mathbb Z/p\) has only the subgroups of orders 1 and \(p\), by part 4 of the theorem. The answer: exactly the cyclic groups of prime order. (Lagrange's theorem in Unit 5 shows more: every group of prime order is cyclic.)

For which \(n\) is \(U(n)\) cyclic? Gauss proved in 1801 that \(U(p)\) is cyclic for every prime \(p\); a generator is called a primitive root mod \(p\). The full answer is that \(U(n)\) is cyclic exactly when \(n = 2\), \(4\), \(p^k\) or \(2p^k\), with \(p\) an odd prime and \(k \ge 1\). So \(U(9)\), \(U(14)\) and \(U(25)\) are cyclic, but \(U(8)\), \(U(12)\) and \(U(15)\) are not.

Subgroup diagrams

We can draw all the subgroups of a group at once. Put larger subgroups higher up, and draw a line from \(K\) up to \(H\) when \(K\) is inside \(H\) with no subgroup in between.

The subgroups of the integers mod 12A diagram of the six subgroups of the integers mod 12, largest at the top. ⟨1⟩, the whole group of order 12, is joined below to ⟨2⟩ of order 6 and ⟨3⟩ of order 4. ⟨2⟩ is joined to ⟨4⟩ of order 3 and ⟨6⟩ of order 2; ⟨3⟩ is joined to ⟨6⟩. Both ⟨4⟩ and ⟨6⟩ are joined to {0} at the bottom. A line means the lower subgroup sits inside the upper one with nothing in between.⟨1⟩, order 12⟨2⟩, order 6⟨3⟩, order 4⟨4⟩, order 3⟨6⟩, order 2{0}, order 1
The subgroups of \(\mathbb Z/12\). One subgroup for each divisor of 12. Here a subgroup sits inside another exactly when its order divides the other's: \(\langle 4\rangle\) (order 3) is inside \(\langle 2\rangle\) (order 6), but not inside \(\langle 3\rangle\) (order 4). This is special to cyclic groups.

Non-cyclic groups have richer diagrams. Here are all ten subgroups of the symmetry group of the square. We write \(\langle a, b\rangle\) for the subgroup generated by \(a\) and \(b\): all products of \(a\), \(b\) and their inverses.

The subgroups of the symmetry group of the squareA diagram of the ten subgroups of D₄, largest at the top. Under D₄ are three subgroups of order 4: ⟨s, r²s⟩ = {e, r², s, r²s}, the rotations ⟨r⟩, and ⟨rs, r³s⟩ = {e, r², rs, r³s}. Below them are five subgroups of order 2: ⟨s⟩ and ⟨r²s⟩ sit inside the first; ⟨r²⟩ sits inside all three; ⟨rs⟩ and ⟨r³s⟩ sit inside the third. All five sit above {e} at the bottom.D₄⟨s, r²s⟩⟨r⟩⟨rs, r³s⟩⟨s⟩⟨r²s⟩⟨r²⟩⟨rs⟩⟨r³s⟩{e}
The subgroups of \(D_4\). Three subgroups of order 4: the rotations; \(\langle s, r^2s\rangle = \{e, r^2, s, r^2s\}\), with the two diagonal flips; and \(\langle rs, r^3s\rangle = \{e, r^2, rs, r^3s\}\), with the two flips across lines through midpoints of opposite sides. These last two are not cyclic: each is a Klein four-group. Five subgroups of order 2, one for each element of order 2. Unlike in \(\mathbb Z/12\), order alone doesn't decide containment: \(\langle s\rangle\) has order 2, which divides 4, but it is not inside \(\langle r\rangle\).

Notice the orders that occur: 1, 2, 4 and 8, all divisors of 8. In \(\mathbb Z/12\), too, every subgroup's order divides 12. This is no accident. Unit 5 proves that it happens in every finite group.

History

Euler named primitive roots in 1773, and Gauss gave the first rigorous proof that they exist in the Disquisitiones Arithmeticae (1801), long before cyclic groups had a name. Galois used subgroups of permutation groups as his main tool around 1830. The word "subgroup" came later, in the late nineteenth century, when the abstract theory took shape.

Practice set

Mixed questions covering the whole unit. Try each one before opening the answer.

1. In \(\mathbb Z/10\), find the orders of 4, 5 and 6, and list all the generators.

Show answer

\(\operatorname{ord}(4) = 10/\gcd(4, 10) = 5\), \(\operatorname{ord}(5) = 10/5 = 2\) and \(\operatorname{ord}(6) = 10/2 = 5\). The generators are the \(k\) with \(\gcd(k, 10) = 1\): 1, 3, 7 and 9.

2. Which of these are subgroups of \(D_4\)? (a) \(\{e, r^2\}\), (b) \(\{e, s, rs\}\), (c) \(\{e, r, r^2, r^3\}\), (d) \(\{e, s, r^2, r^2s\}\).

Show answer

(a) Yes: \(r^2r^2 = e\). (b) No: \(s \cdot rs = (sr)s = r^{-1}ss = r^3\), which is missing. (A subgroup of order 3 can't exist in \(D_4\) anyway, as Unit 5 will show.) (c) Yes: the rotations. (d) Yes: \(r^2s\) is \(r^2\) times \(s\), each element is its own inverse, and \(r^2\) commutes with \(s\) (since \(sr^2 = r^{-2}s = r^2s\)), so every product of these elements has the form \(r^{0 \text{ or } 2}s^{0 \text{ or } 1}\), which is in the set.

3. Is \(U(10)\) cyclic? If so, find all its generators.

Show answer

\(U(10) = \{1, 3, 7, 9\}\). The powers of 3 mod 10 are \(3, 9, 7, 1\), so \(U(10) = \langle 3\rangle\) is cyclic. By part 1 of the theorem, \(3^k\) has order \(4/\gcd(k, 4)\), so it generates exactly when \(\gcd(k, 4) = 1\), that is \(k = 1, 3\): the generators are \(3\) and \(3^3 = 7\).

4. List all the subgroups of \(\mathbb Z/18\), with a generator and the order of each.

Show answer

One for each divisor \(d\) of 18, namely \(\langle d\rangle\) of order \(18/d\): \(\langle 1\rangle\) (order 18), \(\langle 2\rangle\) (9), \(\langle 3\rangle\) (6), \(\langle 6\rangle\) (3), \(\langle 9\rangle\) (2) and \(\langle 0\rangle = \{0\}\) (1).

5. An element \(g\) has order 12. What are the orders of \(g^8\), \(g^9\) and \(g^{-1}\)?

Show answer

\(\operatorname{ord}(g^8) = 12/\gcd(8, 12) = 3\), \(\operatorname{ord}(g^9) = 12/\gcd(9, 12) = 4\), and \(\operatorname{ord}(g^{-1}) = \operatorname{ord}(g^{11}) = 12/\gcd(11, 12) = 12\). In general an element and its inverse always have the same order.

6. Let \(G\) be abelian. Show that the elements of order 1 or 2, that is, the \(g\) with \(g^2 = e\), form a subgroup.

Show answer

Call the set \(H\). It contains \(e\). If \(a, b \in H\), then \(b^{-1} = b\), and \((ab^{-1})^2 = (ab)^2 = abab = a^2b^2 = e\), using that \(G\) is abelian to swap the middle \(b\) and \(a\). So \(ab^{-1} \in H\) and the subgroup test applies. (In \(D_3\), which is not abelian, the elements with \(g^2 = e\) are \(e\) and the three flips, which don't form a subgroup.)

Summary and glossary

  1. A subgroup is a subset that is a group under the same operation; test it with \(ab^{-1} \in H\), or closure alone for finite nonempty sets.
  2. The order of \(g\) is the least \(n \ge 1\) with \(g^n = e\); then \(g^k = e\) exactly when \(n\) divides \(k\).
  3. \(\langle g\rangle\) has \(\operatorname{ord}(g)\) elements. Every cyclic group is a copy of \(\mathbb Z\) or of some \(\mathbb Z/n\).
  4. In \(\mathbb Z/n\), \(k\) has order \(n/\gcd(k, n)\), there are \(\varphi(n)\) generators, and there is exactly one subgroup of each order dividing \(n\).
  5. Subgroups of cyclic groups are cyclic. Cyclic groups are abelian, but not conversely.
Subgroup
A subset \(H\) of \(G\) that is a group under the operation of \(G\), written \(H \le G\).
Trivial subgroup
\(\{e\}\).
Order of an element
The least \(n \ge 1\) with \(g^n = e\), or infinite if there is none.
\(\langle g\rangle\)
The cyclic subgroup of all powers of \(g\).
Cyclic group
A group generated by a single element.
Primitive root
A generator of \(U(p)\), for \(p\) prime.
Subgroup diagram
A picture of all subgroups, with lines for "contained in, with nothing in between".
Powered by Webloyt | Report abuse