I stopped studying math at precalc. What should I study to be able to understand how to solve a Rubics cube using mathematics? I don't think this is an opinion question, and I really want to learn this on my own, but I don't know where to start. I saw some of the other questions related to this, but I think I need to get to where most of them are and would appreciate a direction.
2026-03-25 15:50:19.1774453819
What do I need to learn to solve the math behind a Rubiks cube?
803 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
The math of the Rubik's Cube is rooted in an area of math called abstract algebra, specifically group theory. Groups are a mathematical construct which is a generalization on the algebraic relations we are familiar with in the real numbers. A group $G$ is a set of elements $$G=\{g_1,g_2,...,g_n\}$$ combined with an operation which I will denote here with $\oplus$ with which takes two elements and then gives a third: $$g_i\oplus g_j=g_k.$$ (Notice that I assumed that the group has a finite number of elements. This is not always true, but it is true for the Rubik's group, so I'll stick with finite groups). This operation $\oplus$ has some properties that adding in the real numbers has:
Notice that missing from this list is the property from real numbers that $x+y=y+x$, called commutivity. Since we can get some interesting results from studying groups where $g_i\oplus g_j\neq g_j\oplus g_i$, we do not require this. In fact, the group corresponding to the Rubik's Cube is not commutative.
There are lots and lots of groups which all have the above properties that have application all over math and science. Consequently, group theory is a very deep topic, and some people spend their entire career doing research in this field.
The group corresponding to the Rubik's Cube is called the Rubik's Cube group. The elements of the group correspond to a series of twists (and a series could consist of just one twist) such as twisting the top level to the left one quarter turn, or twisting the right side halfway around and then twisting the bottom to the left a quarter turn. The identity element $e$ corresponds to just doing nothing. The inverse element to a twist is just reversing the twist.
David Singmaster and others have done research on how the elements of the Rubik's Cube group relate to each other, i.e., when one series of twists gives the same result as another. There are lots of great results, such as there being over $43$ sextillion elements of the Rubik's Cube group. This means that there are over $43$ billion billions of ways to arrange a Rubik's Cube. Another great result is that any one of these can be made from 20 or fewer basic one-step twists, so you can solve a Rubik's Cube in 20 or fewer steps from any starting position! In general, figuring out which 20 moves those are is a hard problem, but maybe you'll figure out a solution!
For more info on group theory, see this, and for more information on the Rubik's Cube Group, see here.