Legal Configurations of the 15-Puzzle Andrew Chapple 1 Alfonso Croeze - - PowerPoint PPT Presentation

legal configurations of the 15 puzzle
SMART_READER_LITE
LIVE PREVIEW

Legal Configurations of the 15-Puzzle Andrew Chapple 1 Alfonso Croeze - - PowerPoint PPT Presentation

Legal Configurations of the 15-Puzzle Andrew Chapple 1 Alfonso Croeze 1 Mhel Lazo 1 Hunter Merrill 2 1 Department of Mathematics Louisiana State University Baton Rouge, LA 2 Department of Mathematics Mississippi State University Starkville, MS


slide-1
SLIDE 1

Legal Configurations of the 15-Puzzle

Andrew Chapple1 Alfonso Croeze1 Mhel Lazo1 Hunter Merrill2

1Department of Mathematics

Louisiana State University Baton Rouge, LA

2Department of Mathematics

Mississippi State University Starkville, MS

August 24, 2010

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 1 / 25

slide-2
SLIDE 2

Motivation

History

Invented in the 1860s

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 2 / 25

slide-3
SLIDE 3

Motivation

History

Invented in the 1860s Puzzle description 15puzzleimg.png

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 2 / 25

slide-4
SLIDE 4

Motivation

History

Invented in the 1860s Puzzle description 15puzzleimg.png The object of the puzzle

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 2 / 25

slide-5
SLIDE 5

Motivation

History

Invented in the 1860s Puzzle description 15puzzleimg.png The object of the puzzle Sam Lloyd’s challenge

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 2 / 25

slide-6
SLIDE 6

Motivation

History

Invented in the 1860s Puzzle description 15puzzleimg.png The object of the puzzle Sam Lloyd’s challenge Our objective

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 2 / 25

slide-7
SLIDE 7

Basics

Permutations

Definition A permutation of a set A is a bijection from A onto itself.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 3 / 25

slide-8
SLIDE 8

Basics

Permutations

Definition A permutation of a set A is a bijection from A onto itself. We will denote the set of all permutations of n elements as Sn.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 3 / 25

slide-9
SLIDE 9

Basics

Permutations

Definition A permutation of a set A is a bijection from A onto itself. We will denote the set of all permutations of n elements as Sn. Example Consider the set A = {1, 2, 3, 4, 5, 6}.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 3 / 25

slide-10
SLIDE 10

Basics

Permutations

Definition A permutation of a set A is a bijection from A onto itself. We will denote the set of all permutations of n elements as Sn. Example Consider the set A = {1, 2, 3, 4, 5, 6}. Then the permutation P, P = (1 2 3 4 5 6 4 1 5 2 3 6 ) changes 1 to 4, 2 to 1, 3 to 5, 4 to 2, 5 to 3, and fixes, or leaves unchanged, the element 6.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 3 / 25

slide-11
SLIDE 11

Basics

Cycle Notation

Permutations can be more compactly written in cycle notation.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 4 / 25

slide-12
SLIDE 12

Basics

Cycle Notation

Permutations can be more compactly written in cycle notation. Cycles are always read left to right.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 4 / 25

slide-13
SLIDE 13

Basics

Cycle Notation

Permutations can be more compactly written in cycle notation. Cycles are always read left to right. The element 6 does not change and may be omitted.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 4 / 25

slide-14
SLIDE 14

Basics

Cycle Notation

Permutations can be more compactly written in cycle notation. Cycles are always read left to right. The element 6 does not change and may be omitted. Example The cycle notation of P = (1 2 3 4 5 6 4 1 5 2 3 6 )

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 4 / 25

slide-15
SLIDE 15

Basics

Cycle Notation

Permutations can be more compactly written in cycle notation. Cycles are always read left to right. The element 6 does not change and may be omitted. Example The cycle notation of P = (1 2 3 4 5 6 4 1 5 2 3 6 ) is (1 4 2)(3 5)(6)

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 4 / 25

