1. Home
  2. Explore
  3. Mathematics
  4. Square Symmetry and Group Theory

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Square Symmetry and Group Theory

From Moves to Groups: A Guided Lesson in Symmetry and Structure

A square can be turned or flipped without changing its shape. Yet the order of those actions can change where its colored corners end up. That simple observation opens the door to a powerful idea: instead of studying the objects themselves, mathematicians can study the rules for combining their actions.

This lesson builds that idea step by step. It begins with square symmetries, develops the general rules of groups, and then applies those rules to clocks, permutations, shuffles, cosets, quotient groups, and error-detecting codes.

Square symmetries: actions with an order

Imagine a square tile whose corners are labeled. Let rrr mean a quarter-turn, and let sss mean a flip across a horizontal line through the square.

The order in which the actions happen matters. The convention used here is that the rightmost action in a product happens first. Thus, rsrsrs means “flip first, then turn,” while srsrsr means “turn first, then flip.”

These actions can send a particular corner to different destinations. For example, turning and then flipping does not generally produce the same arrangement as flipping and then turning. In algebraic language, rsrsrs and srsrsr are different symmetries. This is a first example of noncommutativity: the two actions cannot always be exchanged.

Why are there exactly eight symmetries?

A square has four rotations:

  • Do nothing.
  • Turn by a quarter-turn.
  • Turn by a half-turn.
  • Turn by three quarter-turns.

A full turn returns every corner to its starting position, so it is the do-nothing action again.

There are also four reflected arrangements: flip the square, then apply any one of the four rotations. These give eight arrangements in all.

A corner-counting argument proves that no other arrangement is possible. Track one corner and one of its neighboring corners. The first corner can land in any of the square’s four corner positions. Once its destination is chosen, its neighbor must land beside it, not diagonally across the square, so it has two possible destinations. The remaining corners are then forced by their adjacency relationships. There are therefore at most 4⋅2=84 \cdot 2 = 84⋅2=8 possible arrangements. Since eight different arrangements have already been identified, the list is complete.

This count also shows why long action sequences do not create new kinds of symmetry. A complicated sequence may have a long history, but its final effect must be one of the same eight arrangements. Two sequences represent the same symmetry whenever they send every corner to the same destination.

The arithmetic of the square’s moves

Repeated quarter-turns are written as powers of rrr. Two quarter-turns make a half-turn, so the result is r2r^2r2. Three quarter-turns make r3r^3r3, and four return the square to its original arrangement:

r4=er^4=er4=e

Here eee denotes the identity, the action that leaves every corner where it is. The flip also returns the square to its starting arrangement when performed twice:

s2=es^2=es2=e

The flip and turn are different actions. These equations only say that particular repeated sequences have the same final effect as the identity.

A useful relation describes how a flip interacts with a turn. Flipping, turning, then flipping again reverses the direction of the turn:

srs=r−1=r3srs=r^{-1}=r^3srs=r−1=r3

This relation reflects the geometry: a reflection reverses the sense of clockwise and counterclockwise. It also provides a rule for simplifying long expressions involving turns and flips. Pairs of flips cancel, and groups of four quarter-turns cancel. As a result, every square symmetry can be written as either a rotation or a rotation followed by a flip. These are precisely the two rows of the eight-arrangement list.

Every move has an undoing move. Three quarter-turns undo one quarter-turn; a half-turn undoes itself; and each reflection undoes itself. The two rows of the list are closed under combining moves: combining two square symmetries always gives another square symmetry.

A group records actions that can be combined, include a do-nothing action, and can all be undone.

A useful reflection: Why can a square’s turn and flip fail to commute even though grouping three actions differently never changes their final result?

Groups: four rules for combining actions

A group is a collection of elements equipped with an operation that satisfies four requirements:

  1. Closure: Combining two elements of the collection gives another element in the collection.
  2. Associativity: For any three elements, changing the parentheses does not change the result.
  3. Identity: There is an element that leaves every other element unchanged.
  4. Inverses: Every element has an undoing element that combines with it to give the identity.

For square symmetries, the elements are the eight moves and the operation is performing one move after another. For numbers under addition, the integers form a group: zero is the identity, and the negative of a number undoes addition by that number.

By contrast, the positive integers under addition do not form a group. Adding two positive integers stays positive, but a positive integer does not have an additive inverse among the positive integers. The inverse would be negative, outside the collection.

These requirements serve practical purposes. Closure keeps calculations inside the chosen collection. Associativity allows a long calculation to be grouped into manageable steps. The identity provides a neutral action. Inverses make it possible to undo an operation and solve equations.

Associativity is not commutativity

Associativity concerns grouping while keeping the order fixed. For example, three actions performed in the order aaa, then bbb, then ccc have the same result whether grouped as (ab)c(ab)c(ab)c or a(bc)a(bc)a(bc).

