Square Symmetry and Group Theory


Square Symmetry and Group Theory

Hope
Let’s begin with the square tile. We turn it once and flip it once, but the order matters: turning and then flipping can leave the colored corners in a different arrangement from flipping and then turning.

Corey
That’s unlike ordinary multiplication, where three times five equals five times three. Here, the moves are actions, and doing the same actions in a different order can produce a different result.

Hope
Still, no matter how long a machine keeps turning and flipping, the tile can end in only eight arrangements that preserve its square frame. We’ll use those eight moves to build the arithmetic of symmetry.

Corey
And that arithmetic will help us simplify sequences, undo moves, identify subgroups, and eventually decide when collections of moves can be treated as new group elements.

Hope
First, list the possibilities. There are four rotations: do nothing, turn a quarter-turn, turn halfway, and turn three quarter-turns. A full turn returns to the starting arrangement, so it adds nothing new.

Corey
Then flip the tile across a horizontal hinge and apply those same four rotation choices. That gives a second row, for eight arrangements altogether.

Hope
To prove there can’t be a ninth, track two neighboring colored corners. The blue one has four possible destinations. Once it’s placed, its orange neighbor must land at one of the two adjacent corners, because the move preserves their shared edge.

Corey
So there are at most four times two possibilities. Once those two corners are placed, the other two are forced by their adjacencies. We already have eight distinct arrangements, so the list is complete.

Hope
That means we can describe a move by its final effect, rather than by the whole history that produced it. Two sequences count as the same symmetry when they send every corner to the same destination.

Corey
Let r mean a quarter-turn and s mean the horizontal flip. We’ll write a sequence as a product, with the rightmost action performed first. So r s means flip first, then turn.

Hope
Two quarter-turns give a half-turn, written r squared. Three give r cubed, and four return every corner to its original place. That do-nothing move is the identity, written e.

Corey
Flip twice across the same hinge and every corner returns, so s squared equals e as well. These equations describe particular sequences with the same final action; they don’t say a flip is the same move as a turn.

Hope
The opening experiment has a compact description. Turn and then flip is s r, while flip and then turn is r s. They are different elements because the colored corners finish in different places.

Corey
But the moves do satisfy a useful relation. Flip, turn a quarter-turn, then flip again: the flips reverse clockwise and counterclockwise, so s r s equals r inverse, which is also r cubed.

Hope
That lets us simplify long expressions. Pairs of flips cancel, and every four quarter-turns cancel. Using the relation between s and r, every sequence can be reduced to a rotation, possibly followed on the right by one flip.

Corey
Those are exactly the two rows of the rack. Combining two square symmetries always gives another one, and every move has an undo: r is undone by r cubed, a half-turn undoes itself, and each reflection undoes itself.

Hope
This is a group: a collection with a combination rule satisfying closure, associativity, an identity, and an inverse for every element. Closure keeps results in the collection; the identity does nothing; inverses undo moves.

Corey
Associativity means we can change parentheses without changing the order of actions. It does not mean we can swap actions. Function composition is associative because the actual sequence of applications stays the same.

Hope
Numbers under addition form a group: zero is the identity and adding the negative undoes an addition. Positive integers under addition don’t form a group, because most additions can’t be undone within the positive integers.

Corey
Groups need not be commutative. A turn followed by a flip can differ from a flip followed by a turn, even though grouping three moves differently never changes their result.

Hope
Clock arithmetic gives another example. On a twelve-hour clock, the moves are advances from zero through eleven hours, and combining them means adding modulo twelve. Three hours followed by four is a seven-hour move.

Corey
If the total passes twelve, wrap around. Adding zero changes nothing, and advancing three hours is undone by advancing nine. Associativity comes from ordinary integer addition: grouping the additions doesn’t change the final clock position.

Hope
This distinction also lets us solve equations. In a group equation a times x equals b, multiply on the left by a inverse. Associativity gives x equals a inverse times b.

Corey
The side matters in a noncommutative group. Multiplying on the right may not solve the same equation. If a times x equals a times y, left multiplication by a inverse cancels the common factor and proves x equals y.

Hope
Cancellation also proves uniqueness of solutions. And the identity is unique: if e and f both act as identities, then e times f equals f because e is an identity, and equals e because f is an identity.

