What symmetry decides

How many invariants of each degree

A group moves the plane about, and some polynomials do not notice. How many independent ones there are at each degree is a sequence of integers, computed here by a recursion on traces and again by averaging every monomial — two routes that share no code and agree everywhere.

Assumes What a group does to a function, The orbit is the pattern and Before the lattice has a say.

The previous ladder asked what a group does to a function, and answered it with characters: the space of functions splits into pieces the group keeps separate, and the sizes of those pieces are integers computed from traces. This one asks the smaller and older question inside it. Which functions does the group not move at all?

Such a function is an invariant: a polynomial f with f(Mv) = f(v) for every operation M of the group. There are always some — constants, for a start, and the sum of the squares of the coordinates for any group of rotations and reflections — and the useful question is how many independent ones there are at each degree. That count is a sequence of integers, one per degree, and almost every statement this collection makes about what symmetry decides for a physical property is a statement about its first few terms.

4mm: how many independent invariants there are at each degree. The number of independent polynomial invariants of the plane point group 4mm, one bar per degree from 0 to 8. The heights are the coefficients of the Molien series, computed from an integer recursion on the trace and determinant of each operation. A dot above a bar marks a degree where the same number has been computed a second way, by averaging every monomial of that degree over the group and taking the rank of the result — a computation sharing no code with the first. The two agree at every degree checked. Degrees where the bar is absent hold no invariant at all: for 4mm that is every odd degree below the first invariant, and it is a statement about which functions the group refuses to leave alone.
Fig. 1 The number of independent polynomial invariants of 4mm at each degree, from the constant at degree zero to degree eight. Odd degrees are empty, because 4mm contains the half-turn and an odd-degree polynomial changes sign under it. The dots mark degrees where the same number has been computed a second time, by a route with nothing in common with the first.

The counting is a rational function

Molien’s theorem gives the whole sequence at once, as the expansion of

Φ(t)=1GgG1det(ItMg)\Phi(t) = \frac{1}{|G|}\sum_{g \in G} \frac{1}{\det(I - tM_g)}

whose coefficient at tᵈ is the number of independent invariants of degree d. Nothing about the statement is obvious, and the shape of it is worth pausing on: a sum over the group of one over a determinant, and out of it comes a count of polynomials.

In two dimensions that determinant is small enough to write down. For a two-by-two matrix, det(I − tM) = 1 − (tr M)t + (det M)t², so every term of the sum is one over a quadratic whose two coefficients are the trace and the determinant of a single operation. Both are integers, because every operation of a plane point group is an integer matrix in the lattice’s own basis.

That makes the expansion an integer recursion. Writing aₙ for the coefficients of one term,

an=(trM)an1(detM)an2,a0=1a_n = (\operatorname{tr} M)\,a_{n-1} - (\det M)\,a_{n-2}, \qquad a_0 = 1

and the answer for the group is the sum of those sequences divided by the order. The division has to come out exactly, and that is the first thing this machinery checks: a remainder is not a rounding error but a statement that the input was not a group.

What a non-group produces

The check earns its place, because the failure it catches is quiet. Hand the recursion a set of matrices that is not closed — a four-fold rotation without its own square, say — and nothing goes wrong. The traces exist, the determinants exist, the recursion runs, and the sum divides by two at every degree, giving a sequence of perfectly respectable whole numbers that are the dimensions of nothing whatever.

So the closure is tested by multiplication before any series is computed, rather than inferred afterwards from the answer looking plausible. That is the same discipline the round trip applies to a pattern: a computation whose failure mode is a believable wrong answer needs a test that is not the answer.

4mm against 4: the same order, different invariants. The invariant dimensions of 4mm and 4 at each degree, side by side. 4mm has a free ring with degrees 2 and 4; 4 carries a relation among three generators. A group with a reflection and one without can have the same order and still differ at every degree, because what decides the count is not how many operations there are but how they act — and the difference is visible from the third degree onwards.
Fig. 2 4mm and 4 side by side. The two groups differ in order by a factor of two and in their invariants at every degree from the fourth: 4 has an extra invariant of degree four that 4mm does not, because the reflections of 4mm move it. What decides the count is not how many operations a group has but how they act.

