Rubik's Cube Picture

Rubik's Cube Picture

Thursday, December 15, 2011

Algorithms


In Rubik's cubists' parlance, a memorised sequence of moves that has a desired effect on the cube is called an algorithm. This terminology is derived from the mathematical use of algorithm, meaning a list of well-defined instructions for performing a task from a given initial state, through well-defined successive states, to a desired end-state. Each method of solving the Rubik's Cube employs its own set of algorithms, together with descriptions of what the effect of the algorithm is, and when it can be used to bring the cube closer to being solved.
Most algorithms are designed to transform only a small part of the cube without scrambling other parts that have already been solved, so that they can be applied repeatedly to different parts of the cube until the whole is solved. For example, there are well-known algorithms for cycling three corners without changing the rest of the puzzle, or flipping the orientation of a pair of edges while leaving the others intact.
Some algorithms have a certain desired effect on the cube (for example, swapping two corners) but may also have the side-effect of changing other parts of the cube (such as permuting some edges). Such algorithms are often simpler than the ones without side-effects, and are employed early on in the solution when most of the puzzle has not yet been solved and the side-effects are not important. Towards the end of the solution, the more specific (and usually more complicated) algorithms are used instead, to prevent scrambling parts of the puzzle that have already been solved.

Center Faces


The original Rubik's Cube had no orientation markings on the centre faces (although some carried the words "Rubik's Cube" on the centre square of the white face), and therefore solving it does not require any attention to orienting those faces correctly. However, with marker pens, one could, for example, mark the central squares of an unscrambled Cube with four coloured marks on each edge, each corresponding to the colour of the adjacent face. Some Cubes have also been produced commercially with markings on all of the squares, such as the Lo Shu magic square or playing cardsuits. Thus one can nominally solve a Cube yet have the markings on the centres rotated; it then becomes an additional test to solve the centres as well.
Marking the Rubik's Cube increases its difficulty because this expands its set of distinguishable possible configurations. When the Cube is unscrambled apart from the orientations of the central squares, there will always be an even number of squares requiring a quarter turn. Thus there are 46/2 = 2,048 possible orientations of the centre squares in the otherwise unscrambled position, increasing the total number of possible Cube permutations from 43,252,003,274,489,856,000 (4.3×1019) to 88,580,102,706,155,225,088,000 (8.9×1022).[22]
When turning a cube over is considered to be a change in permutation then we must also count arrangements of the centre faces. Nominally there are 6! ways to arrange the six centre faces of the cube, but only 24 of these are achievable without disassembly of the cube. When the orientations of centres are also counted, as above, this increases the total number of possible Cube permutations from 88,580,102,706,155,225,088,000 (8.9×1022) to 2,125,922,464,947,725,402,112,000 (2.1×1024).

Algorithms


In Rubik's cubists' parlance, a memorised sequence of moves that has a desired effect on the cube is called an algorithm. This terminology is derived from the mathematical use of algorithm, meaning a list of well-defined instructions for performing a task from a given initial state, through well-defined successive states, to a desired end-state. Each method of solving the Rubik's Cube employs its own set of algorithms, together with descriptions of what the effect of the algorithm is, and when it can be used to bring the cube closer to being solved.
Most algorithms are designed to transform only a small part of the cube without scrambling other parts that have already been solved, so that they can be applied repeatedly to different parts of the cube until the whole is solved. For example, there are well-known algorithms for cycling three corners without changing the rest of the puzzle, or flipping the orientation of a pair of edges while leaving the others intact.
Some algorithms have a certain desired effect on the cube (for example, swapping two corners) but may also have the side-effect of changing other parts of the cube (such as permuting some edges). Such algorithms are often simpler than the ones without side-effects, and are employed early on in the solution when most of the puzzle has not yet been solved and the side-effects are not important. Towards the end of the solution, the more specific (and usually more complicated) algorithms are used instead, to prevent scrambling parts of the puzzle that have already been solved.

Rubik's Cube Patterns

[Pons asinorum]
Pons asinorum
F2 B2 R2 L2 U2 D2(12q*, 6f*)