Corey
Inverses are unique too. If b undoes a on the left and c undoes it on the right, then b equals b times the identity, then b times a c, then b a times c, and finally c.

Hope
To undo a sequence, reverse its order and undo each move. The inverse of a b is b inverse a inverse. Reversing is essential: it isn’t permission to commute the moves.

Corey
Now consider smaller collections of moves. The four rotations form a subgroup: their products remain rotations, they include the identity, and each has an inverse.

Hope
But the identity, a quarter-turn, and a half-turn do not form a subgroup. A quarter-turn followed by a half-turn is a three-quarter-turn, which is missing. One failed product is enough to show the collection is not closed.

Corey
You can systematically grow a subgroup: start with some moves, combine every pair in both orders, add any new results, and repeat until nothing new appears. Starting with s alone gives the identity and s.

Hope
Starting with s and the half-turn produces four moves: the identity, the half-turn, the horizontal flip, and the vertical flip. Starting with r and s eventually produces all eight symmetries.

Corey
Among all possible starting collections, the square has ten subgroups: one of size one, five of size two, three of size four, and the whole group of size eight. That pattern will make sense once we study cosets.

Hope
There’s a quick subgroup test. For a nonempty subset H of a group, check whether a times b inverse belongs to H whenever a and b do. If it always does, H is a subgroup.

Corey
Here’s why. Choose h in H and use the test on h and h to get the identity. Then use it on the identity and h to get h inverse. Finally, with b inverse in H, the test on a and b inverse gives a b, so H is closed.

Hope
Now let’s look at moves that commute with the horizontal flip s. A quarter-turn doesn’t: turning and then flipping differs from flipping and then turning.

Corey
The half-turn does commute with s. So do the identity, s itself, and the vertical flip. The two quarter-turns and the two diagonal flips do not.

Hope
There’s a geometric explanation. Carry the horizontal mirror line along with each move. The identity, half-turn, horizontal flip, and vertical flip put that line back where it started; the quarter-turns and diagonal flips move it.

Corey
Conjugating a reflection by a move gives the reflection across the carried mirror line. If the line returns to its original place, the move commutes with s. These commuting moves form the centralizer of s: e, r squared, s, and r squared s.

Hope
That centralizer is the same four-element subgroup we grew from the flip and half-turn. In any group, the elements that commute with a fixed element form a subgroup; the subgroup test verifies that inverses and products still commute with it.

Corey
The center is the set of moves that commute with every move. For the square, it contains only the identity and half-turn. Both commute with all rotations and reflections.

Hope
A cyclic group is generated by repeating one move, including its inverse and doing nothing. On the twelve-hour clock, repeatedly add eight: zero, eight, four, and then back to zero.

Corey
So eight generates a three-element subgroup, and the element eight has order three. The order of an element is the least positive number of repetitions that returns to the identity.

Hope
In general, on an n-position clock, the order of adding k is n divided by the greatest common divisor of n and k. To return, we need n to divide m times k; cancel the common divisor, and the smallest possible m is n divided by that divisor.

Corey
On a twelve-position clock, the moves that visit every position are exactly those relatively prime to twelve: one, five, seven, and eleven. A shared factor traps the repeated move in a smaller cycle.

Hope
Every subgroup of a cyclic group is cyclic. If a subgroup contains anything beyond the identity, choose the smallest positive exponent d such that g to the d lies in it.

Corey
For any other power g to the m in the subgroup, divide m by d to get a remainder. Subtracting a multiple of d leaves that remainder’s power in the subgroup. A positive remainder would contradict how d was chosen, so every element is generated by g to the d.

Hope
But not every group with four elements is cyclic. The units one, five, seven, and eleven under multiplication modulo twelve form a group, and each nonidentity element squares to one. No single element generates all four.

Corey
Permutations give us another concrete group. A permutation rearranges labels with no collisions or missing destinations. We can describe it by following where each label goes, using cycles.

Hope
If one goes to three, three to four, and four back to one, write the cycle one, three, four. A label that stays put can be omitted. Starting the written cycle at a different point names the same loop, but reversing its direction usually gives a different permutation.

Corey
We compose permutations right to left. For example, first swap one and two, then apply the cycle one, two, three: following each label shows the result is the swap of one and three. Reversing the order gives a different swap.

Hope
The inverse of a cycle runs its arrows backward. And cycles on separate labels commute, because each changes only labels the other leaves alone.