The second route, which produces the polynomials

The trace formula counts invariants without ever producing one. The other route produces them, and it is the averaging projector applied to polynomials rather than to a metric.

Take a monomial of degree d, push it through every operation of the group, and add the results. The sum is invariant by construction — applying another operation permutes the terms — and it is |G| times the projection of the monomial onto the space of invariants. Do that to every monomial of that degree, take the rank of what comes back, and the rank is the dimension of the invariant space.

That is exact integer linear algebra on polynomials, sharing no line of code with the recursion above: one substitutes linear forms into a polynomial and eliminates, the other multiplies traces. They agree at every degree of every one of the ten classes, and the second hands back a basis a figure can draw.

The arithmetic is done in arbitrary-precision integers, and not out of caution. Averaging a degree-twelve monomial over the twelve operations of 6mm on a hexagonal basis produces coefficients in the tens of thousands, and the elimination that takes the rank multiplies them again. A rank computed in floating point is a rank that can be wrong without saying so, and the failure would be a dimension — a whole number, believable, and out by one.

3: how many independent invariants there are at each degree. The number of independent polynomial invariants of the plane point group 3, one bar per degree from 0 to 9. The heights are the coefficients of the Molien series, computed from an integer recursion on the trace and determinant of each operation. A dot above a bar marks a degree where the same number has been computed a second way, by averaging every monomial of that degree over the group and taking the rank of the result — a computation sharing no code with the first. The two agree at every degree checked. Degrees where the bar is absent hold no invariant at all: for 3 that is every odd degree below the first invariant, and it is a statement about which functions the group refuses to leave alone.
Fig. 3 The threefold group, whose sequence is not the one a reader expects. There are two independent invariants at degree three, none at degree four or five, and three at degree six. Odd degrees are not empty here, because 3 does not contain the half-turn: nothing in it forces an odd polynomial to change sign.

Reading the sequence

A few features of the sequence say something immediately.

The value at degree two is one for every class but two. A group with a rotation of order three or more fixes exactly one quadratic form up to scale, and that form is the metric — the statement that a finite group of matrices preserves a metric, which this collection proves by averaging, read off a Molien coefficient. For 1, 2, m and 2mm the value is larger, and those are exactly the classes whose lattices have a shape a symmetry argument does not fix.

A zero is a prohibition. Where the coefficient is zero there is no invariant of that degree at all, so a physical quantity whose symmetry is that of a degree-d form is required to vanish. Every statement of the form this class cannot be piezoelectric is a zero in a sequence of this kind, and Neumann’s principle is the assertion that the physics has to obey the arithmetic.

The sequence grows, and how fast is a fact about the order. Far out, the number of invariants of degree d is about d/|G|: the space of forms of degree d has dimension d + 1, the group acts on it, and the invariants are one orbit’s worth. The largest groups have the sparsest sequences, which is the sense in which more symmetry means fewer permitted quantities.

The polynomials are not the counts

The counts are a fact about the group; the polynomials are a fact about the coordinates, and this collection has made the distinction before about elastic constants.

Molien’s formula uses each matrix only through its trace and its determinant, and both survive a change of basis. So the counts are the same whatever coordinates the group is written in — including the lattice basis, where a threefold rotation is the integer matrix with entries 0, −1, 1, −1 and looks nothing like a rotation.

The invariants themselves are not basis-free at all. On a hexagonal basis the quadratic invariant of 3 is x² − xy + y², not x² + y², and a reader who expects the second and finds the first has met the basis rather than an error. The two polynomials describe the same curves; the coordinates differ.