slide-16
SLIDE 16

Basics

Cycle Notation

Permutations can be more compactly written in cycle notation. Cycles are always read left to right. The element 6 does not change and may be omitted. Example The cycle notation of P = (1 2 3 4 5 6 4 1 5 2 3 6 ) is (1 4 2)(3 5)(6)

  • r

(1 4 2)(3 5)

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 4 / 25

slide-17
SLIDE 17

Basics

Disjoint Cycles

Definition Cycles are disjoint if they have no common elements.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 5 / 25

slide-18
SLIDE 18

Basics

Disjoint Cycles

Definition Cycles are disjoint if they have no common elements. The two cycles which compose P are disjoint.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 5 / 25

slide-19
SLIDE 19

Basics

Disjoint Cycles

Definition Cycles are disjoint if they have no common elements. The two cycles which compose P are disjoint. Disjoint cycles are commutative.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 5 / 25

slide-20
SLIDE 20

Basics

Disjoint Cycles

Definition Cycles are disjoint if they have no common elements. The two cycles which compose P are disjoint. Disjoint cycles are commutative.

Nondisjoint cycles are not necessarily commutative:

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 5 / 25

slide-21
SLIDE 21

Basics

Disjoint Cycles

Definition Cycles are disjoint if they have no common elements. The two cycles which compose P are disjoint. Disjoint cycles are commutative.

Nondisjoint cycles are not necessarily commutative:

(1 2)(2 3)=(1 2 3) (2 3)(1 2)=(3 2 1)

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 5 / 25

slide-22
SLIDE 22

Basics

Disjoint Cycles

Definition Cycles are disjoint if they have no common elements. The two cycles which compose P are disjoint. Disjoint cycles are commutative.

Nondisjoint cycles are not necessarily commutative:

(1 2)(2 3)=(1 2 3) (2 3)(1 2)=(3 2 1)

Example Therefore, we can also write P as P = (3 5)(1 4 2)

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 5 / 25

slide-23
SLIDE 23

Basics

Transpositions

Definition Cycles consisting of two elements are called transpositions.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 6 / 25

slide-24
SLIDE 24

Basics

Transpositions

Definition Cycles consisting of two elements are called transpositions. Example The transposition (3 5) can also be written as (5 3), as both have the effect of swapping the elements 3 and 5.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 6 / 25

slide-25
SLIDE 25

Basics

Transpositions

Definition Cycles consisting of two elements are called transpositions. Example The transposition (3 5) can also be written as (5 3), as both have the effect of swapping the elements 3 and 5. A transposition is its own inverse

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 6 / 25

slide-26
SLIDE 26

Basics

Transpositions

Definition Cycles consisting of two elements are called transpositions. Example The transposition (3 5) can also be written as (5 3), as both have the effect of swapping the elements 3 and 5. A transposition is its own inverse (3 5)(3 5) = (3)(5) = I

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 6 / 25

slide-27
SLIDE 27

Basics

Parity

Definition A permutation is odd if it can be written as a product of an odd number

  • f transpositions. Otherwise it is even.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 7 / 25

slide-28
SLIDE 28

Basics

Parity

Definition A permutation is odd if it can be written as a product of an odd number

  • f transpositions. Otherwise it is even.

Examples (1 2)(3 4) is even. (1 2)(3 4)(5 6) is odd.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 7 / 25

slide-29
SLIDE 29

Basics

Parity

Definition A permutation is odd if it can be written as a product of an odd number

  • f transpositions. Otherwise it is even.

Examples (1 2)(3 4) is even. (1 2)(3 4)(5 6) is odd. The set of all odd permutations of n elements is denoted by On

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 7 / 25

slide-30
SLIDE 30

Basics

Parity

Definition A permutation is odd if it can be written as a product of an odd number

  • f transpositions. Otherwise it is even.

