/The Cube/Basics
Page 1 of 7

Group Theory Basics

Learn the four fundamental properties that make Rubik's Cube a mathematical group

What is a Group?

In mathematics, a group is a set of elements with an operation that combines any two elements to form a third element. For a set to be a group, it must satisfy four fundamental properties: identity, inverse, closure, and associativity.

The Rubik's Cube perfectly demonstrates all four properties. Each section below lets you explore one interactively.

1. Identity Element

The identity element in the Rubik's Cube group is the solved state. No matter what state your cube is in, applying zero moves (the identity) leaves it unchanged.

U
L
F
R
D
B

This is the identity element (e). It leaves the cube unchanged.

Key insight: Every group must have exactly one identity element. For the cube, this is the solved state -- combining any position with the identity returns that same position.

2. Inverse Property

Every move has an inverse that undoes its effect. For example, R (clockwise) is undone by R' (counterclockwise). R2 is its own inverse.

U
L
F
R
D
B

At identity. Select a move and apply it.

Key insight: The inverse property guarantees that every scramble can be undone. For any sequence of moves, there exists a reverse sequence that returns the cube to its original state.

3. Closure Property

No matter how many moves you apply, you always end up with a valid cube state. You cannot "break" the cube by doing legal moves. The group is "closed" under the operation.

U
L
F
R
D
B

This is one of 43,252,003,274,489,856,000 possible cube states.

Key insight: Closure means combining any two group elements always produces another element in the group. You can never reach an "impossible" cube state through legal moves alone.

4. Associativity Property

When combining multiple moves, it does not matter how you group them. (A * B) * C gives the same result as A * (B * C). The order of moves matters, but grouping does not.

Moves:

(RU) • R'

U
L
F
R
D
B

R • (UR')

U
L
F
R
D
B

✓ Both groupings produce the same result! (Associativity)

Key insight: Associativity lets us write chains of moves without parentheses. Whether we compute R U F as (R U) F or R (U F), the final cube state is identical.

Key Takeaways

  • Identity -- the solved state leaves every position unchanged
  • Inverse -- every move sequence can be undone by its reverse
  • Closure -- legal moves always produce valid cube states
  • Associativity -- grouping of moves does not affect the result