The Mathematics of Chessboard Puzzles. The Closed Knight’s Tour.

Slides:



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

Today’s agenda 1. WASI test results 2.Quiz or HW? 3.Your stage 2 reports 4.Individual activity points.
Math 140 Quiz 1 - Summer 2004 Solution Review (Small white numbers next to problem number represent its difficulty as per cent getting it wrong.)
The 7 Bridges of Konigsberg A puzzle in need of solving.
Can visit all squares of a chessboard exactly once ?
Approximation Algorithms for TSP
BY: MIKE BASHAM, Math in Scheduling. The Bridges of Konigsberg.
A Knight’s Tour A decision problem. A Legal Move Can only move 1 x 2...Or 2 x 1.
How many squares on a chessboard?
Chapter 7 Multidimensional Arrays. Defining a two dimensional array elementType[][] arrayName; // Java pro elementType arrayName[][]; // C++ alternate.
David Laughon CS594 Graph Theory Graph Coloring. Coloring – Assignment of labels to vertices k-coloring – a coloring where Proper k-coloring – k-coloring.
Konigsberg Bridge Problem
© red ©
Section 2.1 Euler Cycles Vocabulary CYCLE – a sequence of consecutively linked edges (x 1,x2),(x2,x3),…,(x n-1,x n ) whose starting vertex is the ending.
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.
Graphs and Trees This handout: Eulerian Cycles: Sufficiency of the condition Hamiltonian tour.
IEOR266 © Classification of MCNF problems.
Ch 5.4: Euler Equations; Regular Singular Points
The Knight’s Tour By Colleen Raimondi.
CS1061 C Programmuing Lecture 12 Arrays A. O’Riordan, 2004.
The game of Barcelona databases, evolution, and reverse tessellation through the eyes of a gambler Keith Clay GRCC.
Graphs and Euler cycles Let Maths take you Further…
Chapter 1 Equations, Inequalities, and Mathematical Models 1.4 Complex Numbers.
Sudoku Puzzles Frank Hilvers Taylor O’Brien. The History of Sudoku The history of Sudoku puzzles dates back to the 18th century.  Swiss mathematician.
2006 Vanderbilt High School Mathematics Competition Ciphering Please send your first round cipherer to the front at this time.
Ch5-Sec(5.4): Euler Equations; Regular Singular Points Recall that the point x 0 is an ordinary point of the equation if p(x) = Q(x)/P(x) and q(x)= R(x)/P(x)
Hadamard matrices and the hadamard conjecture
NP-Complete Problems CSC 331: Algorithm Analysis NP-Complete Problems.
The Pigeonhole (Dirichlet’s box) Principle
University of Texas at Arlington Srikanth Vadada Kishan Kumar B P Fall CSE 5311 Solving Travelling Salesman Problem for Metric Graphs using MST.
Story: My Brother Martin. Unfair treatment of a person or thing. The student was upset at the injustice of not having a snow day.
Dr. Naveed Riaz Design and Analysis of Algorithms 1 1 Formal Methods in Software Engineering Lecture # 24.
Martin Gardner ( ) Scientific American – Mathematical Games column
HISTORY The problem was originally proposed in 1848 by the chess player Max Bezzel, and over the years, many mathematicians, including Gauss have worked.
7.4 and 7.5 Solving and Zeros of Polynomials
Folding Flexagons Laurie Wern Overmann Southeast Missouri State University.
1 Lecture #5 EGR 272 – Circuit Theory II Phasor Analysis The use of complex numbers to solve ac circuit problems – the so-called phasor method considered.
By: Drew Moen. Graph Theory History Leonhard Euler - founder The Seven Bridges of Königsberg Cross every Bridge once Change the city into a graph Change.
Chapter 10.8 Graph Coloring
Dry Mounting. It is as easy as + $ %  It is as easy as + $ %  Plus Trim 2 Corners Press.
A game based off of the esteemed classic By: Tadziu Kosiara.
1.5 Graph Theory. Graph Theory The Branch of mathematics in which graphs and networks are used to solve problems.
Approximation Algorithms for TSP Tsvi Kopelowitz 1.
Warm-up 1.What are the different ways to solve quadratic equation? Solve the following problem by completing the square.
Chapter 7: GEOMETRY Section 3
Matching Lecture 19: Nov 23.
Desegregating Schools. NAACP The NAACP (National Association for the Advancement of Colored People) played a crucial role in desegregating schools. This.
The Seven Bridges of Konigsberg (circa 1735) In Konigsberg, Germany, a river ran through the city such that in its centre was an island, and after passing.
Knight’s Circuit. Problem To find a Knight’s circuit of a chess board. Can we visit every square of a chessboard, once and only once, and return to the.
Week 9 - Monday.  What did we talk about last time?  Method practice  Lab 8.
Quiz highlights 1.Probability of the song coming up after one press: 1/N. Two times? Gets difficult. The first or second? Or both? USE THE MAIN HEURISTICS:
6.4 Completing the Square The Square Root Property.
Chapter 13 Backtracking Introduction The 3-coloring problem
Graph Theory Two Applications D.N. Seppala-Holtzman St. Joseph ’ s College.
Whiteboardmaths.com © 2004 All rights reserved
The Problem A gallant and brave knight must traverse the lands to rescue the princess and claim his rightful place in the kingdom A Knight on a board.
Read data from a Table Solve a Proportion Make a Circle Graph.
Hamiltonian Graphs Graphs Hubert Chan (Chapter 9.5)
Hamiltonian Graphs Graphs Hubert Chan (Chapter 9.5)
Lesson Two Vocabulary Words
7-1A, C, and D: Solving and Writing Addition Equations
Special Products of Polynomials
Chapter 10.8 Graph Coloring
Fractions 1/2 1/8 1/3 6/8 3/4.
Chapter 10.8 Graph Coloring
To recall the doubles of all numbers to at least 10
(chess)Board Domination by Sightseeing Monarchy
Presented By: David Miller
What Color is it?.
Presentation transcript:

