AnyLearn
All lessons
Mathintermediate

Symmetry Groups: Crystals, Conservation Laws, and Neural Networks

Group theory earns its keep when a symmetry argument settles a physical question no calculation was going to answer. This lesson covers group actions and counting up to symmetry, why crystals cannot have five-fold rotation and what happened when one did, Noether's link between symmetry and conservation, and how the same idea is built into modern networks.

Updated · AI-authored, review-gated · how lessons are made

Not signed in: your progress and quiz score won't be saved.
Progress1 / 10

Groups act on things

A group on its own is abstract. It becomes useful when it acts: each element is a transformation of some set, and composing elements composes transformations.

Two objects come out of an action. The orbit of a point is everywhere the group can send it. The stabiliser is the subgroup of elements that leave it fixed. They are linked by a counting result you can prove with cosets, exactly as in the previous lesson:

orbit(x)stabiliser(x)=G|\text{orbit}(x)| \cdot |\text{stabiliser}(x)| = |G|

Try it: Take the 24 rotations of a cube acting on its 6 faces. One face can be sent to any of the 6, so its orbit has size 6. Its stabiliser is the 4 rotations about the axis through it. And 6×4=246 \times 4 = 24. The theorem is really just Lagrange again, wearing the clothes of geometry.

Full lesson text

All 10 steps on one page, for reading, reference, and search.

Show

1. Groups act on things

A group on its own is abstract. It becomes useful when it acts: each element is a transformation of some set, and composing elements composes transformations.

Two objects come out of an action. The orbit of a point is everywhere the group can send it. The stabiliser is the subgroup of elements that leave it fixed. They are linked by a counting result you can prove with cosets, exactly as in the previous lesson:

orbit(x)stabiliser(x)=G|\text{orbit}(x)| \cdot |\text{stabiliser}(x)| = |G|

Try it: Take the 24 rotations of a cube acting on its 6 faces. One face can be sent to any of the 6, so its orbit has size 6. Its stabiliser is the 4 rotations about the axis through it. And 6×4=246 \times 4 = 24. The theorem is really just Lagrange again, wearing the clothes of geometry.

2. Counting things that are the same after rotation

How many distinct dice can you paint with two colours, if two paintings are the same when one can be rotated into the other? Enumerating gives 26=642^6 = 64 paintings, but that overcounts wildly.

Burnside's lemma answers it: the number of orbits is the average number of arrangements each group element leaves fixed.

#orbits=1GgGFix(g)\#\text{orbits} = \frac{1}{|G|}\sum_{g \in G} |\mathrm{Fix}(g)|

For the cube's 24 rotations, grouped by type:

Rotation typeCountFace cyclesFixed colourings
identity1626=642^6 = 64
90 degrees about a face axis6323=82^3 = 8
180 degrees about a face axis3424=162^4 = 16
120 degrees about a vertex axis8222=42^2 = 4
180 degrees about an edge axis6323=82^3 = 8

The total is 240, and 240/24=10240 / 24 = 10. Ten distinct dice, not 64. With three colours the same computation gives 57.

3. The symmetries a repeating pattern is allowed

Now let the group act on an infinite periodic lattice. Something remarkable falls out: the rotations compatible with translational periodicity are only those of order 1, 2, 3, 4 and 6.

The argument is short. Take the shortest translation vector in the lattice. If a rotation of order nn exists, applying it to that vector generates other lattice vectors, and for n=5n = 5 or n7n \geq 7 the combination produces a translation shorter than the one you started with, contradicting its minimality.

Key idea: No periodic tiling of the plane can have five-fold rotational symmetry. Not "none has been found": none can exist. This is the crystallographic restriction theorem, and it is a group-theoretic result with an experimental consequence, which is a rare and powerful combination.

That is why you see hexagons and squares in tilings and honeycombs, and why regular pentagons never tile a floor.

4. The complete catalogue of repeating patterns

Combining the allowed rotations with reflections, glides and translations gives a finite list of possible symmetry types, in every dimension.

How many distinct symmetry types a repeating pattern can have
distinct groups050100150200250717230frieze (1D repeat)wallpaper (2D repeat)space groups (3D)
Source: Standard crystallographic classification; the 230 three-dimensional space groups are enumerated in the International Tables for Crystallography

