CRACKING THE 15 PUZZLE - PART 1: PERMUTATIONS

Similar documents
CRACKING THE 15 PUZZLE - PART 2: MORE ON PERMUTATIONS AND TAXICAB GEOMETRY

PERMUTATIONS - II JUNIOR CIRCLE 11/17/2013

CRACKING THE 15 PUZZLE - PART 4: TYING EVERYTHING TOGETHER BEGINNERS 02/21/2016

PERMUTATIONS - II JUNIOR CIRCLE 05/01/2011

MODULAR ARITHMETIC II: CONGRUENCES AND DIVISION

GRAPH THEORY PART III

GAMES AND STRATEGY BEGINNERS 12/03/2017

POKER (AN INTRODUCTION TO COUNTING)

Solitaire Games. MATH 171 Freshman Seminar for Mathematics Majors. J. Robert Buchanan. Department of Mathematics. Fall 2010

Ma/CS 6a Class 16: Permutations

Grade 7/8 Math Circles. Visual Group Theory

LAMC Junior Circle February 3, Oleg Gleizer. Warm-up

Grade 7/8 Math Circles. Visual Group Theory

Fifteen puzzle. Sasha Patotski. Cornell University November 16, 2015

LAMC Beginners Circle April 27, Oleg Gleizer. Warm-up

Lesson 2: Using the Number Line to Model the Addition of Integers

Permutations. = f 1 f = I A

Introduction to Mathematical Reasoning, Saylor 111

Chapter 2 Integers. Math 20 Activity Packet Page 1

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.

Problem Solving - Math Kangaroo Practice 1. Part I: Multiple Choice

Triangles, Rectangles, Squares, and Circles

Latin Squares for Elementary and Middle Grades

PRIMES STEP Plays Games

UNIVERSITY OF NORTHERN COLORADO MATHEMATICS CONTEST

CS1802 Week 9: Probability, Expectation, Entropy

New Sliding Puzzle with Neighbors Swap Motion

Classwork Example 1: Exploring Subtraction with the Integer Game

Cheetah Math Superstars

a) 2, 4, 8, 14, 22, b) 1, 5, 6, 10, 11, c) 3, 9, 21, 39, 63, d) 3, 0, 6, 15, 27, e) 3, 8, 13, 18, 23,

Synergy Round. Warming Up. Where in the World? Scrabble With Numbers. Earning a Gold Star

CPM EDUCATIONAL PROGRAM

MATH 2420 Discrete Mathematics Lecture notes

November 8, Chapter 8: Probability: The Mathematics of Chance

Integers. Chapter Introduction

Multiplication Facts to 7 x 7

Math Football. Using Models to Understand Integers. Learning Goals. Common Core State Standards for Mathematics. Essential Ideas


n r for the number. (n r)!r!

UNIT 2 EVERYTHING BASED ON TENS Overview Instruction

PRE TEST. Math in a Cultural Context*

Massachusetts Institute of Technology 6.042J/18.062J, Spring 04: Mathematics for Computer Science April 16 Prof. Albert R. Meyer and Dr.

Permutations. describes the permutation which sends 1! 2, 2! 1, 3! 3.

Situations Involving Multiplication and Division with Products to 50

4. Look at the number formed by the last two digits in each of the numbers you listed in Exercise 2. What pattern do you see in these digits?

PRE TEST KEY. Math in a Cultural Context*

Meaningful Ways to Develop Math Facts

The Problem. Tom Davis December 19, 2016

Situations Involving Multiplication and Division with Products to 100

Looking for Pythagoras An Investigation of the Pythagorean Theorem

Sec 5.1 The Basics of Counting

THE 15-PUZZLE (AND RUBIK S CUBE)

Georgia Department of Education Common Core Georgia Performance Standards Framework Student Edition Accelerated CCGPS Pre-Calculus Unit 6

Determine the number of permutations of n objects taken r at a time, where 0 # r # n. Holly Adams Bill Mathews Peter Prevc

Session 5 Variation About the Mean

A Mathematical Approach To Solving Rubik's Cube by Raymond Tran, UBC Math308 Fall 2005

Chapter 5 Integers. 71 Copyright 2013 Pearson Education, Inc. All rights reserved.

The Unreasonably Beautiful World of Numbers

NSCAS - Math Table of Specifications

MATH NUMBER SENSE 3 Performance Objective Task Analysis Benchmarks/Assessment Students: 1. Students understand place value of whole numbers.

Solution Algorithm to the Sam Loyd (n 2 1) Puzzle

Sequence and Series Lesson 6. March 14, th Year HL Maths. March 2013

Week in Review #5 ( , 3.1)

International Math Kangaroo Contest

Senior Math Circles February 10, 2010 Game Theory II

Intermediate Mathematics League of Eastern Massachusetts

Mathematics 3201 Test (Unit 3) Probability FORMULAES

Permutation Groups. Definition and Notation

I.M.O. Winter Training Camp 2008: Invariants and Monovariants