Commutativity concerns reordering the actions: it asks whether ab=baab=baab=ba. A group need not be commutative. Square symmetries are associative because they are functions being composed, but a turn followed by a flip can differ from a flip followed by a turn.

Function composition is associative because grouping the instructions does not change the actual sequence in which the functions are applied. Associativity does not grant permission to rearrange that sequence.

Clock arithmetic as another group

On a twelve-hour clock, the allowed moves are advances of zero through eleven hours. Combining moves means adding and wrapping around after twelve. For instance, advancing three hours and then four more hours is the same as advancing seven hours.

The group rules work as follows:

  • Closure: Any combined advance corresponds to one of the twelve clock positions.
  • Associativity: Grouping three advances differently does not change the final position. This follows from associativity of integer addition and the fact that reducing a total modulo twelve gives the same position.
  • Identity: Advancing zero hours changes nothing.
  • Inverses: Advancing three hours is undone by advancing nine hours, because together they make a full twelve-hour trip.

Clock positions can represent the same location without being equal as ordinary integers. On an ordinary number line, 161616 and 444 are different integers. On a twelve-hour clock, both describe the same position because they differ by a whole number of twelve-hour trips. Whether two quantities count as “the same” depends on the question being asked.

Solving equations and canceling

Group rules let equations be solved without knowing what the group elements represent. If

ax=b,ax=b,ax=b,

then multiplying both sides on the left by a−1a^{-1}a−1 gives

a−1(ax)=a−1b.a^{-1}(ax)=a^{-1}b.a−1(ax)=a−1b.

Associativity allows the left side to be grouped as (a−1a)x(a^{-1}a)x(a−1a)x, leaving

x=a−1b.x=a^{-1}b.x=a−1b.

The side matters in a noncommutative group. Multiplying on the right would generally give a different expression.

The same reasoning proves cancellation. If ax=ayax=ayax=ay, multiplying on the left by a−1a^{-1}a−1 gives x=yx=yx=y. Thus, an equation of the form ax=bax=bax=b can have at most one solution.

Why identity and inverses are unique

A group cannot have two different identity elements. If eee and fff both act as identities, then ef=fef=fef=f because eee is an identity, while ef=eef=eef=e because fff is an identity. Therefore e=fe=fe=f.

An element cannot have two different inverses either. Suppose bbb and ccc each undo aaa. Using the identity rules and associativity,

b=b(ac)=(ba)c=c.b=b(ac)=(ba)c=c.b=b(ac)=(ba)c=c.

So the left and right undoing moves must be the same.

To undo a sequence, reverse its order and undo each action. In particular,

(ab)−1=b−1a−1.(ab)^{-1}=b^{-1}a^{-1}.(ab)−1=b−1a−1.

The order reverses because the last action performed must be undone first. This is not commutativity; it is the correct reversal needed for cancellation.

A useful reflection: Which group rule allows an action to be undone, and which one allows a long sequence to be regrouped?

Subgroups: smaller groups inside larger groups

A subgroup is a subset of a group that is itself a group under the same operation.

The four rotations of a square form a subgroup. Combining rotations gives a rotation, the identity is a rotation, and every rotation has a rotational inverse. But the set consisting of the identity, a quarter-turn, and a half-turn is not a subgroup: a quarter-turn combined with a half-turn gives a three-quarter-turn, which is missing. One failed product is enough to show that closure fails.

A systematic way to build a subgroup from a starting collection is to keep adding any missing products. Begin with selected moves, combine pairs in both orders, add any results that are new, and repeat until no new results appear.

For example, starting with one reflection produces the identity as its only new move, because applying the reflection twice gives the identity. The resulting two-element set is a subgroup. Starting with a reflection and a half-turn produces four moves: the identity, the half-turn, and the two reflections across horizontal and vertical midlines. Starting with a quarter-turn and a reflection eventually produces all eight square symmetries.

Among the square symmetries, the possible subgroup sizes are 111, 222, 444, and 888: the identity-only group; five groups of size two; three groups of size four; and the full group. Cosets will later explain why sizes such as 333, 555, 666, or 777 cannot occur.

A one-step subgroup test

For a nonempty subset HHH of a group, the following condition is enough to prove that HHH is a subgroup:

ab−1∈Hfor every a,b∈H.ab^{-1}\in H \quad \text{for every }a,b\in H.ab−1∈Hfor every a,b∈H.

The condition may look unusual, but it forces all the group requirements that are not already inherited from the larger group.

First choose some h∈Hh\in Hh∈H. Setting a=ha=ha=h and b=hb=hb=h gives hh−1=ehh^{-1}=ehh−1=e, so the identity lies in HHH. Next, setting a=ea=ea=e and b=hb=hb=h gives h−1∈Hh^{-1}\in Hh−1∈H. Finally, for any a,b∈Ha,b\in Ha,b∈H, the inverse b−1b^{-1}b−1 is in HHH, so applying the test to aaa and b−1b^{-1}b−1 gives

