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.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
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
Euler Circuits and Paths
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.
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.
What is the first line of the proof? a). Assume G has an Eulerian circuit. b). Assume every vertex has even degree. c). Let v be any vertex in G. d). Let.
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.
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 and Hamilton Paths
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.
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.
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.
Graph Theory Introducton.
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
Graph Theory. A branch of math in which graphs are used to solve a problem. It is unlike a Cartesian graph that we used throughout our younger years of.
Lecture 10: Graph-Path-Circuit
Graph Theory Introducton.
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
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
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.
STARTER: CAN YOU FIND A WAY OF CROSSING ALL THE BRIDGES EXACTLY ONCE? Here’s what this question would look like drawn as a graph.
Çizge Algoritmaları.
Euler Paths and Circuits
Konigsberg’s Seven Bridges
Can you draw this picture without lifting up your pen/pencil?
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
Konigsberg- in days past.
Euler Circuits and Paths
Euler and Hamilton Paths
Euler Paths and Euler 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:

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 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 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 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 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. 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 and Euler path nor an Euler circuit.

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

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

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

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

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

Euler Paths & Circuits A D CB If we are trying to take a walk an 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 5 Degree 3 This means that there is no Euler path and no Euler Circuit. Therefore, you cannot cross each bridge exactly once. Degree 3 Degree 3

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

Euler Paths & Circuits 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 D CB There are exactly two odd vertices in the graph. This means that there is an Euler path, but no Euler circuit. Therefore, you can cross each bridge exactly once. Degree 5 Degree 5 Degree 4 Degree 4

Euler Paths & Circuits 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. Start at an odd vertex for a path. The path will end at the other odd vertex. The circuit will end where you started. 3. Start tracing edges (number them as you go) 4. Avoid dead ends. Try not to get trapped.

Euler Paths & Circuits 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? Condor Gallery French Gallery Hamersma Gallery Jessee Gallery Muhundan Gallery Paduchowski Gallery CFH JMP Outside Degree 3 Degree 3 There are exactly two odd vertices in the graph. This means that there is an Euler path, but no Euler circuit. So, yes, it is possible. (Although, the starting and ending points will be different.)

Euler Paths & Circuits 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. CFH JMP Outside To find the Euler path, start tracing edges. This is one possible solution. Can you write the path? Because it is difficult to remember the path we traced, we should number each edge as we trace it. Now it is easy to follow the path we found. One possible solution path is: FCJMPOMFHP

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

Euler Paths & Circuits 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. Try this.

Euler Paths & Circuits 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.