Multiplying Three Factors and Missing Factors

37 Game Theory. Bebe b1 b2 b3. a Abe a a A Two-Person Zero-Sum Game

Permutations and Combinations Section

Problem of the Month. Miles of Tiles. 5 in. Problem of the Month Miles of Tiles Page 1

Representing Number to 100. Representing whole numbers develops an understanding of number including its size and its relationship to other numbers.

Word Problems About Combining

Finite Mathematics MAT 141: Chapter 8 Notes

Math + 4 (Red) SEMESTER 1. { Pg. 1 } Unit 1: Whole Number Sense. Unit 2: Whole Number Operations. Unit 3: Applications of Operations

High-Impact Games and Meaningful Mathematical Dialog Grades 3-5

CHAPTER 8 REVIEW ALGEBRA 2 Name Per

7 th grade Math Standards Priority Standard (Bold) Supporting Standard (Regular)

Third Grade: Mathematics. Unit 1: Math Strategies

International Contest-Game MATH KANGAROO Canada, 2007

5 Elementary Probability Theory

Heuristic Search with Pre-Computed Databases

Mathematics Alignment Lesson

Corners! How To Play - a Comprehensive Guide. Written by Peter V. Costescu RPClasses.com

Probability Distributions. Probability Distributions. J. Boulton. May 08, 2013 MDM 4U1. Where are we?

5th Grade. Divisibility Rules. Slide 1 / 239 Slide 2 / 239. Slide 3 / 239. Slide 4 / 239. Slide 6 / 239. Slide 5 / 239. Division. Division Unit Topics

Section 7.2 Logarithmic Functions

1. Theoretical probability is what should happen (based on math), while probability is what actually happens.

Unit Nine Precalculus Practice Test Probability & Statistics. Name: Period: Date: NON-CALCULATOR SECTION

November 6, Chapter 8: Probability: The Mathematics of Chance

Study Guide 3: Addition of Whole Numbers Category 2: Computation and Algebraic Relationships

Mathematics Competition Practice Session 6. Hagerstown Community College: STEM Club November 20, :00 pm - 1:00 pm STC-170

Welcome Accelerated Algebra 2!

Faculty Forum You Cannot Conceive The Many Without The One -Plato-

Lesson1MULTIPLICATION PROPERTIES

Fair Game Review. Chapter 2. Name Date. Write the decimal as a fraction Write the fraction as a decimal. 7.

Section 2.3 Task List

Sixth Grade Test - Excellence in Mathematics Contest 2014

Transcription:

CRACKING THE 15 PUZZLE - PART 1: PERMUTATIONS BEGINNERS 01/24/2016 The ultimate goal of this topic is to learn how to determine whether or not a solution exists for the 15 puzzle. The puzzle consists of a 4 4 frame randomly filled with 15 squares numbered one through fifteen. The objective is to slide the squares so that they are in the proper order, as shown in the picture below: The mathematical foundation of the solution relies on the theory of permutations and taxicab distance. Permutations not only help unravel the puzzle, but can also be handy in a wide variety of applications from card tricks to probability. Taxicab distance is a way of measuring distance on the plane by going only in the vertical and horizontal direction. Part 1 of this topic will focus on what permutations are, how they are represented, the multiplication of permutations and the inverse of permutations. Copyright c 2008-2011 Olga Radko/Los Angeles Math Circle/UCLA Department of Mathematics. 1

LAMC handout 2 Permutations and Their Representations Consider a set of marbles numbered 1 through n. Originally, the marbles are lined up in the order given by their numbers. The following picture shows an example with n = 3: Then the marbles are reshuffled in a different order: We say that the reshuffled set of marbles is a permutation of the first set of marbles. A permutation is an operation of the elements of any given set that shuffles the order of the elements. The permutation shown in the example above is represented by the notation below: 1 2 3 3 1 2 One way to understand the notation above is the following: The top row assigns a number to each element in a set The bottom row shows how the numbered elements are positioned after we have applied the permutation to the set. 2

LAMC handout 3 Instead of the numbered marbles, we can reshuffle distinguishable elements of any set. For example, let s consider the following geometric figures rather than the numbered marbles: Then the permutation will reshuffle the figures into the following order: 1 2 3 2 3 1 Problem 1. Suppose you re given the following set of geometric figures: (1) Write down the permutations that correspond to the following pictures: 3

LAMC handout 4 (2) Draw the figures that correspond to the following permutations on the following set: (a) 1 2 3 1 3 2 (b) 2 1 3 2 3 1 Note that the top row is not 1 2 3. (c) 1 2 3 1 2 3 Notice that the last permutation does not reshuffle anything at all. Permutations of this kind are typically denoted as e and are called trivial. A trivial permutation is still a permutation, and an important one Problem 2. Write down the trivial permutation for n = 5. 1 2 3 4 5 4

