Euler Paths and Euler Circuits

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Graph-02.
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
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.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 5,Wednesday, September 10.
Euler and Hamilton Paths
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?
Slide 14-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
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.
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.
Introduction to Graph Theory
Aim: What is an Euler Path and Circuit?
1.5 Graph Theory. Graph Theory The Branch of mathematics in which graphs and networks are used to solve problems.
Discrete Mathematical Structures: Theory and Applications
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.
1.Quiz 5 due tomorrow afternoon in E309 from 1pm to 4pm. 2.Homework grades will be based on ten graded homework assignments (dropping the lowest one).
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
© 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 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.
Review Euler Graph Theory: DEFINITION: A NETWORK IS A FIGURE MADE UP OF POINTS (VERTICES) CONNECTED BY NON-INTERSECTING CURVES (ARCS). DEFINITION: A VERTEX.
M Clements Formal Network Theory. Introduction Practical problem – The Seven Bridges of Königsberg Network graphs Nodes & edges Degrees Rules/ axioms.
Graph Theory Two Applications D.N. Seppala-Holtzman St. Joseph ’ s College.
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.
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
Çizge Algoritmaları.
Euler Paths and Circuits
Eulerian tours Miles Jones MTThF 8:30-9:50am CSE 4140 August 15, 2016.
Konigsberg’s Seven Bridges
Discrete Math: Hamilton Circuits
Can you draw this picture without lifting up your pen/pencil?
Euler Paths and Circuits
Euler Paths and Circuits
Euler Circuits and Paths
This unit is all about Puzzles Games Strategy.
Euler Paths & Euler Circuits
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Excursions in Modern Mathematics Sixth Edition
Konigsberg- in days past.
Euler Circuits and Paths
Graphs, Paths & Circuits
Hamiltonian Circuits and Paths Vocabulary
5 The Mathematics of Getting Around
Euler and Hamilton Paths
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Traveling Salesman Problems Nearest Neighbor Method
Warm Up – 3/17 - Monday A) List the set of vertices.
A Survey of Mathematics with Applications
5 The Mathematics of Getting Around
5 The Mathematics of Getting Around
Presentation transcript:

Euler Paths and Euler Circuits Graph Theory Euler Paths and Euler Circuits

Euler Paths & Circuits Euler Paths and Euler Circuits T. Serino Euler Paths and Euler Circuits  (Euler is pronounced the same as Oiler) An Euler path is a path that passes through each edge of a graph exactly one time. D, B, A, C, B, E, C, D, E

Euler Paths & Circuits T. Serino An Euler circuit is a circuit that passes through each edge of a graph exactly one time. D, E, B, C, A, B, D, C, E, F, D

Euler Paths & Circuits T. Serino Although we could find Euler Paths and Euler Circuits simply by trail and error, this becomes tedious and with larger graphs it can become very difficult. To determine if an Euler Path or an Euler Circuit exists, we use Euler’s Theorem.

Euler Paths & Circuits Euler’s Theorem T. Serino Euler’s Theorem For a connected graph, the following statements are true 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. 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. A graph with more than two odd vertices has neither and Euler path nor an Euler circuit.

Euler Paths & Circuits Euler's Theorem (summary) 1. No Odd vertices: T. Serino Euler's Theorem (summary) 1. No Odd vertices:  Euler Path and Euler Circuit 2. Exactly two Odd vertices:  Euler Path, but No Euler Circuit 3. More than two Odd vertices:  No Euler Path and No Euler Circuit

Euler Paths & Circuits An Euler circuit exists, T. Serino Use Euler's Theorem to determine if an Euler Path or Euler Circuit exists: 2 A C B D F E Count the number of odd vertices. Determine the degree of each vertex. 4 4 This graph has NO Odd vertices. (all even vertices) 2 2 4 1. No Odd vertices:  Euler Path and Euler Circuit An Euler circuit exists, which is also an Euler path.