The level curves of 3m's invariant of degree 2. The curves on which the invariant x² − xy + y² takes the values 1, 4 and 12, drawn in the lattice's own basis with the basis vectors marked and the mirror lines of 3m across them. The middle curve is drawn solid and the others faintly. The polynomial is invariant under every operation of the group — checked by substituting each matrix into it and requiring the coefficients to come back unchanged — so every one of those operations carries each curve onto itself. On a hexagonal basis the quadratic invariant is x² − xy + y² rather than x² + y², and its level curves are still circles: the polynomial is a fact about the coordinates, the curve is a fact about the plane.
Fig. 4 The level curves of the quadratic invariant of 3m, drawn in the lattice basis with the basis vectors and the group’s mirror lines across them. The polynomial is x² − xy + y² and the curves are circles: what the hexagonal coordinates do to the polynomial they undo to the picture.

The whole census

Doing this for all ten plane classes gives the table the rest of this ladder argues from. It is worth setting out here in full, because several later claims are single columns of it.

Six of the ten plane classes have a free invariant ring, and four do not. Every plane point group, with the degrees of the generators of its invariant ring, whether the ring is free, and the relation where it is not. The six generated by their own reflections — 1, m, 2mm, 4mm, 3m and 6mm — have two generators whose degrees multiply to the order of the group, which is Chevalley's theorem checked rather than quoted. The four without reflections — 2, 4, 3 and 6 — need three generators in two variables, so one polynomial relation ties them together, and the degree that relation appears at is printed at the right of its row. Nothing here is a lookup: the generators are found degree by degree as the invariants the earlier ones do not reach, and the relation is the kernel of the map back to polynomials.
Fig. 5 Every plane point group, with the degrees of the generators of its invariant ring, whether that ring is free, and the relation where it is not. Six of the ten are generated by their own reflections and have two generators; the four that are not need three, and one polynomial identity ties those three together.

Two facts stand out of it and each gets an essay of its own. The six classes with a free ring are exactly the six generated by reflections, which is Chevalley’s theorem and is checked here rather than quoted. And the four without reflections need a third generator, so a relation appears — an identity the three generators satisfy, found as the kernel of a map rather than looked up.

What the invariants are for

The reason to count invariants rather than to admire them is that a physical property with a symmetry is an invariant of that symmetry, and the count of independent invariants of the right degree is the count of numbers a measurement can return.

A fully symmetric property tensor of rank r is a form of degree r in disguise: its components are indexed by a multiset of r directions and the polynomial’s coefficients are indexed the same way. So the number of independent components a class permits for such a property is a Molien coefficient, and the table of permitted components is a table of these sequences read down a column.

That correspondence stops where a property’s symmetry is not that of a form, and the elastic tensor is the standard place it stops. Its indices are symmetric within each pair and under exchanging the pairs, which is not the symmetry of a degree-four polynomial, and its counts are not in the table. A property with its own symmetries needs its own average.

How many components a property may have, at each rank and in each class. One row per plane point group, one column per rank of a fully symmetric property tensor, with the number of independent components in each cell — counted by averaging the tensor over the group index by index, and equal at every entry to the Molien coefficient of that degree. A symmetric property of rank r is a form of degree r, so Neumann's principle and the invariant ring are the same arithmetic in two notations. The last column is the elastic tensor, which is not fully symmetric — symmetric within each pair of indices and under exchanging the pairs — and its counts are not in the table to its left. A property with its own symmetries needs its own average, and that is why the elastic constants are not read off a degree.
Fig. 6 The components each class permits, at each rank of a fully symmetric property, with the elastic tensor beside them. The body of the table is the Molien sequence read down a column; the last column is not, and the gap between them is the difference between a form and a tensor with a symmetry of its own.

One case, worked by hand

The recursion is short enough to run without a computer, and doing it once makes the rest of this ladder concrete.