a(b−1)−1=ab∈H.a(b^{-1})^{-1}=ab\in H.a(b−1)−1=ab∈H.

Thus HHH contains the identity, inverses, and products. Associativity is already inherited from the larger group. Conversely, every subgroup passes the test, so the condition is both necessary and sufficient.

Centralizers and the center

The square’s noncommutativity can be examined by asking which moves commute with a chosen reflection. Let sss be the horizontal flip. The centralizer of sss is the set of all square symmetries that commute with it.

A quarter-turn does not commute with sss, but the half-turn does. The identity and the horizontal and vertical flips also commute with $s. The centralizer is therefore

{e,r2,s,r2s}.\{e,r^2,s,r^2s\}.{e,r2,s,r2s}.

There is a geometric explanation. The horizontal flip has a mirror line. Carrying that line along with a symmetry shows what happens when the symmetry and the flip exchange order. If the line returns to its original position, the actions commute; if the line moves to a different line, they do not.

The centralizer of an element is always a subgroup. If aaa and bbb both commute with sss, then their inverses also commute with sss, and so does ab−1ab^{-1}ab−1. The subgroup test therefore applies.

The center of a group consists of the elements that commute with every element. For the square symmetries, only the identity and the half-turn commute with every rotation and every reflection. Thus the center is

{e,r2}.\{e,r^2\}.{e,r2}.

The center lies inside every centralizer, because an element that commutes with everything certainly commutes with any one specified element.

A useful reflection: Why does the centralizer of one move contain the center, but usually contain more than the center?

Cyclic groups and the order of an element

A group is cyclic if one element generates the entire group through repeated use of the operation and its inverse. The subgroup generated by an element ggg consists of all its integer powers:

⟨g⟩={…,g−2,g−1,e,g,g2,…}.\langle g\rangle=\{\ldots,g^{-2},g^{-1},e,g,g^2,\ldots\}.⟨g⟩={…,g−2,g−1,e,g,g2,…}.

The order of an element is the smallest positive number of repetitions that returns it to the identity, if such a number exists. The order of a finite group, by contrast, is its number of elements. These are different meanings of “order.”

Orders on a clock

On a twelve-position clock, repeatedly adding eight visits the positions 000, 888, and 444, then returns to 000. Thus, the subgroup generated by 888 is

{0,8,4},\{0,8,4\},{0,8,4},

and the element 888 has order 333.

After mmm repetitions, the position is 8m8m8m modulo 121212. Returning to zero requires 121212 to divide 8m8m8m. More generally, the order of kkk on an nnn-position clock is

ngcd⁡(n,k).\frac{n}{\gcd(n,k)}.gcd(n,k)n​.

To see why, let d=gcd⁡(n,k)d=\gcd(n,k)d=gcd(n,k) and write n=dn′n=dn'n=dn′ and k=dk′k=dk'k=dk′, where n′n'n′ and k′k'k′ have no common factor. A return requires n∣mkn\mid mkn∣mk, which reduces to n′∣mk′n'\mid mk'n′∣mk′. Since n′n'n′ and k′k'k′ are relatively prime, n′n'n′ must divide mmm. The smallest positive possible mmm is therefore n′=n/dn'=n/dn′=n/d.

A move visits every position on the twelve-clock exactly when its greatest common divisor with 121212 is 111. Those moves are 111, 555, 777, and 111111. A move such as 888 shares a factor with 121212, so its repeated steps remain trapped in a smaller cycle.

Every subgroup of a cyclic group is cyclic

Suppose a group is generated by ggg, and let HHH be a subgroup. If HHH contains only the identity, it is cyclic, generated by the identity. Otherwise, among the positive exponents ddd for which gd∈Hg^d\in Hgd∈H, choose the smallest.

Now take any gm∈Hg^m\in Hgm∈H. Divide mmm by ddd:

m=qd+r,0≤r<d.m=qd+r,\qquad 0\le r<d.m=qd+r,0≤r<d.

Because gd∈Hg^d\in Hgd∈H, its integer powers lie in HHH. Multiplying gmg^mgm by g−qdg^{-qd}g−qd therefore shows that gr∈Hg^r\in Hgr∈H. If rrr were positive, it would contradict the choice of ddd as the smallest positive exponent. Hence r=0r=0r=0, so every element of HHH is a power of gdg^dgd. The subgroup is generated by one element and is therefore cyclic.

A four-element group, however, need not be cyclic. Under multiplication modulo 121212, the units

{1,5,7,11}\{1,5,7,11\}{1,5,7,11}

