Group Theory for Puzzles 07/08/2007 04:27 PM

Total Page:16

File Type:pdf, Size:1020Kb

Group Theory for Puzzles 07/08/2007 04:27 PM Group Theory for puzzles 07/08/2007 04:27 PM Group Theory for puzzles On this page I will give much more detail on what groups are, filling in many details that are skimmed over on the Useful Mathematics page. However, since there is a lot to deal with, I will go through it fairly quickly and not elaborate much, which makes the text rather dense. I will at the same time try to relate these concepts to permutation puzzles, and the Rubik's Cube in particular. 1. Sets and functions 2. Groups and homomorphisms 3. Actions and orbits 4. Cosets and coset spaces 5. Permutations and parity 6. Symmetry and Platonic solids 7. Conjugation and commutation 8. Normal groups and quotient groups 9. Bibliography and Further reading Algebra and Group Theory Application to puzzles 1. Sets and functions A set is a collection of things called elements, and each of these elements occurs at most once in a set. A (finite) set can be given explicitly as a list inside a pair of curly brackets, for example {2,4,6,8} is the set of even positive integers below 10. It has four elements. There are infinite sets - sets that have an infinite number of elements - such as the set of integers, but I On puzzles, we will often consider the set of puzzle will generally discuss only finite sets (and groups) here. positions. A function f:A B from set A to set B is a pairing that assigns to each element in A some element of B. Set A is called the A move on a puzzle is usually a function on the set domain and set B the range. If the function f assigns element of positions. A move applied to one position results b to a then we say that f maps a to b, and call b the image of a. in another position. This assumes however that a We could write this as f(a)=b, but I prefer to write it as af=b. move can always be applied to any position - in Writing f on the right like this will also be more natural in the some puzzles such as the Square-1 this is not the cube context later, but be aware that in many books it is written case and makes such a puzzle much harder to on the left instead. analyse. A function is injective or one-to-one if the function maps different elements in A to different elements in B. A function is surjective or onto if every element in B is mapped to by the function. A function is called a bijection if it is both one-to-one and onto. http://www.geocities.com/jaapsch/puzzles/groups.htm Page 1 of 18 Group Theory for puzzles 07/08/2007 04:27 PM Lemma 1.1: For a bijection f:A B we can uniquely define a function g:B A, such that if a is any element of A and b is its image in B under f (i.e. af=b) then bg=a. Proof: Let b be an element of B. Since f is onto, there must be some a in A such that af=b. Since f is one-to-one, this element a is uniquely determined. Therefore it is actually possible to simply define g as that pairing that maps b to a whenever f maps a to b. The function above is called the inverse function of f, and is usually denoted by f -1. Thus every bijection f:A B has an inverse f -1:B A such that whenever af=b for some a in A and b in B, then bf -1=a. Lemma 1.2: The inverse of a bijection is also a bijection. Proof: Let f:A B be a bijection, and f -1:B A its inverse. Let a be any element in A, and let b=af. Then a=bf -1. Therefore f -1 is surjective. Again let a be any element of A. There is a unique b in B such that af=b. In other words there is a unique b in B On nearly all puzzles, moves have inverses. A such that bf -1=a. Thus f -1 is one-to-one. move can usually be undone, taking you back to the position you had before. For example on the cube, Note that if f:A B is a bijection, then f uniquely pairs each the move R, a clockwise turn of the right face, can element of A with an element of B and vice versa. If A and B be undone by an anti-clockwise turn of the right and finite, they will therefore have the same number of face. This can be denoted by R-1, the inverse of R, elements. though R' is more common. The composition of two functions f:A B and g:B C, is the function that is the result of applying first f and then g. Thus to an element a in A we map the element c in C given by c=(af)g. This function is denoted f g. Lemma 1.3: If f:A B and g:B C are one-to-one, then f g is also one-to-one. Proof: Suppose a1 and a2 are elements of A, such that a1(f g)=a2(f g). Then (a1f)g=(a2f)g and since g is one-to-one we must have a1f=a2f. Since f is one-to-one, we get a1=a2. Moves can be combined into move sequences. Therefore f g never maps different elements to the same image Instead of having to keep track of what each move element, in other words it is also one-to-one. in a move sequence does to a position, you instead think only of what the sequence as a whole does to Lemma 1.4: If f:A B and g:B C are onto, then f g is also onto. it. A move sequence has become a single entity in Proof: Let c be an arbitrary element of C. There must be some itself, which is applied to a position. element b in B such that bg=c since g is onto. There must be an a in A such that af=b since f is onto. Therefore Any move sequence is a composition of functions. c=bg=(af)g=a(f g) which means that f g is onto. For example, if we apply the move sequence FRB to a position p, we can do the moves one by one, Lemma 1.5: If f:A B and g:B C are bijections, then f g is also which gives position ((pF)R)B, or we can consider it a bijection. as a single function F R B, which gives position Proof: Follows directly from previous two lemmas. p(F R B). The identity function on A is the function iA:A A defined by Note that if two different move sequences always ai=a for every a in A. It is easily seen to be a bijection. have the same effect on the cube, then they are simply different ways of writing down the same function. Most of the theory developed here is Lemma 1.6: If f:A B is a function, then f iB=iA f=f. Proof: For any a in A, we have a(f i )=(af)i =af=(ai )f=a(i f). concerned only with the effect, not with how the B B A A function is represented by a move sequence. The three functions f, f iB, and iA f all have the same effect on http://www.geocities.com/jaapsch/puzzles/groups.htm Page 2 of 18 Group Theory for puzzles 07/08/2007 04:27 PM any element, they must therefore be the same function. The identity on the cube is the move sequence that contains no moves at all, or any other move -1 -1 Lemma 1.7: If f:A B is a bijection, then f f =iA and f f=iB. sequence that does nothing such as Proof: For any a in A, we have an element b in B such that F2B2L2R2F2B2L2R2. -1 -1 -1 -1 b=af. Then bf =a which gives a(f f )=(af)f =bf =a=aiA. Therefore f f -1=i . Conversely for any b in B we can find a in The move sequences U2D2 R'L FB' and A RL'FB'RL'F'B are inverses. You can check this by -1 -1 -1 A such that bf =a and then b(f f)=(bf )f=af=b. Therefore doing the first and then the second sequence on a -1 f f=iB. solved cube to again find the cube solved. This automatically means that the second sequence followed by the first will also do nothing to the cube. Lemma 1.8: Composition is associative, i.e. for functions f, g, and h we have f (g h)=(f g) h. Proof: Let a be any element of the set on which f is defined, then a(f (g h))=(af)(g h))=((af)g)h=(a(f g))h=a((f g) h). Thus f (g h) and (f g) h have the same effect on any element, and are therefore the same function. To undo or invert the move sequence FRB, we Lemma 1.9: (f g)-1=g-1 f -1.
Recommended publications
  • Mathematics of the Rubik's Cube
    Mathematics of the Rubik's cube Associate Professor W. D. Joyner Spring Semester, 1996{7 2 \By and large it is uniformly true that in mathematics that there is a time lapse between a mathematical discovery and the moment it becomes useful; and that this lapse can be anything from 30 to 100 years, in some cases even more; and that the whole system seems to function without any direction, without any reference to usefulness, and without any desire to do things which are useful." John von Neumann COLLECTED WORKS, VI, p. 489 For more mathematical quotes, see the first page of each chapter below, [M], [S] or the www page at http://math.furman.edu/~mwoodard/mquot. html 3 \There are some things which cannot be learned quickly, and time, which is all we have, must be paid heavily for their acquiring. They are the very simplest things, and because it takes a man's life to know them the little new that each man gets from life is very costly and the only heritage he has to leave." Ernest Hemingway (From A. E. Hotchner, PAPA HEMMINGWAY, Random House, NY, 1966) 4 Contents 0 Introduction 13 1 Logic and sets 15 1.1 Logic................................ 15 1.1.1 Expressing an everyday sentence symbolically..... 18 1.2 Sets................................ 19 2 Functions, matrices, relations and counting 23 2.1 Functions............................. 23 2.2 Functions on vectors....................... 28 2.2.1 History........................... 28 2.2.2 3 × 3 matrices....................... 29 2.2.3 Matrix multiplication, inverses.............. 30 2.2.4 Muliplication and inverses...............
    [Show full text]
  • Cube Lovers: Index by Date 3/18/17, 209 PM
    Cube Lovers: Index by Date 3/18/17, 209 PM Cube Lovers: Index by Date Index by Author Index by Subject Index for Keyword Articles sorted by Date: Jul 80 Alan Bawden: [no subject] Jef Poskanzer: Complaints about :CUBE program. Alan Bawden: [no subject] [unknown name]: [no subject] Alan Bawden: [no subject] Bernard S. Greenberg: Cube minima Ed Schwalenberg: Re: Singmeister who? Bernard S. Greenberg: Singmaster Allan C. Wechsler: Re: Cubespeak Richard Pavelle: [no subject] Lauren Weinstein: confusion Alan Bawden: confusion Jon David Callas: [no subject] Bernard S. Greenberg: Re: confusion Richard Pavelle: confusion but simplicity Allan C. Wechsler: Short Introductory Speech Richard Pavelle: the cross design Bernard S. Greenberg: Re: the cross design Alan Bawden: the cross design Yekta Gursel: Re: Checker board pattern... Bernard S. Greenberg: Re: Checker board pattern... Michael Urban: Confusion Bernard S. Greenberg: Re: the cross design Bernard S. Greenberg: Re: Checker board pattern... Bernard S. Greenberg: Re: Confusion Bernard S. Greenberg: The Higher Crosses Alan Bawden: The Higher Crosses Bernard S. Greenberg: Postscript to above Bernard S. Greenberg: Bug in above Ed Schwalenberg: Re: Patterns, designs &c. Alan Bawden: Patterns, designs &c. Alan Bawden: 1260 Richard Pavelle: [no subject] Allan C. Wechsler: Re: Where to get them in the Boston Area, Cube Language. Alan Bawden: 1260 vs. 2520 Alan Bawden: OOPS Bill McKeeman: Re: Where to get them in the Boston Area, Cube Language. Bernard S. Greenberg: General remarks Bernard S. Greenberg: :cube feature http://www.math.rwth-aachen.de/~Martin.Schoenert/Cube-Lovers/ Page 1 of 45 Cube Lovers: Index by Date 3/18/17, 209 PM Alan Bawden: [no subject] Bernard S.
    [Show full text]
  • Rubik's Cube Solutions
    Rubik’s Cube Solutions Rubik’s Cube Solution – Useful Links http://www.geocities.com/jaapsch/puzzles/theory.htm http://www.ryanheise.com/cube/ http://peter.stillhq.com/jasmine/rubikscubesolution.html http://en.wikibooks.org/wiki/How_to_solve_the_Rubik's_Cube http://www.rubiks.com/World/~/media/Files/Solution_book_LOW_RES.ashx http://helm.lu/cube/MarshallPhilipp/index.htm Rubik’s Cube in a Scrambled State Rubik’s Cube in a Solved State – CubeTwister Front: Red, Right: Yellow, Up: Blue Back: Orange, Down: Green, Left: White Cube Colors: Red opposed to Orange, Yellow opposed to White, Blue opposed to Green Rubik’s Cube Solutions 06.12.2008 http://www.mementoslangues.fr/ Rubik’s Cube Commutators and Conjugates Introduction A Commutator is an algorithm of the form X Y X' Y', and a conjugate is an algorithm of the form X Y X', where X and Y denote arbitrary algorithms on a puzzle, and X', Y' denote their respective inverses. They are formal versions of the simple, intuitive idea of "do something to set up another task which does something useful, and undo the setup." Commutators can be used to generate algorithms that only modify specific portions of a cube, and are intuitively derivable. Many puzzle solutions are heavily or fully based on commutators. Commutator and Conjugate Notation [X, Y] is a commonly used notation to represent the sequence X Y X' Y'. [X: Y] is a well-accepted representation of the conjugate X Y X'. Since commutators and conjugates are often nested together, Lucas Garron has proposed the following system for compact notation: Brackets denote an entire algorithm, and within these, the comma delimits a commutator, and a colon or a semicolon a conjugate.
    [Show full text]
  • Mathematics of the Rubik's Cube
    Mathematics of the Rubik’s cube Associate Professor W. D. Joyner Spring Semester, 1996-7 2 Abstract These notes cover enough group theory and graph theory to under- stand the mathematical description of the Rubik’s cube and several other related puzzles. They follow a course taught at the USNA during the Fall and Spring 1996-7 semesters. ”By and large it is uniformly true that in mathematics that there is a time lapse between a mathematical discovery and the moment it becomes useful; and that this lapse can be anything from 30 to 100 years, in some cases even more; and that the whole system seems to function without any direction, without any reference to usefulness, and without any desire to do things which are useful.” John von Neumann COLLECTED WORKS, VI, p489 For more mathematical quotes, see the first page of each chapter below, [M], [S] or the www page at http://math.furman.edu/~mwoodard/mquot.html 3 ”There are some things which cannot be learned quickly, and time, which is all we have, must be paid heavily for their acquir- ing. They are the very simplest things, and because it takes a man’s life to know them the little that each man gets from life is costly and the only heritage he has to leave.” Ernest Hemingway 4 Contents 0 Introduction 11 1 Logic and sets 13 1.1 Logic :::::::::::::::::::::::::::::::: 13 1.1.1 Expressing an everyday sentence symbolically ::::: 16 1.2 Sets :::::::::::::::::::::::::::::::: 17 2 Functions, matrices, relations and counting 19 2.1 Functions ::::::::::::::::::::::::::::: 19 2.2 Functions on vectors
    [Show full text]
  • Permutation Puzzles a Mathematical Perspective
    Permutation Puzzles A Mathematical Perspective Jamie Mulholland Copyright c 2021 Jamie Mulholland SELF PUBLISHED http://www.sfu.ca/~jtmulhol/permutationpuzzles Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 License (the “License”). You may not use this document except in compliance with the License. You may obtain a copy of the License at http://creativecommons.org/licenses/by-nc-sa/4.0/. Unless required by applicable law or agreed to in writing, software distributed under the License is dis- tributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. First printing, May 2011 Contents I Part One: Foundations 1 Permutation Puzzles ........................................... 11 1.1 Introduction 11 1.2 A Collection of Puzzles 12 1.3 Which brings us to the Definition of a Permutation Puzzle 22 1.4 Exercises 22 2 A Bit of Set Theory ............................................ 25 2.1 Introduction 25 2.2 Sets and Subsets 25 2.3 Laws of Set Theory 26 2.4 Examples Using SageMath 28 2.5 Exercises 30 II Part Two: Permutations 3 Permutations ................................................. 33 3.1 Permutation: Preliminary Definition 33 3.2 Permutation: Mathematical Definition 35 3.3 Composing Permutations 38 3.4 Associativity of Permutation Composition 41 3.5 Inverses of Permutations 42 3.6 The Symmetric Group Sn 45 3.7 Rules for Exponents 46 3.8 Order of a Permutation 47 3.9 Exercises 48 4 Permutations: Cycle Notation ................................. 51 4.1 Permutations: Cycle Notation 51 4.2 Products of Permutations: Revisited 54 4.3 Properties of Cycle Form 55 4.4 Order of a Permutation: Revisited 55 4.5 Inverse of a Permutation: Revisited 57 4.6 Summary of Permutations 58 4.7 Working with Permutations in SageMath 59 4.8 Exercises 59 5 From Puzzles To Permutations .................................
    [Show full text]
  • Adventures in Group Theory: Rubik's Cube, Merlin's Machine, and Other
    Adventures in Group Theory: Rubik’s Cube, Merlin’s Machine, and Other Mathematical Toys David Joyner 5-15-2008 In mathematics you don’t understand things. You just get used to them. Johann von Neumann v Contents Preface ................................................... ................ix Acknowledgements ................................................... xiii Where to begin ................................................... .xvii Chapter 1: Elementary my dear Watson ................................1 Chapter 2: And you do addition? .......................................13 Chapter 3: Bell ringing and other permutations ......................37 Chapter 4: A procession of permutation puzzles ......................61 Chapter 5: What’s commutative and purple? .........................83 Chapter 6: Welcome to the machine ..................................123 Chapter 7: ‘God’s algorithm’ and graphs .............................143 Chapter 8: Symmetry and the Platonic solids .......................155 Chapter 9: The illegal cube group ....................................167 Chapter 10: Words which move .......................................199 Chapter 11: The (legal) Rubik’s Cube group ........................219 Chapter 12: Squares, two faces, and other subgroups ...............233 Chapter 13: Other Rubik-like puzzle groups .........................251 Chapter 14: Crossing the rubicon .....................................269 Chapter 15: Some solution strategies .................................285 Chapter 16: Coda: questions and other directions
    [Show full text]
  • Preface Preface Preface
    CubeRoot Preface Preface Preface The Rubiks cube is a Combination puzzle in the shape of a cube that is cut two times along each of three axes. It is invented in 1974 by Ernő Rubik, which is the best-selling toy in history. Since 2003, WCA (World Cube Association), the official ruling and organizing entity for speedsolving Rubiks Cube and other puzzles, has organized competitions worldwide and recognize world records. From around 2007 the cubing community has seen the development of speedcubes made in China like Qiyi, GAN, Moyu, Yuxin. This puzzle consists of 6 faces, each with 9 colored facets. From another aspect, it has 6 fixed centers, 12 edges, 8 corners, and a total of 43,252,003,274,489,856,000 positions. A solved cube has all facets on each face with the same color. The cube move F,, BU , DLR ,, rotates the front, back, upper, down, left, right face 90 degree turn clockwise, respectively. A letter followed by a prime () symbol denotes a 90 degree turn counterclockwise. A letter followed by a 2 denotes a double turn of that face. CFOP method (Cross – F2L – OLL – PLL), the most commonly used speedsolving method for 3x3, heavily relies on algorithms, pattern recognition and muscle memory compared to more intuitive methods such as Roux, ZZ or Petrus method. It was first developed in the early 1980s combining innovations by a number of cubers. Jessica Fridrich popularized it by publishing it online in 1997. Its average number of moves is 56. Gods Number is either used to refer to the diameter of the group of the puzzle (the furthest distance two states can be from each other) or to the furthest distance any position can be from solved.
    [Show full text]
  • The Complexity Dynamics of Magic Cubes and Twisty Puzzles Chris King 6Th Jan 2020 Live-Linked Website
    The Complexity Dynamics of Magic Cubes and Twisty Puzzles Chris King 6th Jan 2020 Live-linked website http://dhushara.com/cubes/ ! Fig 1: A selection of the twisty puzzles discussed in the article: (1-9) show wide variation in cubic rotational geometries. (10-17) show how the geometry of the external shape affects the puzzles. (18-20) cube variations and (21) show a stickerless 9x9 cube to explore how increasing sizes of NxN puzzles affect the solutions. (1) A 4x4 Rubik cube. (2) MF8 face and corner turning windows grilles cube. (3) A Moyu 4x4 axis 4x4 cube shape mod. (4) MF8 crazy unicorn cube. (5) MF8 4-layer elite half-cube turning skewb. (6) A 45o turning MF8 sun cube. (7) A 45o slice-turning MF8 Son-Mum V2 4x4 cube with additional splits to enable additional confirmations (8) A Dayan Shuang Fei Yan (cool flying swallow) corner and oblique turning cube. (9) MF8 edge-turning ‘twins’ Skewby Copter plus. (10) Alexander’s Star great dodecahedron. (11) Shengshou Megaminx dodecahedron. (12) MF8 multidodecahedron containing a megaminx inside a master penultimate (13) Jiehui rhombic dodecahedron. (14) Qiyi Qiming pyraminx corner/face turning tetrahedron. (15) Stickerless Shengshou mastermorphix edge-turning tetrahedron 3x3 cube shape mod. (16) LanLan face-turning octahedron. (14) LanLan 4x4 corner turning octadedron. (18) Square-1. (19) Fang Cun Ghost Cube 3x3 shape mod. (20) Mirror Cube 3x3 shape mod. (21) MoYu free-turning stickerless 9x9 speed cube. History: In the mid-1970s, Ern" Rubik designed his 3x3x3 "Magic cube" (B#vös kocka in Hungarian) as a way of solving the structural problem of rotating the parts independently without the entire mechanism falling apart.
    [Show full text]
  • Diploma Thesis Analyzing Human Solving Methods for Rubik's Cube
    Diploma Thesis Analyzing Human Solving Methods for Rubik’s Cube and similar Puzzles Stefan Pochmann Supervisor Prof. Dr. J. Furnkranz¨ March 29, 2008 ii Ehrenw¨ortlicheErkl¨arung Hiermit versichere ich, die vorliegende Diplomarbeit ohne Hilfe Dritter und nur mit den angegebenen Quellen und Hilfsmitteln angefertigt zu haben. Alle Stellen, die aus den Quellen entnommen wurden, sind als solche kenntlich gemacht worden. Diese Arbeit hat in gleicher oder ahnlicher¨ Form noch keiner Prufungsbeh¨ orde¨ vorgelegen. Darmstadt, Marz¨ 2008 Stefan Pochmann iii iv Contents Foreword xiii 1 Cube basics and solving 1 1.1 Speedcubing . .1 1.2 Cube structure . .2 1.3 Algorithms and notation . .4 1.4 Solving methods . .6 1.4.1 Beginner method . .6 1.4.2 Expert method . .8 1.4.3 Other methods . .9 1.5 Common aspects of human solving methods . 11 2 Previous programs and results 13 2.1 Some numbers . 14 2.2 Thistlethwaite . 14 2.3 Kociemba’s Cube Explorer . 15 2.4 New lower bound: 20 turns . 16 2.5 Korf’s pattern databases . 17 2.6 Jelinek’s ACube . 17 2.7 Norskog’s 4x4x4 solver/analysis . 18 2.8 My short solver . 19 2.9 Closing the gap . 19 v vi CONTENTS 3 Hume 21 3.1 Shortcomings of previous programs . 21 3.2 The Hume program . 22 3.3 Execution . 23 3.4 Input . 23 3.4.1 Describing the puzzle . 24 3.4.2 Describing the solving method . 24 3.4.3 Describing what to do . 25 3.5 Solving and output . 25 3.6 Overlapping subgoals .
    [Show full text]
  • Pyramorphix - Wikipedia, the Free Encyclopedia 8/22/10 1:06 AM
    Pyramorphix - Wikipedia, the free encyclopedia 8/22/10 1:06 AM Pyramorphix From Wikipedia, the free encyclopedia The Pyramorphix is a tetrahedral puzzle similar to the Rubik's Cube. It has a total of 8 movable pieces to rearrange, compared to the 20 of the Rubik's cube. Though it looks like a simpler version of the Pyraminx, it is an edge-turning puzzle with the mechanism identical to that of the Pocket Cube. Contents 1 Description 2 Number of combinations 3 Master Pyramorphix 3.1 Solutions 3.2 Number of combinations 4 See also The Pyramorphix in its solved 5 External links state. Description At first glance, the Pyramorphix appears to be a trivial puzzle. It resembles the Pyraminx, and its appearance would suggest that only the four corners could be rotated. In fact, the puzzle is a specially shaped 2×2×2 cube. Four of the cube's corners are reshaped into pyramids and the other four are reshaped into triangles. The result of this is a puzzle that changes shape as it is turned. The purpose of the puzzle is to scramble the colors and the shape, and then restore it to its original state of being a tetrahedron with one color per face. Number of combinations The Pyramorphix, scrambled. The puzzle is available either with stickers or plastic tiles on the faces. Both have a ribbed appearance, giving a visible orientation to the flat pieces. This results in 3,674,160 combinations, the same as the 2×2×2 cube. However, if there were no means of identifying the orientation of those pieces, the number of combinations http://en.wikipedia.org/wiki/Pyramorphix Page 1 of 4 Pyramorphix - Wikipedia, the free encyclopedia 8/22/10 1:06 AM would be reduced.
    [Show full text]