Let G be a complete undirected graph of six vertices. If the vertices ...
There can be total 6C4 ways to pick four vertices from six. The value of 6C4 is 15.
Note that the given graph is complete, so any four vertices can form a cycle.
There can be six different cycles with four vertices. For example, consider four vertices a, b, c and d.
(a, b, c, d, a)
(a, b, d, c, a)
(a, c, b, d, a)
(a, c, d, b, a)
(a, d, b, c, a)
(a, d, c, b, a)
And (a, b, c, d, a) and (a, d, c, b, a); (a, b, d, c, a) and (a, c, d, b, a); and (a, c, b, d, a) and (a, d, b, c, a) are same cycles.
So, total number of distinct cycles = (15 x 3) = 45