Hamilton Paths and Circuits 1 Click to Start 2 3 Start End.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Graph Theory: Euler Circuits Christina Mende Math 480 April 15, 2013.
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
1 Chapter 15.3 Hamilton Paths and Hamilton Circuits Objectives 1.Understand the definitions of Hamilton paths & Hamilton circuits. 2.Find the number of.
How to solve Euler paths & circuits. by Mr. King.
Koenigsberg bridge problem It is the Pregel River divided Koenigsberg into four distinct sections. Seven bridges connected the four portions of Koenigsberg.
Graphs. Overview What is a graph? Some terminology Types of graph Implementing graphs (briefly) Some graph algorithms Graphs 2/18.
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.
§ Hamiltonian Circuits and Paths; Complete Graphs A sample-return mission sent to discover signs of microbial life on Mars is scheduled to be launched.
Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
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.
Can you find a way to cross every bridge only once?
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
7.1 Introduction to Graph Theory
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.
UNIT 3 THINKING MATHEMATICALLY BY BLITZER Hamilton Paths and Hamilton Circuits.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
Euler and Hamilton Paths. Euler Paths and Circuits The Seven bridges of Königsberg a b c d A B C D.
Lesson Reflection for Chapter 14 Section 6 Pre-Algebra Learning Goal Students will understand collecting, displaying, & analyzing data.
Standard: M8A3 c. Distinguish between relations that are functions and those that are not functions. Relations and Functions.
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.
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.
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 Introducton.
6.1 Hamilton Circuits and Hamilton Path
Vertex-Edge Graphs Euler Paths Euler Circuits. The Seven Bridges of Konigsberg.
AND.
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.
Eulerian Paths and Cycles. What is a Eulerian Path Given an graph. Find a path which uses every edge exactly once. This path is called an Eulerian Path.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
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
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.
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.
Tree Diagrams A tree is a connected graph in which every edge is a bridge. There can NEVER be a circuit in a tree diagram!
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.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.1 Graphs, Paths, and Circuits.
Fleury's Algorithm Euler Circuit Algorithm
Hamiltonian Circuits and Paths
Spanning Trees Discrete Mathematics.
Discrete Math: Hamilton Circuits
Can you draw this picture without lifting up your pen/pencil?
Euler Paths and Circuits
Euler Paths and Circuits
This unit is all about Puzzles Games Strategy.
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Genome Assembly.
Konigsberg- in days past.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Euler and Hamilton Paths
Section 14.1 Graphs, Paths, and Circuits
Applied Combinatorics, 4th Ed. Alan Tucker
Warm Up – Tuesday Find the critical times for each vertex.
Graphs, Paths, and Circuits
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Warm Up – 3/14 - Friday 100 seats are to be apportioned.
Hamilton Paths and Circuits
Presentation transcript:

Hamilton Paths and Circuits 1 Click to Start

2

3 Start End

4 4

5 Start End

6 Start A H B F G I C D E A> H> I> G> F> C > E > D > B > A End

7 A> H> I> B> F> C > E > D > B > A Is this description of a Hamilton Path or Circuit correct?

8 In a Hamilton PATH each vertex can only be visited once = NO repeating letters In a Hamilton CIRCUIT only the START and END letters may be repeated. The Answer – it’s incorrect A> H> I> B> F> C > E > D > B > A Vertex B is listed twice!

9

10 A Hamilton CIRCUIT does not exist if there is a bridge between two separate circuits Two separate circuits

11 A Bridge connects two separate Paths or Circuits

12 Bridges are One-Way paths BRIDGE - One Way

13 Start End A Hamilton CIRCUIT must have TWO separate Bridges BRIDGE - One Way

14 Start RULE 1: A Hamilton CIRCUIT cannot exist if two separate Circuits are connected by a single Bridge CAN’T RETURN TO START TO START X X

15 RULE 2 A Hamilton CIRCUIT cannot exist when two separate Circuits are connected together at a single Vertex

Start End X X X 16

Vertex of Degree 1 START RULE 3 A HAMILTON CIRCUIT cannot exist when a Vertex-Edge Graph contains a Vertex of Degree 1 17 One Way A Path Can Exist X X Cannot Continue

