The 7 Bridges of Konigsberg A puzzle in need of solving.

Slides:



Advertisements
Similar presentations
Introduction to Graphs
Advertisements

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
BY: MIKE BASHAM, Math in Scheduling. The Bridges of Konigsberg.
Euler Circuits and Paths
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.
Topology YAN JIE (Ryan).
+ Graph Theory to the Rescue Using graph theory to solve games and problems Dr. Carrie Wright University of Arizona Teacher’s Circle November 17, 2011.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20.
4/17/2017 Section 8.5 Euler & Hamilton Paths ch8.5.
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 Euler cycles Let Maths take you Further…
Eulerian Graphs CSE 331 Section 2 James Daly. Reminders Project 3 is out Covers graphs Due Friday.
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.
Copyright © Cengage Learning. All rights reserved.
Can you find a way to cross every bridge only once?
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
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.
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
CS 200 Algorithms and Data Structures
5.4 Graph Models (part I – simple graphs). Graph is the tool for describing real-life situation. The process of using mathematical concept to solve real-life.
Konigsburg Bridge Problem The Konigsberg Bridge problem is a famous mathematical problem studied by many students in geometry.
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’.
Aim: What is an Euler Path and Circuit?
Week 12 - Wednesday.  What did we talk about last time?  Matching  Stable marriage  Started Euler paths.
Discrete Mathematical Structures: Theory and Applications
Lecture 10: Graph-Path-Circuit
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.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
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.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 15 Graph Theory.
Lecture 52 Section 11.2 Wed, Apr 26, 2006
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.
Bell Work Thursday 6/19/2014 Create a heading on a piece of paper that says “Bell Work 6/19/14” Create a heading on a piece of paper that says “Bell Work.
1 Euler and Hamilton paths Jorge A. Cobb The University of Texas at Dallas.
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.
Konisberg Bridges (One-way street) SOL: DM.2
Excursions in Modern Mathematics Sixth Edition
Excursions in Modern Mathematics Sixth Edition
Week 7 - Monday CS 113.
Çizge Algoritmaları.
Euler Paths and Circuits
Konigsberg’s Seven Bridges
Euler Paths and Circuits
Euler Circuits and Paths
Excursions in Modern Mathematics Sixth Edition
Konigsberg- in days past.
Decision Maths Graphs.
Euler Circuits and Paths
CHAPTER 15 Graph Theory.
Graphs, Paths, and Circuits
A Survey of Mathematics with Applications
5 The Mathematics of Getting Around
5 The Mathematics of Getting Around
Week 10 - Wednesday CS221.
Presentation transcript:

The 7 Bridges of Konigsberg A puzzle in need of solving

The Problem The 7 Bridges of Konigsberg is a famous mathematics problem inspired by an actual city in Germany. A river ran through the city such that in its center was an island, and after passing the island, the river broke into two parts.

Seven bridges were built so that the people of the city could get from one part to another. The Problem The map of the city looks something like this.

Many people claimed that they could walk a route that crossed each bridge exactly once yet nobody could prove it.

Try it. Sketch the above map of the city on a sheet of paper and try to 'plan your journey' with a pencil in such a way that you trace over each bridge once and only once and you complete the 'plan' with one continuous pencil stroke. Problem 1

Having trouble? That’s okay, so did Euler. It doesn’t seem possible to cross every bridge exactly once. In fact it isn’t. You will find out why later. Some failed attempts to solve the problem are:

Suppose they had decided to build one fewer bridge in Konigsberg so that map looked like this. Problem 2 Now is it possible to 'plan your journey' in such a way that you trace over each bridge once and only once and you complete the 'plan' with one continuous pencil stroke?

This one is solvable. Here's one possible solution:

Euler approached the 7 bridges problem by collapsing areas of land separated by the river into points, and the bridges into arcs. The map below shows this concept.

In a stripped down version, the map would look something like this.

The problem now becomes one of drawing this picture without retracing any line and without picking your pencil up off the paper. Consider this: all four of the vertices in the picture have an odd number of arcs connected to them. Take one of these vertices, say one with three arcs connected to it. Say you're going along, trying to trace the above figure without picking up your pencil. The first time you get to this vertex, you can leave by another arc. But the next time you arrive, you can't. So you'd better be through drawing the figure when you get there! Alternatively, you could start at that vertex, and then arrive and leave later. But then you can't come back. Thus every vertex with an odd number of arcs attached to it has to be either the beginning or the end of your pencil- path. So you can only have up to two 'odd' vertices! Thus it is impossible to draw the above picture in one pencil stroke without retracing.

Euler’s Theorem’s If a network has more than two odd vertices, it does not have an Euler path. If a network has two or less odd vertices, it has at least one Euler path. A vertex is odd if it has an odd number of arcs leading to it, otherwise it is called even. An Euler path is a continuous path that passes through every arc once and only once.

Which of the following networks are Euler Paths?

What about this one?

Let’s see if you were paying attention… Use Euler’s theorems to figure out the following problems…

The northern bank of the river is occupied by the castle of a Blue Prince, the southern bank by that of a Red Prince. The East bank is home to the Bishop’s Church, and on the small island in the center, is the town inn.

The Blue Prince, realizing that the bridges cannot be walked in a Euler path, contrives a stealthy plan to build an eighth bridge so that he can begin his evening walk at his castle, walk the 8 bridges and end at the inn to brag of his victory. Of course, he wants the Red Prince to be unable to duplicate the feat. Use Euler’s theorems to figure out where the Blue Prince should build the eighth bridge?

Solution: Euler paths are possible if it has two or less odd vertices. If this is so, then the walk must begin at one such vertex and end at the other. Since there are only 4 vertices, the solution is simple. The walk is desired to begin at the blue vertex and end at the orange vertex. Therefore a new bridge is drawn between the other two vertices. Since they each formerly has an odd number of bridges, they must now have an even number of bridges fulfilling all conditions.

The Red Prince, infuriated by his brother’s solution to the problem, begins to build a ninth bridge which enables him to begin at the Red castle, walk the bridges, and end at the inn to rub dirt in his brothers face. Of course with the construction of the ninth bridge, the Blue prince will no longer be able to walk the bridges himself. Where should the ninth bridge be built?

Solution: With the eighth bridge already built, it is desired to enable the red castle and forbid the blue castle as a starting point. The Inn remains the end of the walk and the church is unaffected. By adding a bridge between the red and blue castles, it changes the blue castle to an even vertex and changes the red castle to an odd vertex. Which means the Red Prince can walk the bridges and end at the inn but the Blue Prince cannot.

The Bishop has watched this furious bridge-building with dismay. It upsets the town folk and, worse, contributes to excessive drunkenness. He wants to build a tenth bridge that allows all involved to walk the bridges and return to their own beds. Where should the Bishop build the tenth bridge?

Solution: The 10th bridge takes us in a slightly different direction. The Bishop wishes every citizen to return to his starting point. This is an Euler cycle and requires that all vertices be of even degree. After the solution of the 9th bridge, the red and the orange nodes have odd degree, so they must be changed by adding a new edge between them.

This is what the town would look like with the addition of the 8 th, 9 th, and 10 th bridge.