The Knight’s Tour By Colleen Raimondi.

Slides:



Advertisements
Similar presentations
Chessboard problems You don’t have to know chess to solve them.
Advertisements

Form is an Element of Art. Question: If SHAPES are 2-dimensional, what are FORMS??
How many squares on a chessboard?
© 2007 by S - Squared, Inc. All Rights Reserved.
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 22 By Herbert I. Gross and Richard A. Medeiros next.
More Number Theory Proofs Rosen 1.5, 3.1. Prove or Disprove If m and n are even integers, then mn is divisible by 4. The sum of two odd integers is odd.
1.3 FRACTIONS REVIEW Variables-letters that represent numbers
An Euler Circuit is a cycle of an undirected graph, that traverses every edge of the graph exactly once, and ends at the same node from which it began.
CSI 101 Elements of Computing Spring 2009 Lecture # 8 Looping and Recursion Wednesday, February 25 th, 2009.
Exam 3 Material Formulas, Proportions, Linear Inequalities
Other types of Equations Polynomial Equations. Factoring Solve.
Pascal’s Triangle By: Brittany Thomas.
Solving Inequalities We can solve inequalities just like equations, with the following exception: Multiplication or division of an inequality by a negative.
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 20 By Herbert I. Gross and Richard A. Medeiros next.
Basic Concepts of Algebra
Wicomico High School Mrs. J. A. Austin AP Calculus 1 AB Third Marking Term.
1. Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Polynomials CHAPTER 5.1Exponents and Scientific Notation 5.2Introduction.
 Jim has six children.  Chris fights with Bob,Faye, and Eve all the time; Eve fights (besides with Chris) with Al and Di all the time; and Al and Bob.
