A Mathematical Introduction to the Rubik s Cube

Similar documents
DIRECTIONS FOR SOLVING THE 5x5x5 (Professor) CUBE

The Mathematics of the Rubik s Cube

Comments on the Rubik s Cube Puzzle

Permutation Groups. Tom Davis April 2, 2003

A Solution of Rubik s Cube

Solving the Rubik's Revenge (4x4x4) Home Pre-Solution Stuff Step 1 Step 2 Step 3 Solution Moves Lists

1974 Rubik. Rubik and Rubik's are trademarks of Seven Towns ltd., used under license. All rights reserved. Solution Hints booklet

Rubiks Cube or Magic Cube - How to solve the Rubiks Cube - follow these instructions

Group Theory via Rubik s Cube

Algebra of the 2x2x2 Rubik s Cube

Chapter 7: Products and quotients

TEACHER S GUIDE TO RUSH HOUR

Section Composite and Inverse Functions

Factorizations: Searching for Factor Strings

Stockholm

A Rubik's cube solution that is easy to memorize

3.1. RATIONAL EXPRESSIONS

Free Inductive/Logical Test Questions

Quotient Rings and Field Extensions

Extended Essay Mathematics: Finding the total number of legal permutations of the Rubik s Cube

Group Theory and the Rubik s Cube. Janet Chen

Pigeonhole Principle Solutions

Coin Flip Questions. Suppose you flip a coin five times and write down the sequence of results, like HHHHH or HTTHT.

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

Lesson 26: Reflection & Mirror Diagrams

RAID Performance Analysis

5.2 Inverse Functions

Outline 2.1 Graph Isomorphism 2.2 Automorphisms and Symmetry 2.3 Subgraphs, part 1

1 Symmetries of regular polyhedra

Exponential and Logarithmic Functions

Lecture Notes on Pitch-Class Set Theory. Topic 4: Inversion. John Paul Ito

IMO Training 2008 Circles Yufei Zhao. Circles. Yufei Zhao.

Cryptography and Network Security Prof. D. Mukhopadhyay Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Joule Thief 3.0 Kit. June 2012, Rev Joule Thief 3.0

Grade 7/8 Math Circles November 3/4, M.C. Escher and Tessellations

MD5-26 Stacking Blocks Pages

What's the Spin? - Discover Properties of Geometric Rotations

2.3. Finding polynomial functions. An Introduction:

Which two rectangles fit together, without overlapping, to make a square?

Kawasaki Rose. Unfold steps 1 to 4 and this is the result.

Session 5 Dissections and Proof

Sudoku puzzles and how to solve them

LAMC Beginners Circle: Parity of a Permutation Problems from Handout by Oleg Gleizer Solutions by James Newton

9. Quotient Groups Given a group G and a subgroup H, under what circumstances can we find a homomorphism φ: G G ', such that H is the kernel of φ?

Arrangements And Duality

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Geometric Transformations

This puzzle is based on the following anecdote concerning a Hungarian sociologist and his observations of circles of friends among children.

Permutations, Parity, and Puzzles

Algebra. Exponents. Absolute Value. Simplify each of the following as much as possible. 2x y x + y y. xxx 3. x x x xx x. 1. Evaluate 5 and 123

AUTUMN UNIT 3. first half. Perimeter. Centimetres and millimetres. Metres and centimetres. Area. 3D shapes PART 3 MEASURES AND PROPERTIES OF SHAPES

A C T I V I T Y : U S I N G T H E F I S H B O N E D I A G R A M TO

SECTION 2.5: FINDING ZEROS OF POLYNOMIAL FUNCTIONS

You know from calculus that functions play a fundamental role in mathematics.

Microsoft Excel 2010 Charts and Graphs

Cartesian Products and Relations

Grade 7 & 8 Math Circles Circles, Circles, Circles March 19/20, 2013

1. The volume of the object below is 186 cm 3. Calculate the Length of x. (a) 3.1 cm (b) 2.5 cm (c) 1.75 cm (d) 1.25 cm

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

Problem of the Month: Cutting a Cube

Making tessellations combines the creativity of an art project with the challenge of solving a puzzle.

HOW TO VIEW AND EDIT PICTURES