Seven ways to decorate a strip. Seventeen ways to tile a wall, a fact the Alhambra's builders arguably exhausted by hand centuries before it was proved. And exactly 230 ways for atoms to repeat in three dimensions.

That last number is not a survey of known crystals. It is a complete enumeration: every crystal that exists, and every crystal that ever will, belongs to one of 230 groups. New materials appear constantly and new space groups cannot.

5. When the forbidden symmetry showed up anyway

Predict first

On 8 April 1982, Dan Shechtman put a rapidly cooled aluminium-manganese alloy under an electron microscope and got a sharp diffraction pattern with ten-fold symmetry. His notebook entry reads "10fold??". The crystallographic restriction says this is impossible. What was wrong?

Key idea: A theorem is only as strong as its hypotheses, and the useful reading of a contradiction is to ask which hypothesis nature declined to satisfy. The mathematics was never in question; what changed was the class of objects it was being applied to.

6. Continuous symmetry

The groups so far have been finite or discrete. Rotating a sphere can be done by any angle, so its symmetry group is continuous: a Lie group, one that is also a smooth manifold.

GroupElementsActs on
U(1)U(1)phases eiθe^{i\theta}a circle; electromagnetic phase
SO(2)SO(2)rotations of the plane2D orientation
SO(3)SO(3)rotations of 3D spacerigid-body orientation, robot poses
SE(3)SE(3)rotations and translationsfull rigid-body pose
SU(2)SU(2), SU(3)SU(3)complex unitary matricesquantum spin, quark colour

SO(3)SO(3) is where robotics lives, and its structure has practical consequences: it is not simply connected, which is the deep reason why three Euler angles cannot cover all orientations without gimbal lock, and why quaternions, which live in SU(2)SU(2), are used instead.

Continuous groups have infinitely many elements but a finite number of independent directions of motion, which is what makes them tractable and is the subject of Lie theory.

7. Noether: every continuous symmetry is a conservation law

In 1918 Emmy Noether proved that if a physical system's laws are unchanged by a continuous symmetry, some quantity is exactly conserved, and the correspondence is precise rather than poetic.

Symmetry of the lawsConserved quantity
Time translation: the laws are the same tomorrowenergy
Space translation: the same here and theremomentum
Rotation: no preferred directionangular momentum
U(1)U(1) phase: quantum phase is unobservableelectric charge

This inverted the logic of physics. Conservation of energy stopped being an empirical regularity and became a consequence of the observation that experiments give the same results next week.

Key idea: Modern physics is largely built by choosing a symmetry group and asking what theory is consistent with it. The Standard Model is specified by SU(3)×SU(2)×U(1)SU(3) \times SU(2) \times U(1), and the forces are what those symmetries require. Group theory is not a description applied afterwards; it is the input.

8. Symmetry as an architectural choice

The same idea appears in machine learning under the name equivariance. A function is equivariant to a group when transforming the input transforms the output the same way:

f(gx)=gf(x)f(g \cdot x) = g \cdot f(x)

A convolution is equivariant to translation by construction: shift the image and the feature map shifts identically. That is not a learned property, it is built into the operation, and it is why a convolutional network needs far fewer examples than a fully connected one to learn that a cat is a cat wherever it appears in the frame.

  • Translation equivariance gives convolutional networks
  • Rotation and reflection equivariance gives group-equivariant networks, used in medical and satellite imagery where there is no canonical orientation
  • Permutation invariance gives graph networks and set-based models, where reordering the input must not change the answer
  • SE(3)SE(3) equivariance gives molecular and protein models, where a rotated molecule is the same molecule

In practice: Building a symmetry in is a hard constraint; learning it from data is a soft one that costs examples and can fail quietly. Where the symmetry is genuinely exact, encoding it is nearly always the better trade.

9. Where symmetry breaks

A symmetry of the laws need not be a symmetry of the outcome, and the gap is where most of the interesting physics and chemistry lives.

A pencil balanced on its tip is rotationally symmetric. It falls in one direction. Nothing in the setup preferred that direction, and the result has less symmetry than the situation that produced it. This is spontaneous symmetry breaking, and it explains why a magnet has a north pole despite the underlying physics having no preferred axis, and why water freezing into ice picks one of the 230 space groups out of a rotationally symmetric liquid.