form a group, but each nonidentity element squares to 111. Every nonidentity element has order 222, so no single element can generate all four. In contrast, the four rotations of a square are generated by a quarter-turn, which has order 444.

A useful reflection: What does the first return of a repeated move tell about the number of distinct positions the move can visit?

Permutations: rearrangements as algebraic objects

A permutation is a rearrangement of a finite collection in which each item goes to exactly one position and every position receives exactly one item.

A permutation can be described by tracking where each label goes. Suppose label 111 goes to 333, label 333 goes to 444, and label 444 returns to 111. This loop is written as the cycle (1 3 4)(1\ 3\ 4)(1 3 4). A label that stays in place is often omitted. The cycle is a loop rather than a row of destinations: (1 3 4)(1\ 3\ 4)(1 3 4) and (3 4 1)(3\ 4\ 1)(3 4 1) describe the same permutation, but reversing the cycle’s direction generally describes a different one.

Permutations compose as functions, with the rightmost operation performed first. To compose cycles, each label must be followed through both actions in that order. The order matters: composing the cycle (1 2 3)(1\ 2\ 3)(1 2 3) with the swap (1 2)(1\ 2)(1 2) gives a different result from composing them in the opposite order.

The inverse of a cycle reverses its arrows:

(1 3 4)−1=(1 4 3).(1\ 3\ 4)^{-1}=(1\ 4\ 3).(1 3 4)−1=(1 4 3).

Cycles involving disjoint sets of labels commute, because each changes only labels that the other leaves alone.

Disjoint cycles and permutation order

Every finite permutation decomposes into disjoint cycles. Starting from any label and following its destinations must eventually return to that label. It cannot first enter a previously visited label in the middle of the trail, because that would give one destination two different inputs. The resulting cycles are disjoint, and their lengths determine how many times the permutation must be repeated to return everything to its original position.

For example, a permutation with separate cycles of lengths 333 and 222 returns after

lcm⁡(3,2)=6\operatorname{lcm}(3,2)=6lcm(3,2)=6

repetitions. The three-cycle returns only after multiples of 333 repetitions; the two-cycle returns only after multiples of 222. Both return together at the first common multiple, 666. Adding cycle lengths would give 555, but after five repetitions neither cycle is necessarily home.

The general rule is:

The order of a permutation written as disjoint cycles is the least common multiple of the cycle lengths.

Fixed labels do not affect the least common multiple, since they return after every repetition.

For a single cycle of length mmm, the order is mmm. But overlapping cycles should first be rewritten as disjoint cycles. The cycle lengths of an arbitrary list of overlapping cycle expressions cannot simply be combined as though they were independent.

Building permutations from swaps

A transposition is a permutation that swaps exactly two labels and fixes all others. Every cycle can be built from transpositions. For instance,

(1 3 4)=(1 4)(1 3),(1\ 3\ 4)=(1\ 4)(1\ 3),(1 3 4)=(1 4)(1 3),

with the rightmost swap performed first. A cycle of length mmm can be built using m−1m-1m−1 transpositions, so every permutation can be built from swaps.

The number of swaps in a particular description is not fixed, but its parity—whether it is even or odd—is fixed by the permutation. One way to see this is to assign distinct numbers to the labels and form the product of all pairwise differences. Swapping two labels changes the sign of this product. After a sequence of swaps, its sign has changed once per swap. Since the final arrangement determines the final sign, two swap descriptions of the same permutation must have the same parity.

The even permutations form a subgroup: combining two even swap sequences gives an even total, and reversing a swap sequence keeps its number of swaps unchanged. The identity uses zero swaps and is even. The odd permutations do not form a subgroup because they do not contain the identity.

For four labels, there are

4⋅3⋅2⋅1=244\cdot3\cdot2\cdot1=244⋅3⋅2⋅1=24

permutations. Pairing each arrangement with the one obtained by an extra fixed swap gives a one-to-one pairing of even and odd permutations. There are therefore 121212 of each. The even permutations on four labels consist of the identity, three products of two disjoint swaps, and eight three-cycles.

Square symmetries act as permutations of the four corners, but not every permutation preserves the square’s geometry. The eight square symmetries form a subgroup of the 242424 permutations. A quarter-turn is a four-cycle and is odd; a half-turn consists of two swaps and is even. The fact that a turn and a flip can fail to commute also appears when their corner permutations are composed in opposite orders.

Shuffles and repeated rearrangements

A perfect shuffle is one fixed permutation of the deck’s positions. Repeating it does not mix forever: the permutation must eventually return to the identity because it consists of cycles of finite length.

For a ten-card out-shuffle, the positions split into two fixed points, a six-cycle, and a two-cycle. The order of the shuffle is

lcm⁡(6,2)=6.\operatorname{lcm}(6,2)=6.lcm(6,2)=6.