CATIA Basic Concepts TABLE OF CONTENTS

Unit 8 Angles, 2D and 3D shapes, perimeter and area

How to rotoscope in Adobe After Effects

Activities Grades K 2 THE FOUR-SQUARE QUILT. Put triangles together to make patterns.

What Is Singapore Math?

6.3 Conditional Probability and Independence

The Rubik User s Guide

Kenken For Teachers. Tom Davis June 27, Abstract

Probabilistic Strategies: Solutions

2. If C is the midpoint of AB and B is the midpoint of AE, can you say that the measure of AC is 1/4 the measure of AE?

Vectors 2. The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996.

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

The Fruit of the Spirit is Love

Commutative Property Grade One

POLYNOMIAL FUNCTIONS

Mathematics of Sudoku I

Graph Theory Problems and Solutions

Using Microsoft Word. Working With Objects

Introduction to Matrices

Factoring Whole Numbers

Mixed Logic A B A B. 1. Ignore all bubbles on logic gates and inverters. This means

2. Select Point B and rotate it by 15 degrees. A new Point B' appears. 3. Drag each of the three points in turn.

Basics of Counting. The product rule. Product rule example. 22C:19, Chapter 6 Hantao Zhang. Sample question. Total is 18 * 325 = 5850

Conditional Probability, Independence and Bayes Theorem Class 3, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

How to Make the Most of Excel Spreadsheets

All the examples in this worksheet and all the answers to questions are available as answer sheets or videos.

2048 is NP-Complete. Ahmed Abdelkader Aditya Acharya Philip Dasler. Theorem GAME is NP-Complete.

Introduction to Fractions

GROUPS ACTING ON A SET

Mathematical goals. Starting points. Materials required. Time needed

Lesson 29: Lenses. Double Concave. Double Convex. Planoconcave. Planoconvex. Convex meniscus. Concave meniscus

Elements of Abstract Group Theory

Midterm Practice Problems

+ = has become. has become. Maths in School. Fraction Calculations in School. by Kate Robinson

Session 6 Number Theory

Stanford Math Circle: Sunday, May 9, 2010 Square-Triangular Numbers, Pell s Equation, and Continued Fractions

Transcription:

Sept 29th, 2015

Outline Initial Observations Some Notation Socks and Shoes The Cross First 2 Layer - F2L Last Layer Commutators Conjugation

6 faces, 12 edges, 8 corners 54 stickers Scrambling faces is equivalent to rotating the whole cube. We can consider the faces fixed. It s a good idea to fix your orientation (at least to start). Think of operations on blocks rather than stickers. There are 8 corner blocks with 3 orientations each. There are 12 edge blocks with 2 orientations each. Number of positions by assembling and dissembling cube 8!(3 8 )12!(2 12 ) = 519, 024, 039, 293, 878, 272, 000 The last corner and edge orientations are determined by the previous blocks.

You can t change the orientation of one corner or edge. The corners and edges are linked in this parity. So the number of configurations is 8!(3 7 )12!(2 11 )/2 = 43, 252, 003, 274, 489, 856, 000 Dividing by the 24 rotations gives 1, 802, 166, 803, 103, 744, 000

Some Notation Up,Down,Right,Left,Front,Back Rotation about face center keeping cube orientation fixed. The Forward Direction is clockwise from outside cube. Half-turns U2 (or U 2 ) Inverse R (or R 1 )

Socks and Shoes (fg) = g f Taking the inverse of an composite operation where each part is invertible is the the same thing as reversing the order and inverting each part Note (f ) = f (RFBU2R ) = RU2B F R So if you know exactly what operations have been done to a cube. You can solve it by Socks and Shoes.

A Choice of Optimization Minimize Time: Easily defined. Can learn from youtube. Dominant algorithm CFOP requires 17-78 algorithms. Minimize Operations: How do you count? This is actually quite hard. Minimize Memory Footprint: Less algorithms and structure of each algorithm to make easier to remember. A viable long term solution strategy. Can also be applied to similar puzzles. Quite slow in time and operations.

Basically build the the solved cube a layer at a time. 1. Solve the Cross. Intuitive 2. Solve the First 2 Layers - F2L Intuitive 3. Solve the Last Layer - LL There s some work here.

