contents
§2

The cube group G

Write the solved state as . Each "turn a face 90° or 180°" is a permutation acting on the positions and orientations of the 26 cubies. The set G consists of all permutations producible by composing such turns.

Definition 2.1 — the cube group
The group generated by the six face turns U, D, L, R, F, B. Each generator is a 90° clockwise face turn; its inverse is the CCW turn (U′), its square is the half-turn (U2), giving the standard working set of 18 moves.

The six generators — click any face below; cubing.js will animate it.

U
Up
D
Down
R
Right
L
Left
F
Front
B
Back
Aside: the slice moves M, E, S and full rotations x, y, z are not extra generators of G. They are derived: M = R' L x', etc. They exist only as a notational convenience.

2.1 Generating set — 18 or 6?

The minimal generating set has 6 elements (the six face turns), but in notation we usually write 18: each face × 3 angles (90°, 180°, 270° = the inverse U′). These 18 constitute the Half-Turn Metric (HTM) used in WCA competition.

The stricter Quarter-Turn Metric (QTM) only allows 90° turns (180° counts as two). In QTM, the generating set has 12 elements, and the group's diameter rises to 26.

Definition 2.2 — metric on a group
Given a generating set , for any , define as the minimum number of S-tokens whose product equals g. HTM uses the 18-generator set; QTM the 12-generator set. The "optimal solution length" is simply .

2.2 Group presentation

A group can also be presented abstractly as "generators with relations." For instance means "one element a, which when raised to the 4th power gives e." For the cube:

Beyond the trivial "each face cycles in 4" and the "parallel faces commute" relations, the rest of the relators are too tangled to enumerate cleanly. A complete finite presentation for G is mathematically curious but rarely written down explicitly.

Curiously, the word problem (decide if two words represent the same element) is solvable for G — because G is finite, normalising via the cube state suffices. But the shortest-word problem (find the optimal representation of g) is NP-hard in the general setting. That's why optimal solvers are genuinely difficult.

2.3 Subgroups

Any subset of generators generates a subgroup — usually much smaller than G. Common ones:

2.4 The 18 face turns — complete list

Face90°180°270° = 90° CCWHTM count
UUU2U'3
DDD2D'3
LLL2L'3
RRR2R'3
FFF2F'3
BBB2B'3
Total18

2.5 Cycle structure of each face turn

Each face turn is a permutation of the 8 corners and 12 edges. Writing R out explicitly (using the cubie indexing of §3):

That is the 4-cycle URF → UBR → DRB → DFR → URF on corners, plus the matching 4-cycle UR → BR → DR → FR → UR on edges. Likewise U is , and F also flips 4 edges (EO+1). All six generators follow the same pattern: 4-cycle on corners × 4-cycle on edges + optional orientation kick.

GenCorner cycleEdge cycleOrderΔ COΔ EO
U400
R4yes0
F4yes4 edges +1

2.6 Relations and a non-relation

Obvious relations: each face has order 4, , and trivially . But U does not commute with R:

That non-relation is the entire source of cube theory — if UR = RU the cube would collapse to Abelian. A Coxeter-style presentation would demand for some small . G is not a Coxeter group: there is no small integer k with (, see §8). G is genuinely "wilder" than the standard symmetry groups.

cuberoot.me · Rubik's Cube as a Group · 2026