Lab
Group actions, colorings and Burnside’s lemma
How do you count things when several apparently different objects are actually the same thing viewed from different angles?
When are two colorings actually different?
Suppose we color the four corners of a square.
If we have colors, there are obviously
ways to color the four vertices.
Four choices of vertex, choices each. Done.
Except perhaps not.
Imagine I draw this coloring on a piece of paper, then rotate the paper by .
Did I just create a new coloring?
Probably not.
It is the same colored square, merely viewed from a different direction.
So if we care about the square itself, rather than its orientation on the page, is overcounting.
We need to be able to separate these duplicate instances! We should then want to be able to say when two colorings can be obtained from the other by a symmtery of the square.
Enter group actions!
Symmetries are moves
The square has eight ways of moving it around without changing its shape:
- do nothing (equivalently, rotate by ),
- rotate by ,
- rotate by ,
- rotate by ,
- reflect it in four different ways.
These eight moves have some nice properties.
If you perform one symmetry and then another, the result is still a symmetry of the square.
There is a move which does nothing.
And every move can be undone.
That collection of reversible moves is a group.
For our purposes, that is enough intuition for now.
What is a group, actually?
A group is a set equipped with a binary operation
such that
- the operation is associative,
- there is an identity element satisfying ,
- every has an inverse satisfying
For the symmetries of the square, the elements of are geometric transformations and the operation is composition.
I will write for the eight-element symmetry group of the square.
Now let the moves act on something
The symmetries of the square are interesting by themselves.
But what we actually care about is what happens when those symmetries are applied to our colorings.
Take a coloring.
Rotate the square.
The colors move with the vertices, producing another coloring.
Reflect it.
Again, we get another coloring.
So we have:
That is the essential idea of a group action.
The below demo lets you choose a coloring of the square, apply some symmetry of the square and see how many “fake different” colorings you can make. “Fake different” refering to those instances of overcounting.
Try choosing an asymmetric-looking coloring and applying the different symmetries.
Then try a very symmetric coloring.
Notice how some colorings generate lots of visibly different versions of themselves, while others barely change at all.
That distinction will lead to something interesting below!
Current coloring
Color the square
Selected symmetry
rotate 90°
Rotate the square clockwise by 90 degrees.
before
after
Orbit
All versions of this coloring
The orbit is the collection of colorings reachable by rotating or reflecting the square. These are the colorings we agree to count as the same.
orbit size: 2
Stabilizer
Symmetries that do nothing
The stabilizer consists of the symmetries that leave this particular coloring unchanged.
stabilizer size: 4
Notice the pattern: orbit size × stabilizer size = 8, the size of the symmetry group of the square.
Burnside's lemma
Counting without overcounting
There are 16 raw colorings of the four vertices using 2 colors. Burnside's lemma counts the genuinely different ones by averaging how many colorings are fixed by each symmetry.
| symmetry | cycles | fixed colorings |
|---|---|---|
| identity | (A) (B) (C) (D) | 24 = 16 |
| rotate 90° | (A B C D) | 21 = 2 |
| rotate 180° | (A C) (B D) | 22 = 4 |
| rotate 270° | (A D C B) | 21 = 2 |
| vertical reflection | (A B) (C D) | 22 = 4 |
| horizontal reflection | (A D) (B C) | 22 = 4 |
| main diagonal reflection | (A) (B D) (C) | 23 = 8 |
| other diagonal reflection | (A C) (B) (D) | 23 = 8 |
(16 + 2 + 4 + 2 + 4 + 4 + 8 + 8) / 8 = 6
Define a group action precisely
Let be a group and let be a set.
An action of on is a function
satisfying
and
for every and .
The first condition says that the identity move really does nothing.
The second says that acting by and then by agrees with first composing the two group elements and then acting once.
In our example,
and is the set of all vertex colorings of the square.
Orbits: all the ways the same thing can look
Take one particular coloring and apply every symmetry of the square to it.
You obtain a collection of colorings.
That collection is called its orbit.
Intuitively:
The orbit contains all the appearances of an object that we have decided should count as the same object.
If two colorings lie in the same orbit, then one can be rotated or reflected into the other.
So when we say
“count colorings up to symmetry”
we are really counting orbits.
Stabilizers: which moves fail to change the object?
Now ask the opposite question.
Rather than asking
Which colorings can I reach?
ask
Which symmetries leave this coloring exactly as it is?
Those symmetries form the stabilizer of the coloring.
A completely generic-looking coloring might only be fixed by the identity.
A highly symmetric coloring may survive several rotations or reflections unchanged.
This creates a beautiful tradeoff:
the more symmetries an object has, the fewer distinct versions of it appear in its orbit.
For a square there are eight possible symmetries in total.
So if a coloring is fixed by four of them, it can only have two distinct appearances.
If it is fixed only by the identity, it has eight.
Orbit-stabilizer theorem
For , define its orbit by
and its stabilizer by
For a finite group,
Since the symmetry group of the square has eight elements,
More generally,
But how do we actually count the orbits?
We now know what we want to count.
Every orbit corresponds to one genuinely different coloring.
Unfortunately, listing every coloring, computing its orbit, and then removing duplicates is not a particularly elegant way to count them.
Enter Burnside’s lemma!
Instead of looking at each coloring and asking where all the symmetries send it, we reverse the question.
Take each symmetry and ask:
How many colorings does this symmetry leave completely unchanged?
Call that number
Burnside’s lemma says, roughly speaking, that
the number of genuinely different colorings is the average number of colorings fixed by a symmetry.
Formally,
What does each symmetry fix?
Start with the identity.
It moves nothing, so every coloring remains unchanged.
Therefore it fixes
colorings.
Now rotate by .
Every vertex moves to the next vertex.
For the coloring to look identical after the rotation, all four vertices must have the same color.
So only
colorings survive.
The same is true for the rotation.
A rotation pairs opposite vertices.
Each pair must have the same color, giving
fixed colorings.
A reflection across a diagonal leaves two vertices in place and swaps the other two.
That gives
fixed colorings.
There are two such diagonal reflections.
The other two reflections swap two pairs of vertices, giving
fixed colorings each.
Put everything together:
Hence
For two colors, there are
raw colorings, but only
genuinely different colorings once rotations and reflections are treated as the same.
Why does Burnside’s lemma work?
Consider all pairs
such that
We can count these pairs in two different ways.
If we first choose , then the number of possible is
So the total number of such pairs is
Instead, fix one orbit .
For each , there are
group elements fixing it.
Orbit-stabilizer gives
Therefore every orbit contributes exactly pairs.
If there are orbits, then
Dividing by gives
You can stop here
The central idea is surprisingly simple.
A group is, intuitively, a collection of reversible moves.
A group action lets those moves operate on some set of objects.
An orbit collects all objects which are equivalent under those moves.
A stabilizer records the moves which leave one particular object unchanged.
And Burnside’s lemma lets us count the orbits by averaging how many objects each symmetry fixes.
This is applicable to lots of cool stuff!
The square may seem like a contrived example, but the principle appears in a lot of interesting places.
A Rubik’s cube gives a group of legal moves acting on configurations of its pieces.
Permutations form groups acting on positions in a deck of cards.
Groups act on graphs, geometric objects, algebraic structures, solutions of equations, vector spaces, and many other things.
Whenever we say that two objects are “the same up to”
- rotation,
- reflection,
- relabeling,
- permutation,
- change of coordinates,
there is a decent chance that a group action is hiding nearby.
Symmetry also sits extremely deep in physics.
Noether’s theorem connects continuous symmetries of physical systems with conservation laws: time-translation symmetry with conservation of energy, spatial translation with conservation of momentum, and rotational symmetry with conservation of angular momentum.