After six out-shuffles every card returns to its starting position. The cycle decomposition predicts this without needing to track every card through every repetition.

For a fifty-two-card deck, the out-shuffle has two fixed points, one swap, and six cycles of length 888. Its order is 888, so eight out-shuffles restore the deck. An in-shuffle of the same deck instead forms one cycle of length 525252, so its return takes 525252 repetitions. The cycle structures explain why two similar-looking shuffles can have very different return times.

The same logic applies to a fixed wiring pattern in parallel computation. If a shuffle routes data among eight wires and returns all data after three stages, a fourth stage repeats the first routing pattern. The inverse shuffle undoes the first: if seven further out-shuffles complete an eight-shuffle cycle, those seven undo the effect of the initial one.

The algebra describes the intended rearrangements, not the reliability of the physical device. If two cards accidentally trade places during one stage, that extra swap changes the permutation’s parity. In the stated eight-shuffle example, that parity change prevents the sequence from ending at the identity.

A useful reflection: Why is the least common multiple the right tool for combining the return times of disjoint cycles?

Isomorphisms: when different systems have the same structure

Two groups can use different kinds of objects and still have the same pattern of combination. An isomorphism is a one-to-one and onto translation between groups that preserves their operation.

The four clock positions 000, 111, 222, and 333 under addition modulo 444 correspond to the four rotations generated by rrr:

0↦e,1↦r,2↦r2,3↦r3.0\mapsto e,\qquad 1\mapsto r,\qquad 2\mapsto r^2,\qquad 3\mapsto r^3.0↦e,1↦r,2↦r2,3↦r3.

The map preserves the operation because adding exponents corresponds to composing rotations:

ra+b=rarb.r^{a+b}=r^a r^b.ra+b=rarb.

Reducing an exponent modulo 444 does not change the rotation because r4=er^4=er4=e. For example, 2+32+32+3 is 111 modulo 444, and the corresponding rotations combine as r2r3=r5=rr^2r^3=r^5=rr2r3=r5=r.

An isomorphism preserves all properties expressed through the group operation. It sends the identity to the identity, inverses to inverses, and elements of a given order to elements of the same order. If gm=eg^m=egm=e, applying an operation-preserving map gives the mmmth power of the image as the identity. Conversely, injectivity ensures that if a power of the image is the identity, the corresponding power of ggg was already the identity. Thus the least positive return times agree.

This provides a way to disprove a proposed isomorphism. The four rotations of the square contain an element of order 444. In the group of units modulo 121212, every nonidentity element has order 222. Since an isomorphism preserves element orders, those groups cannot be isomorphic even though each has four elements.

Every group can be represented by permutations

For each element ggg of a group, define a move on the group’s own elements by sending xxx to gxgxgx. This is a permutation because multiplication by g−1g^{-1}g−1 undoes it. Performing the move for hhh and then the move for ggg sends xxx to ghxghxghx, so this representation preserves multiplication.

Different group elements give different permutations: the move for ggg sends the identity to ggg. If two such moves were identical, their outputs on the identity would be the same, so the original elements would have to be equal. This is Cayley’s theorem: every group can be represented faithfully as a group of permutations.

An automorphism is an isomorphism from a group to itself. It is a relabeling that preserves every combination. On the four-clock, sending each position to its negative fixes 000 and 222 while exchanging 111 and 333.

Equivalence relations and classes

An equivalence relation is a rule for deciding when two objects count as equivalent. It must be:

  • Reflexive: Every object is equivalent to itself.
  • Symmetric: If one object is equivalent to another, the relationship works in reverse.
  • Transitive: If the first is equivalent to the second and the second to the third, the first is equivalent to the third.

For integers on a twelve-hour clock, define two integers to be equivalent when their difference is a multiple of 121212. Thus, 444, 161616, 282828, and −8-8−8 all belong to the same equivalence class because they occupy the same clock position.

The rule is reflexive because an integer differs from itself by 000, which is a multiple of 121212. It is symmetric because reversing a difference changes only its sign. It is transitive because adding two differences that are multiples of 121212 gives another multiple of 121212.

The rule “differ by at most one” is not an equivalence relation. Zero is close to one, and one is close to two, but zero is not close to two. The rule is not transitive.

The equivalence classes of a genuine equivalence relation partition the collection: every object belongs to exactly one class, and different classes are either identical or disjoint. If two classes share a member, transitivity shows that every member of either class belongs to the other. The “close” rule fails this property: the integers close to 000 and the integers close to 111 overlap but are different sets.

Fractions offer another example. Two pairs of integers represent the same fraction when cross-multiplication gives the same product:

ab∼cdwhenad=bc,\frac{a}{b}\sim\frac{c}{d} \quad\text{when}\quad ad=bc,ba​∼dc​whenad=bc,