LAMC handout 5 Multiplying Permutations It is possible for us to combine, or multiply, permutations. The following problem will walk you through how this is done. Problem 3. Suppose we want to first apply the permutation = 1 2 3 and then apply the 3 1 2 permutation = 1 2 3 on the following set: 2 1 3 (1) First apply the = 1 2 3 to the set above. Draw the resulting order below: 3 1 2 (2) Now apply = 1 2 3 2 1 3 below: to the ordered set you obtained in (1). Draw the resulting order (3) We say that we have applied the product of and to the original set. Represent the product of and as a single permutation by comparing the ordered set you drew after applying both permutations to the original set: = 1 2 3 Note that if we re given a product of permutations such as this case, ) is applied to the set first, the permutation on the right (in 5

LAMC handout 6 Problem 4. Find the permutation of to help you.. If needed, use the steps described in the examples above = 1 2 3 Is =? We say that the multiplication of two permutations commutes if =. While some particular permutations may commute, multiplication of permutations in general is not a commutative operation. 6

LAMC handout 7 Problem 5. Find the product of the following two permutations: = 1 2 3 4 4 3 2 1 = 1 2 3 4 3 4 1 2 Remember to start with the permutation on the right. = 1 2 3 4 1 2 3 4 = 1 2 3 4 3 4 1 2 4 3 2 1 Problem 6. Find the product of the above permutations. = 1 2 3 4 Do the permutations and commute? 7

LAMC handout 8 Opposite/Inverse Permutations Let and represent permutations. is opposite to if = e. In other words, undoes what does. Such a permutation is denoted as 1 and is called the permutation opposite to sigma or sigma inverse. Problem 7. Find 1 for = 1 2 3. 3 1 2 (1) Suppose we are given the following set: What will the set look like after applying to it? Draw the resulting ordered set below. (2) Taking the second ordered set we drew, we now want to find the permutation 1 so that it will undo what did. In other words, we want to find the permutation that will transform the second ordered set back to the original ordered set. 1 = 1 2 3 8

LAMC handout 9 Problem 8. Find 1 for = 1 2 3. 3 2 1 1 = 1 2 3 Problem 9. Find 1 for = 1 2 3 4. 3 4 1 2 1 = 1 2 3 4 The above two problems are examples of two different non-trivial permutations that are self inverse. In other words, 1 =. When dealing with numbers, the only self inverse numbers are exist lots of different non-trivial self-inverse permutations. 1 and 1. Unlike numbers, there Problem 10. Given any and 1, (1) what is 1? (2) What is 1? (3) Do and 1 commute? 9

LAMC handout 10 More Notation You may have noticed that the first line of the notation we have used for writing down permutations is not necessarily needed. The permutation = 1 2 3 4 2 1 4 3 means that we shuffle the second element to the first position, the first element to the second position, etc. Without any loss of clarity, we can represent this permutation as = 2 1 4 3 Problem 11. Rewrite the following permutations in our new notation: (1) = 1 2 3 4 4 2 1 3 (2) = 4 2 3 1 Hint: Notice that the top row is not 1 2 3 4. Even though the top row is 4 2 1 3 not necessarily constant, we can replace the numbers so that the top row becomes 1 2 3 4. Problem 12. Apply the following permutations to the sequence of figures shown below: (1) = 1 3 2 4 (2) = 4 3 1 2 10

LAMC handout 11 Problem 13. What is the inverse of the following permutations? You can use the pictures you drew from Problem 13 to help you. (1) = 1 3 2 4 (2) = 4 3 1 2 11

LAMC handout 12 Applying What We Learned to 15 Puzzle The 15 puzzle was invented by Noyes Palmer Chapman, a postmaster in Canastota, New York, in the mid-1870s. Sam Loyd, a prominent American chess player at the time, had offered $1,000 (about $25,000 of modern day money) for solving the puzzle in the form shown on the picture below: We will later learn how to prove that this particular configuration has no solution. Problem 14. Given that the blank space is 16, write down the permutation corresponding to Loyd s puzzle below. (Assume that the positions in the puzzle are numbered starting from the top left, and go down row by row.) = ( ) Problem 15. What is the inverse of the permutation you wrote down above? 1 = ( ) 12

LAMC handout 13 Math Kangaroo Preparation 1 (1) Peter, Paul and their grandfather went fishing. During the time that the grandfathers caught 8 fish, Paul caught 4 fish, and Peter caught 7 fish. In one hour, Peter caught 42 fish. How many fish did the three of them catch altogether during that hour? (2) The number 1999 was multiplied by a number made up of 1999 ones. What is the sum of the digits of this number? (3) A soccer team consists of 11 players. The average age of the players on a certain team is 22 years old. During a game, one of the players was injured and had to leave the field. The average age of the rest of the players was then 21. How old was the injured player? (4) The price of theater tickets increased by 40%, but the money earned from ticket sales only increased 26%. How many fewer people went to the theater? 1 The problems are taken from the 1999 USA Math Kangaroo contest. 13