Euler and Hamiltonian Graphs

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

KNURE, Software department, Ph , N.V. Bilous Faculty of computer sciences Software department, KNURE An Euler.
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
Graph-02.
Hamiltonian Circuits and Paths
1 Lecture 5 (part 2) Graphs II Euler and Hamiltonian Path / Circuit Reading: Epp Chp 11.2, 11.3.
Lecture 21 Paths and Circuits CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
AMDM UNIT 7: Networks and Graphs
BY: MIKE BASHAM, Math in Scheduling. The Bridges of Konigsberg.
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.
IEOR266 © Classification of MCNF problems.
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 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.
The Bridge Obsession Problem By Vamshi Krishna Vedam.
Copyright © Cengage Learning. All rights reserved.
Can you find a way to cross every bridge only once?
GRAPH Learning Outcomes Students should be able to:
Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
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.
Hamiltonian Graphs By: Matt Connor Fall 2013.
CS 200 Algorithms and Data Structures
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.
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.
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
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
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.
Chapter 6: Graphs 6.1 Euler Circuits
Review Euler Graph Theory: DEFINITION: A NETWORK IS A FIGURE MADE UP OF POINTS (VERTICES) CONNECTED BY NON-INTERSECTING CURVES (ARCS). DEFINITION: A VERTEX.
1) Find and label the degree of each vertex in the graph.
Euler and Hamiltonian Graphs
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.1 Graphs, Paths, and Circuits.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
David Stotts Computer Science Department UNC Chapel Hill.
An Introduction to Graph Theory
Hamiltonian Graphs Graphs Hubert Chan (Chapter 9.5)
EECS 203 Lecture 19 Graphs.
Euler and Hamiltonian Graphs
Euler Paths and Circuits
Konigsberg’s Seven Bridges
Discrete Structures – CNS2300
Hamiltonian Graphs Graphs Hubert Chan (Chapter 9.5)
EECS 203 Lecture 20 More Graphs.
Discrete Math: Hamilton Circuits
Euler Paths and Circuits
Euler Circuits and Paths
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Konigsberg- in days past.
Hamiltonian Circuits and Paths
Graph Theory What is a graph?.
Euler Circuits and Paths
Euler and Hamilton Paths
Euler and Hamiltonian Graphs
Section 14.1 Graphs, Paths, and Circuits
Applied Combinatorics, 4th Ed. Alan Tucker
Graph Theory Relations, graphs
CHAPTER 15 Graph Theory.
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Presentation transcript:

Euler and Hamiltonian Graphs Section 10.5

Euler Paths and Circuits Leonard Euler (1707-1783) The town of Kӧnigsberg, Prussia (now Kalingrad, Russia) was divided into four sections by the branches of the Pregel river. In the 18th century seven bridges connected these regions. People wondered whether whether it was possible to follow a path that crosses each bridge exactly once and returns to the starting point. The Swiss mathematician Leonard Euler proved that no such path exists. This result is often considered to be the first theorem ever proved in graph theory. Multigraph Model of the Bridges of Kӧnigsberg The 7 Bridges of Kӧnigsberg

Euler Paths and Circuits (continued) Definition: An Euler circuit in a graph G is a simple circuit containing every edge of G. An Euler path in G is a simple path containing every edge of G. Example: Which of the undirected graphs G1, G2, and G3 has a Euler circuit? Of those that do not, which has an Euler path? Solution: The graph G1 has an Euler circuit (e.g., a, e, c, d, e, b, a). But, as can easily be verified by inspection, neither G2 nor G3 has an Euler circuit. Note that G3 has an Euler path (e.g., a, c, d, e, b, d, a, b), but there is no Euler path in G2, which can be verified by inspection.

Necessary and Sufficient Conditions for Euler Circuits and Paths Theorem: A connected multigraph with at least two vertices has an Euler circuit if and only if each of its vertices has an even degree and it has an Euler path if and only if it has exactly two vertices of odd degree. Example: Two of the vertices in the multigraph model of the Kӧnigsberg bridge problem have odd degree. Hence, there is no Euler circuit in this multigraph and it is impossible to start at a given point, cross each bridge exactly once, and return to the starting point.

Euler Circuits and Paths Example: G1 contains exactly two vertices of odd degree (b and d). Hence it has an Euler path, e.g., d, a, b, c, d, b. G2 has exactly two vertices of odd degree (b and d). Hence it has an Euler path, e.g., b, a, g, f, e, d, c, g, b, c, f, d. G3 has six vertices of odd degree. Hence, it does not have an Euler path.

Hamilton Paths and Circuits William Rowan Hamilton (1805- 1865) Hamilton Paths and Circuits Euler paths and circuits contained every edge only once. Now we look at paths and circuits that contain every vertex exactly once. William Hamilton invented the Icosian puzzle in 1857. It consisted of a wooden dodecahedron (with 12 regular pentagons as faces), illustrated in (a), with a peg at each vertex, labeled with the names of different cities. String was used to used to plot a circuit visiting 20 cities exactly once The graph form of the puzzle is given in (b). The solution is given on the next slide.

Hamilton Paths and Circuits Definition: A simple path in a graph G that passes through every vertex exactly once is called a Hamilton path, and a simple circuit in a graph G that passes through every vertex exactly once is called a Hamilton circuit.

Hamilton Paths and Circuits (continued) Example: Which of these simple graphs has a Hamilton circuit or, if not, a Hamilton path?

Necessary Conditions for Hamilton Circuits Gabriel Andrew Dirac (1925-1984) Unlike for an Euler circuit, no simple necessary and sufficient conditions are known for the existence of a Hamiton circuit. However, here are some useful necessary conditions. Dirac’s Theorem: If G is a simple graph with n ≥ 3 vertices such that the degree of every vertex in G is ≥ n/2, then G has a Hamilton circuit. Ore’s Theorem: If G is a simple graph with n ≥ 3 vertices such that deg(u) + deg(v) ≥ n for every pair of nonadjacent vertices, then G has a Hamilton circuit. Øysten Ore (1899-1968)