What is a symmetry?
Cut an equilateral triangle out of card, and trace its outline on the table: that's its frame. A symmetry of the triangle is a way of picking it up and putting it back down so that it fits exactly into its frame again. To keep track, paint its corners and number them 1 (top), 2 (bottom left) and 3 (bottom right), going anticlockwise.
How many symmetries are there? Corner 1 can end up in any of the three positions of the frame. Once it's placed, corner 2 must go to one of the two remaining positions, and then corner 3 has no choice. So there are at most \(3 \times 2 = 6\) symmetries, and all six really happen:
e do nothing
r turn 120° anticlockwise
r² turn 240° anticlockwise
s flip, vertical axis
rs flip, axis through bottom right
r²s flip, axis through bottom left
Three are rotations: do nothing (we call this \(e\)), turn a third of a turn anticlockwise (\(r\)), and turn two thirds of a turn (\(r^2\), which is \(r\) done twice). Three are flips, or reflections, each across an axis through one corner and the middle of the opposite side. We call the flip across the vertical axis \(s\). Axes and directions of turning belong to the frame on the table, not to the card: \(s\) always flips across the frame's vertical axis, wherever corner 1 happens to be. The names of the other two flips, \(rs\) and \(r^2s\), are explained next.
Notice what counts as a symmetry: only the final position matters, not how the triangle got there. Turning by \(360°\) is the same symmetry as doing nothing, and turning \(120°\) clockwise is the same as \(r^2\).
Combining symmetries
Doing one symmetry and then another always gives a symmetry: the triangle is back in its frame after each step. So symmetries can be combined, like numbers can be multiplied.
Notation
We write \(ab\) for "do \(b\) first, then \(a\)". You will also see \(a \cdot b\) or \(a \circ b\); they mean the same. This matches the way functions are composed: in \(f(g(x))\), \(g\) acts first. It feels backwards at first, but it pays off later, when symmetries become functions and permutations. (Some books use the opposite order; always check.)
Swipe or scroll sideways to step through.
Start
The triangle sits in its frame. Watch the coloured corners.
First do \(s\)
Flip over the vertical axis. Corners 2 and 3 swap places.
Then do \(r\)
Now turn the result a third of a turn anticlockwise.
The same as one flip
Corner 3 ended where it started, and 1 and 2 swapped: the whole move is the single flip \(rs\), across the axis through the bottom right corner.
So "\(s\), then \(r\)" is itself a flip, and that is where the name \(rs\) comes from. In the same way, \(r^2s\) means "flip across the vertical axis, then turn two thirds of a turn", and it turns out to be the third flip. Every symmetry of the triangle can be written in exactly one way as \(r^is^j\), with \(i \in \{0, 1, 2\}\) and \(j \in \{0, 1\}\).
Does the order matter? Try it the other way round:
rs first \(s\), then \(r\)
sr first \(r\), then \(s\): this is \(r^2s\)
\(rs\) and \(sr\) are different flips. The order in which you combine symmetries matters. Ordinary multiplication of numbers never behaves like this, and it is one of the first surprises of group theory. A pair of symmetries with \(ab = ba\) is said to commute.
The Cayley table
We can record every combination in a multiplication table, called a Cayley table. The entry in row \(a\), column \(b\) is \(ab\): do \(b\) first, then \(a\).
Look for patterns. You'll find several, and each one says something general:
- Every row and every column contains each symmetry exactly once, like a sudoku. (Such a grid is a Latin square.)
- The row and column of \(e\) just copy the headings: doing nothing before or after changes nothing.
- \(e\) appears in every row: every symmetry can be undone.
- Rotations combined with rotations give rotations (top left). A rotation and a flip give a flip. Two flips give a rotation.
- The table is not symmetric across its diagonal, because \(rs \neq sr\).
The definition of a group
Symmetries of a square, of a cube, of a snowflake, of a wallpaper pattern all share the features we've just seen. So do many things that aren't obviously symmetries at all, such as the integers under addition. Mathematicians distilled the common features into four rules.
Definition
A group is a set \(G\) together with an operation that combines any two elements \(a, b\) of \(G\) into an element \(ab\), such that:
- Closure. If \(a\) and \(b\) are in \(G\), so is \(ab\).
- Associativity. \((ab)c = a(bc)\) for all \(a, b, c\) in \(G\).
- Identity. There is an element \(e\) in \(G\) with \(ea = ae = a\) for every \(a\).
- Inverses. For every \(a\) in \(G\) there is an element \(a^{-1}\) in \(G\) with \(aa^{-1} = a^{-1}a = e\).
For symmetries, each rule is natural. Combining two symmetries gives a symmetry (closure). The identity is "do nothing". The inverse of a symmetry is the move that undoes it: \(r^{-1} = r^2\), and each flip is its own inverse. Associativity holds because combining symmetries is composing functions, and composition of functions is always associative: both \((ab)c\) and \(a(bc)\) mean "do \(c\), then \(b\), then \(a\)".
The number of elements of \(G\) is its order, written \(|G|\). The symmetry group of the triangle has order 6; it is called the dihedral group \(D_3\). (Some books call it \(D_6\), counting elements instead of corners.) A group in which every pair of elements commutes, \(ab = ba\), is called abelian, after Niels Henrik Abel. \(D_3\) is not abelian.
Going deeper: why insist on associativity?
Associativity is what lets us write \(abc\) without brackets, and \(a^n\) for \(a\) combined with itself \(n\) times. Without it, even \(a^3\) would be ambiguous: \((aa)a\) or \(a(aa)\)? Operations that fail it do exist. For example, subtraction: \((5 - 3) - 1 = 1\) but \(5 - (3 - 1) = 3\). And the cross product of vectors in space: \((\mathbf i \times \mathbf i) \times \mathbf j = \mathbf 0\), but \(\mathbf i \times (\mathbf i \times \mathbf j) = -\mathbf j\). Neither gives a group.
First consequences
Everything below follows from the four axioms alone. So it holds in every group, whether made of symmetries, numbers or anything else.
Theorem
- A group has only one identity element.
- Each element has only one inverse.
- Cancellation: if \(ab = ac\) then \(b = c\); and if \(ba = ca\) then \(b = c\).
- \((ab)^{-1} = b^{-1}a^{-1}\), and \((a^{-1})^{-1} = a\).
Proofs
1. If \(e\) and \(e'\) are both identities, then \(e = ee' = e'\): the first equality because \(e'\) is an identity, the second because \(e\) is.
2. If \(b\) and \(c\) are both inverses of \(a\), then \(b = be = b(ac) = (ba)c = ec = c\).
3. Multiply \(ab = ac\) on the left by \(a^{-1}\): \(a^{-1}(ab) = a^{-1}(ac)\). By associativity this is \((a^{-1}a)b = (a^{-1}a)c\), so \(eb = ec\) and \(b = c\). The other half is the same on the right.
4. \((ab)(b^{-1}a^{-1}) = a(bb^{-1})a^{-1} = aea^{-1} = aa^{-1} = e\), and similarly \((b^{-1}a^{-1})(ab) = e\). By part 2, \(b^{-1}a^{-1}\) is the inverse of \(ab\). And \(a\) satisfies the defining property of the inverse of \(a^{-1}\). ∎
Part 4 is sometimes called the socks and shoes rule: you put on socks, then shoes; to undo this you take off the shoes first, then the socks. The order reverses.
Part 3 explains the sudoku pattern in the Cayley table. If an element appeared twice in row \(a\), say \(ab = ac\) with \(b \neq c\), cancellation would be violated. So the \(|G|\) entries of each row are all different, and therefore each element appears exactly once. The same goes for columns. Every finite group's Cayley table is a Latin square. The converse fails: many Latin squares are not the table of any group, because associativity or the identity can break.
First examples
The definition doesn't mention symmetry at all, which is its strength. Here are some groups, and some near misses:
| Set and operation | Group? | Why |
|---|---|---|
| Integers \(\mathbb Z\), addition | Yes, abelian | Identity 0; inverse of \(n\) is \(-n\). |
| Nonzero rationals \(\mathbb Q^\times\), multiplication | Yes, abelian | Identity 1; inverse of \(q\) is \(\frac1q\). |
| \(\{1, -1, i, -i\}\), multiplication | Yes, abelian | The fourth roots of unity: closed, and \(i^{-1} = -i\). |
| Natural numbers \(\{0, 1, 2, \ldots\}\), addition | No | 3 has no inverse: nothing added to 3 gives 0. |
| Integers, multiplication | No | 2 has no inverse: \(\frac12\) is not an integer. |
| All rationals, multiplication | No | 0 has no inverse. |
| Integers, subtraction | No | Not associative. |
When the operation is addition, we write \(a + b\) instead of \(ab\), \(0\) for the identity, \(-a\) for the inverse and \(na\) instead of \(a^n\). That's only notation: the group axioms are the same. Unit 2 explores a whole gallery of groups.
History
Groups first appeared, implicitly, in the study of polynomial equations and in Gauss's number theory. Lagrange (1770) studied how the roots of an equation can be shuffled. Ruffini (1799, with gaps) and Abel (1824) proved there is no general formula for the roots of an equation of degree five, and Galois (around 1830) used groups of shuffles to explain exactly which equations can be solved by such formulas, a story told in Unit 12. Cayley gave the first abstract definition in 1854, and the modern axioms settled around 1900. Symmetry, the source of our pictures, came into the theory through geometry and crystallography in the later nineteenth century.
Practice set
Mixed questions covering the whole unit. Try each one before opening the answer.
1. Use the Cayley table to find \(r \cdot rs\), \(s \cdot s\) and \((rs)^{-1}\).
Show answer
Row \(r\), column \(rs\) gives \(r^2s\). Row \(s\), column \(s\) gives \(e\). Since \(rs \cdot rs = e\), \((rs)^{-1} = rs\): every flip undoes itself.
2. How many symmetries does a square have? Describe them.
Show answer
Eight. Corner 1 can go to any of 4 positions, then corner 2 to either of its 2 neighbours. They are 4 rotations (by 0°, 90°, 180°, 270°) and 4 flips: across the two diagonals and across the two lines joining midpoints of opposite sides. This group is \(D_4\).
3. Show from the table that \(sr = r^{-1}s\). Then use this rule to simplify \(srs\).
Show answer
Row \(s\), column \(r\) gives \(r^2s\), and \(r^{-1} = r^2\). Then \(srs = (sr)s = r^2s\,s = r^2s^2 = r^2\), since \(s^2 = e\).
4. Is the set \(\{1, -1\}\) a group under multiplication? Is \(\{0, 1\}\)?
Show answer
\(\{1, -1\}\) is: it's closed, 1 is the identity, and each element is its own inverse. \(\{0, 1\}\) is closed with identity 1, but 0 has no inverse, so it is not a group.
5. In a group, suppose \(a^2 = e\) for every element \(a\). Show that the group is abelian.
Show answer
Every element is its own inverse. So \(ab = (ab)^{-1} = b^{-1}a^{-1} = ba\), using the socks and shoes rule.
6. Find the solution \(x\) of \(ax = b\) in a group, and explain why it is unique. Use it to solve \(rx = s\) in \(D_3\).
Show answer
\(x = a^{-1}b\) works, since \(a(a^{-1}b) = b\). If \(x'\) is another solution, then \(ax' = b = ax\), so \(x' = x\) by cancellation. In \(D_3\): \(x = r^{-1}s = r^2s\). Check with the table: row \(r\), column \(r^2s\) gives \(s\).
Summary and glossary
- A symmetry is a motion that returns a shape to its frame; the triangle has six.
- Symmetries combine; \(ab\) means "do \(b\), then \(a\)", and the order can matter.
- A group is a set with an operation satisfying closure, associativity, identity and inverses.
- In every group, the identity and inverses are unique, cancellation holds, and \((ab)^{-1} = b^{-1}a^{-1}\).
- Cayley tables of groups are Latin squares: each element appears once in every row and column.
- Symmetry
- A rigid motion of a shape that leaves it occupying the same space; motions with the same end result count as the same symmetry.
- Group
- A set with an associative operation, an identity and inverses, closed under the operation.
- Order of a group
- The number of its elements, \(|G|\).
- Abelian
- A group in which \(ab = ba\) for all \(a, b\).
- Cayley table
- The multiplication table of a group: row \(a\), column \(b\) holds \(ab\).
- Dihedral group \(D_n\)
- The symmetries of a regular \(n\)-sided polygon: \(n\) rotations and \(n\) flips.