Let Kn denote a complete graph of n vertices, and degG (v) denote the degree of a vertex v in G.
Lemma 1
The graph G = Kn - F has a hamiltonian cycle for every set
of edges F in Kn with
.
Proof.
Let x and y be two different nodes of Kn.
The Ore's Theorem [7] states that a graph H of m nodes has a
hamiltonian cycle if
for every pair of
non-adjacent vertices x, y in H.
Since
for every pair
of non-adjacent vertices x, y in G,
it follows that G has a hamiltonian cycle.
Hence the lemma follows. ![]()
Applying Lemma 1, we can obtain the following Corollary.
Corollary 1
The graph Kn- F has a hamiltonian path
for every set of edges F in Kn with
.
Let
be an integer. A graph G is said to be
r-HP if there exists
with |V'|=r
such that every pair of nodes in V' can be joined by
a hamiltonian path of G.
Theorem 1
The graph Kn - F is (n-f)-HP for every
with
, where Kn = (V,E).
Proof.
We prove this theorem by induction on n.
This statement can be easily verified for n = 3 and 4.
Assume that the statement holds for all Kj with
and
.
First, we consider that
.
Then the graph Kn - F is isomorphic to
Kn-i - F* for some
. By induction hypotheses,
the graph Kn-i-F* is (n-f)-HP.
Hence the graph Kn -F is (n-f)-HP.
Next, we consider that
. When |F| = n - 2, it
follows from Corollary 1 that the graph Kn - F has a
hamiltonian path. Thus Kn-F is 2-HP. Now consider that
and
. Let H denote the sub-graph of
Kn given by (V, F). Since
, there exists a vertex
with
. We
distinguish the following two cases.
Case 1: there exists a node v with
.
In other words, all of the edges incident at v are not in F.
Thus, the graph Kn - v - F is isomorphic to Kn-1 - F.
By induction hypotheses, the graph Kn - v -F is (n-1-f)-HP.
Therefore, there exists a subset
with
|V'| = n-1-f such that every two distinct nodes
can be
joined by a hamiltonian path of Kn -v -F.
Let P be a hamiltonian path of Kn- v -F joining x and y which
is written as
,
where x' is a node adjacent to x and P' is a path from x' to y.
Then
and
form two hamiltonian paths of Kn - F from x to y and
from v to y, respectively. Since x and y are arbitrary nodes in
V', there always exists a hamiltonian path of Kn - F
joining every pair of nodes in
.
Thus, the graph Kn-F is (n-f)-HP.
Case 2: there exists a node v with
.
Since there is exactly one edge incident at v which is also in F,
it follows that the
graph Kn - v - F is isomorphic to the graph Kn-1 - F* where |F*| =
f-1. By induction hypotheses, the graph Kn-v-F is (n-f)-HP. Thus, there
exists a subset
with |X|=n-f such that
every two distinct nodes
can be joined by a hamiltonian path of
Kn-v-F.
Let P be a hamiltonian path of Kn -v-F joining x and y, which is
written as
.
Since
, there exists zj,
, such that
and
.
Then
forms a hamiltonian path of Kn-F joining x and y. Hence every
pair of nodes in X can be joined by a hamiltonian path of Kn - F.
Thus, the graph Kn-F is (n-f)-HP, and
the theorem is proved.
![]()