We use from Definition (Minimum Degree of a Graph).

Definition (Hamiltonian)

A Hamiltonian Path or Cycle is a walk that visits each vertex, except the first and last vertex are the same (closed). A Graph is called a Hamiltonian Graph if it contains a Hamiltonian Cycle.

Theorem (Hamiltonian Implies Connected)

Graph is Hamiltonian only if it is connected.

Explore (Minimum Edges For Hamiltonian)

How many edges do we need to ensure that a graph is Hamiltonian? How big does the minimum degree of graph , need to be to ensure Hamiltonian? Suppose we had graph

which is disconnected. We have that . Here, the graph is almost Hamiltonian. Indeed, if we picked any size then to ensure is maximized, it follows .

Lemma (Minimum Degree for Connectivity)

If

then is connected.

Proof: If , then we need to prove there is a path . We have other vertices. We have cases:

  1. If there is an edge , then we are done.

  2. If there is no edge, then we know connects to at least vertices each. Then, find vertex with and . If so, we are done.

    If there set of incident vertices from the edges of and are disjoint, then the total number of vertices is at least

    which is a contradiction on . And so both sets must overlap, and thus exists.

Lemma (Force a Cycle by Minimum Degree)

If and if it has a path of length , then if , then we have a path of length we can find. Otherwise, if , then we have a cycle of length .

Intuitively: If you have a “long path”, then we can use this to find a “longer path” by possibly finding a cycle in between. Then you can repeat this until you find all the vertices.

Proof: Suppose we have a path

I claim we can either extend this path or turn it into a cycle.

  • If there is some vertex or not in but or exists, then we can extend unless only connect to other for . Then we are done.
  • Otherwise, we can turn to a cycle with the same vertices. If there is an edge , then we are done. If for some , we have edges and , we can create the following path which gives us a cycle:
    " \\usepackage{tikz-cd}\n \\begin{document}\n \\begin{tikzcd}\n \t{v_1 } & {v_{i+1}} \\\\\n \t{v_i} & {v_m }\n \t\\arrow[\"1\", from=1-1, to=2-1]\n \t\\arrow[\"4\", from=1-2, to=1-1]\n \t\\arrow[\"2\", from=2-1, to=2-2]\n \t\\arrow[\"3\", from=2-2, to=1-2]\n \\end{tikzcd}\n \\end{document}"v1vi+1vivm1423
    source code
    Let be set of indices for which edge exists. Let be the same for edge . Since is assumed to be maximal length, all neighbors of its endpoints must lie within the path itself. Therefore the number of neighbors for each endpoint corresponds to We want to find an index that belongs to both and , giving us the edges to form the cycle. Assume for the sake of contradiction that . Then, But then as , then implying that the number of edges in our maximal length path is greater than the number of vertices in , a contradiction.

    We are using the Pidgeonhole Principle here.

Theorem (Hamiltonian: Minimum Vertex and Degree)

If and

  1. then is Hamiltonian.

Proof:

Assume by contradiction that is not Hamiltonian. Because is not Hamiltonian, there is no path of length . Let be a maximal path of length .

By Lemma (Force a Cycle by Minimum Degree), and that is maximal, we must have a cycle containing all vertices of . But then we have a cycle of length , such that there must be a vertex in this graph not in the cycle. But as , then by Lemma (Minimum Degree for Connectivity) is connected, such that there is a that connects to .

Consider this path , from and then the entire cycle . Then has vertices. But then this is a contradiction as we do not have a path of maximal length . Thus must be Hamiltonian.