Slide 1

Slide 1 text

Permutation Puzzles Math Teachers’ Circles University of Nebraska at Omaha February 28, 2012 Dana C. Ernst Plymouth State University Email: [email protected] Web: http://danaernst.com Twitter: @danaernst & @IBLMath 1

Slide 2

Slide 2 text

Permutations 2

Slide 3

Slide 3 text

A permutation of a set of objects is simply an arrangement of those objects into a particular order. Permutations 2

Slide 4

Slide 4 text

A permutation of a set of objects is simply an arrangement of those objects into a particular order. Permutations 2 Can you think of examples?

Slide 5

Slide 5 text

A permutation of a set of objects is simply an arrangement of those objects into a particular order. Permutations 2 Can you think of examples? In this workshop, we will explore puzzles related to permutations of objects in m×n grids.

Slide 6

Slide 6 text

3 The Pebble Problem

Slide 7

Slide 7 text

3 The Pebble Problem The 5×5 puzzle Imagine you have 25 pebbles, each occupying one square on a 5×5 grid. We will explore 3 variations of a permutation puzzle involving this grid.

Slide 8

Slide 8 text

3 The Pebble Problem The 5×5 puzzle Imagine you have 25 pebbles, each occupying one square on a 5×5 grid. We will explore 3 variations of a permutation puzzle involving this grid. ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●

Slide 9

Slide 9 text

4 The Pebble Problem (Continued)

Slide 10

Slide 10 text

4 The Pebble Problem (Continued) Variation 1 Move every pebble to a unique adjacent square by moving up, down, left, or right. If this is possible, describe a solution. If impossible, explain why.

Slide 11

Slide 11 text

4 The Pebble Problem (Continued) Variation 1 Move every pebble to a unique adjacent square by moving up, down, left, or right. If this is possible, describe a solution. If impossible, explain why. ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●

Slide 12

Slide 12 text

5 The Pebble Problem (Continued)

Slide 13

Slide 13 text

5 The Pebble Problem (Continued) Variation 2 Suppose that all but one pebble (your choice which one) must move to a unique adjacent square by moving up, down, left, or right. If this is possible, describe a solution. If impossible, explain why.

Slide 14

Slide 14 text

5 The Pebble Problem (Continued) Variation 2 Suppose that all but one pebble (your choice which one) must move to a unique adjacent square by moving up, down, left, or right. If this is possible, describe a solution. If impossible, explain why. ● ● ● ● ● ● ● ● ˒ ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●

Slide 15

Slide 15 text

6 The Pebble Problem (Continued)

Slide 16

Slide 16 text

6 The Pebble Problem (Continued) Variation 3 Consider Variation 1 again, but this time also allow diagonal moves to adjacent squares. If this is possible, describe a solution. If impossible, explain why.

Slide 17

Slide 17 text

6 The Pebble Problem (Continued) Variation 3 Consider Variation 1 again, but this time also allow diagonal moves to adjacent squares. If this is possible, describe a solution. If impossible, explain why. ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●

Slide 18

Slide 18 text

7 The Pebble Problem (Continued)

Slide 19

Slide 19 text

7 The Pebble Problem (Continued) The 6×6 puzzle Imagine you have 36 pebbles, each occupying one square on a 6×6 grid.

Slide 20

Slide 20 text

7 The Pebble Problem (Continued) The 6×6 puzzle Imagine you have 36 pebbles, each occupying one square on a 6×6 grid. ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●

Slide 21

Slide 21 text

7 The Pebble Problem (Continued) The 6×6 puzzle Imagine you have 36 pebbles, each occupying one square on a 6×6 grid. Repeat Variations 1, 2, & 3 for 6×6 grid. ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●

Slide 22

Slide 22 text

8 The Pebble Problem (Continued)

Slide 23

Slide 23 text

8 The Pebble Problem (Continued) The general n×n puzzle Imagine you have n2 pebbles, each occupying one square on n×n grid.

Slide 24

Slide 24 text

8 The Pebble Problem (Continued) The general n×n puzzle Imagine you have n2 pebbles, each occupying one square on n×n grid. Questions

Slide 25

Slide 25 text

8 The Pebble Problem (Continued) The general n×n puzzle Imagine you have n2 pebbles, each occupying one square on n×n grid. Questions For which n does Variation 1 have a solution? Why?

