SlideShare a Scribd company logo
8
Most read
9
Most read
10
Most read
Hamilton Path
and
Euler Path
Things we are going to discuss
 History of Euler path and Hamilton path
 Vertex(node) and edge
 Hamilton path and Hamilton circuit
 Euler path and Euler circuit
 Degree of vertex and comparison of Euler and Hamilton path
 Solving a problem
History of Euler Path
Euler path was first discussed by
Leonhard Euler while solving the famous
Seven Bridges of Konigsberg problem
in 1736. The problem can be stated
mathematically like this:
a
b
c
d
History of Hamilton Path
 Hamiltonian paths and cycles
are named after William Rowan
Hamilton who invented the
ICOSIAN game, now also
known as Hamilton's puzzle,
which involves finding a
Hamiltonian cycle in the edge
graph of the dodecahedron
Vertex
Vertex :
Vertex typically means a
corner or a point where
lines meet.
Vertex
Not a Vertex
Edge:
An edge is a line segment that
joins two vertices
Edge
Edge
Hamiltonian Path and circuits
In graph theory, an Hamilton path is a path which visits
every vertex exactly once. Similarly, an Hamilton circuit is a
circuit which starts and ends on the same vertex.
 This has a Hamilton Path and a
Hamilton circuit
 This has a Hamilton Path , but does not
have a Hamilton circuit
 This has no Hamilton Path
Euler path and circuit
In graph theory, an Euler path is a path
which visits every edge exactly once.
Similarly, an Eulerian circuit or Eulerian
cycle is an Eulerian trail which starts and
ends on the same vertex.
This has an Euler Path and an Euler
circuit
This has an Euler Path , but does not
have an Euler circuit
This has no Hamilton Path
Degree of Vertex
The degree of a vertex is the number
of edges of the vertex.
Comparison of Euler and Hamilton circuits
Property Euler Hamilton
Repeated visits to a
given node allowed?
Repeated traversals of a
given edge allowed?
Omitted nodes allowed?
Omitted edges allowed?
YES NO
NO NO
NO NO
NO YES
in the image, is it possible to
construct a path ( a path starting and
ending on the same vertex) which
visits each edge exactly once?
Seven Bridges Problem
A
B
C
D
a
b
c
d
Solve
We know that ,
 An Euler Circuit is possible if every vertex has
even degree.
 An Euler path is possible but Euler Circuit is
possible ,if exactly two vertices have odd
degree.
 No Euler Path is possible if more than two
vertices have odd degree.
a
b
c
d
THERE IS NO EULERS PATH
THANK YOU !

More Related Content

PPT
Graphs: Hamiltonian Path and Circuit
PPTX
Hamiltonian path
PPT
Chapter 5 Graphs (1).ppt
PDF
Graph Theory Introduction
PPTX
Graph theory
PDF
Graph Theory: Trees
PPTX
Isomorphic graph
PPT
Graph algorithm
Graphs: Hamiltonian Path and Circuit
Hamiltonian path
Chapter 5 Graphs (1).ppt
Graph Theory Introduction
Graph theory
Graph Theory: Trees
Isomorphic graph
Graph algorithm

What's hot (20)

PPTX
Graph Theory
PPTX
graph theory
PDF
introduction to graph theory
PPTX
Ppt of graph theory
PPTX
Introduction to Graph Theory
PPTX
Matrix Representation Of Graph
PPTX
Introduction to Graph Theory
PPTX
Bfs and Dfs
PPT
Floyd Warshall Algorithm
PPTX
Graph theory
PPTX
Slides Chapter10.1 10.2
PDF
Graph Theory: Paths & Cycles
PPTX
Breadth First Search & Depth First Search
PPT
Spanning trees
PPT
Prim's Algorithm on minimum spanning tree
PPTX
Data structure - Graph
PPT
Applications of graphs
PPT
Graph theory presentation
PPSX
Data Structure (Tree)
PDF
Graph theory
Graph Theory
graph theory
introduction to graph theory
Ppt of graph theory
Introduction to Graph Theory
Matrix Representation Of Graph
Introduction to Graph Theory
Bfs and Dfs
Floyd Warshall Algorithm
Graph theory
Slides Chapter10.1 10.2
Graph Theory: Paths & Cycles
Breadth First Search & Depth First Search
Spanning trees
Prim's Algorithm on minimum spanning tree
Data structure - Graph
Applications of graphs
Graph theory presentation
Data Structure (Tree)
Graph theory
Ad

Similar to Hamilton path and euler path (20)

PPTX
Maths Presentation.pptx
PPTX
Maths Presentation.pptx
PPTX
ch10.5.pptx
PPTX
08_Euler and hamiltonian.pptx
PDF
distructweek15graphstheoryupdated-160227143444.pdf
PPT
Distruct week 15 graphs theory (updated)
PPTX
Graphs_Euler_Circuit_Final_Presentation.pptx
PPTX
Graphs_and_Euler_Circuit_20_Slides.pptxu
PPTX
Slide task 6
PDF
Eurler_Hamilton_Path_Circuit.pdf
PPT
burton_discrete_graph theory
PPT
burton_discrete_graphtheory
PPTX
Bridge problem : Discrete Structure
PDF
G is Hamiltonian graph.Hence a path exists which visits each verte.pdf
PDF
Hamilton circuits7 19and22
PPTX
Koningsberg bridge problem
PPT
Graph: Euler path and Euler circuit
DOCX
Umap traversabilityin graph
PDF
Euler trails and circuit
PPT
Graph theory
Maths Presentation.pptx
Maths Presentation.pptx
ch10.5.pptx
08_Euler and hamiltonian.pptx
distructweek15graphstheoryupdated-160227143444.pdf
Distruct week 15 graphs theory (updated)
Graphs_Euler_Circuit_Final_Presentation.pptx
Graphs_and_Euler_Circuit_20_Slides.pptxu
Slide task 6
Eurler_Hamilton_Path_Circuit.pdf
burton_discrete_graph theory
burton_discrete_graphtheory
Bridge problem : Discrete Structure
G is Hamiltonian graph.Hence a path exists which visits each verte.pdf
Hamilton circuits7 19and22
Koningsberg bridge problem
Graph: Euler path and Euler circuit
Umap traversabilityin graph
Euler trails and circuit
Graph theory
Ad

Recently uploaded (20)

PDF
01-Introduction-to-Information-Management.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Classroom Observation Tools for Teachers
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
RMMM.pdf make it easy to upload and study
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Business Ethics Teaching Materials for college
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Pre independence Education in Inndia.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
01-Introduction-to-Information-Management.pdf
VCE English Exam - Section C Student Revision Booklet
Abdominal Access Techniques with Prof. Dr. R K Mishra
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Anesthesia in Laparoscopic Surgery in India
Module 4: Burden of Disease Tutorial Slides S2 2025
Final Presentation General Medicine 03-08-2024.pptx
Classroom Observation Tools for Teachers
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
RMMM.pdf make it easy to upload and study
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Business Ethics Teaching Materials for college
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Basic Mud Logging Guide for educational purpose
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
O5-L3 Freight Transport Ops (International) V1.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Pre independence Education in Inndia.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf

Hamilton path and euler path

  • 2. Things we are going to discuss  History of Euler path and Hamilton path  Vertex(node) and edge  Hamilton path and Hamilton circuit  Euler path and Euler circuit  Degree of vertex and comparison of Euler and Hamilton path  Solving a problem
  • 3. History of Euler Path Euler path was first discussed by Leonhard Euler while solving the famous Seven Bridges of Konigsberg problem in 1736. The problem can be stated mathematically like this: a b c d
  • 4. History of Hamilton Path  Hamiltonian paths and cycles are named after William Rowan Hamilton who invented the ICOSIAN game, now also known as Hamilton's puzzle, which involves finding a Hamiltonian cycle in the edge graph of the dodecahedron
  • 5. Vertex Vertex : Vertex typically means a corner or a point where lines meet. Vertex Not a Vertex
  • 6. Edge: An edge is a line segment that joins two vertices Edge Edge
  • 7. Hamiltonian Path and circuits In graph theory, an Hamilton path is a path which visits every vertex exactly once. Similarly, an Hamilton circuit is a circuit which starts and ends on the same vertex.
  • 8.  This has a Hamilton Path and a Hamilton circuit  This has a Hamilton Path , but does not have a Hamilton circuit  This has no Hamilton Path
  • 9. Euler path and circuit In graph theory, an Euler path is a path which visits every edge exactly once. Similarly, an Eulerian circuit or Eulerian cycle is an Eulerian trail which starts and ends on the same vertex.
  • 10. This has an Euler Path and an Euler circuit This has an Euler Path , but does not have an Euler circuit This has no Hamilton Path
  • 11. Degree of Vertex The degree of a vertex is the number of edges of the vertex.
  • 12. Comparison of Euler and Hamilton circuits Property Euler Hamilton Repeated visits to a given node allowed? Repeated traversals of a given edge allowed? Omitted nodes allowed? Omitted edges allowed? YES NO NO NO NO NO NO YES
  • 13. in the image, is it possible to construct a path ( a path starting and ending on the same vertex) which visits each edge exactly once? Seven Bridges Problem A B C D a b c d
  • 14. Solve We know that ,  An Euler Circuit is possible if every vertex has even degree.  An Euler path is possible but Euler Circuit is possible ,if exactly two vertices have odd degree.  No Euler Path is possible if more than two vertices have odd degree. a b c d THERE IS NO EULERS PATH