[Checkerboards of order 3]
Checkerboards of order 3
F B2 R' D2 B R U D' R L' D' F' R2 D F2 B'(20q*, 16f*)

[Checkerboards of order 6]
Checkerboards of order 6
R' D' F' D L F U2 B' L U D' R' D' L F L2 U F'(20q*, 18f)
R2 L2 U B L2 D' F B2 R L' F' B R D F2 L' U'(17f*, 22q)

[Stripes]
Stripes
F U F R L2 B D' R D2 L D' B R2 L F U F(20q*, 17f*)

[Cube in a cube]
Cube in a cube
F L F U' R U F2 L2 U' L' B D' B' L2 U(18q*, 15f*)

[Cube in a cube in a cube]
Cube in a cube in a cube
U' L' U' F' R2 B' R F U B2 U B' L U' F U R F'(20q*, 18f)
F' U B' R' U F2 U2 F' U' F U2 D B' D' R2 B2 U'(17f*, 22q)

[Christman's cross]
Christman's cross
U F B' L2 U2 L2 F' B U2 L2 U(16q*, 11f*)

[Plummer's cross]
Plummer's cross
R2 L' D F2 R' D' R' L U' D R D B2 R' U D2(20q*, 16f*)

[Anaconda]
Anaconda
L U B' U' R L' B R' F B' D R D' F'(14q*, 14f*)

[Python]
Python
F2 R' B' U R' L F' L F' B D' R B L2(16q*, 14f*)

[Black Mamba]
Black Mamba
R D L F' R L' D R' U D' B U' R' D'(14q*, 14f*)

[Green Mamba]
Green Mamba
R D R F R' F' B D R' U' B' U D2(14q*, 13f*)

[Female Rattlesnake]
Female Rattlesnake
U2 D' L2 D B U B' R' L2 U2 F U' F R(18q*, 14f*)

[Male Rattlesnake]
Male Rattlesnake
R' F' U F' U2 R L2 B U' B' D' L2 U2 D(18q*, 14f*)

[Female Boa]
Female Boa
R U' R2 U2 F D2 R2 U' D' R D' F'(16q*, 12f*)

[Male Boa]
Male Boa
F D R' U D R2 D2 F' U2 R2 U R'(16q*, 12f*)

[Four spot]
Four spot
F2 B2 U D' R2 L2 U D'(12q*, 8f*)

[Six spot]
Six spot
U D' R L' F B' U D'(8q*, 8f*)

[Orthogonal bars]
Orthogonal bars
F R' U L F' L' F U' R U L' U' L F'(14q*, 14f*)

[Six T's]
Six T's
F2 R2 U2 F' B D2 L2 F B(14q*, 9f*)

[Six-two-one]
Six-two-one
U B2 D2 L B' L' U' L' B D2 B2(15q*, 11f*)

[Exchanged peaks]
Exchanged peaks
F U2 L F L' B L U B' R' L' U R' D' F' B R2(19q*, 17f)
F2 R2 D R2 U D F2 D' R' D' F L2 F' D R U'(16f*, 21q)

[Two twisted peaks]
Two twisted peaks
F B' U F U F U L B L2 B' U F' L U L' B(18q*, 17f)
F D2 B R B' L' F D' L2 F2 R F' R' F2 L' F'(16f*, 20q)

[Four twisted peaks]
Four twisted peaks
U' D B R' F R B' L' F' B L F R' B' R F' U' D(18q*, 18f*)

[Exchanged chicken feet]
Exchanged chicken feet
F L' D' B' L F U F' D' F L2 B' R' U L2 D' F(19q*, 17f*)

[Twisted chicken feet]
Twisted chicken feet
F L' D F' U' B U F U' F R' F2 L U' R' D2(18q*, 16f*)

[Exchanged rings]
Exchanged rings
B' U' B' L' D B U D2 B U L D' L' U' L2 D(18q*, 16f)
F U D' L' B2 L U' D F U R2 L2 U' L2 F2(15f*, 20q)

[Twisted rings]
Twisted rings
F D F' D2 L' B' U L D R U L' F' U L U2(18q*, 16f*)

[Edge hexagon of order 2]
Edge hexagon of order 2
U B2 U' F' U' D L' D2 L U D' F D' L2 B2 D'(20q*, 16f*)

[Edge hexagon of order 3]
Edge hexagon of order 3
D L' U R' B' R B U2 D B D' B' L U D'(16q*, 15f)
F L B U L F2 B2 R' F2 B2 U' B' L' F'(14f*, 18q)

[Tom Parks' pattern]
Tom Parks' pattern
L U F2 R L' U2 B' U D B2 L F B' R' L F' R(20q*, 17f*)

[Ron's cube in a cube]
Ron's cube in a cube
F D' F' R D F' R' D R D L' F L D R' F D'(17q*, 17f)
L2 D2 L' D2 B2 L2 B2 L' D2 L2 B2 L' B2(13f*, 23q)

[Twisted duck feet]
Twisted duck feet
F R' B R U F' L' F' U2 L' U' D2 B D' F B' U2(20q*, 17f*)

[Exchanged duck feet]
Exchanged duck feet
U F R2 F' D' R U B2 U2 F' R2 F D B2 R B'(21q*, 16f*)

Math Behing the Rubik's Cube


The original (3×3×3) Rubik's Cube has eight corners and twelve edges. There are 8! (40,320) ways to arrange the corner cubes. Seven can be oriented independently, and the orientation of the eighth depends on the preceding seven, giving 37 (2,187) possibilities. There are 12!/2 (239,500,800) ways to arrange the edges, since an odd permutation of the corners implies an odd permutation of the edges as well. Eleven edges can be flipped independently, with the flip of the twelfth depending on the preceding ones, giving 211 (2,048) possibilities.[20]
 {8! \times 3^7 \times 12!/2 \times 2^{11}} = 43,252,003,274,489,856,000
which is approximately forty-three quintillion.[21]
The puzzle is often advertised as having only "billions" of positions, as the larger numbers are unfamiliar to many. To put this into perspective, if one had as many 57-millimeter Rubik's Cubes as there are permutations, they could cover the Earth's surface 275 times.
The preceding figure is limited to permutations that can be reached solely by turning the sides of the cube. If one considers permutations reached through disassembly of the cube, the number becomes twelve times as large:
 {8! \times 3^8 \times 12! \times 2^{12}} = 519,024,039,293,878,272,000.
which is approximately five hundred and nineteen quintillion[21] possible arrangements of the pieces that make up the Cube, but only one in twelve of these are actually solvable. This is because there is no sequence of moves that will swap a single pair of pieces or rotate a single corner or edge cube. Thus there are twelve possible sets of reachable configurations, sometimes called "universes" or "orbits", into which the Cube can be placed by dismantling and reassembling it.

Centre

Other Cubes


There are different variations of Rubik's Cubes with up to seven layers: the 2×2×2 (Pocket/Mini Cube), the standard 3×3×3 cube, the 4×4×4 (Rubik's Revenge/Master Cube), and the 5×5×5 (Professor's Cube), the 6×6×6 (V-Cube 6), and 7×7×7 (V-Cube 7).
CESailor Tech's E-cube is an electronic variant of the 3×3×3 cube, made with RGB LEDs and switches.[46] There are two switches on each row and column. Pressing the switches indicates the direction of rotation, which causes the LED display to change colours, simulating real rotations. The product was demonstrated at the Taiwan government show of college designs on October 30, 2008.
Another electronic variation of the 3×3×3 Cube is the Rubik's TouchCube. Sliding a finger across its faces causes its patterns of coloured lights to rotate the same way they would on a mechanical cube. The TouchCube was introduced at theAmerican International Toy Fair in New York on February 15, 2009.[47][48]
The Cube has inspired an entire category of similar puzzles, commonly referred to as twisty puzzles, which includes the cubes of different sizes mentioned above as well as various other geometric shapes. Some such shapes include thetetrahedron (Pyraminx), the octahedron (Skewb Diamond), the dodecahedron (Megaminx), the icosahedron (Dogic). There are also puzzles that change shape such as Rubik's Snake and the Square One.

Rubik's Cube World Record Times

 
 
TypeResultPersonCitizen ofCompetitionResult Details
 
Rubik's Cube
Single5.66Feliks ZemdegsAustraliaMelbourne Winter Open 2011 
Average7.64Feliks ZemdegsAustraliaMelbourne Winter Open 20117.03   8.11   8.36   5.66   7.78
 
4x4 Cube
Single30.28Feliks ZemdegsAustraliaAustralian Nationals 2011 
Average35.22Feliks ZemdegsAustraliaWorld Championship 201133.33   38.71   33.28   33.63   39.33
 
5x5 Cube
Single56.22Feliks ZemdegsAustraliaWorld Championship 2011 
Average59.94Feliks ZemdegsAustraliaWorld Championship 201159.59   58.41   1:01.81   1:05.40   56.22
 
2x2 Cube
Single0.69Christian KasererItalyTrentin Open 2011 
Average2.12Feliks ZemdegsAustraliaMelbourne Cube Day 20102.38   1.77   1.75   2.21   2.46
 
Rubik's Cube: Blindfolded
Single30.58Yuhui Xu (许宇辉)ChinaSuzhou Open 2011 
 
Rubik's Cube: One-handed
Single10.68Piotr TomczykPolandSwierklany Open 2011 
Average13.57Michał PleskowiczPolandWorld Championship 201112.34   15.83   12.97   15.11   12.63
 
Rubik's Cube: Fewest moves
Single22Jimmy CollBelgiumBarcelona Open 2009 
  István KoczaHungaryCzech Open 2010 
 
Rubik's Cube: With feet
Single31.56Anssi VanhalaFinlandHelsinki Open 2011 
Average39.98Anssi VanhalaFinlandKotka Open 201137.81   39.30   42.84
 
Megaminx
Single42.28Simon WestlundSwedenDanish Open 2011 
Average49.90Simon WestlundSwedenDanish Open 201149.46   49.30   48.61   52.44   50.94
 
Pyraminx
Single1.93Yohei Oka (岡 要平)JapanJapan Open 2011 
Average3.39Yohei Oka (岡 要平)JapanKyotanabe Open 20113.65   2.86   2.75   3.65   4.59
 
Square-1
Single8.65Bingliang Li (李炳良)ChinaGuangdong Open 2010 
Average11.33Bingliang Li (李炳良)ChinaChangsha Open 201111.83   14.13   11.44   10.72   10.11
 
Rubik's Clock
Single5.83Javier Tirado OrtizSpainWorld Championship 2011 
Average7.33Sam Zhixiao Wang (王志骁)ChinaGuildford Summer Open 201111.30   6.78   8.15   5.88   7.05
 
6x6 Cube
Single1:54.81Kevin HaysUSAVancouver Winter 2011 
Average2:02.13Kevin HaysUSAVancouver Winter 20112:00.93   1:54.81   2:10.66
 
7x7 Cube
Single3:13.19Michał HalczukPolandPolish Nationals 2011 
Average3:25.10Michał HalczukPolandSwierklany Open 20113:17.97   3:31.68   3:25.66
 
Rubik's Magic
Single0.69Yuxuan Wang (王宇轩)ChinaBeijing Spring 2011 
Average0.76Yuxuan Wang (王宇轩)ChinaBeijing Summer Open 20110.72   0.77   0.77   0.75   DNF
 
Master Magic
Single1.68Ernie PulchnyUSAPark Ridge Open 2011 
Average1.75Ernie PulchnyUSAUS Nationals 20111.78   1.71   1.77   1.71   3.08
 
4x4 Cube: Blindfolded
Single3:26.11Daniel SheppardUnited KingdomGuildford Summer Open 2011 
 
5x5 Cube: Blindfolded
Single9:48.58Ville SeppänenFinlandKirkkonummi Open 2011 
 
Rubik's Cube: Multiple Blindfolded
Single23/25 57:48Zane CarneyAustraliaMelbourne Cube Day 2011