5 The Mathematics of Getting Around

Slides:



Advertisements
Similar presentations
The 7 Bridges of Konigsberg A puzzle in need of solving.
Advertisements

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
BY: MIKE BASHAM, Math in Scheduling. The Bridges of Konigsberg.
The Seven Bridges Of Konigsberg.
Koenigsberg bridge problem It is the Pregel River divided Koenigsberg into four distinct sections. Seven bridges connected the four portions of Koenigsberg.
E ULERIZING G RAPHS Notes 25 - Section 5.7. E SSENTIAL L EARNINGS Students will understand and be able to use Eulerization to find optimal exhaustive.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
IEOR266 © Classification of MCNF problems.
Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20.
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.
Math for Liberal Studies.  Here is a map of the parking meters in a small neighborhood  Our goal is to start at an intersection, check the meters, and.
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.
Discrete Math Round, Round, Get Around… I Get Around Mathematics of Getting Around.
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.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 7 The Mathematics of Networks 7.1Trees 7.2Spanning Trees 7.3 Kruskal’s.
Slide 14-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 6 The Mathematics of Touring 6.1Hamilton Paths and Hamilton Circuits.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
Graph Theory Topics to be covered:
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.
Slide Copyright © 2009 Pearson Education, Inc. AND Active Learning Lecture Slides For use with Classroom Response Systems Chapter 14 Graph Theory.
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
The Mathematics of Getting Around
“Graph theory” for the master degree program “Geographic Information Systems” Yulia Burkatovskaya Department of Computer Engineering Associate professor.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 6 The Mathematics of Touring 6.1Hamilton Paths and Hamilton Circuits.
Euler and Hamilton Paths
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 6 The Mathematics of Touring 6.1Hamilton Paths and Hamilton Circuits.
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.
Examples Euler Circuit Problems Unicursal Drawings Graph Theory
Lecture 14: Graph Theory I Discrete Mathematical Structures: Theory and Applications.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 4.1, Slide 1 4 Graph Theory (Networks) The Mathematics of Relationships 4.
Aim: What is an Euler Path and Circuit?
Discrete Mathematical Structures: Theory and Applications
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Vertex-Edge Graphs Euler Paths Euler Circuits. The Seven Bridges of Konigsberg.
AND.
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.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 15 Graph Theory.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.2 Euler Paths, and Euler Circuits.
Chapter 5: The Mathematics of Getting Around
Aim: Graph Theory – Paths & Circuits Course: Math Literacy Do Now: Aim: What are Circuits and Paths? Can you draw this figure without retracing any of.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 6 The Mathematics of Touring 6.1Hamilton Paths and Hamilton Circuits.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Excursions in Modern Mathematics Sixth Edition
Excursions in Modern Mathematics Sixth Edition
Çizge Algoritmaları.
Graph theory. Graph theory Leonard Euler (“Oiler”)
Konigsberg’s Seven Bridges
5 The Mathematics of Getting Around
Euler Paths and Circuits
Nuffield Free-Standing Mathematics Activity
Excursions in Modern Mathematics Sixth Edition
5 The Mathematics of Getting Around
Konigsberg- in days past.
A Survey of Mathematics with Applications
5 The Mathematics of Getting Around
5 The Mathematics of Getting Around
5 The Mathematics of Getting Around
Presentation transcript:

5 The Mathematics of Getting Around 5.1 Euler Circuit Problems 5.2 What Is a Graph? 5.3 Graph Concepts and Terminology 5.4 Graph Models 5.5 Euler’s Theorems 5.6 Fleury’s Algorithm 5.7 Eulerizing Graphs

Euler Paths and Circuits Our story begins in the 1700s in the medieval town of Königsberg, in Eastern Europe. At the time, Königsberg was divided by a river into four separate sections, which were connected to one another by seven bridges. The old map of Königsberg shown on the next slide gives the layout of the city in 1735, the year a brilliant young mathematician named Leonhard Euler came passing through.

Euler Paths and Circuits

Euler Paths and Circuits While visiting Königsberg, Euler was told of an innocent little puzzle of disarming simplicity: Is it possible for a person to take a walk around town in such a way that each of the seven bridges is crossed once, but only once? Euler, perhaps sensing that something important lay behind the frivolity of the puzzle, proceeded to solve it by demonstrating that indeed such a walk was impossible. But he actually did much more!

Euler Paths and Circuits Euler laid the foundations for what was at the time a totally new type of geometry, which he called geometris situs (“the geometry of location”). From these modest beginnings, the basic ideas set forth by Euler eventually developed and matured into one of the most important and practical branches of modern mathematics, now known as graph theory.