The Mathematics of Chessboard Puzzles

The Closed Knight’s Tour

The Knight’s Legal Moves

The Closed Knight’s Tour Can the knight use legal moves to visit every square on the board exactly once and return to its starting position? Why do we only pay attention to the knight? Trivial Cases

The Open knight’s Tour

The Closed Knight’s Tour

How many closed knight’s tours are there on an 8 × 8 board? How many open knight’s tours are there on an 8 × 8 board? 26,534,728,821,064 ?

The closed knight’s tour has a long mathematical history. Euler published tours for the 8 × 8 board in a 1759 paper.

Once a problem is solved, mathematicians want to generalize the problem as much as possible. Thus, we do not restrict ourselves only to the standard 8 × 8 chessboard. Generalizations are quickly made to the square board, the rectangular board, three dimensional boards, etc.

In his October, 1967 column in Scientific American, Martin Gardner discusses the knight’s tour on rectangular boards and other mathematical problems involving the knight.

The Rectangular Chessboard

Classifying The Boards In 1991, Allen Schwenk completely determined which rectangular chessboards have a closed knight’s tour. An m × n chessboard with m < n has a closed knight’s tour unless one or more of the following three conditions hold: (a) m and n are both odd; (b) m = 1, 2 or 4 ; (c) m = 3 and n = 4, 6 or 8.

Condition (a): m and n are both odd. Recall that a legal move for a knight whose initial position is a white square will always result in an ending position on a black square and vice-versa. Hence, every tour representing the legal moves of a knight alternates between black and white squares.

Condition (a): m and n are both odd. Suppose m and n are both odd. There will exist an odd number of squares on the board. The number of black squares will not equal the number of white squares. No closed tour can exist.

Condition (b): m = 1, 2 or 4. Suppose m = 1 Suppose m = 2

Condition (b): m = 1, 2 or 4. For 4 × n boards we require a more complex coloring of the board than the traditional black and white coloring.

Condition (b): m = 1, 2 or 4. Note that a knight must move from a brown square to a black square. Likewise, a knight must move from a white square to a green square. Two closed cycles are now forced to exist and no closed tour exists for the 4× n board. Solomon Golomb

Condition (c): m = 3 and n = 4, 6, or 8. For the 3×4 board consider the squares 1, 3 and 11. These squares have only two possible moves. The cases for the 3×6 and 3×8 boards are shockingly similar

The Existence of a Closed Tour ADGJ LIBE CFKH