Slide 26

Slide 26 text

8 The Pebble Problem (Continued) The general n×n puzzle Imagine you have n2 pebbles, each occupying one square on n×n grid. Questions For which n does Variation 1 have a solution? Why? For which n does Variation 2 have a solution? Why?

Slide 27

Slide 27 text

8 The Pebble Problem (Continued) The general n×n puzzle Imagine you have n2 pebbles, each occupying one square on n×n grid. Questions For which n does Variation 1 have a solution? Why? For which n does Variation 2 have a solution? Why? For which n does Variation 3 have a solution? Why?

Slide 28

Slide 28 text

8 The Pebble Problem (Continued) The general n×n puzzle Imagine you have n2 pebbles, each occupying one square on n×n grid. Questions For which n does Variation 1 have a solution? Why? For which n does Variation 2 have a solution? Why? For which n does Variation 3 have a solution? Why? When there is a solution, how many are there? Note: I do not know the answer. Difficult?

Slide 29

Slide 29 text

8 The Pebble Problem (Continued) The general n×n puzzle Imagine you have n2 pebbles, each occupying one square on n×n grid. Questions For which n does Variation 1 have a solution? Why? For which n does Variation 2 have a solution? Why? For which n does Variation 3 have a solution? Why? When there is a solution, how many are there? Note: I do not know the answer. Difficult? What other variations can we come up with?

Slide 30

Slide 30 text

9 SpinpossibleTM

Slide 31

Slide 31 text