The Cross Pick a side and ignore everything except the faces and the edges from the chosen side in solved position. Put these edges in the correct position and orientation. There are only 7920 possible positions. This strategy is useful: break, do something, fix-it Solved state is a cross (ignore gray):

First 2 Layer - F2L Identify the corners that would go into the cross. Ignore all others Goal: Pair these corners with their 2nd layer edges. These are called F2L pairs. Then put into their correct slot. Note: You want this method to preserve the cross. This strategy is useful: break, do something, fix-it There are only 4 F2L pairs. These connect the F2L pair below U, F. Then U, F slot the pair.

Last Layer So you ve solved the cube to something that looks like this: Want algorithms to preserve first 2 layers. There are 2 types of algorithms people use: Permutations and Orientations. Permutations change the position. Orientations rotate corners and flip edges. There are also orientation preserving permutations.

Last Layer - Speed Strategy 1. Orient Last Layer OLL 2. Permute Last Layer PLL Use only orientation preserving permutations The dominant speed solving method is call CFOP: Cross, F2L, OLL, PLL The minimum number of algorithms for OLL + PLL is 17.

Last Layer - Alternative Strategy 1. Permute Corners 3. Orient Corners 2. Permute Edges 4. Orient Edges This can be accomplished with 4 algorithms that all have the same structure. Note here the permutations are allowed to change the orientation (unlike innate CFOP). Iverson

A Little more Abstraction Think of the algorithms on the cube as functions on the cube. We call them permutations. The following properties are met: Associative f (gh) = (fg)h Identity There is an e with ef = fe = f for all f Inverse Every f has an inverse f with ff = f f = e We adopt left to right function notation. Let x be the red corner on the left then xruf is the red corner on the right R U F

Not Commutative The commutative property says fg = gf for all f and g R U U R

Fixing the First 2 Layers The key is to find elements that move as few pieces as possible. On a Rubik s cube that happens to be a 3-cycle: F R FLF RFL So F R FLF RFL is a 3-cycle on corner blocks.

Commutators A Commutator for 2 permutations f, g is [f, g] = f g fg [f, g] = [g, f ] (by socks and shoes) [f, g] is the identity if f and g commute that is fg = gf Call the support of a permutation f all elements moved by f. supp{f } = {x cube xf x} Theorem (The Commutator Theorem) If f, g are permutations with supp{f } supp{g} = {x} then [f, g] is a 3-cycle.

Sketch of Proof of the Commutator Theorem Let supp{f } supp{g} = {x}. Note since xf x and xg x that g and f have to move distinct elements to and from x. a f x f b α g x g β f and g are just the diagrams in reverse. Note a, b supp{g} and α, β supp{f } It is straightforward to compute b[f, g] = x, x[f, g] = β, β[f, g] = x and y[f, g] = y for any other y. So [f, g] is the 3-cycle (b, x, β)

Commutator Example M S [M,S]=M S MS

Commutator Example II - The Sexy Move R F [R,F]=R F RF

Commutator Example III - The Sledgehammer R F [R,F ]=R FRF

Conjugation to the Rescue We define the conjugation of f by g to be f g = g fg Note: Conjugation does the break-it, do something, fix-it strategy. You can think f g has the same structure as f just moved to different places by g (f g ) = (f ) g = g f g by Socks-and-Shoes You can use conjugation to find a move f g that who only moves one element in common with a simple rotation such as R.

An Example 3-cylce [R F, L ] = (F R F)L(F RF)L R F =F RF L [R F,L ]

Orientation changing moves Strategy: Come up with two 3-cycle commutators that move the same 3 things but change the orientation differently. For example: [L,R U ] [U,D F ]

: Commutators are almost enough to solve the entire cube. You may need a quarter turn on the last layer. The commutator theorem and conjugation applies to all sorts of twisty puzzles. Adding orientation of faces makes a cube slightly more challenging. Shape modifications of a cube can be solved with the same algorithms but may need face orientation moves also. Try conjugation with slicing to get edge 3-cycles. e.g. [M, R U ] Conjugation with cube rotation can move your 3-cycle shapes all over the place.