Examples (1 2)(3 4) is even. (1 2)(3 4)(5 6) is odd. The set of all odd permutations of n elements is denoted by On The set of all even permutations of n elements is denoted by An

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 7 / 25

slide-31
SLIDE 31

Basics

Parity Theorem

Theorem If 휎 ∈ Sn, then 휎 may be written as the product of an even number of transpositions if and only if 휎 can not be written as the product of an odd number of transpositions.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 8 / 25

slide-32
SLIDE 32

Basics

Parity Theorem

Theorem If 휎 ∈ Sn, then 휎 may be written as the product of an even number of transpositions if and only if 휎 can not be written as the product of an odd number of transpositions. Lemma The identity I, the permutation which fixes all elements, is even.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 8 / 25

slide-33
SLIDE 33

Basics

Proof of Parity Theorem

Proof.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 9 / 25

slide-34
SLIDE 34

Basics

Proof of Parity Theorem

Proof. 휎 = 휏1휏2 ⋅ ⋅ ⋅ 휏s = q1q2 ⋅ ⋅ ⋅ qt

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 9 / 25

slide-35
SLIDE 35

Basics

Proof of Parity Theorem

Proof. 휎 = 휏1휏2 ⋅ ⋅ ⋅ 휏s = q1q2 ⋅ ⋅ ⋅ qt 휏1휏2 ⋅ ⋅ ⋅ 휏s(q1q2 ⋅ ⋅ ⋅ qt)−1 = q1q2 ⋅ ⋅ ⋅ qt(q1q2 ⋅ ⋅ ⋅ qt)−1

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 9 / 25

slide-36
SLIDE 36

Basics

Proof of Parity Theorem

Proof. 휎 = 휏1휏2 ⋅ ⋅ ⋅ 휏s = q1q2 ⋅ ⋅ ⋅ qt 휏1휏2 ⋅ ⋅ ⋅ 휏s(q1q2 ⋅ ⋅ ⋅ qt)−1 = q1q2 ⋅ ⋅ ⋅ qt(q1q2 ⋅ ⋅ ⋅ qt)−1 휏1휏2 ⋅ ⋅ ⋅ 휏s(q1q2 ⋅ ⋅ ⋅ qt)−1 = I

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 9 / 25

slide-37
SLIDE 37

Basics

Proof of Parity Theorem

Proof. 휎 = 휏1휏2 ⋅ ⋅ ⋅ 휏s = q1q2 ⋅ ⋅ ⋅ qt 휏1휏2 ⋅ ⋅ ⋅ 휏s(q1q2 ⋅ ⋅ ⋅ qt)−1 = q1q2 ⋅ ⋅ ⋅ qt(q1q2 ⋅ ⋅ ⋅ qt)−1 휏1휏2 ⋅ ⋅ ⋅ 휏s(q1q2 ⋅ ⋅ ⋅ qt)−1 = I 휏1휏2 ⋅ ⋅ ⋅ 휏sq−1

t q−1 t−1 ⋅ ⋅ ⋅ q−1 1

= I

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 9 / 25

slide-38
SLIDE 38

Basics

Proof of Parity Theorem

Proof. 휎 = 휏1휏2 ⋅ ⋅ ⋅ 휏s = q1q2 ⋅ ⋅ ⋅ qt 휏1휏2 ⋅ ⋅ ⋅ 휏s(q1q2 ⋅ ⋅ ⋅ qt)−1 = q1q2 ⋅ ⋅ ⋅ qt(q1q2 ⋅ ⋅ ⋅ qt)−1 휏1휏2 ⋅ ⋅ ⋅ 휏s(q1q2 ⋅ ⋅ ⋅ qt)−1 = I 휏1휏2 ⋅ ⋅ ⋅ 휏sq−1

t q−1 t−1 ⋅ ⋅ ⋅ q−1 1

= I 휏1휏2 ⋅ ⋅ ⋅ 휏sqtqt−1 ⋅ ⋅ ⋅ q1 = I

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 9 / 25

