Yi Zhang is supported by the National Natural Science Foundation of China (Grant 11901048 & 12071002).
2. 2 Notations and useful results
All graphs considered in this paper are simple, finite, loop-free and undirected. For a graph , let denote the vertex set and edge set of , respectively. For a vertex , let be the set of adjacent vertices to in and .
Let be a -partite graph with order , where the vertex set can be divided into parts with for and the edge set contains edges with no two vertices from one part. If the edge set contains all edges with no two vertices from one part, then we call the complete -partite graph with order , and denote the graph by . If , for simplicity, we write and instead, and call an -balanced -partite graph. Let be the -partite graph with the vertex set and the edge set
. Clearly and .
Given a vertex , clearly . Let be the smallest degree among all vertices and be the smallest degree sum of two nonadjacent vertices from different parts.
The following results will be used in our proof.
Theorem 2.
(Ore [3]) Let be a graph with vertices. If for any two nonadjacent vertices and , then is hamiltonian.
Theorem 3.
For any graph with vertices, if ,
then is Hamiltonian.
Proof. We claim that for any two nonadjacent vertices and . Otherwise, we let and be two nonadjacent vertices with . Then we obtain that , a contradiction. Furthermore, by Ore Theorem, is Hamiltonian.
Lemma 4.
Let be a graph with vertices and be a Hamilton path. If , then is Hamiltonian.
Proof. Let be a Hamilton path. To the contrary, we assume that is not Hamiltonian. If ia adjacent to , then is not adjacent to , otherwise we find a Hamilton cycle. Therefore . Similarly, . It follows that , a contradiction.
Theorem 5.
[1] Let be an -balanced -partite graph with . If
|
|
|
then is Hamiltonian.
Theorem 6.
[2] Let be an -balanced -partite graph with . If
|
|
|
then is Hamiltonian.
3. Proof of Theorem 1
Suppose that is an -balanced -partite graph with parts , , and , where , except , . Recall that , we have
|
|
|
(1) |
If , then , by Theorem 3, the result holds.
Claim 7.
If , the result holds.
Proof.
In this case, we have as , which implies that
|
|
|
(2) |
Otherwise , a contradiction.
By Theorem 6 with , the result holds.
∎
Claim 8.
If , the result holds.
Proof.
In this case we have as , which implies that
|
|
|
(3) |
Otherwise , a contradiction.
Theorem 6 with implies that if
|
|
|
(4) |
then is Hamiltonian.
It follows directly that the result holds for .
If , then is Hamiltonian as (4). By (3), we just need to consider the case when . Without loss of generality, we let and be two nonadjacent vertices such that and . It follows that . Since , we obtain that is the complete -partite graph with order . Otherwise , a contradiction. Suppose . We obtain that , . Combining with , it is easy to find a Hamilton cycle in .
We prove the case when by induction on . It is easy to obtain that is a 2-balanced partite graph with at least as . By inductive hypothesis, contains a Hamilton cycle . Let be the other vertex of different from . By (3), , we can let be two vertices adjacent to . If , then we can construct a cycle of size in . Since , it is easy to find a Hamilton path in with one end being and the other not being , denoted by . Clearly as . By Lemma 4, has a Hamilton cycle. If , suppose that , where is the path from to on not passing and is the path from to on not passing , then at least one of and is adjacent to as , say . Then is a Hamilton path in . Clearly as . By Lemma 4, has a Hamilton cycle.
∎
Next we prove the case when by induction on . We assume
|
|
|
Otherwise, by Theorem 6, is Hamiltonian. Without loss of generality, we let and be two nonadjacent vertices such that
|
|
|
(5) |
and
|
|
|
(6) |
Furthermore, since for any vertex , we obtain:
|
|
|
(7) |
and
|
|
|
(8) |
Clearly as . Therefore . We distinguish the following two cases:
Case 1. There exist such that and .
Let . We claim that
|
|
|
(9) |
Otherwise, there exists a vertex such that . If or , then
|
|
|
If , , then
|
|
|
Combining with (7), we obtain that
|
|
|
If is odd, then
|
|
|
if is even, then
|
|
|
It is a contradiction.
If , without loss of generality, we let and be two adjacent vertices to . By 9, we can greedily find a path of length , where for . Otherwise there exists such that . Then , a contradiction. If , without loss of generality, we let and be two adjacent vertices to . Similarly, by 9, we can greedily find a path , where for and . Otherwise there exists such that or . Then , a contradiction. Clearly the path contains one and only one vertex from every part.
Suppose (The case when is similar). By (1) and (8), we obtain that is a balanced -partite graph with at most edges if is odd and at most edges if is even. It is not difficult to check that
|
|
|
as , . It follows that contains at least edges. By inductive hypothesis, contains a Hamilton cycle, denoted by
|
|
|
If is odd, we construct a matching of size from the edges of with :
|
|
|
If is even, we construct a matching of size from the edges of with :
|
|
|
We have the following claim.
Claim 9.
There exists one edge of such that and or and .
Proof.
To the contrary, if is odd, the number of vertices in , which is adjacent to or , is at least
|
|
|
as the number of vertices from the same part to () is at most in . By (7), we obtain:
|
|
|
If is odd, then
|
|
|
|
|
|
|
|
We derive that . It is similar when is even. It is a contradiction.
∎
By Claim 9, we obtain a Hamilton cycle of from and . Without loss of generality, we can assume of satisfying: . Obviously is a Hamilton cycle of .
Case 2. There exists only one such that .
In this case we have . If and , then it is easy to check that contains a Hamilton cycle. Suppose that , except and . We have the following claim.
Claim 10.
.
Proof.
Let . To the contrary, suppose such that . If , then . It follows that
|
|
|
|
|
|
|
|
a contradiction. We assume that for some . Then . Therefore
|
|
|
|
|
|
|
|
a contradiction. ∎
Suppose that . Let . We claim that there exist two disjoint paths of length :
|
|
|
where for . First, we can greedily construct . By Claim 10, , we obtain that for . Next, we can also greedily construct . Otherwise, there exists such that for or . It follows that , a contradiction.
Suppose that for . Without loss of generality, we let . We claim that there exist two disjoint paths of length :
|
|
|
where for . Especially, if , we can let . The explanation is similar to the case when .
Recall that . Clearly . By (1), we derive that
|
|
|
Therefore is a balanced -partite graph with at least
|
|
|
edges as , except , . By inductive hypothesis, contains a Hamilton cycle, denoted by
|
|
|
If is odd, we construct a matching of size from the edges of with :
|
|
|
If is even, we construct a matching of size from the edges of with :
|
|
|
We have the following claim.
Claim 11.
There exists one edge of such that and or and .
Proof.
To the contrary, if is odd, the number of vertices in , which is adjacent to or , is at least
|
|
|
as the number of vertices from the same part to () is at most in . By (7), we obtain:
|
|
|
If is odd, then
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We derive that . It is similar when is even. It is a contradiction.
∎
By Claim 11, we obtain a Hamilton cycle of from , and . Without loss of generality, we can assume of satisfying: . Obviously is a Hamilton cycle of .
Once we have proved Theorem 1, we can obtain a useful inference.
Theorem 12.
Let be an -balanced -partite graph with , except , . If and , then is Hamiltonian.
4. Proof of Theorem 12
Suppose that is an -balanced -partite graph with parts , , , and , where , except , . Recall that , we have
|
|
|
(10) |
For every pair of nonadjacent vertices and which are in different partite sets,
|
|
|
If satisfies the conditions of Theorem6, is hamiltonian. Otherwise, there exists a pair of nonadjacent vertices and which are in different partite sets such that
|
|
|
(11) |
|
|
|
(12) |
hold.
, only when , or , or . In these several cases, we only need to consider . It’s straightforward to prove these cases with a comparable proof of the case in Proof of Claim 8.
The other case is . If , it’s straightforward to prove these cases with a comparable proof of the case in Proof of Claim 8. If , then . There must exist an edge belonging to that is not associated with or . It is useful to set the edge to . Considering the graph , set it to . Applying Theorem 11, is Hamiltonian. Let the Hamiltonian cycle of be . If does not include the edge , the conclusion holds. Otherwise, contains the edge . Let the other points adjacent to on , respectively, be . It’s useful to set . Because and in , let . If contains the edge , there exists a new Hamiltonian cycle
And the conclusion holds. Thus, , then . Since (12), the contradiction arises if and are sufficiently large.