A Hamiltonian graph must be a connected graph and have minimum degree : each vertex has two distinct neighbours on its Hamilton cycle. It also has no cut vertex. Indeed, deleting any vertex from the Hamilton cycle leaves a graph path through every remaining vertex, so the remaining graph is connected. These are quick ways to rule out a Hamilton cycle.[ref]
Even these conditions together are not sufficient: the complete bipartite graph is connected, has minimum degree two and no cut vertex, but has no Hamilton cycle. Every graph cycle in a bipartite graph alternates between its two parts, using equally many vertices from each; it cannot use all two and all three.
In the other direction, Dirac's theorem gives a sufficient condition: a finite simple graph with and has a Hamilton cycle. Failure of this inequality proves nothing by itself: the cycle graph has a Hamilton cycle despite .[ref]
First the graph is connected: every component has at least vertices, so two components cannot fit. Take a longest path . Every neighbour of either endpoint lies on that path. In the index set define
Their sizes sum to , so they share an index . The edges at that index give the cycle
containing every vertex of the path. The minimum-degree assumption and ensure the resulting cycle is nondegenerate. If it omitted any graph vertex, connectedness would supply an edge from outside it to the cycle. Starting with that outside vertex and then following the cycle without closing it gives a path with vertices, contradicting maximality. Thus the cycle is Hamiltonian. This proves Dirac's theorem in the required case.
Let be a longest path in the finite simple graph. Every neighbor of either endpoint lies on this path, since an outside neighbor would extend it. Define two subsets of :
Their sizes are and . The degree hypothesis gives , but there are only possible indices. Hence some belongs to both. The edges at that index close a cycle through every vertex of the path:
The graph is connected: any component has at least vertices by the minimum degree, so two components would exceed vertices. If , connectedness gives an edge from this cycle to an outside vertex. Starting at that vertex and traversing the cycle without its closing edge gives a path with vertices, a contradiction.
Thus and the cycle is a Hamilton cycle, proving Dirac's theorem. The overlap-of-indices argument is why the degree threshold is half the number of vertices.
Pósa's theorem 2026-10-14
Pósa's theorem gives a sufficient degree-sequence condition for a Hamiltonian cycle in a finite simple graph. Longest-path rotation is a technique used in proving Hamiltonicity results; it is not itself the degree-sequence theorem.