Aim: What is an Euler Path and Circuit?

Slides:



Advertisements
Similar presentations
Graph Theory: Euler Circuits Christina Mende Math 480 April 15, 2013.
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.
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.
4/17/2017 Section 8.5 Euler & Hamilton Paths ch8.5.
Graphs. Graph A “graph” is a collection of “nodes” that are connected to each other Graph Theory: This novel way of solving problems was invented by a.
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.
Graphs and Euler cycles Let Maths take you Further…
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.
The Bridge Obsession Problem By Vamshi Krishna Vedam.
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
Structures 7 Decision Maths: Graph Theory, Networks and Algorithms.
Euler and Hamilton Paths. Euler Paths and Circuits The Seven bridges of Königsberg a b c d A B C D.
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.
Lecture 14: Graph Theory I Discrete Mathematical Structures: Theory and Applications.
Graphs, Paths & Circuits
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 15 Graph Theory.
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
Lecture 11: 9.4 Connectivity Paths in Undirected & Directed Graphs Graph Isomorphisms Counting Paths between Vertices 9.5 Euler and Hamilton Paths Euler.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.2 Euler Paths, and Euler Circuits.
Chapter 6: Graphs 6.1 Euler Circuits
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.
M Clements Formal Network Theory. Introduction Practical problem – The Seven Bridges of Königsberg Network graphs Nodes & edges Degrees Rules/ axioms.
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.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.1 Graphs, Paths, and Circuits.
Fleury's Algorithm Euler Circuit Algorithm
Excursions in Modern Mathematics Sixth Edition
Çizge Algoritmaları.
Euler and Hamiltonian Graphs
Euler Paths and Circuits
Konigsberg’s Seven Bridges
Discrete Math: Hamilton Circuits
Can you draw this picture without lifting up your pen/pencil?
Euler Paths and Circuits
Euler Circuits and Paths
Euler Paths & Euler Circuits
Konigsberg- in days past.
Graph Theory What is a graph?.
Euler Circuits and Paths
Graphs, Paths & Circuits
Euler and Hamilton Paths
Section 14.1 Graphs, Paths, and Circuits
Euler Paths and Euler Circuits
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:

Aim: What is an Euler Path and Circuit? Do Now: Represent the following with a graph

Euler Path Euler Path – 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. 6 1 5 2 7 8 9 4 3 A, B, E, F, D, B, C, E, D, G

Every Euler circuit is an Euler path Euler Circuit – a circuit that travels through every edge of a graph once and only once, and must begin and end at the same vertex. 6 A, B, E, F, D, 1 5 2 7 10 8 B, C, E, D, G, A 9 4 3 Every Euler circuit is an Euler path Not every Euler path is an Euler circuit Some graphs have no Euler paths Other graphs have several Euler paths Some graphs with Euler paths have no Euler circuits

Euler Theorem Euler’s Theorem The following statements are true for connected graphs: 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. If a graph has no odd vertices (all even vertices), it has at least one Euler circuit. An Euler circuit can start and end at any vertex. If a graph has more than two odd vertices, then it has no Euler paths and no Euler circuits.

Explain why the graph has at least one Euler path. Model Problem Explain why the graph has at least one Euler path. degree 2 D C B E A number of edges at each vertex: degree 4 degree 4 A: 2 D: 3 B: 4 E: 3 C: 4 degree 3 degree 3 Two odd vertices 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.

Model Problem Find a Euler path. D C B E A D, C, B, E, C, A, B, D, E 6 5 2 3 7 4 1 8 D, C, B, E, C, A, B, D, E

Explain why the graph has a least one Euler circuit. Model Problem Explain why the graph has a least one Euler circuit. degree 2 degree 4 degree 4 degree 2 degree 2 degree 4 degree 4 degree 2 no odd vertices 2. If a graph has no odd vertices (all even vertices), it has at least one Euler circuit. An Euler circuit can start and end at any vertex.

Model Problem Find an Euler circuit. H, G, E, C, G, I, J, H, D, C, A, 11 10 12 9 3 13 4 8 2 14 1 5 7 6 H, G, E, C, G, I, J, H, D, C, A, B, D, F, H Euler Circuit – a circuit that travels through every edge of a graph once and only once, and must begin and end at the same vertex.

Graph Theory’s Beginnings In the early 18th century, the Pregel River in a city called Konigsberg, surround an island before splitting into two. Seven bridges crossed the river and connected four different land area. Many citizens wished to take a stroll that would lead them across each bridge and return them to the starting point without traversing the same bridge twice. Possible? They couldn’t do it. Euler proved that it was not possible.

The Theorem at Work R L A B R L A B degree 3 degree 5 3. If a graph has more than two odd vertices, then it has no Euler paths and not Euler circuits.

a) Is it possible to find a path that uses each door exactly once? Model Problem A, B, C, and D represent rooms. The outside of the house is labeled E. The openings represent doors. a) Is it possible to find a path that uses each door exactly once? degree 6 degree 3 look for a Euler path or circuit exactly 2 odd vertices 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.

b) If possible, find such a path. Model Problem A, B, C, and D represent rooms. The outside of the house is labeled E. The openings represent doors. b) If possible, find such a path. 9 10 7 2 1 3 8 6 4 5 start at one of the odd vertices B, E, A, B, D, C, A, E, C, E, D

Fluery’s Algorithm If Euler’s Theorem indicates the existence of an Euler path or Euler circuit, one can be found using the following procedure. If the graph has exactly two odd vertices, chose one of the two odd vertices as the starting point. If the graph has no odd vertices, choose any vertex as the starting point. Number edges as you trace through the graph according to the following rules: After you traveled over an edge, change it to a dashed line. When faced with a choice of edges to trace, choose an edge that is not a bridge (an edge, which, if removed from a connected graph would leave behind a disconnected graph). Travel over an edge that is a bridge only if there is no alternative.

Model Problem no odd vertices, begin at any vertex. The graph has at least one Euler circuit. Find it using Fleury’s Algorithm. F 7 E 6 4 3 8 2 D C 1 9 5 B A no odd vertices, begin at any vertex.