with nonzero denominators. The fraction 12\frac1221​ and the fraction 24\frac2442​ are different written pairs, but they belong to the same equivalence class and represent the same rational number.

A subgroup will give rise to a similar kind of class, called a coset.

A useful reflection: What fails when “close” is used to define classes, and why does transitivity prevent classes from overlapping partially?

Cosets, equal-sized partitions, and Lagrange’s theorem

Let HHH be a subgroup of a group. A left coset of HHH is a set of the form gHgHgH, where every element of HHH is multiplied on the left by the same group element ggg.

On the twelve-clock, let

H={0,4,8}.H=\{0,4,8\}.H={0,4,8}.

Shifting all three positions by 111 gives {1,5,9}\{1,5,9\}{1,5,9}; shifting by 222 gives {2,6,10}\{2,6,10\}{2,6,10}; shifting by 333 gives {3,7,11}\{3,7,11\}{3,7,11}. Shifting by 444 gives the original set again. The four distinct cosets cover all twelve positions without overlap.

For a general group, two representatives ggg and kkk name the same left coset exactly when

g−1k∈H.g^{-1}k\in H.g−1k∈H.

The element g−1kg^{-1}kg−1k is the “correction” that carries ggg to kkk. If that correction lies in HHH, multiplying HHH by it only rearranges the elements of HHH, so the coset stays the same. This relation is an equivalence relation, and the left cosets are its equivalence classes.

Every coset has exactly the same size as HHH. Multiplying each element of HHH by ggg gives the coset gHgHgH. No two elements can collide under this multiplication: if gh1=gh2gh_1=gh_2gh1​=gh2​, cancellation gives h1=h2h_1=h_2h1​=h2​. Thus each coset is a perfect copy of the subgroup.

In a noncommutative group, left and right cosets need not agree. In the square group, let H={e,s}H=\{e,s\}H={e,s}, where sss is a reflection. The left coset rHrHrH consists of rrr and rsrsrs. The right coset HrHrHr consists of rrr and srsrsr, and srsrsr is a different reflection. Both kinds partition the group into equal-sized pieces, but the pieces can be arranged differently.

A finite group is partitioned into cosets, all with the size of the subgroup. Therefore, if there are kkk distinct cosets,

∣G∣=k∣H∣.|G|=k|H|.∣G∣=k∣H∣.

This is Lagrange’s theorem: the size of every subgroup of a finite group divides the size of the whole group.

The theorem explains why the square symmetry group, which has eight elements, cannot have subgroups of sizes 333, 555, 666, or 777. None of those numbers divides 888.

Applying the theorem to the subgroup generated by an element shows that the order of every element in a finite group divides the group’s size. In particular, if the group has size ∣G∣|G|∣G∣, then

g∣G∣=e.g^{|G|}=e.g∣G∣=e.

The direction of Lagrange’s theorem matters. A subgroup’s size must divide the group’s size, but not every divisor is guaranteed to occur as a subgroup size. For example, the group of even permutations on four labels has 121212 elements but no subgroup of size 666. Divisibility gives a necessary condition, not a promise.

Direct products: combining independent systems

Two groups can be combined by pairing their elements and operating coordinate by coordinate. If the groups are G1G_1G1​ and G2G_2G2​, their direct product consists of ordered pairs. Its operation is

(a1,a2)(b1,b2)=(a1b1,a2b2).(a_1,a_2)(b_1,b_2)=(a_1b_1,a_2b_2).(a1​,a2​)(b1​,b2​)=(a1​b1​,a2​b2​).

The first coordinates combine using the operation of G1G_1G1​, and the second coordinates combine using the operation of G2G_2G2​. The identity is the pair of identities, and the inverse of a pair is the pair of inverses. Closure and associativity hold coordinate by coordinate.

For a four-position clock and a three-position clock, the combined system has 4⋅3=124\cdot3=124⋅3=12 states. A state is an ordered pair because the position on the first clock and the position on the second clock belong to different systems. Starting at (3,2)(3,2)(3,2) and adding (2,2)(2,2)(2,2) gives (1,1)(1,1)(1,1): the first coordinate wraps modulo 444, and the second wraps modulo 333.

The pair (1,1)(1,1)(1,1) has order equal to the least common multiple of the two coordinate orders. The first clock returns after 444 steps and the second after 333, so both return together after

lcm⁡(4,3)=12\operatorname{lcm}(4,3)=12lcm(4,3)=12

steps. The pair visits all twelve states, so this direct product is cyclic.

A product of cyclic groups need not be cyclic. Two two-position clocks have four states, but every nonidentity pair returns after two steps. There is no element of order 444, so the product cannot be cyclic and cannot be isomorphic to the four-position clock.