slide-39
SLIDE 39

Basics

Proof of Parity Theorem

Proof. 휎 = 휏1휏2 ⋅ ⋅ ⋅ 휏s = q1q2 ⋅ ⋅ ⋅ qt 휏1휏2 ⋅ ⋅ ⋅ 휏s(q1q2 ⋅ ⋅ ⋅ qt)−1 = q1q2 ⋅ ⋅ ⋅ qt(q1q2 ⋅ ⋅ ⋅ qt)−1 휏1휏2 ⋅ ⋅ ⋅ 휏s(q1q2 ⋅ ⋅ ⋅ qt)−1 = I 휏1휏2 ⋅ ⋅ ⋅ 휏sq−1

t q−1 t−1 ⋅ ⋅ ⋅ q−1 1

= I 휏1휏2 ⋅ ⋅ ⋅ 휏sqtqt−1 ⋅ ⋅ ⋅ q1 = I The left hand side is a product of s + t transpositions. Since Lemma 11 says that the identity on the right hand side is even, s and t must have the same parity.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 9 / 25

slide-40
SLIDE 40

Basics

Groups

A group is a combination of a set S and a binary operation ∗ that has the following properties:

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 10 / 25

slide-41
SLIDE 41

Basics

Groups

A group is a combination of a set S and a binary operation ∗ that has the following properties:

1 The set is non-empty Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 10 / 25

slide-42
SLIDE 42

Basics

Groups

A group is a combination of a set S and a binary operation ∗ that has the following properties:

1 The set is non-empty 2 Closed under the operation Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 10 / 25

slide-43
SLIDE 43

Basics

Groups

A group is a combination of a set S and a binary operation ∗ that has the following properties:

1 The set is non-empty 2 Closed under the operation 3 Associative Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 10 / 25

slide-44
SLIDE 44

Basics

Groups

A group is a combination of a set S and a binary operation ∗ that has the following properties:

1 The set is non-empty 2 Closed under the operation 3 Associative 4 Contains an identity Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 10 / 25

slide-45
SLIDE 45

Basics

Groups

A group is a combination of a set S and a binary operation ∗ that has the following properties:

1 The set is non-empty 2 Closed under the operation 3 Associative 4 Contains an identity 5 Contains an inverse for each element in the set Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 10 / 25

slide-46
SLIDE 46

Basics

Groups

A group is a combination of a set S and a binary operation ∗ that has the following properties:

1 The set is non-empty 2 Closed under the operation 3 Associative 4 Contains an identity 5 Contains an inverse for each element in the set

Examples The set of all integers under addition

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 10 / 25

slide-47
SLIDE 47

Basics

Groups

A group is a combination of a set S and a binary operation ∗ that has the following properties:

1 The set is non-empty 2 Closed under the operation 3 Associative 4 Contains an identity 5 Contains an inverse for each element in the set

Examples The set of all integers under addition The symmetric group Sn under composition

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 10 / 25

slide-48
SLIDE 48

Basics

Groups

A group is a combination of a set S and a binary operation ∗ that has the following properties:

1 The set is non-empty 2 Closed under the operation 3 Associative 4 Contains an identity 5 Contains an inverse for each element in the set

Examples The set of all integers under addition The symmetric group Sn under composition The alternating group An under composition

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 10 / 25

slide-49
SLIDE 49

Basics

Cardinality

Definition The cardinality of a set is the number of elements in the set.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 11 / 25

slide-50
SLIDE 50

Basics

Cardinality

Definition The cardinality of a set is the number of elements in the set. ∣Sn∣ = n!

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 11 / 25

slide-51
SLIDE 51

Basics

Cardinality

Definition The cardinality of a set is the number of elements in the set. ∣Sn∣ = n! Theorem ∣On∣ = ∣An∣ = n!

2 .

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 11 / 25

slide-52
SLIDE 52

Puzzle

