Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.2 Euler Paths, and Euler Circuits.

Slides:



Advertisements
Similar presentations
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
Advertisements

Graph-02.
1 Lecture 5 (part 2) Graphs II Euler and Hamiltonian Path / Circuit Reading: Epp Chp 11.2, 11.3.
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.
Euler Circuits and Paths
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
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.
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
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
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.
Can you find a way to cross every bridge only once?
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.
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
Euler and Hamilton Paths
Euler and Hamilton Paths. Euler Paths and Circuits The Seven bridges of Königsberg a b c d A B C D.
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.
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?
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
© 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
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
1) Find and label the degree of each vertex in the graph.
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.
Euler and Hamiltonian Graphs
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.
Fleury's Algorithm Euler Circuit Algorithm
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ı.
Euler Paths and Circuits
Eulerian tours Miles Jones MTThF 8:30-9:50am CSE 4140 August 15, 2016.
Konigsberg’s Seven Bridges
Can you draw this picture without lifting up your pen/pencil?
Euler Paths and Circuits
Euler Paths & Euler Circuits
Excursions in Modern Mathematics Sixth Edition
Konigsberg- in days past.
5 The Mathematics of Getting Around
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Euler and Hamilton Paths
Section 14.1 Graphs, Paths, and Circuits
Euler Paths and Euler Circuits
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
5 The Mathematics of Getting Around
Presentation transcript:

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.2 Euler Paths, and Euler Circuits

Copyright 2013, 2010, 2007, Pearson, Education, Inc. What You Will Learn Euler Paths Euler Circuits Euler’s Theorem Fleury’s Algorithm

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Euler Path An Euler path is a path that passes through each edge of a graph exactly one time

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Euler Circuit An Euler circuit is a circuit that passes through each edge of a graph exactly one time

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Euler Path versus Euler Circuit The difference between an Euler path and an Euler circuit is that an Euler circuit must start and end at the same vertex

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Euler Path versus Euler Circuit Euler Path D, E, B, C, A, B, D, C, E Euler Circuit D, E, B, C, A, B, D, C, E, F, D

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Euler’s Theorem For a connected graph, the following statements are true: 1. A graph with no odd vertices (all even vertices) has at least one Euler path, which is also an Euler circuit. An Euler circuit can be started at any vertex and it will end at the same vertex

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Euler’s Theorem 2. A graph with exactly two odd vertices has at least one Euler path but no Euler circuits. Each Euler path must begin at one of the two odd vertices, and it will end at the other odd vertex. 3. A graph with more than two odd vertices has neither an Euler path nor an Euler circuit

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Example 3: Solving the Königsberg Bridge Problem Could a walk be taken through Königsberg during which each bridge is crossed exactly one time?

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Example 3: Solving the Königsberg Bridge Problem Solution Here’s a representation of the problem: vertices are the land, edges are the bridges

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Example 3: Solving the Königsberg Bridge Problem Solution Does an Euler path exist? Four odd vertices: A, B, C, D So, according to item 3 of Euler’s Theorem, no Euler path exists

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Fleury’s Algorithm To determine an Euler path or an Euler circuit 1.Use Euler’s theorem to determine whether an Euler path or an Euler circuit exists. If one exists, proceed with steps

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Fleury’s Algorithm 2.If the graph has no odd vertices (therefore has an Euler circuit, which is also an Euler path), choose any vertex as the starting point. If the graph has exactly two odd vertices (therefore has only an Euler path), choose one of the two odd vertices as the starting point

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Fleury’s Algorithm 3.Begin to trace edges as you move through the graph. Number the edges as you trace them. Since you can’t trace any edges twice in Euler paths and Euler circuits, once an edge is traced consider it “invisible.”

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Fleury’s Algorithm 4.When faced with a choice of edges to trace, if possible, choose an edge that is not a bridge (i.e., don’t create a disconnected graph with your choice of edges). 5.Continue until each edge of the entire graph has been traced once

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Example 6: Crime Stoppers Problem On the next slide is a representation of the Country Oaks subdivision of homes. The Country Oaks Neighborhood Association is planning to organize a crime stopper group in which residents take turns walking through the neighborhood with cell phones to report any suspicious activity to the police

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Example 6: Crime Stoppers Problem

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Example 6: Crime Stoppers Problem a)Can the residents of Country Oaks start at one intersection (or vertex) and walk each street block (or edge) in the neighborhood exactly once and return to the intersection where they started? b)If yes, determine a circuit that could be followed to accomplish their walk

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Example 6: Crime Stoppers Problem Solution a)Does a Euler circuit exist? There are no odd vertices By item 1 of Euler’s theorem, there is at least one Euler circuit.

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Example 6: Crime Stoppers Problem Solution Start at A. Choose AB or AE, neither is a bridge. Choose AB

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Example 6: Crime Stoppers Problem Solution Continue to trace from vertex to vertex around the outside of the graph. Notice that no edge chosen is a bridge

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Example 6: Crime Stoppers Problem Solution At vertex E. EA is a bridge, so choose either EB or EI. Choose EB. Now from vertex B we must choose BF

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Example 6: Crime Stoppers Problem Solution From vertex F, FI is a bridge, so we must choose either FC or FI. Choose FC. From vertex C, our only choice is CG

Copyright 2013, 2010, 2007, Pearson, Education, Inc. Example 6: Crime Stoppers Problem Solution From vertex G, GJ is a bridge, so we must choose GG. Back at vertex G, and from now on, there is only one choice at each vertex