# Rubik's Cube group

The Rubik’s Cube group is a group (G, •) that corresponds to the set G of all cube moves on the Rubik's Cube mechanical puzzle with the group operation • being the concatenation of cube moves. With the solved position as a starting point, there is a one-to-one correspondence between each of the legal positions of the Rubik's Cube and the elements of G.

## Cube moves

A 3×3×3 Rubik's Cube consists of 6 faces, each with 9 colored squares called facets, for a total of 54 facets. A solved cube has all of the facets on each face having the same color.

A cube move rotates one of the 6 faces 90°, 180° or -90° (half move metric). A center facet rotates about its axis but otherwise stays in the same position.

Cube moves are described with the Singmaster notation:

## Group structure

The following uses the notation described in How to solve the Rubik's Cube. The orientation of the six centre facets is fixed.

We can identify each of the six face rotations as elements in the symmetric group on the set of non-center facets. More concretely, we can label the non-center facets by the numbers 1 through 48, and then identify the six face rotations as elements of the symmetric group S48 according to how each move permutes the various facets. The Rubik's Cube group, G, is then defined to be the subgroup of S48 generated by the 6 face rotations, $\{F,B,U,D,L,R\}$ .

The cardinality of G is given by $|G|=43{,}252{,}003{,}274{,}489{,}856{,}000\,\!=2^{27}3^{14}5^{3}7^{2}11$ . Despite being this large, any position can be solved in 20 or fewer moves (where a half-twist is counted as a single move).

The largest order of an element in G is 1260. For example, one such element of order 1260 is $(RU^{2}D^{-1}BD^{-1})$ .

G is non-abelian since, for example, $FR$ is not the same as $RF$ . That is, not all cube moves commute with each other.

We consider two subgroups of G: First the subgroup Co of cube orientations, the moves that leave the position of every block fixed, but can change the orientations of blocks. This group is a normal subgroup of G. It can be represented as the normal closure of some moves that flip a few edges or twist a few corners. For example, it is the normal closure of the following two moves:

$BR^{\prime }D^{2}RB^{\prime }U^{2}BR^{\prime }D^{2}RB^{\prime }U^{2},\,\!$ (twist two corners)
$RUDB^{2}U^{2}B^{\prime }UBUB^{2}D^{\prime }R^{\prime }U^{\prime },\,\!$ (flip two edges).

Second, we take the subgroup Cp of cube permutations, the moves which can change the positions of the blocks, but leave the orientation fixed. For this subgroup there are several choices, depending on the precise way you define orientation.Template:Refn One choice is the following group, given by generators (the last generator is a 3 cycle on the edges):

$C_{p}=[U^{2},D^{2},F,B,L^{2},R^{2},R^{2}U^{\prime }FB^{\prime }R^{2}F^{\prime }BU^{\prime }R^{2}].\,\!$ Since Co is a normal subgroup, the intersection of Co and Cp is the identity, and their product is the whole cube group, it follows that the cube group G is the semi-direct product of these two groups. That is

$G=C_{o}\rtimes C_{p}.\,$ Next we can take a closer look at these two groups. The structure of Co is

${\mathbb {Z} }_{3}^{7}\times {\mathbb {Z} }_{2}^{11},\$ since the group of rotations of each corner (resp. edge) cube is $\mathbb {Z} _{3}$ (resp. $\mathbb {Z} _{2}$ ), and in each case all but one may be rotated freely, but these rotations determine the orientation of the last one. Noticing that there are 8 corners and 12 edges, and that all the rotation groups are abelian, gives the above structure.

Cube permutations, Cp, is a little more complicated. It has the following two normal subgroups, the group of even permutations on the corners A8 and the group of even permutations on the edges A12. Complementary to these two groups we can take a permutation that swaps two corners and swaps two edges. We obtain that

$C_{p}=(A_{8}\times A_{12})\,\rtimes \mathbb {Z} _{2}.$ Putting all the pieces together we get that the cube group is isomorphic to

$(\mathbb {Z} _{3}^{7}\times \mathbb {Z} _{2}^{11})\rtimes \,((A_{8}\times A_{12})\rtimes \mathbb {Z} _{2}).$ This group can also be described as the subdirect product $[(\mathbb {Z} _{3}^{7}\rtimes \mathrm {S} _{8})\times (\mathbb {Z} _{2}^{11}\rtimes \mathrm {S} _{12})]^{\frac {1}{2}}$ , in the notation of Griess{{ safesubst:#invoke:Unsubst||date=__DATE__ |\$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }}.

### Generalizations

When the centre facet symmetries are taken into account, the symmetry group is a subgroup of

$[\mathbb {Z} _{4}^{6}\times (\mathbb {Z} _{3}^{7}\rtimes \mathrm {S} _{8})\times (\mathbb {Z} _{2}^{11}\rtimes \mathrm {S} _{12})]^{\frac {1}{2}}.$ (This unimportance of centre facet rotations is an implicit example of a quotient group at work, shielding the reader from the full automorphism group of the object in question.)

The symmetry group of the Rubik's Cube obtained by dismembering it and reassembling is slightly larger: namely it is the direct product

$\mathbb {Z} _{4}^{6}\times \mathbb {Z} _{3}\wr \mathrm {S} _{8}\times \mathbb {Z} _{2}\wr \mathrm {S} _{12}.$ The first factor is accounted for solely by rotations of the centre pieces, the second solely by symmetries of the corners, and the third solely by symmetries of the edges. The latter two factors are examples of wreath products.