© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 15 Graph Theory.

Slides:



Advertisements
Similar presentations
Chapter 8 Topics in Graph Theory
Advertisements

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.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
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.
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.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 5,Wednesday, September 10.
The Mathematics of Networks Chapter 7. Trees A tree is a graph that –Is connected –Has no circuits Tree.
Euler Circuit Chapter 5. Fleury’s Algorithm Euler’s theorems are very useful to find if a graph has an Euler circuit or an Euler path when the graph is.
MTH118 Sanchita Mal-Sarkar. Routing Problems The fundamental questions: Is there any proper route for the particular problem? If there are many possible.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
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.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Slide 14-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
Spring 2015 Mathematics in Management Science Euler’s Theorems Euler Circuits & Paths ECT & EPT Burning Bridges Fleury’s Algorithm.
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.
Euler Paths & Euler Circuits
Structures 7 Decision Maths: Graph Theory, Networks and Algorithms.
© 2010 Pearson Prentice Hall. All rights reserved. 1 §15.3, Hamilton Paths and Circuits.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
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.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
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.
Chapter 14 Section 4 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Aim: What is an Euler Path and Circuit?
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 15 Graph Theory.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 15 Graph Theory.
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.
Lecture 10: Graph-Path-Circuit
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.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Lecture 52 Section 11.2 Wed, Apr 26, 2006
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.2 Euler Paths, and Euler Circuits.
Chapter 6: Graphs 6.1 Euler Circuits
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Walks, Paths and Circuits. A graph is a connected graph if it is possible to travel from one vertex to any other vertex by moving along successive edges.
Graph Theory Euler Paths and Euler Circuits. Euler Paths & Circuits Euler Paths and Euler Circuits (Euler is pronounced the same as Oiler) An Euler path.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.1 Graphs, Paths, and Circuits.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
MAT 110 Workshop Created by Michael Brown, Haden McDonald & Myra Bentley for use by the Center for Academic Support.
Excursions in Modern Mathematics Sixth Edition
Excursions in Modern Mathematics Sixth Edition
Çizge Algoritmaları.
Konigsberg’s Seven Bridges
Can you draw this picture without lifting up your pen/pencil?
Euler Paths & Euler Circuits
Excursions in Modern Mathematics Sixth Edition
Graph Theory What is a graph?.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Section 14.1 Graphs, Paths, and Circuits
Euler Paths and Euler Circuits
Warm Up – Tuesday Find the critical times for each vertex.
CHAPTER 15 Graph Theory.
Graphs, Paths, and Circuits
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
A Survey of Mathematics with Applications
5 The Mathematics of Getting Around
Presentation transcript:

© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 15 Graph Theory

© 2010 Pearson Prentice Hall. All rights reserved Euler Paths and Euler Circuits

© 2010 Pearson Prentice Hall. All rights reserved. 3 Objectives 1.Understand the definition of an Euler path. 2.Understand the definition of an Euler circuit. 3.Use Euler’s Theorem. 4.Solve problems using Euler’s Theorem. 5.Use Fleury’s Algorithm to find possible Euler paths and Euler circuits.

© 2010 Pearson Prentice Hall. All rights reserved. 4 Euler Paths An Euler path is a path that travels through every edge of a graph once and only once. Each edge must be traveled and no edge can be retraced. Use the numbers consecutively to trace the path with your pencil.

© 2010 Pearson Prentice Hall. All rights reserved. 5 Euler Circuits An Euler circuit is a circuit that travels through every edge of a graph once and only once. Like all circuits, an Euler circuit must begin and end at the same vertex. Use the numbers consecutively to trace the path with your pencil.

© 2010 Pearson Prentice Hall. All rights reserved. 6 Euler’s Theorem The following statements are true for connected graphs: 1.If a graph has exactly two odd vertices, then it has at least one Euler path, but no Euler circuit. Each Euler path must start at one of the odd vertices and end at the other one. 2.If a graph has no odd vertices (all even vertices), it has at least one Euler circuit (which, by definition, is also an Euler path). An Euler circuit can start and end at any vertex. 3.If a graph has more than two odd vertices, then it has no Euler paths and no Euler circuits.

© 2010 Pearson Prentice Hall. All rights reserved. 7 a.Explain why the graph in the figure has at least one Euler path. a.Use trial and error to find one such path. Solution: a. We count the number of edges at each vertex to determine if the vertex is odd or even. We see from the figure on the left that there are exactly two odd vertices, D and E. Example 1: Using Euler’s Theorem

© 2010 Pearson Prentice Hall. All rights reserved. 8 a.(cont.) Thus, by the first statement in Euler’s theorem, the graph has at least one Euler path, but no Euler circuit. b.Euler’s Theorem says that a possible Euler path must start at one of the odd vertices and end at the other one. To do this, we use trial and error. Use the numbers consecutively to trace the path with your pencil to verify these results. Example 1: Using Euler’s Theorem

© 2010 Pearson Prentice Hall. All rights reserved. 9 Applications of Euler’s Theorem Solving Problems Using Euler’s Theorem We can use Euler’s Theorem to solve problems involving situations modeled by graphs. Example: Recall the graph that models the layout of Königsberg. Count the number of odd vertices; there are four odd vertices. Because the graph has more than two odd vertices, it has no Euler paths. Thus, there is no possible way anyone in Königsberg can walk across all of the bridges without having to recross some of them.

© 2010 Pearson Prentice Hall. All rights reserved. 10 Fluery’s Algorithm Finding Possible Euler Paths and Euler Circuits If Euler’s Theorem indicates the existence of an Euler path or Euler circuit, one can be found using this procedure: 1.If the graph has exactly two odd vertices, choose one of the two odd vertices as the starting point. If the graph has no odd vertices, choose any vertex as the starting point. 2.Number the edges as you trace through the graph according to the following rules: After you have traveled over an edge, erase it. Show the erased edge as a dashed line. When faced with a choice of edges to trace, first choose any edge that is not a bridge. [A bridge is an edge whose removal would make the graph disconnected.] Travel over a bridge only if there is no alternative.

© 2010 Pearson Prentice Hall. All rights reserved. 11 The figure has at least one Euler circuit. Find one by Fleury’s Algorithm. Example 4: Using Fluery’s Algorithm Notice, the figure has at least one Euler circuit because the graph has no odd vertices. (2 nd statement of Euler’s Theorem)

© 2010 Pearson Prentice Hall. All rights reserved. 12 Solution: The graph has no odd vertices, so we can begin at any vertex. We choose vertex A as the starting point and proceed as follows. Example 4: Using Fluery’s Algorithm

© 2010 Pearson Prentice Hall. All rights reserved. 13 Thus, the Euler circuit is Example 4: Using Fluery’s Algorithm