Corey
Every finite permutation splits into disjoint cycles. A label’s trail must eventually return to where it began; it can’t first enter an earlier label, because that would give one destination two different inputs.

Hope
The order of a permutation is the least number of repetitions that returns every label home. For disjoint cycles, that is the least common multiple of their lengths.

Corey
For cycles of lengths three and two, six repetitions are needed for both to return together. Adding the lengths would give five, which is wrong. A fixed label adds no condition.

Hope
Always rewrite a permutation as disjoint cycles first. Overlapping cycles can interfere: the product of a three-cycle and a swap may be a single swap, whose order is two, not the least common multiple of three and two.

Corey
A transposition swaps two labels, and every cycle can be built from transpositions. A cycle of length m takes m minus one transpositions, so every permutation can be built from swaps.

Hope
Here’s a subtle question: can one permutation be described by an even number of swaps in one way and an odd number in another? No. Parity belongs to the permutation, not to the description.

Corey
One proof tracks the product of all pairwise differences of distinct numbers assigned to the labels. Swapping two labels changes the sign of that product, while its magnitude stays the same.

Hope
After a sequence of swaps, the sign changes once per swap. Since the final arrangement determines the product and the original product is nonzero, every swap description of the same permutation has the same parity.

Corey
Even permutations form a subgroup: doing nothing uses zero swaps, and composing or undoing even permutations keeps the swap count even. On four labels there are twenty-four permutations, split evenly into twelve even and twelve odd ones.

Hope
The twelve even permutations on four labels are the identity, three double swaps, and eight three-cycles. The square symmetries are a subgroup of the group of all twenty-four permutations of its four corners.

Corey
A quarter-turn is a four-cycle, so it’s odd; a half-turn swaps two pairs, so it’s even. And the two different orders of turn and flip become two different swaps of corners, showing again why the actions don’t commute.

Hope
This cycle viewpoint explains repeated shuffles. A perfect out-shuffle of ten cards has two fixed positions, a six-cycle, and a two-cycle. The least common multiple of six and two is six, so six out-shuffles restore the deck.

Corey
For a fifty-two-card out-shuffle, the positions split into two fixed points, one swap, and six cycles of length eight. The least common multiple is eight, so eight shuffles return every card.

Hope
The corresponding in-shuffle forms one fifty-two-cycle, so it takes fifty-two repetitions to return. A small change in the shuffle can produce a much longer cycle.

Corey
Repeatedly applying one fixed permutation never mixes forever: it follows a finite loop. Its inverse undoes it; for the fifty-two-card out-shuffle, seven more repetitions undo the first.

Hope
The same idea can describe routes in a wiring pattern for parallel computation. But the group records what a move is supposed to do; it doesn’t guarantee that a physical device performs it without error.

Corey
For instance, an extra swap during an eight-shuffle sequence changes the final permutation’s parity. If the result is odd, it cannot be the identity, which is even.

Hope
Now we can compare groups that look different. The four positions on a four-clock correspond to the four rotations of a square: send zero to e, one to r, two to r squared, and three to r cubed.

Corey
This is an isomorphism if it’s a bijection that preserves combination. Two plus three is one modulo four, and the corresponding half-turn followed by a three-quarter-turn gives one quarter-turn.

Hope
In general, the map sends k to r to the k. It preserves the operation because r to the a plus b equals r to the a times r to the b; reducing exponents modulo four changes nothing.

Corey
An isomorphism preserves identity, inverses, and element orders. If a power of an element is the identity, the corresponding power of its image is too, and bijectivity gives the converse.

Hope
That lets us rule out false matches. The square’s rotation group has an element of order four. In the group of units modulo twelve, every nonidentity element has order two.

Corey
Both groups have four elements, but they can’t be isomorphic because an isomorphism must preserve order. Equal size alone doesn’t mean equal structure.

Hope
Every group can also be represented faithfully as permutations of its own elements. For each element g, send each x to g x. Multiplying by g inverse undoes that rearrangement.

Corey
Doing the move for h and then for g sends x to g h x, so the representation preserves multiplication. And different g’s give different permutations, because each sends the identity to g. This is Cayley’s theorem.

Hope
An automorphism is an isomorphism from a group to itself—a relabelling that preserves every combination. On a four-clock, sending a position to its negative exchanges one and three and fixes zero and two.

