Can RUBIK's cube be solved using group theory? If yes, how can we use it to solve a $2\times2$ Rubiks Cube?
-
2I soooo greatly doubt it...assuming the solved cube is the group's unit, upon being given the cube in some setting you'd have to recognize what element of the group it represents, and then "bring it back" to the unit element. It looks as hard to do it so as to solve it by purely hand skills. – DonAntonio May 03 '14 at 13:04
-
2@donantonio I know of people who use group theory to solve it. They don't necessarily recognize what the initial jumbled state is, which would be insane given the number of states. However, They know of certain standard moves that allow them to transform the cube into something 'easier', or of an algorithm of moves to move particular tiles. – Calvin Lin May 03 '14 at 13:36
-
7David Joyner has written a whole book Adventures in Group Theory: Rubik's Cube, Merlin's Machine & Other Mathematical Toys on the $3 \times 3 \times 3$ Rubik's Cube. In the book, he constructed the (legal) Rubik's group and there is a chapter about solution strategies. If there is an answer for your first question, it is the best place to look for it. – achille hui May 03 '14 at 13:50
-
1@CalvinLin, I seriously doubt they all use group theory for that. I know I guy over here that can solve the cube from any given position in 2 minutes approx. (or so he claims...), and for the cases I've seen he certainly has solved it after "messing" seriously the cube. This guy doesn't even have a high school diploma, let alone he's the slightest idea what group theory is. He only claims he has to "look at the given position" and then there are either five or six pre-determined sets of moves to bring it to a simpler form and then solve it... – DonAntonio May 03 '14 at 13:51
-
@DonAntonio: It is certainly possible to solve a finite problem like Rubik's Cube by giving a finite recipe which hides any of the mathematical steps used to analyze the problem. It is even possible to derive such a recipe by brute force, knowing nothing about group theory. Nonetheless, as the links provided by achilee hui show, there is some interesting group theory underlying Rubik's cube: a generating set for the group; descriptions of various subgroups and their cosets; etc. A person educated in group theory can learn to solve the cube using that structure... – Lee Mosher May 03 '14 at 14:14
-
… Even more significant, the same structure can be used to study more complicated problems, such as the $4 \times 4 \times 4$ Rubik's cube. As the size of the problem grows, the difficulty of deriving a solution recipe while knowing nothing about group theory becomes insurmountable, but the mathematical method for deriving the solution may work just as well, and may even be generalizable to infinitely many similar problems. – Lee Mosher May 03 '14 at 14:16
-
I know that, @Lee. I was talking of someone actually using group theory to actually solve the cube. I once met, but did not read, a boor or a paper (can't remember right now) about the group theoretical structure of the cube, and even it contained (or perhaps other paper did) strategies to do so...but that seems more like theoretical work, not actual solving strategy. – DonAntonio May 03 '14 at 14:26
-
BTW, I do have the book by Joyner...:) – DonAntonio May 03 '14 at 14:27
-
1See math.stackexchange.com/a/1096593/21820 where I've written up a general and practical solution that applies not only to Rubik's cubes. – user21820 Jan 08 '15 at 15:57
3 Answers
The difficult part of answering this question is to decide what it means to "use" group theory to solve the cube.
Clearly it is possible to learn to solve the cube without knowing any group theory, just by memorizing a procedure for doing so. And one can go a long way beyond rote memoization just by geometric/spatial intuition, again without any open appeal to group theory.
On the other hand, many people who solve cubes and do know group theory tend to think in group-theoretic terms while solving, or at least while refining their solving methods. Many well-known combinations can be analyzed as commutators or conjugations of elements in the cube group, which makes it easier to remember them and easier to understand why they work.
When it comes to being sure that one's solution method always works, I don't think there's any reasonable way around some group theory. For example, if you go look up a cookbook method for solving the cube, it doesn't tell you what to do if you end up in a state where the cube is solved except that two corner pieces need to be swapped. At best the cookbook method will assert that this situation cannot occur using legal moves -- but in order to convince yourself that this is true (except by the combined experience of a lot of experiments) you need some kind of proof. And this proof will either be based on the theory of permutation groups, or will effectively reinvent a part of this theory with different words.
I solve 2×2×2 cubes by imagining they are 3×3×3 and doing only those parts of my usual methods that take care of the corner pieces. Doubtlessly there are more efficient ways to go about it.

- 286,031
I cannot allow this question to go by without mentioning: Morwen Thistlewaite. This is a British mathematician who used group theory to find the smallest known bounds on how many face twists it takes to reach the solved state from an arbitrary state, along with some knowledge of which twists to take (a.k.a 'God's Algorithm'). Instead of positioning individual cubies in sequence, his is a more holistic approach called 'descent through nested sub-groups'. It works something like this:
A) Begin with the whole Cube group: G.
B) Pick a set of face twists generating a proper sub-group: H [example: the sub-group generated by twisting faces L, R, F, B, but NOT U, D]. For best results pick H such that |G|/|H| is as small as possible.
C) For each coset of H, find the shortest sequence of twists which will transform any member of the coset to a member of the sub-group [each coset is of the form aH; if b is in aH, then bH=aH; find the element b in aH generated by the fewest twists, and take the twist sequence for the inverse of b].
D) If H=E (i.e H is the trivial sub-group), stop. Otherwise replace G with H and return to (B).
To solve a scrambled Cube with this approach, one must determine which coset of the top-most sub-group contains the Cube's starting state, and make the sequence of face-twists calculated in (C) for that coset; this will change the cube to a scrambled state within the top-most sub-group. Repeat for each successive nested sub-group until you reach E; at that point the Cube has been unscrambled.
With this approach Thistlewaite was able initially to show that unscrambling any scrambled state takes no more than 26 (?) twists [source: 'Metamagical Themas' by Hofstadter, in Scientific American (I forget which exact issue)]. Since then he has been able to reduce this number enough to determine the theoretical maximum number of twists required.

- 111
-
1Complementing the answer, check this paper about several solution search algorithms incluiding Thistlewaite, that use group theory
http://www.diva-portal.org/smash/get/diva2:816583/FULLTEXT01.pdf
– Miguel Ángel Carrasco Jan 02 '17 at 19:02
[This is just about how commutators and conjugates help with rote memorization. I am yet to understand how the moves were designed]
Ref: https://momath.org/wp-content/uploads/2019/03/How-to-Solve-the-Rubiks-Cube_-All-6-Sides.pdf
For group ${ G }$ and ${ a,b \in G }$ we have commutators ${ [a,b] = aba^{-1}b^{-1} }$ and conjugates ${ a b a ^{-1} }.$
In the context of above document:
In short the main steps are:
- White corners: Repeat ${ [R ^{-1}, D ^{-1}] }$
- Middle layer: ${ [U, R] [U ^{-1}, F ^{-1}] }$ and ${ [U ^{-1}, L ^{-1}][U, F] }$
- Yellow edge pieces: ${ F [R, U] F ^{-1} }$ till yellow cross, then ${ (RU) [R ^{-1}, U] (RU) ^{-1} }$ till yellow edges align
- Yellow corner permutation: Repeat ${ [U R U ^{-1}, L ^{-1}] }$
- Yellow corner twisting: Effectively like white corners
Edit: Page 4 of Daniel Bump's notes here explains the importance of commutators, and how for example ${ [U R U ^{-1}, L ^{-1}] }$ moves very few pieces in the cube. (Intuitively, because the supports of ${ U R U ^{-1} }$ and ${ L ^{-1} }$ overlap very little). The full course page is here.
-
1The commutator of two sequences with supports intersecting in a single piece produces a 3-cycle as well as the twists, which makes it easy to solve the cube gradually. That's how I explain it on my page. Unfortunately that's in Finnish, but the diagrams+animations may still tell the story :-) – Jyrki Lahtonen Dec 17 '23 at 06:32
-