beanz Magazine

How to Solve Rubik’s Cube

Vincent Tcheng Chang on Flickr

A quick introduction to one of the world’s most fascinating puzzle toys.

Six colours. Nine squares to a side, six sides to a cube. 43 quintillion possibilities. Invented in 1974 by Erno Rubik, the Rubik’s Cube is fascinating and frustrating. The concept is simple: slide each row of cubes up, down, right, left and sidewise until the colours on each side match.

World champions can solve the cube in just over four seconds. Experts can solve it using their feet or wearing blindfolds. The Rubik’s cube might be a lengthy puzzle, but it can cracked by anyone who puts their mind to it.

How Difficult is the Cube?

If you made a computer check 1,000 combinations every second, it could take up to 1.36 billion years to solve the Rubik’s Cube. Definitely not a puzzle you want to attempt by trial and error! There are dozens of techniques for solving the cube, so it’s important to try a few and find the one that works for you. Some people memorize move sets. Others focus on the logic behind switching and replacing individual cubes. You can use mnemonics, stories, visual tricks.

Get to Know Your Cube

If you don’t own a Rubik’s Cube you can use an online version. It’s not quite as intuitive as holding the toy in your hands, but there’s no chance of dropping it and losing your spot. The sides of the cube are called the Front (facing you), Back, Top, Bottom, Right, and Left. Each side can be turned clockwise or counter-clockwise.

A centre piece will always be a centre piece. No matter how cleverly you twist and turn you can’t transform it into a corner or an edge. Likewise, edges are always edges and corners are always corners.

Next, the yellow centre — and therefore the yellow side — will always be opposite white. Blue faces green, and orange is opposite red.

Together, these two facts have a surprising conclusion: before we make a single move, we know exactly where each piece of the cube is supposed to go. It’s just a question of moving it there.

The White Cross

Many cubers start by solving “the white cross”. I like to do this via “the daisy”:

  1. Start with the yellow side facing up
  2. Identity a white side piece
  3. Rotate it until it’s next to the yellow centre

Once you have the daisy:

  1. Look at one of the white middle pieces. What’s the colour on its side? Rotate the top until that side piece matches the colour of the centre piece. (In the example: blue)
  2. Flip the entire side 180 degrees.
  3. Do this for the other three middle pieces.
The result is a white cross

The White Corners

The next step is to add the white corners. The most straightforward are the pieces on the bottom layer of the sides.

  1. Rotate until the the non-white side of the corner matches its centre piece. (In the example: orange). This corner will replace the piece on top of it.
  2. Move the corner “out of the way” by turning it to the side. (First image)
  3. Bring the top row down.
  4. Move the white corner back to its original position. It should now be beside the white centre piece.
  5. Fix your white cross by twisting the row back up.

White pieces at the bottom take an extra step. Spin the bottom layer until the corner is directly under the piece it needs to replace. Now rotate the side so that the corner is on the bottom layer. Move it out of the way and fix your white cross.

If a white piece is in the top layer, start by bringing it down to the bottom. Spin the bottom layer out of the way and fix your white cross. The white corner will either be on the bottom or one of the sides.

Keep going until your top layer is solved! You’ll know it’s correct if each side has a coloured ’T’.

Algorithms

The first layer can be solved with straightforward logic. The next two layers get trickier. Most cubers memorize algorithms and learn how to apply them. For example, an algorithm to transform a yellow hook into a yellow cross looks like this:

F, U, R, U’, R’, F’

Which is a condensed notation for Front (clockwise), Top (clockwise), Right (clockwise), Top (counter-clockwise), Right (counter-clockwise), and Front (counter-clockwise).

Before and after applying the algorithm

That’s not too convoluted, but what about this algorithm to solve the yellow corners?

R’, F, R’, B2, R, F’, R’, B2, R2

When you may have to remember ten or twelve of these, it’s easy to make a tiny mistake that wrecks the arrangement of the entire cube.

Mnemonics

Mnemonic devices are patterns that turn dull info (like cubing algorithms) into something memorable and fun. They come in different flavours for different learning styles.

1. Visual imagery

Instead of boring terms like Front, Top, and Right, one visual cuber decided to call his sides “Face”, “Wings”, “Hat”, “Shoes”, “Knife” and “Fork”. Clockwise and counter-clockwise became “old” and “new”. Turning the top clockwise was pictured as a top-hat (“old hat”), whereas turning counter-clockwise was a “new hat” like a snapback or a tuque.

The concept is to create pictures out of move sequences. The more ridiculous the better. It doesn’t matter if you imagine cat tails, swords and shields, halos, or hooves and horns, as long as the result means something to you.

2. Stories

Josh Neufeld taught his kids how to cube by making stories out of move sequences. The pattern for fixing white corners starts with a scared kid at the top of the slide. First, you need to move out of the way so the cared kid can come down. Once he clears off, it’s your turn to climb back up.

3. Kinetic memory

When you walk, you don’t worry about the details of adjusting your muscles and shifting your weight. You just walk. The more you repeat a physical activity the more it becomes second nature.

Some patterns pop up a lot cubing algorithms. For example, R’FRF’ is called “the sledgehammer”, and FR’FR’ is “the hedgeslammer”. Instead of memorizing a list of moves you can practice the sequence until it comes automatically. Then, when you need to transform your yellow hook into a yellow cross, you can think “execute the sledgehammer!” and your hands do the rest.

Onwards!

Cubing takes practice, just like any other skill. Explore on your own, watch videos, and read tip sheets. That pesky Rubik’s Cube will be solved before you know it! Then you can move on to mastering variations like the 4x4x4 or the pyramid.

Happy cubing!

Learn More

Online Rubik’s Cube

https://www.grubiks.com/puzzles/rubiks/cube-3x3x3/

How to Solve a 3x3x3 Rubik’s Cube by Noah Richardson (Video)

https://www.youtube.com/watch?v=rmnSpUgOvyI
https://www.youtube.com/watch?v=aTG-M98z4R4

Rubik’s Cube 3×3 Storytelling Method by Josh Neufeld (Video)

https://www.youtube.com/watch?v=z0zXGRIuJw8

Rubik’s Cube Beginner’s Guide (with pictures)

http://www.rubiksplace.com

5 Simple Moves to Easily solve the Rubik’s Cube — 15 Video Tutorial

https://www.youtube.com/watch?v=mvhKNXHQqyM

How big is 43 quintillion?

http://www.adinnerguest.com/60-minutes/how-much-is-43-quintillion/

Rubik’s Cube World Records

https://www.worldcubeassociation.org/results/regions.php

Also In The April 2018 Issue

Who chooses new emojis? And what’s coming in the next batch?

Build your own voice-controlled digital assistant with a Raspberry Pi and an analog speaker.

Using Scratch and some simple vector math, create your own Boids algorithm to simulate the flight of birds.

6 hands-on STEM camps and clubs to join this summer.

With these new high-tech cards, public transit is easier than ever.

Slice digital photos into pieces and have fun pasting them back together.

Meet the cute little bot that’s helping scientists understand the courtship of frogs.

Dive into the nitty-gritty of game-making with this popular Python library.

Learn about the Native soldiers and the creative cypher code that helped win WWII.

Our cars aren’t quite driving themselves, but they can help us park and avoid collisions.

Make your games even more exciting with custom user-created content!

A clever teacher uses our favourite round robot to bring books to life.

Learn how to search through blobs of text with speed, accuracy, and elegance… like a ninja!

Links from the bottom of all the April 2018 articles, collected in one place for you to print, share, or bookmark.

Interesting stories about computer science, software programming, and technology for April 2018.