For finite-order elements, the order of a pair is the least common multiple of the coordinate orders. If either coordinate has infinite order, the pair has infinite order, because the pair cannot return until that coordinate returns.

The Chinese remainder connection

When two moduli are relatively prime, an integer can be translated into its pair of remainders. For example, an integer modulo 121212 maps to its remainder modulo 444 and its remainder modulo 333. The number 777 maps to (3,1)(3,1)(3,1).

Because 444 and 333 are relatively prime, the combined clock of size 121212 visits all 4⋅34\cdot34⋅3 pairs exactly once when both coordinates advance together. More generally, for relatively prime moduli, the clock modulo their product is isomorphic to the direct product of the two smaller clocks. When the moduli share a factor, the synchronized walk returns too soon and not every pair occurs.

A related idea identifies independent subgroups already inside one group. In the twelve-clock, the subgroups {0,3,6,9}\{0,3,6,9\}{0,3,6,9} and {0,4,8}\{0,4,8\}{0,4,8} combine to describe every position exactly once by adding one element from each. They share only the identity, and clock addition is commutative. In a general group, corresponding conditions require the subgroups to commute with one another, share only the identity, and together generate the whole group. The sizes alone are not enough. When these conditions hold, the group has an internal direct product structure.

Normal subgroups and quotient groups

Cosets always partition a group, but they cannot always be multiplied as if they were group elements. A coset has many representatives, so multiplying representatives must give a result independent of which representatives are chosen.

The difficulty appears in the square group. Let H={e,s}H=\{e,s\}H={e,s}, with sss a reflection, and let rrr be a quarter-turn. The identity and sss represent the same coset HHH. Multiplying those two representatives by rrr gives rrr and srsrsr. But rrr lies in the coset rHrHrH, while sr=r−1ssr=r^{-1}ssr=r−1s does not. Thus, changing a representative changes the proposed coset product. The operation is not well defined.

The obstruction is that turning a reflection’s mirror line changes the line. Algebraically, conjugating sss by a quarter-turn gives a different reflection outside HHH.

A subgroup NNN of GGG is normal if it contains every conjugate of each of its elements:

gng−1∈Nfor every g∈G, n∈N.gng^{-1}\in N \quad\text{for every }g\in G,\ n\in N.gng−1∈Nfor every g∈G, n∈N.

Conjugating by g−1g^{-1}g−1 gives the reverse inclusion as well, so conjugation carries NNN onto itself. Equivalently,

gN=Ngfor every g∈G.gN=Ng \quad\text{for every }g\in G.gN=Ngfor every g∈G.

Normality does not say that every element of NNN commutes with every element of GGG. It says that conjugation preserves the subgroup as a set.

For a normal subgroup NNN, the product of cosets can be defined by

(aN)(bN)=abN.(aN)(bN)=abN.(aN)(bN)=abN.

The key issue is independence from representative choice. Alternative representatives have the form an1an_1an1​ and bn2bn_2bn2​, with n1,n2∈Nn_1,n_2\in Nn1​,n2​∈N. Their product can be rearranged as

(an1)(bn2)=ab (b−1n1b)n2.(an_1)(bn_2) = ab\,(b^{-1}n_1b)n_2.(an1​)(bn2​)=ab(b−1n1​b)n2​.

Normality puts b−1n1bb^{-1}n_1bb−1n1​b back in NNN, and closure keeps its product with n2n_2n2​ in NNN. Therefore the result lies in the same coset abNabNabN. The operation is well defined.

Normality is also necessary for this construction. If representative multiplication is well defined, the coset product involving HHH and aHaHaH must agree regardless of the representative chosen from HHH. That forces a−1haa^{-1}haa−1ha to lie in HHH for every h∈Hh\in Hh∈H and every a∈Ga\in Ga∈G, giving normality.

When NNN is normal, the cosets form a group called the quotient group G/NG/NG/N. Its identity is the coset NNN, and the inverse of gNgNgN is g−1Ng^{-1}Ng−1N. The quotient treats elements in the same coset as equivalent while retaining a well-defined way to combine those classes.

The square’s rotation quotient

Let R={e,r,r2,r3}R=\{e,r,r^2,r^3\}R={e,r,r2,r3} be the four rotations. It is normal: combining rotations gives rotations, combining a reflection with a rotation gives a reflection, and conjugating a rotation by a reflection reverses its direction but still gives a rotation.

There are two cosets of RRR: the rotations and the reflections. In the quotient, all rotations are represented by one element and all reflections by another. Their multiplication follows the two-position clock: rotation times rotation gives rotation; rotation times reflection or reflection times rotation gives reflection; and two reflections give rotation. Thus, D4/RD_4/RD4​/R has the same group structure as a group with two elements.

This quotient preserves the distinction between orientation-preserving and orientation-reversing actions while forgetting which particular rotation or reflection was used.