Corey
Now let’s build equivalence classes. On the twelve-hour clock, four, sixteen, twenty-eight, and minus eight all land at four. Their differences are multiples of twelve.

Hope
Say two integers are equivalent when their difference is a multiple of twelve. This relation is reflexive, symmetric, and transitive: every integer matches itself, the difference can be reversed, and multiples of twelve add.

Corey
Compare that with being at most one apart. Zero is close to one and one is close to two, but zero isn’t close to two. That relation is reflexive and symmetric, but not transitive.

Hope
Transitivity ensures equivalence classes don’t overlap partially. If two classes share a member, the links through that member show that the two classes are identical.

Corey
So equivalence classes partition a collection into nonoverlapping pieces covering everything. Conversely, any partition defines an equivalence relation: two elements are equivalent when they’re in the same piece.

Hope
Fractions give a familiar example. One half and two quarters are different pairs of integers representing the same number. Define a over b to be equivalent to c over d when a times d equals b times c.

Corey
A rational number is an entire class of equivalent pairs. Groups will produce similar classes, called cosets, from their subgroups.

Hope
On a twelve-position clock, the subgroup generated by four is zero, four, and eight. Shift it by one to get one, five, nine; shift by two or three to get the other two cosets.

Corey
Shifting by four gives the same set again: it just rearranges zero, four, and eight. The four distinct cosets cover all twelve positions without overlap.

Hope
In a noncommutative group, we distinguish left and right cosets. For the square, take H equal to the identity and horizontal flip s. A left coset g H consists of g and g s.

Corey
Right cosets can differ. H r contains r and s r, and s r equals r cubed s, a different diagonal flip from r s. The left and right cosets partition the group into pairs, but not necessarily the same pairs.

Hope
Two elements g and k name the same left coset exactly when g inverse k lies in H. That condition defines an equivalence relation, so left cosets are equivalence classes.

Corey
Every coset has exactly the size of H: left multiplication by g carries H onto g H without collisions, since g h one equals g h two forces h one equals h two.

Hope
For a finite group, the cosets partition it into equally sized pieces. Therefore the group’s size is the number of cosets times the size of H. This is Lagrange’s theorem: every subgroup’s size divides the group’s size.

Corey
That explains why the square’s subgroup sizes can be one, two, four, or eight, but not three, five, six, or seven. It also says the order of any element divides the size of a finite group, because the powers of that element form a subgroup.

Hope
The divisibility rule goes only one way. A divisor is a possible subgroup size, not a promise that such a subgroup exists. The even permutations on four labels form a group of twelve with no subgroup of size six.

Corey
Cosets can be added on a clock because the clock group is commutative and the result doesn’t depend on which representative we choose. In a general group, we have not yet earned the right to combine cosets as group elements.

Hope
A direct product is a different construction: put two groups side by side and combine pairs coordinate by coordinate. A pair’s identity is the pair of identities, and its inverse is the pair of inverses.

Corey
For a four-clock and a three-clock, there are twelve ordered pairs of positions. Advancing both coordinates by one has order twelve, since both clocks return together at the least common multiple of four and three.

Hope
More generally, a pair of elements with finite orders m and n has order the least common multiple of m and n. A pair of two two-position clocks has four states, but every nonidentity pair has order two, so that group isn’t cyclic.

Corey
That two-clock product is isomorphic to the units one, five, seven, and eleven modulo twelve. The correspondence sends the pair of one-step moves to five and seven; their product is eleven, matching the sum of those two coordinate moves.

Hope
When two clock lengths are relatively prime, a position on the clock with their product as its length corresponds to a pair of positions on the smaller clocks, using the two remainders.

Corey
For the four- and three-clocks, repeatedly adding one, one visits all twelve pairs, so every pair occurs. In general, relative primality makes the least common multiple equal the product; with a common factor, the orbit is shorter and some pairs are missed.

Hope
You can also find independent parts inside one group. On the twelve-clock, the subgroups zero, three, six, nine and zero, four, eight combine to describe each residue exactly once.

Corey
For a general internal direct product, the two subgroups must commute with each other, intersect only in the identity, and together generate every element. Their sizes alone aren’t enough.

Hope
Now the crucial question: can we multiply cosets by multiplying representatives? It fails for H equal to the identity and s in the square group.