Introduce Puzzle

Permutations performed on the puzzle are performed on positions and not

  • n contents.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 12 / 25

slide-53
SLIDE 53

Puzzle

Introduce Puzzle

Permutations performed on the puzzle are performed on positions and not

  • n contents. The positions of our puzzle will be labeled like this:

4 3 2 1 5 6 7 8 12 11 10 9 13 14 15 16

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 12 / 25

slide-54
SLIDE 54

Puzzle

The Path

Definition A legal move consists of moving the blank space to an orthogonally adjacent position, called a neighbor.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 13 / 25

slide-55
SLIDE 55

Puzzle

The Path

Definition A legal move consists of moving the blank space to an orthogonally adjacent position, called a neighbor. → → → ↑ ← ← ← → → → ↑ ↑ ← ← ← The moves along this path are legal.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 13 / 25

slide-56
SLIDE 56

Puzzle

Special Moves

There are special moves not along the path that are still legal. We will denote these moves Si,j

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 14 / 25

slide-57
SLIDE 57

Puzzle

Special Moves

There are special moves not along the path that are still legal. We will denote these moves Si,j Example

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 14 / 25

slide-58
SLIDE 58

Puzzle

Special Moves

There are special moves not along the path that are still legal. We will denote these moves Si,j Example S11,14

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 14 / 25

slide-59
SLIDE 59

Puzzle

Special Moves

There are special moves not along the path that are still legal. We will denote these moves Si,j Example S11,14 = (16 15)(15 14)(14 13)(13 12)(12 11)(11 14)(14 15)(15 16)

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 14 / 25

slide-60
SLIDE 60

Puzzle

Special Moves

There are special moves not along the path that are still legal. We will denote these moves Si,j Example S11,14 = (16 15)(15 14)(14 13)(13 12)(12 11)(11 14)(14 15)(15 16) = (16)(15)(14)(13 12 11)

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 14 / 25

slide-61
SLIDE 61

Puzzle

Special Moves

There are special moves not along the path that are still legal. We will denote these moves Si,j Example S11,14 = (16 15)(15 14)(14 13)(13 12)(12 11)(11 14)(14 15)(15 16) = (16)(15)(14)(13 12 11) = (13 12 11)

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 14 / 25

slide-62
SLIDE 62

Puzzle

Nine Moves

The following are all the legal moves not along the path:

S9,16 = (15 14 13 12 11 10 9) S10,15 = (14 13 12 11 10) S11,14 = (13 12 11) S7,10 = (9 8 7) S6,11 = (10 9 8 7 6) S5,12 = (11 10 9 8 7 6 5) S1,8 = (7 6 5 4 3 2 1) S2,7 = (6 5 4 3 2) S3,6 = (5 4 3) Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 15 / 25

slide-63
SLIDE 63

Puzzle

Connections

Define the following set G, G = {all possible configurations, with the blank space anywhere}

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 16 / 25

slide-64
SLIDE 64

Puzzle

Connections

Define the following set G, G = {all possible configurations, with the blank space anywhere} For any configuration P ∈ G, define P′ to be the configuration where the blank in P has been snaked to position 16. In some cases, P = P′. We will call P′ the standardization of P.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 16 / 25

slide-65
SLIDE 65

Puzzle

Connections

Define the following set G, G = {all possible configurations, with the blank space anywhere} For any configuration P ∈ G, define P′ to be the configuration where the blank in P has been snaked to position 16. In some cases, P = P′. We will call P′ the standardization of P. Lemma Fix P1, P2 ∈ G and consider P′

1 and P′

  • 2. Then, P1 can be changed to P2

via legal moves if and only if P′

1 can be changed to P′ 2 via legal moves.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 16 / 25

slide-66
SLIDE 66

Puzzle

Set of Legal Moves

Denote by K ⊂ G as all configurations of the board for which the blank is in position 16.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 17 / 25

slide-67
SLIDE 67