Euler Paths and Circuits The theme of this chapter is the question of how to create efficient routes for the delivery of goods and services–such as mail delivery, garbage collection, police patrols, newspaper deliveries, and, most important, late-night pizza deliveries–along the streets of a city, town, or neighborhood. These types of management science problems are known as Euler circuit problems.

Routing Problems What is a routing problem? To put it in the most general way, routing problems are concerned with finding ways to route the delivery of goods and/or services to an assortment of destinations. The goods or services in question could be packages, mail, newspapers, pizzas, garbage collection, bus service, and so on. The delivery destinations could be homes, warehouses, distribution centers, terminals, and the like.

Two Basic Questions The existence question is simple: Is an actual route possible? For most routing problems, the existence question is easy to answer, and the answer takes the form of a simple yes or no. When the answer to the existence question is yes, then a second question–the optimization question–comes into play. Of all the possible routes, which one is the optimal route? Optimal here means “the best” when measured against some predetermined variable such as cost, distance, or time.

Euler Circuit Problems The common thread in all Euler circuit problems is what we might call, for lack of a better term, the exhaustion requirement–the requirement that the route must wind its way through . . . everywhere. Thus, in an Euler circuit problem, by definition every single one of the streets (or bridges, or lanes, or highways) within a defined area (be it a town, an area of town, or a subdivision) must be covered by the route. We will refer to these types of routes as exhaustive routes.

Example 5.1 Walking the ‘Hood’ After a rash of burglaries, a private security guard is hired to patrol the streets of the Sunnyside neighborhood shown next. The security guard’s assignment is to make an exhaustive patrol, on foot, through the entire neighborhood. Obviously, he doesn’t want to walk any more than what is necessary. His starting point is the southeast corner across from the school (S)–that’s where he parks his car.

Example 5.1 Walking the ‘Hood’ (This is relevant because at the end of his patrol he needs to come back to S to pick up his car.)

Example 5.1 Walking the ‘Hood’ Being a practical person, the security guard would like the answers to two questions. (1) Is it possible to start and end at S, cover every block of the neighborhood, and pass through each block just once? (2) If some of the blocks will have to be covered more than once, what is an optimal route that covers the entire neighborhood? (Optimal here means “with the minimal amount of walking.”)

Example 5.2 Delivering the Mail A mail carrier has to deliver mail in the same Sunnyside neighborhood. The difference between the mail carrier’s route and the security guard’s route is that the mail carrier must make two passes through blocks with houses on both sides of the street and only one pass through blocks with houses on only one side of the street; and where there are no homes on either side of the street, the mail carrier does not have to walk at all.

Example 5.2 Delivering the Mail

Example 5.2 Delivering the Mail In addition, the mail carrier has no choice as to her starting and ending points–she has to start and end her route at the local post office (P). Much like the security guard, the mail carrier wants to find the optimal route that would allow her to cover the neighborhood with the least amount of walking. (Put yourself in her shoes and you would do the same–good weather or bad, she walks this route 300 days a year!)

Example 5.3 The Seven Bridges of Könisberg Figure 5-2(a) shows an old map of the city of Königsberg and its seven bridges; Fig.5-2(b) shows a modernized version of the very same layout. We opened the chapter with this question: Can a walker take a stroll and cross each of the seven bridges of Königsberg without crossing any of them more than once?

Example 5.3 The Seven Bridges of Königsberg

Example 5.4 The Bridges of Madison County This is a more modern version of Example 5.3. Madison County is a quaint old place, famous for its quaint old bridges. A beautiful river runs through the county, and there are four islands (A, B, C, and D) and 11 bridges joining the islands to both banks of the river (R and L) and one another (Fig.5-3). A famous photographer is hired to take pictures of each of the 11 bridges for a national magazine.

Example 5.4 The Bridges of Madison County

Example 5.4 The Bridges of Madison County The photographer needs to drive across each bridge once for the photo shoot. Moreover, since there is a $25 toll (the locals call it a “maintenance tax”) every time an out-of-town visitor drives across a bridge, the photographer wants to minimize the total cost of his trip and to recross bridges only if it is absolutely necessary. What is the optimal (cheapest) route for him to follow?

Example 5.5 Child’s Play Figure 5-4 shows a few simple line drawings. The name of the game is to trace each drawing without lifting the pencil or retracing any of the lines. These kinds of tracings are called unicursal tracings. (When we end in the same place we started, we call it a closed unicursal tracing; when we start and end in different places, we call it an open unicursal tracing.) Which of the drawings in Fig. 5-4 can be traced with closed unicursal tracings? Which with only open ones?

Example 5.5 Child’s Play Which can’t be traced (without cheating)? How can we tell if a unicursal tracing (open or closed) is possible? Good question. We will answer it in Section 5.5.