Symmetry as algebra: when a square's rotations become a group
Take a square, rotate it, flip it, and treat each motion as something you can multiply. This concrete exercise leads directly to the dihedral group D4 and reveals why abstract algebra grew out of the study of symmetry.
Anyone encountering the definition of a group for the first time is entitled to ask: who dreamed up these abstract axioms, and what problem were they trying to solve?
The short answer is symmetry. The concept of a group emerged historically as a way to capture the algebraic structure hidden inside geometric symmetry. To see how this works in the most concrete possible setting, we turn to the humblest object that still has a rich story to tell: a square.
1 Eight ways to move a square
Label the vertices of a square . A symmetry of the square is a rigid motion – a rotation or a reflection – that maps the square back onto itself. The vertices may be permuted, but the shape as a whole looks the same before and after. There are exactly eight such motions.
Rotations (counterclockwise):
Reflections (across a line of symmetry):
The collection of all eight symmetries is denoted and called the dihedral group of the square.
2 Multiplying symmetries
Given two symmetries, we can perform them in succession and call the result their "product." If we first apply and then apply , we write (reading right to left, as with function composition).
Here is the crucial observation: the composition of any two of these eight symmetries always produces another one of the eight. The set is closed under composition. Even more, the arithmetic of these compositions reveals surprising structure.
That last equation, , is particularly telling. It says that : the order in which you rotate and reflect matters. This is not a minor technicality – it is the central feature. is a non-abelian group. The non-commutativity encodes a genuine geometric phenomenon: rotating a square and then flipping it is not the same as flipping it and then rotating it.
3 Whyis a group
Let us verify that satisfies all three group axioms.
Associativity. For any three symmetries , , , we have . This is not something that requires checking case by case; it is an automatic consequence of the fact that composition of functions is always associative. Performing three rigid motions in sequence gives the same outcome regardless of how we mentally group them.
Identity. The "do nothing" motion serves as the identity element: applying no transformation before or after any symmetry simply gives back.
Inverses. Every symmetry can be undone. A rotation is reversed by a rotation, so . Any reflection is its own inverse, since reflecting twice restores the original: .
4 The Cayley table
To describe the algebraic structure of completely, it suffices to write down the Cayley table (or multiplication table): an grid whose entry in row and column records the product , for all eight elements .
A glance at the completed table reveals a striking regularity:
Every row contains each of the eight elements exactly once.
Every column contains each of the eight elements exactly once.
An array with this property is called a Latin square in combinatorics. That the Cayley table of a group always forms a Latin square is no coincidence; it is a direct consequence of the cancellation law.
5 Generators and relations
Remarkably, the entire structure of – all sixty-four entries of its Cayley table – can be reconstructed from just three equations:
The third relation is equivalent to , and it captures a beautifully intuitive geometric fact: conjugating a rotation by a reflection reverses the direction of the rotation. When you look in a mirror, clockwise becomes counterclockwise. The algebraic relation is nothing more than this everyday observation, stated precisely.
6 Why abstraction pays off
If the symmetries of a single square were all we cared about, listing eight operations and a multiplication table would be perfectly adequate. So why bother introducing the abstract machinery of groups?
Because exactly the same algebraic structure shows up in entirely unrelated contexts.
The set under addition modulo .
The set under multiplication.
The two symmetries of a line segment: "leave it alone" and "flip it end to end."
Once we abstract away the specific nature of the underlying objects and focus on the algebraic structure, we gain the ability to transfer results between settings. Techniques developed for analyzing the symmetries of a square apply equally well to the classification of crystal structures, to the physics of subatomic particles, and to the design of cryptographic protocols. Proving a theorem in the abstract setting proves it simultaneously for every concrete realization of that structure. This is the fundamental promise of algebra.
7 Takeaway
Groups arise naturally as the collection of all symmetries of a geometric object, and the three group axioms capture exactly the properties that symmetry operations always satisfy. The dihedral group is small enough to hold in your head yet rich enough to exhibit non-commutativity, Cayley tables, and presentations by generators and relations – the core vocabulary of the subject. If you are beginning abstract algebra, there is no better laboratory than this group of eight.
Mathematics "between the lines" — exploring the intuition textbooks leave out, written in LaTeX on Folio.