Puzzle

Set of Legal Moves

Denote by K ⊂ G as all configurations of the board for which the blank is in position 16. Denote L(K) as the set of all permutations of the form: (ik = 16 ik−1)(ik−1 ik−2) ⋅ ⋅ ⋅ (i3 i2)(i2 i1)(i1 i0 = 16) where is is a neighbor of is+1 for 0 ≤ s < k

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 17 / 25

slide-68
SLIDE 68

Puzzle

Set of Legal Moves

Denote by K ⊂ G as all configurations of the board for which the blank is in position 16. Denote L(K) as the set of all permutations of the form: (ik = 16 ik−1)(ik−1 ik−2) ⋅ ⋅ ⋅ (i3 i2)(i2 i1)(i1 i0 = 16) where is is a neighbor of is+1 for 0 ≤ s < k Lemma L(K) is a group.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 17 / 25

slide-69
SLIDE 69

Puzzle

Proof that L(K) is a group

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 18 / 25

slide-70
SLIDE 70

Puzzle

Proof that L(K) is a group

Proof.

1 L(K) is nonempty. As an example we have (16 15)(15 16) Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 18 / 25

slide-71
SLIDE 71

Puzzle

Proof that L(K) is a group

Proof.

1 L(K) is nonempty. As an example we have (16 15)(15 16) , which

also happens to be the identity.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 18 / 25

slide-72
SLIDE 72

Puzzle

Proof that L(K) is a group

Proof.

1 L(K) is nonempty. As an example we have (16 15)(15 16) , which

also happens to be the identity.

2 Given a permutation in L(K), performing the permutation in reverse

  • rder yields its inverse.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 18 / 25

slide-73
SLIDE 73

Puzzle

Proof that L(K) is a group

Proof.

1 L(K) is nonempty. As an example we have (16 15)(15 16) , which

also happens to be the identity.

2 Given a permutation in L(K), performing the permutation in reverse

  • rder yields its inverse.

3 Permutation composition is an associative binary operation. Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 18 / 25

slide-74
SLIDE 74

Puzzle

Proof that L(K) is a group

Proof.

1 L(K) is nonempty. As an example we have (16 15)(15 16) , which

also happens to be the identity.

2 Given a permutation in L(K), performing the permutation in reverse

  • rder yields its inverse.

3 Permutation composition is an associative binary operation. 4 Any permuation in L(K) begins and ends with a transposition

including position 16, therefore compositions of elements of L(K) will still be in L(K).

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 18 / 25

slide-75
SLIDE 75

Puzzle

Every element of L(K) is an even permutation.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 19 / 25

slide-76
SLIDE 76

Puzzle

Every element of L(K) is an even permutation. E E E E E E E E

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 19 / 25

slide-77
SLIDE 77

Puzzle

Every element of L(K) is an even permutation. E E E E E E E E L(K) ≤ An

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 19 / 25

slide-78
SLIDE 78

Puzzle

Results

Lemma Every element of An can be written as a product of cycles of the form (k k + 1 k + 2).

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 20 / 25

slide-79
SLIDE 79

Puzzle

Results

Lemma Every element of An can be written as a product of cycles of the form (k k + 1 k + 2).

(1 2 3) = (1 2 3 4 5 6 7)−2(3 4 5)(1 2 3 4 5 6 7)2 (2 3 4) = (1 2 3 4 5 6 7)−1(3 4 5)(1 2 3 4 5 6 7) (4 5 6) = (1 2 3 4 5 6 7)−1(5 6 7)(1 2 3 4 5 6 7) (5 6 7) = (5 6 7 8 9 10 11)−2(7 8 9)(5 6 7 8 9 10 11)2 (6 7 8) = (5 6 7 8 9 10 11)−1(7 8 9)(5 6 7 8 9 10 11) (8 9 10) = (5 6 7 8 9 10 11)−1(9 10 11)(5 6 7 8 9 10 11) (9 10 11) = (9 10 11 12 13 14 15)−2(11 12 13)(9 10 11 12 13 14 15)2 (10 11 12) = (9 10 11 12 13 14 15)−1(11 12 13)(9 10 11 12 13 14 15) (12 13 14) = (9 10 11 12 13 14 15)(11 12 13)(9 10 11 12 13 14 15)−1 (13 14 15) = (9 10 11 12 13 14 15)2(11 12 13)(9 10 11 12 13 14 15)−2 Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 20 / 25