Kernels and the information a quotient keeps

The projection from a group to its quotient sends ggg to its coset gNgNgN. It preserves multiplication. The kernel of a group homomorphism is the set of elements sent to the identity of the target group.

For the projection onto D4/RD_4/RD4​/R, every rotation maps to the identity coset RRR, and every reflection maps to the other coset. The kernel is exactly RRR. Kernels are always normal, which explains why normal subgroups naturally accompany quotient groups.

A quotient is a controlled simplification. It forgets distinctions inside each coset but keeps the distinctions needed for the coset operation to remain consistent.

A useful reflection: Why does normality solve the problem of choosing different representatives for the same coset?

Applications: checksums and error correction

Group and quotient ideas can capture useful information even when the objects are numbers or data words.

The older ten-digit ISBN check

In the older ten-digit ISBN system, the first nine digits use values from 000 through 999, and the final check symbol can be 000 through 999 or XXX, which represents 101010. The digits are weighted from 101010 down to 111, and the ISBN passes the check when the weighted sum is divisible by 111111.

For example, the ISBN

030640615203064061520306406152

has weighted contributions

0, 27, 0, 42, 24, 0, 24, 3, 10, 2.0,\ 27,\ 0,\ 42,\ 24,\ 0,\ 24,\ 3,\ 10,\ 2.0, 27, 0, 42, 24, 0, 24, 3, 10, 2.

Their sum is 132=12⋅11132=12\cdot11132=12⋅11, so it passes the check. Passing means only that the arithmetic condition holds; it does not prove that the ISBN was assigned to a real book.

A single-symbol substitution is always detected. If a symbol changes, the weighted sum changes by the position’s weight times the difference between the new and old symbol values. Each weight from 111 through 101010 is nonzero modulo 111111, and distinct allowed values differ by a nonzero residue. Since 111111 is prime, a product of nonzero residues cannot be zero modulo 111111.

Swapping two distinct symbols is also detected. The change in the weighted sum is, up to sign, the difference between the two weights times the difference between the two values. Distinct positions have distinct weights modulo 111111, and distinct symbols have a nonzero difference, so the total change is nonzero modulo 111111.

The primality of 111111 matters. With composite moduli, nonzero residues can multiply to zero; for example, 2⋅32\cdot32⋅3 is 000 modulo 666. The argument uses more than the additive group of residues: it also relies on the fact that nonzero residues modulo a prime do not multiply to zero.

The check does not detect every corruption. Changing the first digit of the example from 000 to 111 adds 101010 to the weighted sum. Changing the second digit from 333 to 888 adds 454545. Together the changes add 555555, a multiple of 111111, so the corrupted number still passes.

Hamming code and quotient information

A Hamming code stores four data bits inside a seven-bit word. Its sixteen permitted words form a subgroup of the group of all 128128128 seven-bit words, where the operation is exclusive-or: bits are combined position by position.

A received word with an error belongs to a coset of the code. Since every coset contains 161616 words, the 128128128 words split into

12816=8\frac{128}{16}=816128​=8

cosets. The eight cases the code aims to distinguish are no error and one flipped bit in any of the seven positions. The checks are designed so that these cases fall into different cosets.

The receiver computes a three-bit label called the syndrome. The syndrome identifies the coset, not the original codeword. Its binary value indicates the position of the flipped bit. For example, the syndrome 101101101 represents 555, so the receiver flips bit 555 back.

The quotient viewpoint explains both the power and the limit of the method. The syndrome preserves the information needed to identify no error or a single flipped bit while forgetting which valid codeword was sent. But two flipped bits can land in the coset associated with a different single-bit error. A decoder may then flip the wrong bit and produce a different valid codeword. Adding an overall parity check allows the code to correct one flipped bit while reporting two-bit errors instead of miscorrecting them.

Comprehensive review

The square’s eight symmetries show how actions can form a group even when they do not commute. Group laws then explain how to combine actions, undo them, and solve equations. Subgroups identify smaller systems of moves; centralizers identify which moves commute with a chosen action; cyclic subgroups describe what repeated use of one move can reach.

Permutations turn rearrangements into explicit algebra. Their disjoint cycles reveal return times through least common multiples, while transposition parity separates even from odd permutations. Isomorphisms recognize when different-looking systems share the same operation pattern, and Cayley’s theorem shows that every group can be represented through permutations.

Equivalence relations organize objects into disjoint classes. Subgroups produce cosets, and equal-sized cosets prove Lagrange’s theorem. Normality is the extra condition that makes cosets combine into a quotient group. Direct products combine independent systems coordinate by coordinate, while applications such as ISBN checks and Hamming codes show how groups and quotients can preserve exactly the information needed for a particular task.

Across all these examples, the same method recurs: identify the objects, specify the operation, and ask what the operation preserves.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent