/The Cube/Algorithms
Page 3 of 7

Algorithmic Tools

Master commutators and conjugates - the building blocks of speedcubing algorithms

The Power Tools of Cubing

Two of the most powerful concepts in group theory (and speedcubing) are commutators and conjugates. These are the foundation of how expert cubers create algorithms to solve specific cases.

A commutator [A, B] = A B A' B' measures how much two moves fail to commute, creating localized changes. A conjugate A B A' applies an algorithm B in a different position by setting up with A first.

1. Commutators: [A, B] = A B A' B'

A commutator measures how much two moves "fail to commute." The formula [A, B] means: do A, do B, undo A, undo B. This creates localized effects -- often cycling just 3 pieces while leaving most of the cube unchanged.

U
L
F
R
D
B

Ready to apply commutator: [R, U]

Commutator Formula:

A = R
B = U
[A, B] = R U R' U'

This is the famous "Sexy Move"!

Pattern: [A, B] means "do A, do B, undo A, undo B"

Commutators often create 3-cycles - they swap exactly 3 pieces while leaving most of the cube unchanged. This makes them extremely useful in advanced solving methods!

✨ You're exploring the "Sexy Move" - one of the most common sequences in speedcubing!

Step-by-Step Breakdown:

  1. R - Do move A
  2. U - Do move B
  3. R' - Undo move A (A')
  4. U' - Undo move B (B')

Total moves: 4

Key insight: Commutators produce localized effects because the "undo" steps nearly cancel the "do" steps. The residual effect is concentrated on the few pieces where A and B interact.

2. Conjugates: A B A'

A conjugate applies an algorithm B in a different position by first setting up with move A, then undoing the setup. This is like moving furniture: you might know how to flip a couch, but first you need to rotate it to the doorway (setup), flip it (algorithm), then rotate back (undo setup).

U
L
F
R
D
B

Ready to apply conjugate: R (U)

Conjugate Formula:

Setup = R
Algorithm = U
Conjugate = R U R'

Pattern: A (B) A' means "setup, solve, undo setup"

Conjugates are used when you know how to solve a problem in one position, but the problem is in a different position. The setup moves (A) move the problem to where you know how to solve it, you apply your algorithm (B), then undo the setup (A') to put everything back.

This is one of the most fundamental techniques in cubing!

Step-by-Step Breakdown:

  1. Setup:
    R

    Move the cube to position the problem

  2. Solve:
    U

    Apply the algorithm to solve the problem

  3. Undo:
    R'

    Undo the setup to restore the rest of the cube

Total moves: 3

💡 Real-World Example:

Imagine you know how to flip an edge in position X, but the edge you want to flip is in position Y. You use moves to bring the edge from Y to X (setup), flip it (algorithm), then move it back from X to Y (undo setup). This is exactly what a conjugate does!

Key insight: Conjugation preserves the cycle structure of a permutation. The same 3-cycle, applied via different setups, can target any three pieces on the cube.

Key Takeaways

  • Commutators -- [A, B] = A B A' B' creates localized effects, often 3-cycles of pieces
  • Conjugates -- A B A' moves an algorithm's effect to a different location on the cube
  • Algorithm generation -- most speedcubing algorithms are built from commutators and conjugates
  • Blindfolded solving -- advanced methods use commutators to solve one piece at a time