Hamiltonian Path - Induction Proof

brojesus111
Messages
38
Reaction score
0

Homework Statement


Let G be a graph.
1. Let n be a natural number. Use induction to show for all n >= 2 Kn has a Hamiltonian path.
2. Explain how you could use the proof from #1 to show that for all n (natural number) n > 2 Kn has a Hamiltonian cycle.

Homework Equations





The Attempt at a Solution



So Kn refers to a complete graph - I know that much. And the n refers to the number of vertices. I'm not sure how to begin the proof for #1.

For #2, the subgraph excluding one vertex is Kn-1 has a path. We can connect the ends together through the excluded vertex to make a cycle.
 
Physics news on Phys.org
For part 1, can you show that K2 has a a Hamilton path?
Then, by induction, suppose Kn has a Hamilton path. You know that Kn is a subgraph of K(n+1); so what then can you say about the existence of a Hamilton path in this subgraph? Show that this can be extended to a Hamilton path in K(n+1). In fact, this path can be extended in precisely two ways.
 
christoff said:
For part 1, can you show that K2 has a a Hamilton path?
Then, by induction, suppose Kn has a Hamilton path. You know that Kn is a subgraph of K(n+1); so what then can you say about the existence of a Hamilton path in this subgraph? Show that this can be extended to a Hamilton path in K(n+1). In fact, this path can be extended in precisely two ways.

So K2 has a Hamilton path is our base case, and that is obvious since it is just two vertices and we can easily visit each point once.
Our induction hypothesis is that we assume Kn has a Hamilton path.
For our inductive step, we want to show that this holds true for n+1. As you said, Kn is a subgraph of K(n+1). Since K(n+1) is a complete graph, then every vertex has a unique edge, so we can just travel along that edge to make that a Hamilton path since we assumed Kn has a Hamilton path.

I'm assuming I'm missing something here.
 
Last edited:
No, you aren't missing anything; it's just a very easy problem.
 
christoff said:
No, you aren't missing anything; it's just a very easy problem.

Oh, ok. Thanks for the help!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top