Gotcha: "The system is symmetric" and "the state is symmetric" are different claims. Confusing them produces predictions that a symmetric setup must give a symmetric answer, which is false in general and is exactly what makes phase transitions possible.

The same failure mode appears in optimisation: a loss function symmetric under permuting hidden units has many equivalent minima, and gradient descent picks one arbitrarily.

10. What a symmetry argument buys you

The recurring pattern in this lesson is that identifying a group answers a question no direct calculation was going to reach.

  1. It rules things out completely. No five-fold periodic crystal, no 231st space group. Impossibility results are the strongest kind and are almost always symmetry arguments.
  2. It counts things up to sameness. Burnside turned an intractable enumeration into an average over 24 rotations.
  3. It produces conserved quantities. Noether converts a statement about invariance into a number that does not change.
  4. It constrains what is possible before you know the details. Selection rules in spectroscopy forbid transitions on symmetry grounds alone, without solving anything.
  5. It can be built into a model. Equivariant architectures get a property for free that a general model would have to learn.

The next lesson pushes this one step further, to a case where a symmetry group settles a question that resisted mathematicians for three centuries.

Check your understanding

The lesson ends with a 5-question quiz. Take it in the player above to see your score.

  1. A cube's 24 rotations act on its 8 vertices. What is the stabiliser of one vertex?
    • 3 elements, since orbit 8 times stabiliser 3 equals 24
    • 8 elements, one per vertex
    • 1 element, the identity only
    • 4 elements, matching the face case
  2. Why can no periodic crystal have five-fold rotational symmetry?
    • Because pentagons cannot be manufactured at atomic scale
    • Because a five-fold rotation applied to the shortest lattice vector generates a shorter one, contradicting minimality
    • Because five is prime and lattice symmetries must have composite order
    • Because no known material has that structure
  3. Shechtman observed ten-fold diffraction symmetry in 1982. What did this overturn?
    • The crystallographic restriction theorem, which was found to be false
    • The claim that diffraction patterns reflect atomic structure
    • Nothing: the observation was later retracted
    • The assumption that all ordered solids are periodic, since quasicrystals are ordered without repeating
  4. According to Noether's theorem, which symmetry corresponds to conservation of momentum?
    • Rotational symmetry
    • Time-translation symmetry
    • Space-translation symmetry
    • U(1) phase symmetry
  5. Why does a convolutional layer need fewer examples than a dense layer to recognise a shifted object?
    • It is translation-equivariant by construction, so the property is built in rather than learned from data
    • It has more parameters, so it generalises better
    • It applies random shifts during training automatically
    • Convolution is invariant to all transformations, not just translation

Related lessons

Math
intermediate

What a Group Is, and Why the Axioms Are So Bare

A group is a set with one operation obeying four rules, and that deliberate poverty is the point: anything proved about groups holds for rotations, permutations, integers, XOR and Rubik's cube at once. This lesson builds the definition from symmetry, works through the symmetries of a square, and shows where groups already sit in code.

10 steps·~15 min
Math
advanced

Why There Is No Quintic Formula

Quadratics, cubics and quartics all have formulas in radicals. The general fifth-degree equation has none, and not because nobody clever enough has tried. This lesson explains how permuting the roots turns an algebra question into a group question, and why the answer changes at degree five when a group of order 60 refuses to break down.

10 steps·~15 min
Math
intermediate

Subgroups, Cosets, and Lagrange's Theorem

Cosets cut a group into equal-sized blocks, and one counting argument then forces every subgroup's size to divide the group's. This lesson proves that, derives Fermat's little theorem from it as a corollary, and introduces the maps that let you compare two groups and say precisely when they are the same object.

10 steps·~15 min
Science
advanced

Why Nobody Deploys It: The Gap Between Proof and Product

QKD has an unconditional security proof and almost no deployment. This lesson covers the authentication bootstrap it cannot solve, distance limits and the trusted node compromise, attacks on real hardware that the proof does not cover, why NSA and NCSC recommend against it, and where quantum genuinely delivers.

8 steps·~12 min