One day a guy approached us with a puzzle he has been pondering on for approximately seven years. He called this the ‘Walls and Lines Puzzle’.

Slides:



Advertisements
Similar presentations
The Chinese Postman Problem Route Planning Map Colouring
Advertisements

Breakfast Bytes: Pigeons, Holes, Bridges and Computers Alan Kaylor Cline November 24, 2009.
The 7 Bridges of Konigsberg A puzzle in need of solving.
Chapter 7 Graph Theory 7.1 Modeling with graphs and finding Euler circuits. Learning Objectives: Know how to use graphs as models and how to determine.
Lecture 21 Paths and Circuits CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Section 14.1 Intro to Graph Theory. Beginnings of Graph Theory Euler’s Konigsberg Bridge Problem (18 th c.)  Can one walk through town and cross all.
AMDM UNIT 7: Networks and Graphs
The Seven Bridges Of Konigsberg.
Pamela Leutwyler. A river flows through the town of Konigsburg. 7 bridges connect the 4 land masses. While taking their Sunday stroll, the people of Konigsburg.
Konigsberg Bridge Problem
Koenigsberg bridge problem It is the Pregel River divided Koenigsberg into four distinct sections. Seven bridges connected the four portions of Koenigsberg.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Mapping Networks Or, the costs and benefits of abstraction.
Introduction to Networks HON207. Graph Theory In mathematics and computer science, graph theory is the study of graphs, mathematical structures used to.
Graphs. Graph A “graph” is a collection of “nodes” that are connected to each other Graph Theory: This novel way of solving problems was invented by a.
Euler and Hamilton Paths
By Dr. C. B. Alphonce (Room305 Mathematics Building) MT 147: DISCRETE MATHEMATICS (3 Units) CORE for B. SC. In COMPUTER SCIENCE.
Graphs and Trees This handout: Terminology of Graphs Applications of Graphs.
Graphs and Euler cycles Let Maths take you Further…
Euler Paths and Circuits. The original problem A resident of Konigsberg wrote to Leonard Euler saying that a popular pastime for couples was to try.
The Bridge Obsession Problem By Vamshi Krishna Vedam.
Eulerian Circuits. A Warm Up Problem Jenny & John were at a Math Circles event with three other couples. As people arrived, various handshakes took place.
Copyright © Cengage Learning. All rights reserved.
Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
More Graph Algorithms 15 April Applications of Graphs Graph theory is used in dealing with problems which have a fairly natural graph/network.
EECS 203: It’s the end of the class and I feel fine. Graphs.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
1 Starter of the day 23 x 27 = x 47 = x 87 = x 55 = x 58 = ???? 54 x 56 = ???? Can you spot the trick for this group of.
Euler and Hamilton Paths
It's a world-wide webby wonderland.. Graphs are often used to represent real-world information and real-world structures. Graph Theory was even invented.
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
Week 11 - Monday.  What did we talk about last time?  Binomial theorem and Pascal's triangle  Conditional probability  Bayes’ theorem.
Lecture 14: Graph Theory I Discrete Mathematical Structures: Theory and Applications.
Konigsburg Bridge Problem The Konigsberg Bridge problem is a famous mathematical problem studied by many students in geometry.
Aim: What is an Euler Path and Circuit?
© Jalal Kawash 2010 Graphs Peeking into Computer Science.
EASTERN MEDITERRANEAN UNIVERSITY EE 529 Circuit and Systems Analysis Lecture 2 Mustafa Kemal Uyguroğlu.
Discrete Mathematical Structures: Theory and Applications
Vertex-Edge Graphs Euler Paths Euler Circuits. The Seven Bridges of Konigsberg.
Associated Matrices of Vertex Edge Graphs Euler Paths and Circuits Block Days April 30, May 1 and May
Euler Paths and Circuits. The original problem A resident of Konigsberg wrote to Leonard Euler saying that a popular pastime for couples was to try.
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.
Lecture 52 Section 11.2 Wed, Apr 26, 2006
Lecture 11: 9.4 Connectivity Paths in Undirected & Directed Graphs Graph Isomorphisms Counting Paths between Vertices 9.5 Euler and Hamilton Paths Euler.
Chapter 6: Graphs 6.1 Euler Circuits
M Clements Formal Network Theory. Introduction Practical problem – The Seven Bridges of Königsberg Network graphs Nodes & edges Degrees Rules/ axioms.
Konisberg Bridges (One-way street) SOL: DM.2 Classwork Quiz/worksheet Homework (day 62) worksheet.
Graph Theory Two Applications D.N. Seppala-Holtzman St. Joseph ’ s College.
Teacher Notes: There is a famous problem in Discrete Mathematics called ‘The Bridges of Konigsberg’ in which it is said to be impossible to cross each.
STARTER: CAN YOU FIND A WAY OF CROSSING ALL THE BRIDGES EXACTLY ONCE? Here’s what this question would look like drawn as a graph.
Excursions in Modern Mathematics Sixth Edition
Week 7 - Monday CS 113.
Euler and Hamiltonian Graphs
Graph Theory An Introduction.
Graph theory. Graph theory Leonard Euler (“Oiler”)
Euler Paths and Circuits
Konigsberg’s Seven Bridges
Euler Paths and Circuits
This unit is all about Puzzles Games Strategy.
Excursions in Modern Mathematics Sixth Edition
Konigsberg- in days past.
Graph Theory What is a graph?.
Section 14.1 Graphs, Paths, and Circuits
Applied Combinatorics, 4th Ed. Alan Tucker
Graph Theory Relations, graphs
Graphs, Paths, and Circuits
A Survey of Mathematics with Applications
5 The Mathematics of Getting Around
Week 10 - Wednesday CS221.
Presentation transcript:

One day a guy approached us with a puzzle he has been pondering on for approximately seven years. He called this the ‘Walls and Lines Puzzle’.

Rules and Regulations Each vertex is considered a ‘Node’. From node to node is considered a ‘Bridge’. You must cross each bridge once and only once with one continuous line. You may cross YOUR line. You CANNOT run you line through a node.

Here is an example of the many ways we have tried to solve this problem. As you can see we crossed all but one line, therefore this is not a solution.

Seven Bridges of Konigsberg In Konigsberg, Prussia (present day Kaliningrad, Russia) the river Pregel divides the town into four separate land masses-A, B, C, & D. Some of the citizens wanted to see if they could cross all seven bridges without crossing one more than once. Many tried and everyone failed.

Leonhard Euler’s Answer Around the mid-1730’s a man named Leonhard Euler came up with the answer. –Is it possible to cross all seven bridges once and only once? NO!!! It is impossible and he came up with a reasoning we soon adopt as Graph Theory.

Euler’s Reasoning –Anyone standing on a land mass would have to have a way to get on and off. –So, each land mass would need and even number of bridges connecting to it.

Let’s start out with a single node with an odd number of bridges. If this is NOT your starting point then you would: –Enter –Leave –Enter Again Thus, if you start somewhere else-with this having an odd number of bridges you realize that you must END here.

Now, let’s add another point with an odd number of bridges. Therefore you must start at one point and end at the other. If we start at ‘Home’ we must end at point B. The pathway would be –Leave Home –Enter B –Leave B –Enter Home –Leave Home –Enter B

So far we have concluded that if a point has an odd number of bridges then we will sooner or later end up leaving it and not being able to reenter. With two nodes having odd bridges we can leave one and finish by ending on the other. Therefore you must start and end on a point with an odd number of bridges. Recap

Now, let’s add a third point with an odd number of bridges. We already know that you must start and end on a point with an odd number of bridges. That leads us to our obstacle –There are three points with an odd number of bridges. –And we can only start at 1 point and end at 1 point. –Therefore either a third bridge is going to have to be removed or this is impossible to solve.

You have your four different land masses- A, B, C & D. They can be represented by ‘Nodes’. The bridges/pathways can be represented by lines/arcs. Now let’s reconstruct Euler’s bridge diagram.

Since we are starting at one node and ending at another only 2 nodes can have an odd number of bridges. We will classify each node as either odd or even depending on its number of bridges. Node A- 5 Bridges=Odd Node B- 3 Bridges=Odd Node C- 3 Bridges=Odd Node D- 3 Bridges=Odd So since out of the 4 nodes more than two of them are odd it is IMPOSSIBLE to cross all bridges once and only once!!!

Let’s Apply that to the first problem we gave you! Let’s circle all the “odd nodes”. Since there are more than 2 “odd nodes” it is impossible to cross each line once and only once!!!

Extra Information This whole idea of Graph Theory arose because of recreation. People in the 1700’s wanted something to do and they worked on this for a long time. This was nothing more than Pure Mathematics and now we use it in everyday life. Graph Theory is used today in things like, electrical engineering, computer programming and networking. Anything that deals with pathways can be related to Graph Theory. For instance –Mail-routes –Snow Removal –Garbage Pick-ups –Even programming stop lights in a town

Presented by: Shelby Durler & Emily Tenbrink