Take 2mm, which has four operations: the identity, the half-turn, and two mirrors. Their traces are 2, −2, 0 and 0; their determinants are 1, 1, −1 and −1. So the four sequences are

  • the identity, aₙ = 2aₙ₋₁ − aₙ₋₂, giving 1, 2, 3, 4, 5, …;
  • the half-turn, aₙ = −2aₙ₋₁ − aₙ₋₂, giving 1, −2, 3, −4, 5, …;
  • each mirror, aₙ = aₙ₋₂, giving 1, 0, 1, 0, 1, ….

Averaging the four at each degree gives 1, 0, 2, 0, 3, 0, 4 — one invariant at degree zero, none at degree one, two at degree two, and so on up by one every second degree. Those two quadratic invariants are and , which is the statement that a rectangular lattice’s shape is not fixed by its symmetry: the two axes may be scaled independently and 2mm does not object.

The identity always contributes the sequence 1, 2, 3, 4, …, since its term is 1/(1 − t)², and every other operation contributes something smaller. So the leading behaviour of every one of these sequences comes from a single operation, and the rest of the group is a correction. That is the arithmetic form of the statement that a group of order |G| divides the polynomials into orbits of size at most |G|.

A sequence that is a rational function

The sequences here are not arbitrary. Every one of them is the expansion of a rational function whose denominator is a product of factors 1 − tᵈ — the generating function of a graded ring — and the exponents in that denominator are the degrees of a set of generators.

That is a strong statement and it is checked rather than assumed: for each class, every pair of degrees whose product is the order of the group is tried, and the pair whose series matches the Molien coefficients term by term is reported. Where no pair matches, the ring is not free and the routine says so instead of returning a plausible pair.

The invariant degrees exist for every n; the lattice permits five of them. The reflection group with an n-fold rotation has an invariant ring generated in degrees 2 and n, for every n whatever — the dimensions on the right are counted by pairing monomials in complex coordinates, which needs no matrix and therefore no lattice. Five of these groups can be written in integer matrices, and those five are named in the middle column; the rest cannot, because a lattice has no five-fold or seven-fold rotation. The crystallographic restriction is usually a statement about traces of matrices. Here it is the statement that only five of these invariant rings belong to a crystal, and the two arguments have nothing in common but their answer.
Fig. 7 The invariant degrees of the reflection groups, for every rotation order rather than only the crystallographic ones. The ring exists for each of them; the middle column names the five that can be written in integer matrices, and the rest cannot because no lattice has such a rotation.

Reading a denominator as a list of degrees is the move that makes the next two essays possible, and it is also where the crystallographic restriction turns up in a form nobody would have predicted: the degrees of the reflection group with an n-fold rotation are 2 and n, for every n, and only five of those groups belong to a lattice.

What is proved and what is checked

The distinction matters here as much as anywhere in this collection, because two of the three statements above are theorems and the third is an agreement between computations.

Molien’s theorem is a theorem, proved in 1897 and not proved here; what is done here is to evaluate it. The claim that the coefficients count invariants is imported.

The agreement of the two routes is a measurement. The averaged-monomial computation is an independent implementation of the same count, run at every degree up to six on every class, and it agrees. That is evidence about the code rather than about mathematics: it would have caught a sign error, a mis-transposed matrix, or an element list missing an operation, and it did catch the last of those while this was being written.

The closure test is a refusal. It is the assertion that runs when the input is wrong, and it is fed a set that is not a group as part of the site’s gate, so that it cannot quietly stop working.

The habit this collection runs on is that every claim gets a test it could fail. For a count of invariants the test cannot be a picture — a polynomial’s dimension count is not visible in a drawing — so it has to be a second computation, and the second computation has to share nothing with the first. Two implementations of one formula agreeing proves that the formula was typed twice.