slide-80
SLIDE 80

Puzzle

Tying it all Together

Since all permutations of the form (k k + 1 k + 2) up to k = 13 are legal, and since all permutations in A15 can be generated from L(K),

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 21 / 25

slide-81
SLIDE 81

Puzzle

Tying it all Together

Since all permutations of the form (k k + 1 k + 2) up to k = 13 are legal, and since all permutations in A15 can be generated from L(K), A15 ≤ L(K)

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 21 / 25

slide-82
SLIDE 82

Puzzle

Tying it all Together

Since all permutations of the form (k k + 1 k + 2) up to k = 13 are legal, and since all permutations in A15 can be generated from L(K), A15 ≤ L(K) L(K) ≤ A15

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 21 / 25

slide-83
SLIDE 83

Puzzle

Tying it all Together

Since all permutations of the form (k k + 1 k + 2) up to k = 13 are legal, and since all permutations in A15 can be generated from L(K), A15 ≤ L(K) L(K) ≤ A15 L(K) = A15

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 21 / 25

slide-84
SLIDE 84

Puzzle

Tying it all Together

Since all permutations of the form (k k + 1 k + 2) up to k = 13 are legal, and since all permutations in A15 can be generated from L(K), A15 ≤ L(K) L(K) ≤ A15 L(K) = A15 Theorem A given configuration of the 15-puzzle can be changed legally into another configuration if and only if the standardardized forms of the configurations can be transformed into each other by using an even permutation.

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 21 / 25

slide-85
SLIDE 85

Puzzle

Tying it all Together

Since all permutations of the form (k k + 1 k + 2) up to k = 13 are legal, and since all permutations in A15 can be generated from L(K), A15 ≤ L(K) L(K) ≤ A15 L(K) = A15 Theorem A given configuration of the 15-puzzle can be changed legally into another configuration if and only if the standardardized forms of the configurations can be transformed into each other by using an even permutation. ∣A15∣ = 15!

2 = 653, 837, 184, 000

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 21 / 25

slide-86
SLIDE 86

Applications

15-14 Configuration

Sam Lloyd’s configuration: A B C D E F G H I J K L M O N

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 22 / 25

slide-87
SLIDE 87

Applications

15-14 Configuration

Sam Lloyd’s configuration: A B C D E F G H I J K L M O N Permutation required: (14 15)

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 22 / 25

slide-88
SLIDE 88

Applications

Reverse Configuration

Reverse order: O N M L K J I H G F E D C B A

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 23 / 25

slide-89
SLIDE 89

Applications

Reverse Configuration

Reverse order: O N M L K J I H G F E D C B A Permutation required: (15 4)(14 3)(13 2)(9 1)(10 5)(11 6)(12 7)

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 23 / 25

slide-90
SLIDE 90

Applications

1-Blank Configuration

1-blank: A B C D E F G H I J K L M N O

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 24 / 25

slide-91
SLIDE 91

Applications

1-Blank Configuration

Standardize the configuration: D A B C E F G K L H I J M N O

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 25 / 25

slide-92
SLIDE 92

Applications

1-Blank Configuration

Standardize the configuration: D A B C E F G K L H I J M N O Permutation required: (12 9)(12 10)(11 10)(8 10)(2 1)(3 1)(4 1)

Chapple, Croeze, Lazo, Merrill (LSU&MSU) 15-Puzzle August 24, 2010 25 / 25