Corey
The identity and s name the same coset H. Multiply them by r: the identity times r is r, but s r equals r inverse s, which isn’t in the left coset r H. Changing the representative changed the proposed product.

Hope
A subgroup N is normal when every conjugate g n g inverse remains in N. Equivalently, g N equals N g for every g. Normality preserves the subgroup as a set; it doesn’t require every member to commute with every group element.

Corey
For a normal subgroup, define a N times b N to be a b N. If we change representatives to a n one and b n two, their product differs from a b by b inverse n one b times n two, which is still in N.

Hope
That’s why the result doesn’t depend on the representatives. Normality is also necessary: if representative multiplication is well-defined, the coset calculation forces every conjugate of every subgroup element back into the subgroup.

Corey
The cosets of a normal subgroup form a quotient group. Its identity is N, the inverse of g N is g inverse N, and associativity comes from the original group.

Hope
For the square, the four rotations form a normal subgroup R. A rotation conjugated by a reflection becomes another rotation, so R is preserved. Its two cosets are all rotations and all reflections.

Corey
The quotient has two elements. Two rotations combine to a rotation; a rotation and a reflection combine to a reflection; and two reflections combine to a rotation. It has the same group structure as a two-position clock.

Hope
That quotient keeps whether a move preserves or reverses orientation, while forgetting which particular rotation or reflection it was. The projection sends every rotation to the identity coset and every reflection to the other coset.

Corey
The rotations are the kernel of that projection: the elements mapped to the identity. Kernels of operation-preserving maps are normal, which connects quotient groups with structure-preserving maps.

Hope
A checksum shows how group arithmetic can catch errors. In the older ten-digit ISBN system, use digits zero through nine, with X representing ten only in the final position.

Corey
Multiply the digits by weights ten down to one and add. The ISBN passes if the sum is divisible by eleven. For 0306406152, the weighted total is 132, which is twelve times eleven.

Hope
Changing the fourth digit from six to seven increases the total by seven, so it no longer passes. More generally, a single-symbol change alters the sum by a weight times a nonzero difference.

Corey
Every weight from one to ten is nonzero modulo eleven, and eleven is prime, so a product of two nonzero residues can’t be zero. The same reasoning shows that swapping two different symbols in different positions changes the checksum.

Hope
But multiple errors can cancel. Changing the first digit from zero to one adds ten, and changing the second from three to eight adds forty-five. Together that’s fifty-five, a multiple of eleven, so the corrupted number still passes.

Corey
The ISBN check detects every single-symbol substitution and every swap of two different allowed symbols, but it doesn’t detect every corruption. Also, it’s an arithmetic check, not proof that an ISBN was assigned to a real book.

Hope
A Hamming code uses cosets to correct an error. Four data bits are encoded into seven, making sixteen allowed words inside the group of all 128 seven-bit words, where combining means flipping bits by exclusive or.

Corey
A received word belongs to a coset of the code. There are eight cosets, each with sixteen words, matching the eight cases we want to distinguish: no error or one flipped bit in any of seven positions.

Hope
The syndrome is a three-bit label for the coset and identifies the flipped position. If it reads one-zero-one, that’s four plus zero plus one, so flip bit five back.

Corey
But two errors can land in the coset of some different single error. The decoder might confidently flip the wrong bit and produce another codeword. Adding an overall parity check lets this code correct one flipped bit while reporting two.

Hope
Let’s gather the ideas. A group records how moves combine; a subgroup collects moves closed under the same operation; isomorphisms change the description without changing the structure; cosets partition a group.

Corey
And a normal subgroup lets those cosets inherit a group operation. Each definition addressed a problem we encountered in a concrete example.

Hope
Here are three quick exercises. Find the subgroup generated by six on the twelve-clock; decide whether the four-clock and two two-position clocks are isomorphic; and explain why multiplying a coset representative on the right by a subgroup element leaves the coset unchanged.

Corey
Adding six repeatedly reaches zero and six. The four-clock has an element of order four, but the product of two two-position clocks doesn’t, so they can’t be isomorphic.

Hope
And multiplying a subgroup by one of its own elements just rearranges that subgroup: closure keeps the results inside, and the inverse recovers every element. Applying the original coset representative on the left then gives the same coset.

Corey
That’s the general method: follow the operation, ask what it preserves, and use those preserved features to understand the structure.

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