What happens to a Rubik's Cube when you repeat the same set of moves over and over? The cube scrambles, then eventually returns to its solved state. The number of repeats needed is called the order of the sequence.
You write a computer program in QBASIC to track the cube's average variegation (degree of disorder) after each repetition. When you graph the results, the points fit a 4th-degree polynomial equation.
The data suggest that larger orders produce higher-degree polynomials. Further testing could confirm whether that pattern always holds.
Hypothesis
The hypothesis is that variegation during repetition of any given sequence may always change according to a polynomial expression of varying degree.
Repeating the same move sequence on a Rubik's Cube does not steadily increase disorder — it eventually brings the cube back to its solved state. The number of repetitions needed to return to the start is called the order of the sequence. A computer program written in QBASIC tracks the cube's average variegation (degree of disorder) after each repetition. When you graph the results, the data points fit a 4th-degree polynomial equation, suggesting that larger orders produce higher-degree polynomials. What looks like random scrambling at each step turns out to follow a predictable mathematical pattern — one that further testing could confirm holds across all sequences.
Repeat the same set of moves on a Rubik’s Cube and something unexpected happens: the cube scrambles, then gradually works its way back to solved. When you write a QBASIC program to track average variegation — the degree of disorder — after each repetition, the data points don’t scatter randomly. They trace a curve that fits a 4th-degree polynomial equation, a pattern built entirely from adding and multiplying. Larger sequence orders appear to produce higher-degree polynomials, suggesting the relationship between repetition and disorder follows a consistent mathematical structure.
Method & Materials
You will use a computer program to simulate a Rubik's Cube and compute average variegation. You will then collect data to see if the points fit a polynomial equation.
You will need a computer program written in QBASIC, a Rubik's Cube, and a way to record data.
MEL Math — hands-on math experiment kits delivered monthly — makes abstract concepts tangible. (Affiliate link)
Our investigation revealed that when variegation was graphed against the number of repetitions of the sequence, the resulting points fit a 4th degree polynomial equation. This suggests that the larger the order of the sequence, the higher the degree of the polynomial.
Why do this project?
This science project is so interesting because it explores the mathematics behind the Rubik's Cube, which is a classic puzzle that has been around for decades.
Also Consider
Experiment variations to consider include testing different sequences of moves and different orders of the sequence.
Full project details
Additional information and source material for this project are available below.