Professional Documents
Culture Documents
10 Traversability
10 Traversability
Graph Theory
Traversability
A. Senthil Thilak
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Definition
Euler graph/Eulerian graph: A graph G is said to be Eulerian if
it has a closed Euler trail (or) an Euler circuit.
Eulerian graphs
Example
Eulerian graphs
Example
Eulerian graphs
Example
Eulerian graphs
Example
Eulerian graphs
Theorem
A graph G with δ(G ) ≥ 2, has atleast one cycle.
Eulerian graphs
Theorem
A graph G with δ(G ) ≥ 2, has atleast one cycle.
Proof.
Let G be a graph with δ(G ) ≥ 2 and P be a maximal path in G .
Eulerian graphs
Theorem
A graph G with δ(G ) ≥ 2, has atleast one cycle.
Proof.
Let G be a graph with δ(G ) ≥ 2 and P be a maximal path in G .
Let u be a pendant vertex lying on P.
Eulerian graphs
Theorem
A graph G with δ(G ) ≥ 2, has atleast one cycle.
Proof.
Let G be a graph with δ(G ) ≥ 2 and P be a maximal path in G .
Let u be a pendant vertex lying on P. Since P is maximal, it
cannot be extended. Hence,
Eulerian graphs
Theorem
A graph G with δ(G ) ≥ 2, has atleast one cycle.
Proof.
Let G be a graph with δ(G ) ≥ 2 and P be a maximal path in G .
Let u be a pendant vertex lying on P. Since P is maximal, it
cannot be extended. Hence, every neighbour of u must lie on P.
Eulerian graphs
Theorem
A graph G with δ(G ) ≥ 2, has atleast one cycle.
Proof.
Let G be a graph with δ(G ) ≥ 2 and P be a maximal path in G .
Let u be a pendant vertex lying on P. Since P is maximal, it
cannot be extended. Hence, every neighbour of u must lie on P.
Thus, ∃ a neighbour v of u such that the edge e = (u, v ) (not
included in P) together with the uv -segment of P will form a cycle.
e
u v
P
Eulerian graphs
Theorem
A graph G with δ(G ) ≥ 2, has atleast one cycle.
Proof.
Let P be a maximal path in G . Let u be a pendant vertex lying on
P. Since P is maximal, it cannot be extended. Hence, every
neighbour must already lie on P. Thus, ∃ a neighbour v of u such
that the edge e = (u, v ) (not included in P) together with the
uv -segment of P will form a cycle.
e
u v
P
Eulerian graphs
Theorem
A graph G with δ(G ) ≥ 2, has atleast one cycle.
Proof.
Let P be a maximal path in G . Let u be a pendant vertex lying on
P. Since P is maximal, it cannot be extended. Hence, every
neighbour must already lie on P. Thus, ∃ a neighbour v of u such
that the edge e = (u, v ) (not included in P) together with the
uv -segment of P will form a cycle.
e
u v
P
Eulerian graphs
Theorem
A graph G with δ(G ) ≥ 2, has atleast one cycle.
Proof.
Let P be a maximal path in G . Let u be a pendant vertex lying on
P. Since P is maximal, it cannot be extended. Hence, every
neighbour must already lie on P. Thus, ∃ a neighbour v of u such
that the edge e = (u, v ) (not included in P) together with the
uv -segment of P will form a cycle.
e
u v
P
Eulerian graphs
Theorem
A graph G with δ(G ) ≥ 2, has atleast one cycle.
Proof.
Let P be a maximal path in G . Let u be a pendant vertex lying on
P. Since P is maximal, it cannot be extended. Hence, every
neighbour must already lie on P. Thus, ∃ a neighbour v of u such
that the edge e = (u, v ) (not included in P) together with the
uv -segment of P will form a cycle.
e
u v
P
Eulerian graphs
Eulerian graphs
Proof:
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Converse part:
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Corollary
A connected graph G has an Euler trail if and only if it has atmost
two vertices of odd degree.
Proof.
Let G be a connected graph. Suppose G has an Euler trail, then every
vertex other than the origin and terminus are of even degree and hence,
the result follows.
Eulerian graphs
Corollary
A connected graph G has an Euler trail if and only if it has atmost
two vertices of odd degree.
Proof.
Let G be a connected graph. Suppose G has an Euler trail, then every
vertex other than the origin and terminus are of even degree and hence,
the result follows.
Conversely, suppose that G has atmost two (i.e., ≤ 2) vertices of odd
degree.
Eulerian graphs
Corollary
A connected graph G has an Euler trail if and only if it has atmost
two vertices of odd degree.
Proof.
Let G be a connected graph. Suppose G has an Euler trail, then every
vertex other than the origin and terminus are of even degree and hence,
the result follows.
Conversely, suppose that G has atmost two (i.e., ≤ 2) vertices of odd
degree. Suppose it has no vertex of odd degree, then it has a closed
Euler trail and the result holds.
Eulerian graphs
Corollary
A connected graph G has an Euler trail if and only if it has atmost
two vertices of odd degree.
Proof.
Let G be a connected graph. Suppose G has an Euler trail, then every
vertex other than the origin and terminus are of even degree and hence,
the result follows.
Conversely, suppose that G has atmost two (i.e., ≤ 2) vertices of odd
degree. Suppose it has no vertex of odd degree, then it has a closed
Euler trail and the result holds. On the other hand, if G has exatly two
vertices of odd degree, say u and v , then
Eulerian graphs
Corollary
A connected graph G has an Euler trail if and only if it has atmost
two vertices of odd degree.
Proof.
Let G be a connected graph. Suppose G has an Euler trail, then every
vertex other than the origin and terminus are of even degree and hence,
the result follows.
Conversely, suppose that G has atmost two (i.e., ≤ 2) vertices of odd
degree. Suppose it has no vertex of odd degree, then it has a closed
Euler trail and the result holds. On the other hand, if G has exatly two
vertices of odd degree, say u and v , then obtain a new graph G 0 by
adding an edge e between u and v . (i.e, G 0 = G + e, where e = (u, v )).
Then,
Eulerian graphs
Corollary
A connected graph G has an Euler trail if and only if it has atmost
two vertices of odd degree.
Proof.
Let G be a connected graph. Suppose G has an Euler trail, then every
vertex other than the origin and terminus are of even degree and hence,
the result follows.
Conversely, suppose that G has atmost two (i.e., ≤ 2) vertices of odd
degree. Suppose it has no vertex of odd degree, then it has a closed
Euler trail and the result holds. On the other hand, if G has exatly two
vertices of odd degree, say u and v , then obtain a new graph G 0 by
adding an edge e between u and v . (i.e, G 0 = G + e, where e = (u, v )).
Then, every vertex in G 0 is of even degree and hence, G 0 has an Euler
circuit, say C , that includes the edge e.
Eulerian graphs
Corollary
A connected graph G has an Euler trail if and only if it has atmost
two vertices of odd degree.
Proof.
Let G be a connected graph. Suppose G has an Euler trail, then every
vertex other than the origin and terminus are of even degree and hence,
the result follows.
Conversely, suppose that G has atmost two (i.e., ≤ 2) vertices of odd
degree. Suppose it has no vertex of odd degree, then it has a closed
Euler trail and the result holds. On the other hand, if G has exatly two
vertices of odd degree, say u and v , then obtain a new graph G 0 by
adding an edge e between u and v . (i.e, G 0 = G + e, where e = (u, v )).
Then, every vertex in G 0 is of even degree and hence, G 0 has an Euler
circuit, say C , that includes the edge e.
Now, C − e will be an Euler trail in G .
Eulerian graphs
Exercises:
1 Which of the following figures can be drawn without lifting one’s
pen from the paper or without covering a line more than once?
Eulerian graphs
Eulerian graphs
Eulerian graphs
Eulerian graphs
Theorem
In an even graph, every maximal trail is closed.
Eulerian graphs
Theorem
In an even graph, every maximal trail is closed.
Theorem
For a connected nontrivial graph G with exactly 2k odd vertices, where
k ≥ 1, then G can be decomposed into atleast k trails.
Eulerian graphs
Theorem
In an even graph, every maximal trail is closed.
Theorem
For a connected nontrivial graph G with exactly 2k odd vertices, where
k ≥ 1, then G can be decomposed into atleast k trails.
Making a non-Eulerian graph into Eulerian:
Hamiltonian graphs
Definition
Hamilton Path: A path that contains every vertex of G is called a
Hamilton path of G .
Hamilton Cycle: A cycle that contains every vertex of G is called
a Hamilton cycle (or spanning cycle) of G .
Definition
Hamiltonian graph: A graph G is Hamiltonian if it contains a
Hamilton cycle.
Such paths and cycles are named after Hamilton (1856), who
described, in a letter to his friend Graves, a mathematical game on
the dodecahedron in which one person sticks five pins in any five
consecutive vertices and the other is required to complete the path
so formed to a spanning cycle.
Such paths and cycles are named after Hamilton (1856), who
described, in a letter to his friend Graves, a mathematical game on
the dodecahedron in which one person sticks five pins in any five
consecutive vertices and the other is required to complete the path
so formed to a spanning cycle.
Examples
Proof.
Let G be Hamiltonian. Then,
Proof.
Let G be Hamiltonian. Then, G has a Hamilton cycle, say C .
Proof.
Let G be Hamiltonian. Then, G has a Hamilton cycle, say C . Now,
for every non-empty subset S of V , ω(C − S) ≤ |S|.
Proof.
Let G be Hamiltonian. Then, G has a Hamilton cycle, say C . Now,
for every non-empty subset S of V , ω(C − S) ≤ |S|. Also, C − S is
a spanning subgraph of G − S and hence,
Proof.
Let G be Hamiltonian. Then, G has a Hamilton cycle, say C . Now,
for every non-empty subset S of V , ω(C − S) ≤ |S|. Also, C − S is
a spanning subgraph of G − S and hence,
ω(G − S) ≤ ω(C − S) ≤ |S|. Hence, the result follows.
Figure: A graph G
Example
−→
Example
−→
Example
−→
Example
−→
Example
−→
Example
−→
Example
−→
Example
−→
Example
−→
Example
−→
Theorem
A simple graph G is Hamiltonian if and only if its closure C (G ) is
Hamiltonian.
Theorem
A simple graph G is Hamiltonian if and only if its closure C (G ) is
Hamiltonian.
Corollary
Let G be a simple graph with p ≥ 3. If C (G ) is complete, then G
is Hamiltonian.
Theorem
A simple graph G is Hamiltonian if and only if its closure C (G ) is
Hamiltonian.
Corollary
Let G be a simple graph with p ≥ 3. If C (G ) is complete, then G
is Hamiltonian.
The above corollary can be used to deduce various sufficient
conditions for a graph to be Hamiltonian in terms of its vertex
degrees.
Theorem
A simple graph G is Hamiltonian if and only if its closure C (G ) is
Hamiltonian.
Corollary
Let G be a simple graph with p ≥ 3. If C (G ) is complete, then G
is Hamiltonian.
The above corollary can be used to deduce various sufficient
conditions for a graph to be Hamiltonian in terms of its vertex
degrees.
p
For example, when δ(G ) ≥ , clearly C (G ) is always complete.
2
Theorem
A simple graph G is Hamiltonian if and only if its closure C (G ) is
Hamiltonian.
Corollary
Let G be a simple graph with p ≥ 3. If C (G ) is complete, then G
is Hamiltonian.
The above corollary can be used to deduce various sufficient
conditions for a graph to be Hamiltonian in terms of its vertex
degrees.
p
For example, when δ(G ) ≥ , clearly C (G ) is always complete. So,
2
Dirac’s condition follows as an immediate corollary.
Theorem
A simple graph G is Hamiltonian if and only if its closure C (G ) is
Hamiltonian.
Corollary
Let G be a simple graph with p ≥ 3. If C (G ) is complete, then G
is Hamiltonian.
The above corollary can be used to deduce various sufficient
conditions for a graph to be Hamiltonian in terms of its vertex
degrees.
p
For example, when δ(G ) ≥ , clearly C (G ) is always complete. So,
2
Dirac’s condition follows as an immediate corollary. A more general
condition than that of Dirac was obtained by Chvátal (1972), which
is stated below.
Graph Theory A. Senthil Thilak
Traversability Hamiltonian Graphs Applications of Traversability