Euler and Hamilton Paths: Discrete Mathematics and Its Applications
Euler and Hamilton Paths: Discrete Mathematics and Its Applications
Euler and Hamilton Paths: Discrete Mathematics and Its Applications
Chapter 8.5
Euler and Hamilton Paths
Euler Paths and Circuits
• The Seven bridges of Königsberg
C
c
D
A
a d
B
b
Euler Paths and Circuits
• An Euler path is a path using every edge
of the graph G exactly once.
• An Euler circuit is an Euler path that
returns to its start.
C
B
Necessary and Sufficient Conditions
• How about multigraphs?
a b a b a b
e e
d c d c c d e
yes no no
(a, e, c, d, e, b, a)
Example
• Which of the following graphs has an Euler path?
a b a b a b
e e
d c d c c d e
yes no yes
(a, e, c, d, e, b, a ) (a, c, d, e, b, d, a, b)
Euler Circuit in Directed Graphs
NO (a, g, c, b, g, e, d, f, a) NO
Euler Path in Directed Graphs
NO (a, g, c, b, g, e, d, f, a) (c, a, b, c, d, b)
Condition for directed Graph
For a directed graph we have: