Advanced maths

Subgroup and coset finder

Generate a subgroup from chosen elements and compare its left and right cosets.

Your numbers

Ignored for a custom table. Cyclic: 1–24; units: 2–24; dihedral: 3–12.
Use labels from the chosen group. This generates their subgroup; it does not merely test whether the entered list is already a subgroup. Dihedral examples: r1 or r0s.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Try it, understand it

Explore the result

Generate subgroups of different sizes, then compare a nonnormal reflection subgroup.

Worked example comparison
ExampleOutputWhat to notice
Even residues modulo 6Generated subgroup order3Generator 2 produces {0,2,4}, a subgroup of order three and index two.
Two generators reach all sixGenerated subgroup order6Generators 2 and 3 together produce the entire additive group, of index one.
One triangle reflectionGenerated subgroup order2The subgroup has order two and index three. Some left and right cosets differ.

Check your understanding

Before checking: does entering two generators mean the subgroup has order two?

No. All their products must also be included. For generators 2 and 3 modulo 6, that closure is the entire six-element group.

Does equal left-coset and right-coset count prove normality?

No. Compare the actual sets gH and Hg for every representative. Their counts agree even when the subgroup is not normal.

Behind the numbers

How this calculation works

First validate the whole group. Starting from the identity and chosen generators, repeatedly add products until the set stops growing. Compute both cosets for every representative, count unique sets and compare gH with Hg to determine normality.

THE FORMULAH = ⟨generators⟩; gH = {g⋆h}; Hg = {h⋆g}; [G:H] = |G|/|H|

A worked example

In addition modulo 6, generator 2 gives H = {0,2,4}. The two distinct cosets are {0,2,4} and {1,3,5}, and the subgroup index is 2.

Good to know

Finite exact operations only, with at most 24 elements. Custom tables must supply every product and pass all group axioms. For dihedral groups n means polygon sides and the order is 2n; for modular models n is the modulus. This does not infer an abstract group from an arbitrary symbolic presentation. Generates one specified subgroup, not an enumeration of all subgroups. Duplicate cosets are shown by representative so the partition can be inspected.

Generators specify a process, rather than a finished list

In addition modulo 6, entering generator 2 starts with 0 and 2. Repeated addition also produces 4, after which no new elements appear. The generated subgroup is {0,2,4}. Entering both 2 and 3 generates the entire group because their combinations reach all six residues.

This calculator closes the supplied generators under the operation. It does not interpret the input as a proposed subgroup that must already contain every product. To study a subgroup you know, you may enter all its elements, but that is not necessary when a smaller generating set is available.

For a custom operation, the full group table is validated before any subgroup calculation. This prevents a coset-shaped collection of sets from being presented as a group-theoretic result when the original operation is not a group.

An operation table defines every product needed to generate the subgroup and its cosets; the result depends on that operation, not only the element labels. The ideal and quotient ring calculator adds ring multiplication to a separate integer-ring coset construction.

Compare cosets as sets, not as ordered lists

For H = {0,2,4} in addition modulo 6, the coset represented by 1 is {1,3,5}. Representatives 1, 3 and 5 give the same set, so they do not count as three different cosets. The output deliberately shows every representative to make that repetition visible.

Left and right cosets always have the same size as H. The distinct left cosets partition G, and their count is the index [G:H]. Here six elements divide into two sets of size three. This is a useful check on both the operation and the generated subgroup.

For a noncommutative example, select the dihedral model with n = 3 and generator r0s. The subgroup contains the identity and one reflection, but some left and right cosets differ. Normality requires gH = Hg for every g; equal counts of left and right cosets alone are not enough. Only a normal subgroup supports the usual quotient-group multiplication on its cosets.

A few questions, answered

Does this enumerate every subgroup?

No. It computes the single subgroup generated by the labels you enter, then analyzes its cosets. Enumerating all subgroups is a different task.

Can the identity be the only generator?

Yes. It generates the one-element trivial subgroup. Every element then represents a singleton coset, and the index equals the group order.

Why are repeated cosets listed?

The table answers the question for each representative. The separate distinct-coset counts remove duplicates by set equality.

Find your calculator

Start typing to explore the library.