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.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Chapter 8 Topics in Graph Theory
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Graph-02.
 期中测验时间:本周五上午 9 : 40  教师 TA 答疑时间 : 周三晚上 6 : 00—8 : 30  地点:软件楼 315 房间,  教师 TA :李弋老师  开卷考试.
Introduction to Graphs
Graph Theory: Euler Circuits Christina Mende Math 480 April 15, 2013.
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.
Koenigsberg bridge problem It is the Pregel River divided Koenigsberg into four distinct sections. Seven bridges connected the four portions of Koenigsberg.
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.
Discrete Structures Chapter 7B Graphs Nurul Amelina Nasharuddin Multimedia Department.
Introduction to Graphs Lecture 18: Nov 16. Seven Bridges of Königsberg Is it possible to walk with a route that crosses each bridge exactly once?
An Euler Circuit is a cycle of an undirected graph, that traverses every edge of the graph exactly once, and ends at the same node from which it began.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
4/17/2017 Section 8.5 Euler & Hamilton Paths ch8.5.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 5,Wednesday, September 10.
Chapter 11 Graphs and Trees This handout: Terminology of Graphs Eulerian Cycles.
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.
Eulerian Graphs CSE 331 Section 2 James Daly. Reminders Project 3 is out Covers graphs Due Friday.
Discrete Math Round, Round, Get Around… I Get Around Mathematics of Getting Around.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
Slide 14-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
Graph Theory Topics to be covered:
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
Euler and Hamilton Paths. Euler Paths and Circuits The Seven bridges of Königsberg a b c d A B C D.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CSNB143 – Discrete Structure Topic 9 – Graph. Learning Outcomes Student should be able to identify graphs and its components. Students should know how.
Graphs.  Definition A simple graph G= (V, E) consists of vertices, V, a nonempty set of vertices, and E, a set of unordered pairs of distinct elements.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Planar Graphs Graph Coloring
Introduction to Graph Theory
Unit – V Graph theory. Representation of Graphs Graph G (V, E,  ) V Set of vertices ESet of edges  Function that assigns vertices {v, w} to each edge.
Discrete Mathematical Structures: Theory and Applications
Lecture 10: Graph-Path-Circuit
Introduction to Graphs. This Lecture In this part we will study some basic graph theory. Graph is a useful concept to model many problems in computer.
Vertex-Edge Graphs Euler Paths Euler Circuits. The Seven Bridges of Konigsberg.
AND.
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
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
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.
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.
Chapter 11 - Graph CSNB 143 Discrete Mathematical Structures.
Introduction to Graph Theory
CS 261 – Nov. 17 Graph properties – Bipartiteness – Isomorphic to another graph – Pseudograph, multigraph, subgraph Path Cycle – Hamiltonian – Euler.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
9.5 Euler and Hamilton graphs. 9.5: Euler and Hamilton paths Konigsberg problem.
Graphs. Representations of graphs : undirected graph An undirected graph G have five vertices and seven edges An adjacency-list representation of G The.
An Introduction to Graph Theory
Çizge Algoritmaları.
Graph theory Definitions Trees, cycles, directed graphs.
Konigsberg’s Seven Bridges
Discrete Structures – CNS2300
Can you draw this picture without lifting up your pen/pencil?
Graph Theory What is a graph?.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Euler and Hamilton Paths
Applied Combinatorics, 4th Ed. Alan Tucker
Discrete Math II Howon Kim
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Chapter 10 Graphs and Trees
Discrete Math II Howon Kim
Presentation transcript:

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 vertex (x 1 = x n ) and in which no edge can appear more than once. No edge can appear more than once. EULER CYCLE – a cycle that contains all the edges in a graph (and visits each vertex at least once). TRAIL – a sequence of consecutively linked edges in which no edge can appear more than once. MULTIGRAPHS – a graph which permits several edges joining the same pair of vertices. b a c d Ex.

Example a b c de f g m l h k o n j i (a) (b) Euler cycle: a,d,c,i,j,n,o,k,j,d,e,k,l,h,m,g,h,f,e,b,a cde i jk h g m f l

EULER TRAIL – a trail that contains all the edges in a graph (and visits each vertex at least once). DEADHEADING EDGE – edges added to a graph. LINE GRAPH – The line graph L(G) of graph of G has a vertex for each edge of G,and two of these vertices are adjacent if and only if the corresponding edges in G have a common end vertex. Ex G L(G)

Origin of The Euler Cycle The Seven Bridges of Konigsberg B A C D A B C D

Theorem An undirected multigraph has an Euler cycle if and only if it is connected and has all the vertices of even degree. PROOF: Suppose a multigraph G satisfies the two given conditions. Pick any vertex a and trace out a trail. Let C by the cycle thus generated and let G’ be the multigraph consisting of the remaining edges G-C. a b c de f g m l h k o n j i cde i j k h g m f l (G)(G’) Red = cycle C

Because the original path was connected, C and G’ must have a common vertex, call it a’. Build a new cycle C’ tracing through G’ from a’’ just as C was traced in G from a. Incorporate C’ into the cycle C at a’ to obtain a new and larger cycle C’. Repeat this process by tracing a cycle in the graph of G’’ of still remaining edges and incorporate the cycle into C’ to obtain C’’. Continue until no edges remain. It must next be shown that if a Euler cycle exists, then the graph is connected and has all vertices of even degree. () In the essence of time we will save this for another day. cde i j k h g m f l Green = cycle C’ Blue = cycle C’’ a b c d e f g h i j k l m n o G = C + C’ + C’’

Corollary A multigraph has an Euler trail, but not and Euler cycle, if and only if it is connected and has exactly two vertices of odd degree. PROOF: Suppose a multigraph has an Euler trail T, but not an Euler cycle. The starting and ending vertices of T must have odd degree while all other vertices have an even degree. Also the graph must be connected. Ex.

Suppose on the other hand that a multigraph G is connected and has exactly two vertices, p and q, of odd degree. Add a supplementary edge (p,q) to G to obtain a graph G’. p q G’ now has all vertices of even degree and therefore has an Euler cycle (Euler cycle theorem). Remove the edge (p,q) from C. Without this edge C the Euler cycle is reduced to an Euler trail that includes all of edges of G. Hence the corollary.

K2 K3 K4 K5 K6 K8 K2: Euler trail – Yes Euler cycle – No K3: Euler trail – No Euler cycle – Yes K4: Euler trail – No Euler cycle – No K5: Euler trail – No Euler cycle – Yes K6: Euler trail – No Euler cycle – No. K8: Euler trail – No Euler cycle – No

Class Exercises 1.A) Can a graph with an Euler cycle have a bridge (an edge whose removal disconnects the graph)? B) Give an example of a 10-edge graph with an Euler trail that has a bridge. Answers: A)No. If you start on one side of the bridge and then you cross it the only way you can get back to where you started is to cross the bridge again. This means you have to travel the same edge twice and thus, a Euler cycle cannot exist. B)