Euler Paths & Circuits An Euler Path only. T. Serino Use Euler's Theorem to determine if an Euler Path or Euler Circuit exists: A C B D F E 2 2 Count the number of odd vertices. Determine the degree of each vertex. 3 3 This graph has Exactly two Odd vertices. 2 2 An Euler Path only. 2. Exactly two Odd vertices:  Euler Path, but No Euler Circuit Notice the path shown above started at C and ended at D

Euler Paths & Circuits Neither exist. T. Serino Use Euler's Theorem to determine if an Euler Path or Euler Circuit exists: Count the number of odd vertices. 3 A C B D E Determine the degree of each vertex. ? 4 This graph has More than two Odd vertices. 3 3 ? 3 3. More than two Odd vertices:  No Euler Path and No Euler Circuit Neither exist.

Euler Paths & Circuits Solving the Konigsberg Bridge Problem: T. Serino Solving the Konigsberg Bridge Problem: Could a walk be taken through Konigsberg during which each bridge is crossed exactly one time? Remember: Locations are vertices and connections between those locations are edges. A Draw a vertex-edge graph to represent the problem. B C D

Euler Paths & Circuits T. Serino If we are trying to take a walk and cross each bridge exactly one time, an Euler path or an Euler circuit will have to be present in the graph. There are more than two odd vertices in the graph. Degree 3 A D C B Therefore, you cannot cross each bridge exactly once. This means that there is no Euler path and no Euler Circuit. Degree 5 Degree 3 Degree 3

Euler Paths & Circuits (Modified) Konigsberg Bridge Problem: T. Serino (Modified) Konigsberg Bridge Problem: If Konigsberg added some bridges to their city, could a walk be taken through which each bridge is crossed exactly one time? A B C D

Euler Paths & Circuits Modified Konigsberg Bridge Problem: T. Serino Modified Konigsberg Bridge Problem: If Konigsberg added some bridges to their city, could a walk be taken through which each bridge is crossed exactly one time? There are exactly two odd vertices in the graph. Degree 4 A Therefore, you can cross each bridge exactly once. Degree 5 This means that there is an Euler path, but no Euler circuit. B C Degree 5 D Degree 4

Euler Paths & Circuits T. Serino Fleury's Algorithm: (How to find the Euler Path or circuit) 1. Does an Euler path or Euler circuit exist? 2. Start anywhere for a circuit. The circuit will end where you started. Start at an odd vertex for a path. The path will end at the other odd vertex. 3. Start tracing edges (number them as you go) 4. Avoid dead ends. Try not to get trapped.

Euler Paths & Circuits T. Serino Recall the museum problem: Is it possible for someone to move through the museum by going through each doorway (or using each edge) of the museum exactly once? There are exactly two odd vertices in the graph. Degree 3 C F H Condor Gallery French Hamersma Jessee Muhundan Paduchowski So, yes, it is possible. (Although, the starting and ending points will be different.) Degree 3 This means that there is an Euler path, but no Euler circuit. J M P Outside

Euler Paths & Circuits To find the Euler path, start tracing edges. T. Serino To find the Euler path, start tracing edges. Because it is difficult to remember the path we traced, we should number each edge as we trace it. Because there is only an Euler path, we must start at one of the odd vertices. If we start at F, we will end at P. C F H J M P Outside 1 8 Now it is easy to follow the path we found. 2 7 9 3 4 This is one possible solution. Can you write the path? 6 5 One possible solution path is: FCJMPOMFHP

Euler Paths & Circuits T. Serino Intersections are locations, and streets are connections between those locations

Euler Paths & Circuits Try this. T. Serino Try this. 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 police. a)  Can the residents start at one intersection (vertex) and walk  each street block (edge) exactly once and return to the  intersection where they started? b) If yes, determine a circuit that could be followed.

Euler Paths & Circuits T. Serino Draw this graph in your notes and try the problem. You are looking for an Euler circuit, so you can start tracing at any point.

athematical M D ecision aking