core26 min studyLesson 132 in Mathematics

Subgroups and cyclic groups

Build groups inside groups, recognize generators, and calculate element orders without confusing them with group size.

On this page

What you’ll understand

  • Apply the nonempty subgroup test using products with inverses.
  • Describe the cyclic subgroup generated by a chosen element.
  • Calculate orders in additive residue groups using a greatest common divisor.

Sometimes a large collection of symmetries contains a smaller collection that can operate independently. The rotations of a square never need a reflection to compose or undo one another. A subgroup captures this idea precisely: it is a subset that remains a group using the original operation. Cyclic groups are the most economical examples, generated by repeating one move and allowing its inverse. They provide a laboratory for understanding more complicated algebraic structure.

Check inherited structure efficiently

A subgroup HH of a group GG uses the operation already defined on GG. Associativity is inherited, so there is no need to prove it again. What must be checked is that the identity lies in the subset and that products and inverses stay inside it. The empty subset fails immediately. A set of invertible matrices can also fail: diagonal matrices with positive entries are closed under products and inverses, whereas diagonal matrices whose entries exceed one do not contain the identity.

The standard subgroup test packages these checks: a nonempty subset is a subgroup if xy−1xy^{-1} lies in it whenever xx and yy do. Taking equal elements supplies the identity. Taking the identity as xx supplies inverses. Applying the condition again with an inverse in the second slot supplies ordinary products. This proof explains why nonemptiness cannot be omitted: otherwise the stated condition would be vacuously true for an empty set.

H≤G⟺H≠∅  and  xy−1∈Hfor all x,y∈HH\le G\quad\Longleftrightarrow\quad H\ne\varnothing\ \text{ and }\ xy^{-1}\in H\quad\text{for all }x,y\in H
The criterion assumes H is a subset of G and uses G's multiplication and inverses. The symbol H ≤ G denotes a subgroup.↔ Scroll wide equations horizontally.

Generate a group with one element

For an element gg, its cyclic subgroup consists of all integer powers, including negative powers and the zeroth power. It is the smallest subgroup containing gg, because any subgroup containing gg must also contain its inverse and every repeated product. Integer powers obey gmgn=gm+ng^m g^n=g^{m+n}. This exponent law is safe even in a nonabelian ambient group because both factors are powers of the same element.

The order of an element is the smallest positive exponent returning it to the identity, if such an exponent exists. If none exists, the element has infinite order. A finite order nn means the powers with exponents zero through n−1n-1 are all distinct and every later power repeats one of them. Thus the element order equals the size of its cyclic subgroup. The order of the ambient group is a different quantity and can be larger.

⟨g⟩={gk:k∈Z},ord⁡(g)=n ⟹ gk=e  ⟺  n∣k\langle g\rangle=\{g^k:k\in\mathbb Z\},\qquad \operatorname{ord}(g)=n\ \Longrightarrow\ g^k=e\iff n\mid k
The divisibility equivalence holds when g has finite order n; division with remainder reduces any exponent to the unique remainder between zero and n−1.↔ Scroll wide equations horizontally.

Residues reveal the generator arithmetic

Write the cyclic group of order nn additively as integers modulo nn. Repeating the element represented by aa means taking multiples of aa, with residues identified modulo nn. It returns to zero when nn divides kaka. Dividing both nn and aa by their greatest common divisor reduces this to the first return time n/gcd⁡(n,a)n/\gcd(n,a). The element generates the whole group exactly when that common divisor is one.

Subgroups of an infinite cyclic group are also cyclic. For a nonzero subgroup of the integers, choose its smallest positive element dd. Divide any other member by dd with remainder. Closure under subtraction puts the remainder in the subgroup, and minimality forces it to be zero. Hence every member is a multiple of dd. This least-positive-element argument also guides the classification of subgroups of a finite cyclic group; it is stronger than simply listing a few examples.

Find a cyclic subgroup in twelve residues

In the additive group of integers modulo 12, find the subgroup generated by 8 and the order of 8.

  1. Repeatedly add 8 and reduce modulo 12: 0, 8, 16 ≡ 4, and 24 ≡ 0. The first positive return occurs after three additions.

  2. The resulting set is {0, 4, 8}. Differences of any two members are again residues in this set, verifying the subgroup test in additive notation.

  3. Check the general order formula: gcd(12, 8) = 4, so 12/4 = 3. This agrees with the explicit cycle and shows 8 does not generate all twelve residues.

The result

The subgroup is {0, 4, 8}, and the element 8 has order 3. The ambient group has order 12.

Explore the model

Interactive lab

Interactive lab · modular

Discover the subgroup generated by a residue

Pause, reset, then set both controls to modulus 12 and additive step 8. Before playing, predict the period 12/gcd(12,8)=3. Follow the orbit 0, 8, 4, 0 and compare it with the worked example. For a fresh comparison, pause and reset, then set modulus 12 and step 5: predict period twelve because gcd(12,5)=1. The instrument calculates exact successive multiples of one residue; it does not enumerate subgroups of an arbitrary noncyclic group.

Discover the subgroup generated by a residueAddition modulo m starts at zero: rₙ = na mod m. Playback advances two additions per second. The orbit has period m/gcd(m,a), including period one for a = 0. This is not a cryptographic security test or a primality algorithm. Current readings: Residue r0: 0; Orbit period · m/gcd(m,a): 12; Distinct residues visited: 1 of 12. All parameters are adjustable with the labeled controls below.Repeated addition modulo 12: the current residue is 0, and the orbit period is 12.01234567891011+ 5mod 12An additive orbitn = 0rₙ = 0Period = 12Cycle starts at 0:0 → 5 → 10 → 3 →8 → 1 → 6 → 11 →4 → 9 → 2 → 7 → 0Exact residues · two additions per second
Additive orbitCurrent residue / next edge
Residue r0
0
Orbit period · m/gcd(m,a)
12
Distinct residues visited
1 of 12
t = 0 s

Addition modulo m starts at zero: rₙ = na mod m. Playback advances two additions per second. The orbit has period m/gcd(m,a), including period one for a = 0. This is not a cryptographic security test or a primality algorithm. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forThe period measures the size of the generated cyclic subgroup, which can be strictly smaller than the modulus.

Check your understanding

Which residue generates the additive group of integers modulo 12?

Try it yourself

Determine the subgroup generated by 6 in the additive group modulo 15, and list every element of that subgroup.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

Compute the expected order from a greatest common divisor, then list that many successive multiples.

Compare with the solution

The greatest common divisor of 15 and 6 is 3, so the order is 15/3 = 5. Successive multiples reduce to 0, 6, 12, 3, and 9, and the next multiple is zero. Therefore the generated subgroup is {0, 3, 6, 9, 12}. Its five elements are exactly the multiples of 3 modulo 15.

Take it with you

  • The subgroup test checks nonemptiness and closure under xy⁻¹ using the inherited operation.
  • Element order counts the distinct powers of that element, not every element of the ambient group.
  • In an additive cyclic group modulo n, the order of a is n divided by gcd(n, a).

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.