9 SpinpossibleTM The following puzzles are inspired by the game Spinpossible [http://spinpossible.com].

Slide 32

Slide 32 text

9 SpinpossibleTM The following puzzles are inspired by the game Spinpossible [http://spinpossible.com].

Slide 33

Slide 33 text

9 SpinpossibleTM The following puzzles are inspired by the game Spinpossible [http://spinpossible.com]. The object of the game is to convert a scrambled board into the solved board by rotating m×n subgrids.

Slide 34

Slide 34 text

10 SpinpossibleTM (Continued)

Slide 35

Slide 35 text

10 The 1×3 game SpinpossibleTM (Continued)

Slide 36

Slide 36 text

10 The 1×3 game Imagine you have a 1×3 grid filled with the numbers 1, 2, 3 in any order. In addition, any subset of the numbers may be turned upside down. SpinpossibleTM (Continued)

Slide 37

Slide 37 text

10 The 1×3 game Imagine you have a 1×3 grid filled with the numbers 1, 2, 3 in any order. In addition, any subset of the numbers may be turned upside down. By applying sequences of 180o rotations of 1×1, 1×2, or 1×3 subgrids, can you convert the scrambled board into the solved grid? SpinpossibleTM (Continued)

Slide 38

Slide 38 text

10 The 1×3 game Imagine you have a 1×3 grid filled with the numbers 1, 2, 3 in any order. In addition, any subset of the numbers may be turned upside down. By applying sequences of 180o rotations of 1×1, 1×2, or 1×3 subgrids, can you convert the scrambled board into the solved grid? Let’s try one together. SpinpossibleTM (Continued)

Slide 39

Slide 39 text

11 SpinpossibleTM (Continued)

Slide 40

Slide 40 text

11 Example of 1×3 game SpinpossibleTM (Continued)

Slide 41

Slide 41 text

11 Example of 1×3 game 1 2 3 SpinpossibleTM (Continued)

Slide 42

Slide 42 text

11 Example of 1×3 game 1 2 3 SpinpossibleTM (Continued)

Slide 43

Slide 43 text

11 Example of 1×3 game 1 2 3 2 1 3 SpinpossibleTM (Continued)

Slide 44

Slide 44 text

11 Example of 1×3 game 1 2 3 2 1 3 SpinpossibleTM (Continued)

Slide 45

Slide 45 text

11 Example of 1×3 game 1 2 3 2 1 3 2 1 3 SpinpossibleTM (Continued)

Slide 46

Slide 46 text

11 Example of 1×3 game 1 2 3 2 1 3 2 1 3 SpinpossibleTM (Continued)

Slide 47

Slide 47 text

11 Example of 1×3 game 1 2 3 2 1 3 2 1 3 2 1 3 SpinpossibleTM (Continued)

Slide 48

Slide 48 text

11 Example of 1×3 game 1 2 3 2 1 3 2 1 3 2 1 3 Are there other solutions? Is there a “shorter” one? SpinpossibleTM (Continued)

Slide 49

Slide 49 text

12 SpinpossibleTM (Continued)

Slide 50

Slide 50 text

12 OK, your turn! Try solving the following boards. See if you can obtain an optimal solution. SpinpossibleTM (Continued)

Slide 51

Slide 51 text

12 OK, your turn! Try solving the following boards. See if you can obtain an optimal solution. 2 3 1 Min # Spins: 2 SpinpossibleTM (Continued)

Slide 52

Slide 52 text

12 OK, your turn! Try solving the following boards. See if you can obtain an optimal solution. 2 3 1 Min # Spins: 2 1 3 2 Min # Spins: 3 SpinpossibleTM (Continued)

Slide 53

Slide 53 text

12 OK, your turn! Try solving the following boards. See if you can obtain an optimal solution. 2 3 1 Min # Spins: 2 1 3 2 Min # Spins: 3 3 2 1 Min # Spins: 3 SpinpossibleTM (Continued)

Slide 54

Slide 54 text

13 SpinpossibleTM (Continued)

Slide 55

Slide 55 text

13 Questions for the 1×3 board SpinpossibleTM (Continued)

Slide 56

Slide 56 text

13 How many different scrambled boards are there? Questions for the 1×3 board SpinpossibleTM (Continued)

Slide 57

Slide 57 text

13 How many different scrambled boards are there? Does every scrambled board have at least one solution? More than one solution? Questions for the 1×3 board SpinpossibleTM (Continued)

Slide 58

Slide 58 text

13 How many different scrambled boards are there? Does every scrambled board have at least one solution? More than one solution? Are some boards “more scrambled” than others? Questions for the 1×3 board SpinpossibleTM (Continued)

Slide 59

Slide 59 text

13 How many different scrambled boards are there? Does every scrambled board have at least one solution? More than one solution? Are some boards “more scrambled” than others? Does the order of the moves matter? Questions for the 1×3 board SpinpossibleTM (Continued)

Slide 60

Slide 60 text

13 How many different scrambled boards are there? Does every scrambled board have at least one solution? More than one solution? Are some boards “more scrambled” than others? Does the order of the moves matter? Can you come up with an algorithm that will guarantee a solution? Will it be an optimal solution? Questions for the 1×3 board SpinpossibleTM (Continued)

Slide 61

Slide 61 text

13 How many different scrambled boards are there? Does every scrambled board have at least one solution? More than one solution? Are some boards “more scrambled” than others? Does the order of the moves matter? Can you come up with an algorithm that will guarantee a solution? Will it be an optimal solution? What is the maximum number of spins required to guarantee a solution? Questions for the 1×3 board SpinpossibleTM (Continued)

Slide 62

Slide 62 text

13 How many different scrambled boards are there? Does every scrambled board have at least one solution? More than one solution? Are some boards “more scrambled” than others? Does the order of the moves matter? Can you come up with an algorithm that will guarantee a solution? Will it be an optimal solution? What is the maximum number of spins required to guarantee a solution? Questions for the 1×3 board Let’s try out some other size boards. SpinpossibleTM (Continued)

Slide 63

Slide 63 text

14 SpinpossibleTM (Continued)

Slide 64

Slide 64 text

14 The 1×5 game The same rules apply, but now we have 5 numbers & can rotate subgrids up to 5 squares wide. SpinpossibleTM (Continued)

Slide 65

Slide 65 text

14 The 1×5 game The same rules apply, but now we have 5 numbers & can rotate subgrids up to 5 squares wide. Try to solve the following 1×5 board. Do not worry about whether your solution is optimal. A 1×5 puzzle SpinpossibleTM (Continued)

Slide 66

Slide 66 text

14 1 2 3 5 4 The 1×5 game The same rules apply, but now we have 5 numbers & can rotate subgrids up to 5 squares wide. Try to solve the following 1×5 board. Do not worry about whether your solution is optimal. A 1×5 puzzle SpinpossibleTM (Continued)

Slide 67

Slide 67 text

15 SpinpossibleTM (Continued)

Slide 68

Slide 68 text

15 The 2×2 game The solved board has the numbers 1-4 in order from left to right & top to bottom. We can rotate subgrids of size 1×1, 1×2, 2×1, & 2×2. SpinpossibleTM (Continued)

Slide 69

Slide 69 text

15 The 2×2 game The solved board has the numbers 1-4 in order from left to right & top to bottom. We can rotate subgrids of size 1×1, 1×2, 2×1, & 2×2. Try to solve the following 2×2 board. A 2×2 puzzle SpinpossibleTM (Continued)

Slide 70

Slide 70 text

15 The 2×2 game The solved board has the numbers 1-4 in order from left to right & top to bottom. We can rotate subgrids of size 1×1, 1×2, 2×1, & 2×2. Try to solve the following 2×2 board. A 2×2 puzzle 4 2 3 1 SpinpossibleTM (Continued)

Slide 71

Slide 71 text

16 SpinpossibleTM (Continued)

Slide 72

Slide 72 text

16 The 3×3 game I think you’ve got the hang of it by now. This is the standard Spinpossible game. SpinpossibleTM (Continued)

Slide 73

Slide 73 text

16 The 3×3 game I think you’ve got the hang of it by now. This is the standard Spinpossible game. Some 3×3 puzzles Try to solve the following 3×3 boards using the minimum number of spins. SpinpossibleTM (Continued)

Slide 74

Slide 74 text

16 The 3×3 game I think you’ve got the hang of it by now. This is the standard Spinpossible game. Some 3×3 puzzles Try to solve the following 3×3 boards using the minimum number of spins. 3 6 2 4 5 1 7 8 9 Min # Spins: 3 SpinpossibleTM (Continued)

Slide 75

Slide 75 text

17 3 6 2 4 5 1 7 8 9 Min # Spins: 4 2 1 7 3 6 4 5 8 9 Min # Spins: 3 Some 3×3 puzzles (Continued) SpinpossibleTM (Continued)

Slide 76

Slide 76 text

18 SpinpossibleTM (Continued) 2 1 7 3 6 4 5 8 9 Min # Spins: 6 If you figured out all the others, try this last one. Some 3×3 puzzles (Continued)

Slide 77

Slide 77 text

19 Some questions SpinpossibleTM (Continued)

Slide 78

Slide 78 text

19 How many different scrambled boards are there for the 1×5 board? Some questions SpinpossibleTM (Continued)

Slide 79

Slide 79 text

19 How many different scrambled boards are there for the 1×5 board? 2×2 board? Some questions SpinpossibleTM (Continued)

Slide 80

Slide 80 text

19 How many different scrambled boards are there for the 1×5 board? 2×2 board? 3×3 board? Some questions SpinpossibleTM (Continued)

Slide 81

Slide 81 text

19 How many different scrambled boards are there for the 1×5 board? 2×2 board? 3×3 board? m×n board? Some questions SpinpossibleTM (Continued)

Slide 82

Slide 82 text

19 How many different scrambled boards are there for the 1×5 board? 2×2 board? 3×3 board? m×n board? Does the order of the moves matter? Some questions SpinpossibleTM (Continued)

Slide 83

Slide 83 text

20 Some difficult questions SpinpossibleTM (Continued)

Slide 84

Slide 84 text

20 Does every scrambled m×n board have at least one solution? Some difficult questions SpinpossibleTM (Continued)

Slide 85

Slide 85 text

20 Does every scrambled m×n board have at least one solution? It turns out that the answer is yes. Some difficult questions SpinpossibleTM (Continued)

Slide 86

Slide 86 text

20 Does every scrambled m×n board have at least one solution? It turns out that the answer is yes. For the 3×3 board, what is the maximum number of spins required to solve any scrambled board? Some difficult questions SpinpossibleTM (Continued)

Slide 87

Slide 87 text

20 Does every scrambled m×n board have at least one solution? It turns out that the answer is yes. For the 3×3 board, what is the maximum number of spins required to solve any scrambled board? An exhaustive search has found that 9 spins are always sufficient (and sometimes necessary), but no short proof of this fact is known. Some difficult questions SpinpossibleTM (Continued)

Slide 88

Slide 88 text

20 Does every scrambled m×n board have at least one solution? It turns out that the answer is yes. For the 3×3 board, what is the maximum number of spins required to solve any scrambled board? An exhaustive search has found that 9 spins are always sufficient (and sometimes necessary), but no short proof of this fact is known. Some difficult questions SpinpossibleTM (Continued) For more information, see “The mathematics of Spinpossible” by Alex Sutherland & Andrew Sutherland. [http://arxiv.org/abs/1110.6645]

Slide 89

Slide 89 text

21 SpinpossibleTM (Continued) Connections to Group Theory

Slide 90

Slide 90 text

21 SpinpossibleTM (Continued) Connections to Group Theory A group is a set together with a binary operation satisfying closure & associativity, & possessing an identity & inverses.

Slide 91

Slide 91 text

21 SpinpossibleTM (Continued) Connections to Group Theory A group is a set together with a binary operation satisfying closure & associativity, & possessing an identity & inverses. Some groups are commutative & some are not.

Slide 92

Slide 92 text

21 SpinpossibleTM (Continued) Connections to Group Theory A group is a set together with a binary operation satisfying closure & associativity, & possessing an identity & inverses. Some groups are commutative & some are not. Groups may be finite or infinite.

Slide 93

Slide 93 text

21 SpinpossibleTM (Continued) Connections to Group Theory A group is a set together with a binary operation satisfying closure & associativity, & possessing an identity & inverses. Some groups are commutative & some are not. Groups may be finite or infinite. Groups are intimately related to symmetry.

Slide 94

Slide 94 text

21 SpinpossibleTM (Continued) Connections to Group Theory A group is a set together with a binary operation satisfying closure & associativity, & possessing an identity & inverses. Some groups are commutative & some are not. Groups may be finite or infinite. Groups are intimately related to symmetry. Two classic examples:

Slide 95

Slide 95 text

21 SpinpossibleTM (Continued) Connections to Group Theory A group is a set together with a binary operation satisfying closure & associativity, & possessing an identity & inverses. Some groups are commutative & some are not. Groups may be finite or infinite. Groups are intimately related to symmetry. Two classic examples: Integers under the operation of addition. (Infinite, commutative, 0 is the identity)

Slide 96

Slide 96 text

21 SpinpossibleTM (Continued) Connections to Group Theory A group is a set together with a binary operation satisfying closure & associativity, & possessing an identity & inverses. Some groups are commutative & some are not. Groups may be finite or infinite. Groups are intimately related to symmetry. Two classic examples: Integers under the operation of addition. (Infinite, commutative, 0 is the identity) Rigid symmetries of a square under composition. (Finite with 8 elements, not commutative, “do nothing” is the identity)

Slide 97

Slide 97 text

22 SpinpossibleTM (Continued) Connections to Group Theory (Continued)

Slide 98

Slide 98 text

22 SpinpossibleTM (Continued) Connections to Group Theory (Continued) The set of spins for the 1×2 Spinpossible board is really just the symmetry group for square.

Slide 99

Slide 99 text

22 SpinpossibleTM (Continued) Connections to Group Theory (Continued) The set of spins for the 1×2 Spinpossible board is really just the symmetry group for square. The set of spins for the 1×3 Spinpossible board is the symmetry group for cube.

Slide 100

Slide 100 text

22 SpinpossibleTM (Continued) Connections to Group Theory (Continued) The set of spins for the 1×2 Spinpossible board is really just the symmetry group for square. The set of spins for the 1×3 Spinpossible board is the symmetry group for cube. In general, the set of spins for the m×n Spinpossible board is a Coxeter group of type Bmn, which can be thought of as the permutations of mn coins, where we allow rearrangement of the coins, as well as flipping them over.

Slide 101

Slide 101 text

22 SpinpossibleTM (Continued) Connections to Group Theory (Continued) The set of spins for the 1×2 Spinpossible board is really just the symmetry group for square. The set of spins for the 1×3 Spinpossible board is the symmetry group for cube. In general, the set of spins for the m×n Spinpossible board is a Coxeter group of type Bmn, which can be thought of as the permutations of mn coins, where we allow rearrangement of the coins, as well as flipping them over. Thank you!