Back to lab

What are group actions?

We begin by semi-rigorously defining what a group action is. Now, it is a bit silly to try to define what group actions are without the prerequisite knowledge of what a group is. The definition of what a group is can be found in many places on the internet with good introductions on youtube, but for our purposes the rigorous background is not that important in my opinion. I will almost ceirtanly make a page on groups at some point, in which case I shall link to it here.

For this little introduction and demo we will introduce group
actions as follows.

Loosely speaking, a group (G,)(G,\circ) (usually denoted GG when the operation \circ is obvious) is a set GG and a binary operation :G×GG\circ : G \times G \to G which acts as multiplication on the elements of GG. For some intuition common examples of groups are Z\mathbb Z with addition, R{0}\mathbb R\setminus\{0\} with multiplication. Some fun, and perhaps surprising at first, examples of groups are the bijections on [n][n] under function composition, and the configurations of the standard Rubik’s cube generated by {F,B,U,D,L,R}\{F,B,U,D,L,R\}.

An action of a group GG on a set SS is an operation that takes an element of GG and an element of SS and returns an element of SS in a way which makes sense. So a group action ι\iota is a function

ι:G×XX \iota : G \times X \to X

satisfying

ι(e,x)=xι(g,ι(h,x))=ι(gh,x) \iota(e,x) = x \\ \iota(g,\iota(h,x)) = \iota(gh,x)

for all g,hGg,h \in G and all xXx \in X. Here eGe \in G denotes the identity element of GG (the element which does nothing).

Some examples include the Rubik’s cube group acting on 4848 colored stickers or the physical corner and edge pieces of the cube, and the symmetric group S52S_{52} acting on the 5252 positions in a standard deck of cards.

Why group actions are useful

A surprisingly common problem in mathematics is that the objects we are counting have symmetries.

Suppose we color the four vertices of a square. If we use kk colors, then the naive count is simply

k4.k^4.

There are four vertices, and each one gets one of kk colors. Easy.

But this count is a little dishonest if we care about the square itself rather than the particular drawing of it on the page. Rotating or reflecting the square should not always give us a genuinely new coloring. It is often the same coloring, just viewed from a different angle.

This is where group actions are useful.

A group action is a systematic way for a group of symmetries to act on a collection of objects. In this case, the symmetry group of the square acts on the set of vertex colorings. Two colorings should be considered the same if one can be transformed into the other by rotating or reflecting the square.

Current coloring

Color the square

ABCD

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.

ed₁d₂

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.

raw colorings24 = 16
unique up to symmetry6
symmetrycyclesfixed 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

Orbits and stabilizers

The orbit of a coloring is the collection of all colorings you can reach from it by applying symmetries. These are the versions of the coloring that we agree to count as the same.

The stabilizer of a coloring is the collection of symmetries that leave it unchanged. Some colorings have lots of symmetry. Some have almost none.

For a square, there are eight symmetries in total: four rotations and four reflections. The orbit-stabilizer theorem says that

Orb(x)Stab(x)=G.|\operatorname{Orb}(x)| \cdot |\operatorname{Stab}(x)| = |G|.

In this case, that means

Orb(x)Stab(x)=8.|\operatorname{Orb}(x)| \cdot |\operatorname{Stab}(x)| = 8.

The interactive demo above lets you see this directly. A very symmetric coloring has a small orbit and a large stabilizer. A generic-looking coloring has a large orbit and a small stabilizer.

Burnside’s lemma

The final counting trick is Burnside’s lemma. It says that the number of genuinely different objects is the average number of objects fixed by a symmetry:

colorings/G=1GgGFix(g).|\text{colorings}/G| = \frac{1}{ |G| } \sum_{g \in G} |\operatorname{Fix}(g)|.

For square vertex colorings, the group GG is the symmetry group of the square. Each symmetry permutes the four vertices. A coloring is fixed by a symmetry exactly when all vertices in the same cycle have the same color.

That is why the identity fixes k4k^4 colorings, a 90-degree rotation fixes only kk colorings, and a diagonal reflection fixes k3k^3 colorings.

So for the square we get

colorings/D4=k4+2k3+3k2+2k8.|\text{colorings}/D_4| = \frac{k^4 + 2k^3 + 3k^2 + 2k}{8}.

For example, with two colors there are 24=162^4 = 16 raw colorings, but only

24+223+322+228=6\frac{2^4 + 2 \cdot 2^3 + 3 \cdot 2^2 + 2 \cdot 2}{8} = 6

different colorings up to symmetry.

Some applications

This example is quite small and might seem pretty silly and inconsequential, but the underlying idea is central in plenty of areas of mathematics, and even outside mathematics.

For instance, symmetry is fundamental in physics. Noether’s theorem says, roughly, that continuous symmetries of a physical system give rise to conservation laws. Time-translation symmetry corresponds to conservation of energy, space-translation symmetry to conservation of momentum, and rotational symmetry to conservation of angular momentum.

Group actions also show up in chemistry, where symmetries help us recognize when molecular structures should be considered the same. More generally, this kind of thinking appears whenever we care about objects only up to symmetry: necklaces, graphs, tilings, molecules, physical systems, and plenty of other things.