Let G be an undirected complete graph, on n vertices, where n > 2. Then, the number of different Hamiltonian cycles in G is equal to
A
n!
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
(n - 1)!
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
1
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
(n−1)!2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is D(n−1)!2 When vertices are labelled.
In a complete graph we can traverse the n vertices in any order and return to the starting vertex and form a Hamiltonian cycle. The number of such cycles will be n!. However, since circular rotations will have to ignored. Since for example K4 with vertices {1, 2, 3, 4}, the cycle 1-2-3-4 is same as 2-3-4-1 is same as 3-4-1-2 etc. we now get only (n - 1)! distinct Hamiltonian cycles. Further, the cycle 1-2-3-4 and 1-4-3-2 are also same (clock wise and anticlockwise).
So ignoring this orientation also we finally get (n−1)!2 distinct Hamiltonian cycles which is option (d).
When vertices are unlabelled.
All the Hamiltonian cycles are formed which is isomorphic to each other. So only 1 Hamiltonian cycle will be the answer in this case.