#2. UIL Chess Puzzle Practice Material This year’s UIL Chess Puzzle Test includes “solve the mate” positions similar to last year’s, but it also tests.
Intermediate Algebra Prerequisite Topics Review Quick review of basic algebra skills that you should have developed before taking this class 18 problems.
10.4 How to Find a Perfect Matching We have a condition for the existence of a perfect matching in a graph that is necessary and sufficient. Does this.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 2 Graphs and Functions Copyright © 2013, 2009, 2005 Pearson Education, Inc.
ECE 2300 Circuit Analysis Lecture Set #6 The Node Voltage Method with Voltage Sources.
Inequalities and Linear Programming. s ome g roundwork what is the difference between : an expression an equation an inequality an identity ? [ The student.
Chapter 2 Excel Review.
Not Whole Numbers I: Fractions Presented by Frank H. Osborne, Ph. D. © 2015 EMSE 3123 Math and Science in Education 1.
Praxis I Math Review By: Professor Peter Eley. Question 1 Text answers to A scientist has a very sophisticated microscope and laser cutting tool.
Rational Expressions l Multiplying/Dividing l Adding/Subtracting l Complex Fractions.
12-6 Rational Expressions with Like Denominators Objective: Students will be able to add and subtract rational expressions with like denominators.
Mathematics Geometric Series Science and Mathematics Education Research Group Supported by UBC Teaching and Learning Enhancement Fund Department.
6.3 Separation of Variables and the Logistic Equation.
A Classic Game of Strategy for the 21 st Century.
Solving Inequalities: Review of Unit 12 Created by: Amanda Hollenbacher 1/30/2005.
Sect 1.1 Algebraic Expressions Variable Constant Variable Expression Evaluating the Expression Area formula Perimeter Consist of variables and/or numbers,
This is an example of an infinite series. 1 1 Start with a square one unit by one unit: This series converges (approaches a limiting value.) Many series.
 Example 1: -2(3)  If there is only one negative it will be a negative answer.  -2(3) = -6.
This is a new powerpoint. If you find any errors please let me know at
Matching Lecture 19: Nov 23.
Copyright © Cengage Learning. All rights reserved. Fundamental Concepts of Algebra 1.1 Real Numbers.
June 12, 2002© Howard Huang1 Karnaugh maps Last time we saw applications of Boolean logic to circuit design. – The basic Boolean operations are.
Slide Copyright © 2009 Pearson Education, Inc. Slide Copyright © 2009 Pearson Education, Inc. Welcome to MM150 – Unit 4 Seminar Unit 4 Seminar.
> 0 is always POSITIVE< 0 is always NEGATIVE The sign on the leading coefficient is the sign of the RHB. Once the regions are labeled, shaded the desired.
Copyright © 2011 Pearson Education, Inc. Polynomials CHAPTER 5.1Exponents and Scientific Notation 5.2Introduction to Polynomials 5.3Adding and Subtracting.
7.5 Solving Square Roots & Other Radical Equations (Day 1)
State space search Represented by a four-tuple [N,A,S,GD], where: N is the problem space A is the set of arcs (or links) between nodes. These correspond.
Whiteboardmaths.com © 2004 All rights reserved
1 Example 3 Evaluate Solution Since the degree 5 of the numerator is greater than the degree 4 of the denominator, we begin with long division: Hence The.
Polynomials Interpret the Structure of an Expression (MCC9-12.A.SSE.1a.b) Perform Arithmetic Operations on Polynomials (MCC9-12.A.APR.1)
Presented by: Dr Eman Morsi Decibel Conversion. The use of decibels is widespread throughout the electronics industry. Many electronic instruments are.
Precalculus Fifth Edition Mathematics for Calculus James Stewart Lothar Redlin Saleem Watson.
Some counting questions with the Rules of Chess. Chessboard and Chess pieces The game of chess is played on an 8-by-8 grid of alternately colored squares.
Please CLOSE YOUR LAPTOPS, and turn off and put away your cell phones, and get out your note- taking materials.
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Module 3 – Part 2 Node-Voltage Method with Voltage Sources
Bipartite Matching Lecture 8: Oct 7.
Number Systems.
EVALUATING EXPONENTS.
MULTIPLICATION OF ALGEBRAIC EXPRESSIONS
EVALUATING EXPONENTS.
Algebraic fractions.
Mixed Form To Fraction Form
x coordinates y coordinates Compare all the x coordinates, repeats.
Math 083 – Intermediate Algebra
EVALUATING EXPONENTS.
Presented By: David Miller
N7 Prime factor decomposition, HCF and LCM
Karnaugh maps Last time we saw applications of Boolean logic to circuit design. The basic Boolean operations are AND, OR and NOT. These operations can.
Chapter 15 Excel Review.
Presentation transcript:

The Knight’s Tour By Colleen Raimondi

The Knight’s Tour The Knight’s Tour is a geometrical problem played on a chessboard. It consists of moving a knight on a chessboard in such a way that will hit every cell once and only once. There are many, many different solutions for this problem.

Knight’s Tour Terms Re-entrant: the last cell that the knight lands on to finish the problem is also a cell that the first cell, that the knight started from, commands . Cell: each square on a chessboard.

Re-entrance On a board containing an even number of cells the solution may or may not be re-entrant. You cannot have a solution be re-entrant on a board that contains an odd number of cells. Reason: If a knight begins on a white cell, its first move will end up on a black cell, and its next move to a white cell, and so on. That is why if the solution passes through all the cells, on a board with an odd number of cells, the last move will leave it on a cell of the same color of the cell which it started from. Therefore these cells cannot be connected by one move.

Different Solutions De Moivre Solution Euler Solution Vandermonde Solution Warndorff Solution

De Moivre These solutions pertain to an ordinary eight by eight chessboard (64 cells). Divide the board into an inner 4x4 square that is bordered by an outer ring of two cells deep. Either start the path in the outer circle or by starting in the inner square. If you start from the outer circle, the knight needs to move around the outer circle in one direction to fill it up completely. Only go into the inner square when it is absolutely necessary When the outer ring is filled up, there are only a few cells left in the inner square. You can pass through these pretty easily with a little ingenuity. If you start from the inner square, you have to reverse the process. You can apply this method to different variations of square and rectangle boards.

An Example of De Moivre

Euler 1759 Euler would start by randomly moving a knight over a board until there were no more moves available to it. Doing this carefully left a few cells on the board that were not hit by the knight and he would label these cells a,b,…. His method consisted of establishing certain rules by which these labeled cells could be inserted into the knight’s path, and also rules to make the solution re-entrant.

Euler’s Method Let us take the example of a path formed by the knight of 1,2,3,…, 59,60; and with four cells left empty to be labeled a,b,c,d. 55 4 1 50 53 38 57 60 58 39 54 32 51 3 34 49 2 5 52 37 42 59 56 29 31 28 43 22 19 44 27 40 45 26 21 30 35 48 33 a 20 23 11 14 7 16 25 18 6 b 36 47 8 41 d c 13 10 15 12 24 9 17 46

Euler’s Method Euler’s Method We need to begin by making the path from 1 to 60 re-entrant. Cell 1 commands a cell p, where p is 32, 52, or 2. Cell 60 commands a cell q, where q is 29, 59, or 51. If any of the values of p and q differ by 1 then we can make the path re-entrant. For this case we have p=52 and q=51. So the cells 1, 2, 3,…, 51; 60, 59,…, 52 form a re-entrant path of 60 moves. Therefore, if we replace the numbers 60, 59,…, 52 by 52, 53,…, 60, the steps will numbered successively.

Euler’s Method 57 4 1 50 59 38 55 52 54 39 58 32 51 3 34 49 2 5 60 37 42 53 56 29 31 28 43 22 19 44 27 40 45 26 21 30 35 48 33 a 20 23 11 14 7 16 25 18 6 b 36 47 8 41 d c 13 10 15 12 24 9 17 46

Euler’s Method Next, we need to add the cells a,b,d to this path. In the new path of 60 cells a commands the cells 51, 53, 41, 25, 7, 5, and 3. It does not matter which of these we pick, for the example we will pick 51. We want to make 51 the last cell of the path of 60 cells so that we can continue with a,b,d. To do this we want to add 9 to every number in path of 60 cells. Then replace 61, 62,…, 69 with 1, 2,…, 9, then we will have a path that starts from the cell initially occupied by 60, the 60th move is on the cell initially occupied by 51, and the 61st, 62nd, 63rd moves will be on the cells a, b, d in that order.

Euler’s Method Replaced 61, 62,…, 69 with 1, 2,…, 9 and a,b,d with 61, 62, 63 Added 9 to all cells 66 13 10 59 68 47 64 61 63 48 67 41 60 12 43 58 11 14 69 46 51 62 65 38 40 37 52 31 28 53 36 49 54 35 30 39 44 57 42 a 29 32 20 23 16 25 34 27 15 b 45 56 17 50 d c 22 19 24 21 33 18 26 55 6 13 10 59 8 47 4 1 3 48 7 41 60 12 43 58 11 14 9 46 51 2 5 38 40 37 52 31 28 53 36 49 54 35 30 39 44 57 42 61 29 32 20 23 16 25 34 27 15 62 45 56 17 50 63 c 22 19 24 21 33 18 26 55

Euler’s Method We still have to introduce the cell c to the path. Since c now commands the new cell number 25, and 63 commands the cell now numbered 24, we can use the method we used earlier to make the path re-entrant. In fact the cells numbered 1, 2,.., 24; 63, 62,..,25, c form a knight’s tour. Therefore we need to replace 63, 62,..,25 by the numbers 25, 26,…63, and then we can label c with 64.

Euler’s Method 6 13 10 29 8 41 4 1 3 40 7 47 28 12 45 30 11 14 9 42 37 2 5 50 48 51 36 57 60 35 52 39 34 53 58 49 44 31 46 27 59 56 20 23 16 63 54 61 15 26 43 32 17 38 25 64 22 19 24 21 55 18 62 33

Euler’s Method The last thing we have to do is make the solution re-entrant. First we need to get cell 1 and cell 64 near each other. Do this by taking one of the cells commanded by 1, like 28, so 28 commands 1 and 27. Therefore the cells 64, 63,…, 28; 1, 2,…, 27 form a path. We represent this by replacing the cells numbered 1, 2,…, 27 by 27, 26,…,1. The cell now occupied by 1, commands the cells 26, 38, 54, 12, 2, 14, 16, 28, and the cells commanded by 64 are 13, 43, 63, 55. The cells 13 and 14 are consecutive, and therefore the cells 64, 63,…,14; 1, 2,…,13 form a path. We need to replace the numbers 1, 2,…,13 with 13, 12,…1. By doing this we achieve a re-entrant solution that covers the entire board.

Euler’s Method Final Board: Replaced 1, 2,…,13 with 13, 12,…1 Replaced 1, 2,…, 27 by 27, 26,…,1. Final Board: Replaced 1, 2,…,13 with 13, 12,…1 22 15 18 29 20 41 24 27 25 40 21 47 28 16 45 30 17 14 19 42 37 26 23 50 48 51 36 57 60 35 52 39 34 53 58 49 44 31 46 1 59 56 8 5 12 63 54 61 13 2 43 32 11 38 3 64 6 9 4 7 55 10 62 33 22 15 18 29 20 41 24 27 25 40 21 47 28 16 45 30 17 14 19 42 37 26 23 50 48 51 36 57 60 35 52 39 34 53 58 49 44 31 46 13 59 56 6 9 2 63 54 61 1 12 43 32 3 38 11 64 8 5 10 7 55 4 62 33

Vandermonde’s Method Cover the board by two or more independent paths taken at random, and then to connect the paths. Define the position of a cell was by a fraction x/y, where the numerator x is the number of the cell from one side of the board, and the denominator y is its number from the adjacent side of the board. In a series of fractions representing a knight’s path, the difference between the numerators of two consecutive fractions can be only one or two, while the corresponding difference between their denominators must be two or one respectively. Also x and y cannot be less than 1 or greater than 8.

Vandermonde’s Method 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 5/5, 4/3, 2/4, 4/5, 5/3, 7/4, 8/2, 6/1, 7/3, 8/1, 6/2, 8/3, 7/1, 5/2, 6/4, 8/5, 7/7, 5/8, 6/6, 5/4, 4/6, 2/5, 1/7, 3/8, 2/6, 1/8, 3/7, 1/6, 2/8, 4/7, 3/5, 1/4, 2/2, 4/1, 3/3, 1/2, 3/1, 2/3, 1/1, 3/2, 1/3, 2/1, 4/2, 3/4, 1/5, 2/7, 4/8, 3/6, 4/4, 5/6, 7/5, 8/7, 6/8, 7/6, 8/8, 6/7, 8/6, 7/8, 5/7, 6/5, 8/4, 7/2, 5/1, 6/3

Warnsdorff’s Method His rule is that the knight must be moved always to one of the cells from which it will command the fewest number of cells not already touched upon. The solution is not symmetrical or re-entrant In most cases a single false step, except in the last three of four moves will not affect the result. http://w1.859.telia.com/~u85905224/knight/eWarnsd.htm