18 A C E G K M B C H Vertex of Degree 1 D Existence of a Path with a Vertex of Degree 1

19 A C E D K M B C G H HAMILTON PATH exists Start D G Existence of a Path with a Vertex of Degree 1

20 A C E D G K M B A C E K M B H G Start End HAMILTON PATH exists Existence of a Path with a Vertex of Degree 1

21 A C E D G K M B A C E K M B H Start NO PATH or CIRCUIT Can’t Visit Existence of a Path with a Vertex of Degree 1

22 A C E D G K M B A C E K M B H NO PATH or CIRCUIT Start Can’t Visit Existence of a Path with a Vertex of Degree 1 End

RULE 4 NO Hamilton CIRCUIT or PATH can exist when three or more separate Hamilton Paths or Circuits are bridged together at a single Vertex: 23

Start X X 24

25 1. Two separate Circuits are connected by one Bridge = NO HAMILTON CIRCUIT (Path Only)

26 Start RULE 1: A Hamilton CIRCUIT cannot exist if two separate Circuits are connected by a single Bridge CAN’T RETURN TO START TO START X X CAN CROSS ONE WAY

27 1. Two Paths or Circuits are connected by only one Bridge 2. Two separate Hamilton Circuits or Paths are connected together at a single Vertex: = NO HAMILTON CIRCUIT (Path Only)

Start End X X X 28 CAN’T RETURN TO START

29

Vertex of Degree 1 START When A Vertex-Edge Graph contains a Vertex of Degree 1: No HAMILTON CIRCUIT exists (a PATH may exist) X X 30 CAN’T RETURN TO START TO START PATH Circuit?

31 A C E D G K M B A C E K M B H G Start End HAMILTON PATH exists Existence of a Path with a Vertex of Degree 1

32 A C E D G K M B A C E K M B H Start NO PATH or CIRCUIT Can’t Visit Existence of a Path with a Vertex of Degree 1

33 1. Two Paths or Circuits are connected by only one Bridge 2. Two separate Hamilton Circuits or Paths are connected together by a single Vertex: = NO HAMILTON CIRCUIT (Path Only) 3. A Vertex-Edge Graph with a Vertex of Degree 1: = NO CIRCUIT = PATH: Exists Only If the route STARTS or ENDS at the Vertex of Degree 1 4. Three or more separate Hamilton Circuits or Paths are connected together at a single Vertex: = NO HAMILTON CIRCUIT or PATH

Start X X 34 Can’t revisit vertices

35 Student Practice Click to Continue

36 A B D C E G F Is there a Hamilton Circuit and or Path in this Vertex-Edge Graph? If there is, show it with a color marker and describe it using vertex letters Does your answer depend on which vertex you start at? Click to Continue

37 Is there a Hamilton Circuit and or Path in this Vertex-Edge Graph? If there is, show it with a color marker and describe it using vertex letters Example: A > B > C > D > E > F > G Does your answer depend on which vertex you start at? YES: No Path or Circuit if start at D or F 37 PATH Only A D E G F B C Click to Continue

38 Is there a Hamilton Circuit and or Path in this Vertex-Edge Graph? If there is, show it with a color marker and describe it using vertex letters Does your answer depend on which vertex you start at? Why? A B D C H G E J F K Click to Continue

39 Is there a Hamilton Circuit and or Path in this Vertex-Edge Graph? If there is, show it with a color marker or describe it using vertex letters one example: A > K > B > C > D > E > F > G > H > J Does your answer depend on which vertex you start at? If it does, explain how it changes, starting at other vertices. YES: No Path or Circuit if start at K, F, G, or H PATH Only (must start or end at A) A B D C H G E J F K Click to Continue

40 Is there a Hamilton Circuit and or Path in this Vertex-Edge Graph? If there is, show it with a color marker or describe it using vertex letters Does your answer depend on which vertex you start at? A B D C H G E J F K Click to Continue

41 Is there a Hamilton Circuit and or Path in this Vertex-Edge Graph? If there is, show it with a color marker or describe it using vertex letters Example: A > B > D > G > H > E > J > K > F > C > A Does your answer depend on which vertex you start at? No Both a CIRCUIT and PATH A B D C H G E J F K Click to Continue

42 Click to Exit