Dropping one invariant of 4mm takes 170 cells to break. Every lattice point within four cells of the origin, coloured by the values a proper subset of 4mm's invariants takes on it — the 2 generators with the first one removed, over a window of 14 cells. With the full set, the 120 orbits of the group take 120 distinct sets of values, one each, so the invariants are a complete set of coordinates on the quotient. With one removed, the two circled points — in different orbits, so no operation of the group carries one to the other — take the same values and become indistinguishable. That is the whole content of the statement that a complete set of invariants separates orbits: the completeness is what is doing the work. No pair inside the drawn window does it here: the smallest one is printed underneath, and it sits far outside any window a figure can hold, because two orbits agree on a quartic invariant only when two sums of fourth powers agree.
Fig. 8 What the invariants are ultimately for: telling orbits apart. Every lattice point near the origin, coloured by the values a proper subset of 4mm’s invariants takes on it — here the quartic alone, with the quadratic removed. No pair inside the drawn window fails, and the smallest pair that does is printed underneath: two orbits agree on x⁴ + y⁴ only when two sums of fourth powers agree, which first happens at 59, 158 against 133, 134.

Why there is a finite list of generators at all

The census prints, for each class, the degrees of the generators of its invariant ring. That there is a finite list is not obvious from anything above — the counts grow without limit, so there are invariants of every large degree — and the fact that finitely many of them generate the rest is a theorem with a history worth telling.

Hilbert proved it in 1890, for a much wider class of groups than these, and the proof was famously indirect: it establishes that a finite generating set exists without producing one, by an argument about ideals in a polynomial ring. Paul Gordan, who had spent years computing generating sets by hand for particular cases, is supposed to have said that it was not mathematics but theology.

The remark is unfair and the complaint underneath it is not. An existence proof does not tell a computation when to stop. A search for generators that has found several and is looking for more has no way, from Hilbert’s theorem alone, to know whether it is finished — which is the same difficulty the site’s other searches have wherever a bound is not available.

The answer for a finite group came later. Noether’s bound, from 1916, says the invariant ring of a finite group of order |G| is generated in degrees at most |G|. That is a computable stopping rule: search up to degree |G|, and anything not generated by what has been found by then does not exist.

For the plane classes that bound is small. The largest of them has order twelve, so the search runs to degree twelve, and the generators all turn up far below it — degrees two, four and six for the largest classes, and the census reports them. So the finiteness is Hilbert’s, the stopping rule is Noether’s, and the degrees are this page’s, and only the last of those three is computed here.

What the counting cannot do

One boundary is worth stating plainly, because the sequence looks like more of an answer than it is.

The Molien series counts invariants of each degree, and it counts them as a vector space — how many linearly independent polynomials of that degree are fixed by the group. The ring structure is invisible to it: the series does not say which invariants are products of smaller ones and which are new.

That distinction is the whole of the generator question. An invariant of degree four may be the square of a quadratic invariant, in which case it is nothing new, or it may be independent of everything below it. The counts are the same either way, so the sequence alone cannot distinguish a class whose invariants are all built from one quadratic from a class with a genuinely new invariant at every even degree.

Separating them takes the second route, the one that produces the polynomials rather than counting them: build the products of the known generators at each degree, compare their span against the count, and any shortfall is a new generator. That is a computation over polynomials rather than over integers, it is what fills the census’s degree column, and it is the reason two independent implementations are worth having — the recursion says how many there should be, and the linear algebra says which ones they are.

Where the ladder goes next

Counting is the first rung and the least of it. The sequence has structure — it is the expansion of a rational function whose denominator is a product of terms 1 − t^d, and those d are the degrees of a set of generators — and that structure is where the subject becomes interesting.

The next two essays take it apart: which groups have generators that are algebraically independent, and what happens in the four that do not. After them the same arithmetic decides two things that look nothing like polynomial algebra — whether a transition may be continuous, and which rotation orders a lattice permits, read off the degrees rather than off the traces.

What this makes readable

Essays that name this one as a prerequisite.

Named alongside this one

Essays reaching for the same objects. Nobody chose these; they are what the concept index makes visible.

What links here

Every essay whose body links to this one.

The objects this essay names

Each one links to every other essay that touches it.

Averaging projectorCharacterGenerating functionInvariant polynomialInvariant ringMolien seriesPoint group