A set of symbols, 1, α, β, … all of them different, and such that the product of any two of them (no matter in what order), or the product of any one of them into itself, belongs to the set, is said to be a group.
Cut an equilateral triangle out of card and lay it back in the hole it came from. In how many ways can you pick it up and put it down so that it fits again? Now glance at a clock: nine o’clock plus five hours is two o’clock. One question is about shapes, the other about counting — and yet underneath both of them lie the same four simple rules. A collection of things obeying those rules is called a group, and groups are the raw material from which homology is built.
We will play with the triangle and the clock until the shared rules jump out at you, write them down, and test them on a gallery of groups and impostors. Then come the few ideas the rest of the book leans on: abelian groups, subgroups and generators, and the structure-preserving maps called homomorphisms, with their kernels and images.
Symmetry: moves that change nothing
Let us take the triangle seriously. Imagine an equilateral triangle cut from card, resting in a triangular slot. Close your eyes while a friend lifts it out and drops it back into the slot. When you open your eyes, can you tell whether anything happened? If the card is blank, you cannot: every corner looks like every other corner. That is what it means for a move to be a symmetry — it leaves the object looking exactly as it did before.
To keep track of what your friend did, paint the corners and call them and Now different moves leave visibly different pictures behind, and we can count them. Your friend can:
- do nothing at all — we call this move (the letter is traditionally said to come from the German Einheit, “unity”);
- rotate the card by a third of a turn, anticlockwise — we call this
- rotate it by two thirds of a turn, — which is the same as doing twice, so we call it
- flip the card over, turning it about one of the three dashed mirror lines of the slot. Call the three flips turns the card about the vertical line through the top of the slot, about the line through the bottom-left corner of the slot, and about the line through the bottom-right corner.
Notice one detail that will matter in a minute: the mirror lines belong to the slot, not to the card. When you do you always turn the card about the vertical line, whichever painted corner happens to sit on top at that moment.
Why exactly six moves? Because a move is completely decided by two pieces of information: where corner ends up (three possible places) and whether the card ends up face up or face down (two possibilities). Once you know those, the positions of and are forced. Three times two is six. Since a move is decided by where it sends the three corners, and each of the six ways of rearranging happens exactly once, the triangle group is also the group of all permutations of three things. Try it for yourself:
Each move you make from the current position fills in one entry. Tap any cell to watch that product.
Doing one move after another
The interesting thing about symmetries is that you can combine them. Do one move, then another: the card is still in its slot, so the combination is itself a symmetry — one of the same six. For example, if you first flip with and then rotate with the card ends up exactly as if you had done the single flip You can check this in Figure 1.3.1: press Reset, then then and compare with Reset followed by
Playing with the triangle for a few minutes reveals five facts. Keep them in mind; they are the whole chapter in miniature.
- Combining stays inside. Doing two symmetries in a row gives a symmetry.
- There is a move that does nothing. Doing before or after any move changes nothing:
- Every move can be undone. The rotation is undone by (a third of a turn plus two thirds is a full turn, which is the same as doing nothing): Each flip undoes itself: turning the card over twice about the same line returns it to where it was, so
- Brackets do not matter. If you do three moves then then it makes no difference whether you first combine and into one move, or and in symbols, Both sides mean “ then then
- But the order can matter. First then gives first then gives In symbols, but
Here is one way to see it. Rotating and then flipping is like walking forward and then turning left; flipping and then rotating is like turning left and then walking forward. Both sequences use the same two actions, but you end up in different places. In everyday life, “first put on your socks, then your shoes” is famously different from the opposite order. Order mattering is natural, then; it is the triangle’s way of telling us that symmetries are a richer kind of arithmetic than the arithmetic of numbers.
One more observation, which will come back much later in the book: the rotations keep the card face up and the arrow on it turning anticlockwise, while the flips turn the card face down and reverse the arrow. A consistent “direction of turning” is called an orientation. A torus has one and a Klein bottle does not, and homology can tell the difference (§2.4 Manifolds and Surfaces, §3.4 Computing Homology).
Counting in circles: clock arithmetic
Our second example comes from counting rather than from shapes. If it is 9 o’clock now, what time will it be in 5 hours? Not 14 o’clock — on an ordinary clock the hand goes past 12 and starts again, so the answer is 2 o’clock. We have just computed “ which is perfectly correct on a clock.
Mathematicians make two small changes to the clock. First, they write at the top instead of — on a clock, 12 o’clock and 0 o’clock are the same position, and is the more natural name, as we will see. Second, they allow any number of hours, not just twelve. A clock with hours has the positions and we add two positions by walking around the clock: start at walk steps, then walk more steps. In practice: add the two numbers as usual, and if the answer is or more, subtract (When adding more than two numbers, keep subtracting until you land among in other words, take the remainder after dividing by
The symbol (a blackboard-bold Z, from the German Zahlen, “numbers”) stands for the integers: the whole numbers together with their negatives The notation is a reminder of where clock arithmetic comes from: the integers, with every multiple of declared to be equal to You met this idea in §1.2 Equivalence and Quotients, where appeared as a set of equivalence classes — the hours “1 o’clock”, “13 o’clock” and “25 o’clock” are all the same class. Here we are adding those classes.
Look at the five facts from the triangle again. Four of them hold on the clock too:
- Adding stays on the clock. The sum of two positions is a position.
- There is a number that does nothing:
- Every step can be undone. Walking steps is undone by walking more, because which is on the clock. On a 12-hour clock, so the number that undoes is We write it as on this clock,
- Brackets do not matter: because both are “walk then then
The fifth fact is different: on a clock, the order never matters, since walking and then steps gets you to the same place as walking and then In the table this shows up as a mirror symmetry across the diagonal.
The smallest interesting clock, deserves a special mention. It has just two positions, and and the one surprising rule It is the arithmetic of even and odd: read as “even” and as “odd”, and the rules say “even plus even is even, even plus odd is odd, odd plus odd is even”. You will also see written (“the field with two elements”). It is the first number system homology will use (§3.2 Chains and the Boundary Operator), precisely because in it and every question of sign disappears.
Finally, notice that the three rotations of the triangle behave exactly like Rotating by thirds of a turn and then by more thirds is rotating by thirds, wrapping past a full turn: with the exponent computed on a 3-hour clock. For instance Two worlds, one structure: that is what the next section is about.
The rules of the game: what a group is
We have seen two very different worlds — moves of a card, positions on a clock — obeying the same four rules. The great trick of modern mathematics is to stop asking what the things are and to keep only the rules they obey. Whatever we then prove from the rules alone will be true in every world that obeys them, at once.
Let us read this slowly, symbol by symbol.
- The star (read “star”) is a placeholder. In a particular group it might be or or A rule that combines two elements into one like this is called a binary operation.
- “ in is often written read “ is an element of as in §1.1 Sets and Functions.
- Closure says the operation never throws you out of the set. (Many books build this into the word “operation” and do not list it separately. We list it because it is the first thing to check, and it is often the first thing to fail.)
- Associativity says that when you combine three elements, it does not matter which two you combine first. This is what allows us to write or with no brackets at all. It is not automatic: subtraction of numbers is not associative, since but
- The identity is the element that does nothing — the move the number on the clock.
- is read “ inverse”. It is just a name for the element that undoes it does not mean unless the operation happens to be multiplication of numbers.
Most of the time we write the operation as plain juxtaposition, instead of and speak of “the group even though, strictly, the group is the set together with its operation. When the operation could be in doubt, we write the pair: is “the integers under addition”.
Your first proofs about groups
Here is a first taste of how much follows from the four rules alone. The definition says there is an identity element and an inverse of each element. Could there be two different identities? Could an element have two different inverses? The rules say no.
Here is a second fact, which explains the experiment with the triangle. How do you undo “first then You must undo the last move first: undo then undo In symbols, To check it, combine: so undoes and by uniqueness it is the inverse (Judson 2025, Prop 3.2.12). This is often called the socks-and-shoes rule: you put on socks, then shoes, but you take off the shoes first.
Cayley tables and the Sudoku property
For a finite group we can write down the whole operation as a table, like the one you filled in for the triangle: the entry in row and column is Such a table is called a Cayley table. In both of our tables you may have noticed that every element appears exactly once in every row and exactly once in every column, like the digits of a Sudoku. It is no coincidence. Cayley, in the 1854 paper that introduced such tables, already observed that “each line as each column of the square will contain all the symbols” (Cayley 1854). Here is why.
Now look at row of a Cayley table: its entries are for the different elements If two of them were equal, say with the cancellation law would be violated. So no element repeats in a row; and since a row of a table with columns has entries, each of the elements appears exactly once. The same argument works for columns. A table with this property is called a Latin square.
A gallery of groups — and some impostors
A definition earns its keep through its examples. Here are the groups we will meet again and again; after them come some impostors, which teach just as much.
- , the integers under addition. The identity is the inverse of is This is the most important group in this book: homology will count the hole in a circle with one copy of and the two independent holes of a torus with two.
- , clock arithmetic with hours. The identity is the inverse of is (and is its own inverse).
- , the real numbers — all the points of the number line, including fractions and numbers like and — under addition.
- , the nonzero real numbers under multiplication. (The symbol means “remove”: is “the real numbers with removed”.) Here the identity is and the inverse of is
- , the two signs under multiplication:
- , the six symmetries of the triangle, under composition. The name means “dihedral group”: di-hedral, “two faces”, because a flip shows the other face of the card.
- The rotations of a square, where (the Greek letter rho) is a quarter turn.
- The symmetries of a rectangle that is not a square: do nothing ( flip top-to-bottom ( turning about the horizontal axis), flip left-to-right ( about the vertical axis), and a half turn (
- Braids on three strands. Hang three strings from a bar and let them cross over and under each other on the way down to a second bar. Two braids combine by hanging one below the other, the braid with straight strings does nothing, and every braid is undone by its reflection in a horizontal mirror. Unlike the symmetries above, this group is infinite: twisting two strands around each other again and again never brings you back to the start. Braids, and the knots they close up into, return in §3.7 Knots and Links.
- The trivial group with a single element and the only possible rule It is the smallest group there is, and it will be the answer to many homology questions (“no holes here”), so it is usually written plain
The number of elements of a group is called its order and written So and and have infinite order.
And here are some impostors — pairs of a set and an operation that fail at least one rule. Each failure teaches something.
- , the natural numbers under addition, has closure, associativity and an identity, but no inverses: there is no natural number with You can count up, but never undo.
- , the integers under subtraction, is not associative, and has no element that does nothing on both sides ( but
- fails only because of one element: has no inverse, since is never Remove and you get a group.
- The odd integers under addition are not even closed: is even.
- , the nonzero numbers on a 6-hour clock under clock multiplication, is not closed either: which has been removed. Strangely, is a group. The difference is that is prime and is not.
When order doesn’t matter: abelian groups
The clock and the triangle differ in one important respect: on the clock the order of addition never matters, while for the triangle it sometimes does. Groups of the first kind have a name.
Most of our examples are abelian: the two signs, the rotations of a square, the symmetries of a rectangle. The triangle group is not: but One way to see why is to follow the arrow on the card. A flip reverses the arrow, so “flip, rotate anticlockwise, flip back” is the same as rotating clockwise: If were abelian, the left side would simplify to and we would get which is false. In fact is the smallest non-abelian group: every group with five or fewer elements is abelian.
Additive notation
For abelian groups there is a special, very convenient way of writing. Since the operation behaves like addition, we write it as addition.
Be careful with the expression here is an ordinary integer (how many copies of to add), while is an element of the group. For negative it means adding copies of In for example,
Groups inside groups
Inside the six symmetries of the triangle sit the three rotations They form a little group of their own: combining two rotations gives a rotation, the do-nothing move is a rotation (by and the inverse of a rotation is a rotation. A group living inside a bigger group like this is called a subgroup.
(Associativity never needs checking for a subgroup: it holds for all elements of so in particular for those of Some examples, in additive notation where the group is abelian:
- The even integers form a subgroup of written is even, the sum of two even numbers is even, and the negative of an even number is even.
- More generally, the multiples of any fixed number form a subgroup of
- is a subgroup of and so is (on a 6-hour clock,
- In the rotations and also each
- Every group has two boring subgroups: the trivial subgroup and the whole group
And some subsets that are not subgroups:
- The odd integers: they do not contain (and are not closed).
- The natural numbers inside they contain and are closed, but has no inverse among them.
- inside is missing.
Generators and cyclic groups
Pick an element of an abelian group and ask: what is the smallest subgroup that contains it? It must contain and and so on; it must contain and and so on. And the collection of all these multiples is already a subgroup (the sum of two multiples of is a multiple of So the answer is read “the subgroup generated by (In multiplicative notation it consists of the powers The colon inside the braces is read “such that” or “where”: “all where is an integer”.
is cyclic: every integer is a multiple of so (It is also but not which is only the even numbers.) Every clock is cyclic, generated by every position is reached by repeatedly stepping one hour. The rotations of the triangle are cyclic, generated by
is not cyclic. A rotation generates only the rotations, and a flip generates only But two elements suffice: using the products you found in Figure 1.3.1, and so is generated by and
The order of an element
On a clock, keep adding the same number and you must eventually come back to On a 12-hour clock, starting from and adding each time gives four steps. That count will matter in homology. A Klein bottle carries a loop that is not the edge of any region, yet the same loop traced twice is one: in homology it behaves like a clock hand that returns after two steps (§3.4 Computing Homology).
The order of is exactly the number of elements of the walk visits new elements until it first returns to and then repeats. In every element except has infinite order — adding to itself never gives In the flips have order and have order
In there is a neat formula. Write the greatest common divisor, for the largest whole number that divides both and for example and Then the order of in is (The walk returns to the first time it reaches a common multiple of and and the smallest such is reached after steps; Judson (2025, Thm 4.1.13) gives a careful proof.) In particular, generates all of exactly when On a 12-hour clock the generators are
In a finite group every element has finite order, since the walk must eventually repeat. In 1902 William Burnside asked about the converse. Suppose a group is generated by finitely many elements and every element has finite order; must the group be finite? In general the answer is no, as Evgeny Golod and Igor Shafarevich showed in 1964. But Burnside also asked a sharper version, with one fixed order for everything, and one small case of it has resisted for more than a century.
All the subgroups of the integers
Which subsets of are subgroups? We have found for every Could there be stranger ones — say, the smallest subgroup containing both and Try it: that subgroup must contain hence every even number; and anything built from s and s by adding and subtracting is even, so it contains nothing odd. It is all over again. That is no accident.
(For and the proof’s is The theorem will pay off in the next chapter, which collapses a subgroup of to zero: since every subgroup is some the clocks (and itself, for are the only possible results.
Maps that respect the rules: homomorphisms
Every integer is either even or odd, and there are well-known rules: even plus odd is odd, odd plus odd is even. Look at what those rules let you do. To decide whether is even you never need and themselves — only whether they are even. Write for the parity of if is even and if is odd. Then the parity rules say where the addition on the right is the addition of The function translates the arithmetic of faithfully into the arithmetic of It loses a great deal of information — it forgets everything about a number except its parity — but what it keeps, it keeps correctly.
The same is true of a clock. If is the clock reading after hours, then waiting hours and then more moves the hand as the two waits combined. And it is true of the triangle: let if the symmetry leaves the card face up (a rotation), and if it turns the card over (a flip). Turning the card over twice leaves it face up, so This function is called the sign. In each case, combining and then translating gives the same answer as translating and then combining.
The Greek letter is read “phi” (rhymes with “fie”). The word comes from the Greek for “same shape”: a homomorphism carries the shape of the operation across. On the left of the equation we combine in and then apply on the right we apply and then combine in A homomorphism is a map for which the two routes agree.
Two consequences follow immediately, and both are used constantly. In additive notation:
- Indeed subtracting from both sides leaves
- Indeed so is the inverse of
Kernel and image
Every homomorphism comes with two subgroups that describe it. Figure 1.3.5 shows both: the gold column is one, and the fact that every position of the dial is hit is the other.
The kernel lives in the starting group the image lives in the target (The image is the same as the image of a function from §1.1 Sets and Functions; the kernel is the preimage of Let us compute them for our examples.
- Parity the kernel is the even integers the image is all of
- Reduction the kernel is the gold column in Figure 1.3.5; the image is all of
- The sign the kernel is everything sent to the identity namely the rotations the image is
- Doubling on a 6-hour clock, the values are for So and
The kernel detects injectivity
A function is injective (one-to-one) if different inputs always give different outputs. For a general function, checking this means comparing every pair of inputs. For a homomorphism there is a shortcut: you only have to look at what lands on
The observation in the proof is worth more than the theorem. It says that the elements landing on the same point as are exactly the elements with in the kernel — a copy of the kernel, shifted to You saw these shifted copies as the teal column in Figure 1.3.5 and as the highlighted dots in Figure 1.3.6. The kernel measures precisely how far is from being injective. In the next chapter, these shifted copies get a name — cosets — and become the elements of a new group.
Same group, different names: isomorphism
Write out the table of the rotations of a square, and next to it the addition table of Rename and the first table turns into the second, entry for entry. The two groups are made of different things — turns of a square, hours on a clock — but as groups they are indistinguishable.
An isomorphism is exactly a renaming: a way of matching up the elements of and one for one so that the table of becomes the table of (The inverse of an isomorphism is automatically an isomorphism too, so the relationship goes both ways.) Some examples:
- The rotations of a square by
- The two signs under multiplication by
- The rotations of the triangle
- the powers of on a 5-hour clock are so the renaming turns clock addition mod 4 into clock multiplication mod 5.
- by An infinite group can be isomorphic to a part of itself — the integers and the even integers are “the same group”, merely with every name doubled.
How can we be sure that no renaming turns the rectangle’s table into that of Trying all six is one way, but there is a better one. An isomorphism preserves every property that can be stated in terms of the operation — being abelian, the number of subgroups, the orders of elements (Judson 2025, Thm 9.1.6). In the element has order In the rectangle group every element has order or every symmetry of a rectangle, done twice, is An isomorphism would have to send to an element of order and there is none. So the two groups are not isomorphic, even though both have four elements.
Similarly, and both have six elements, but is abelian and is not, so they cannot be isomorphic. This is the strategy of invariants, the same one topology uses to prove that two shapes are different (§0.1 The Shape of a Question): find a property that isomorphic groups must share, and show that it differs.
That completes the vocabulary, and leaves one question hanging. The warning “ is not a subgroup of said that clock arithmetic is the integers with the multiples of declared equal to zero. How do you do that to any group and any subgroup, and get a group back? The answer, the quotient group, opens the next chapter. It is the piece of algebra on which the definition of homology rests.
Exercises
Summary
Further reading
- A complete, free, open-source undergraduate textbook (on the American Institute of Mathematics list of approved open textbooks). Chapters 3, 4, 9 and 11 (groups, cyclic groups, isomorphisms, homomorphisms) go one step beyond this chapter, with many exercises.
- Visual Group Theory — Nathan CarterA whole book (MAA, 2009) built on pictures: Cayley diagrams, multiplication tables and symmetry. The ideal companion if this chapter’s figures helped you.
- A free web app: every group up to order 20, with linked Cayley diagrams, tables and cycle graphs. Find D₃ (called S₃ there) and compare its table with ours.
- A video essay on groups as collections of symmetries, building up to the Monster, a group whose elements can be pictured as symmetries of a space with 196,883 dimensions.
- A Book of Abstract Algebra — Charles C. PinterA famously friendly classic (Dover, 2nd ed. 2010). Its early chapters on groups, subgroups and homomorphisms are written for exactly the reader of this book.
- Short, careful notes on single topics: cyclic groups, homomorphisms, orders of elements. Excellent for a second look at any idea from this chapter.