954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

A Graph Question

I got this question in a competitive exam i wrote today...n i was just curious if my answer was right.

The Question is :

Let G be a complete undirected graph on 6 vertices. If vertices of G are labelled, then the number of distinct cycles of length 4 in G is equal to

a) 15 b) 30 c) 90 d) 360

I got the answer as 90...am i right??

Esmerelda
Light Poster
28 posts since Jan 2008
Reputation Points: 10
Solved Threads: 0
 

The definition of distinct is quite vague but the way I understand is 1-2-3-4-1 and 1-3-2-4-1 is different, meaning order is important.

In order to find distinct cycles of length 4, you need to have 4 distinct vertices and the last vertice is the same as first. Hence, 6P4 = 360

tungnk1993
Junior Poster in Training
95 posts since May 2010
Reputation Points: 6
Solved Threads: 7
 

yes but 1-2-3-4-1 is same as 2-3-4-1-2. So shouldnt it be less than 360

Esmerelda
Light Poster
28 posts since Jan 2008
Reputation Points: 10
Solved Threads: 0
 

If that's the case, then it should be 6C4

tungnk1993
Junior Poster in Training
95 posts since May 2010
Reputation Points: 6
Solved Threads: 7
 

No..i dont think so.. it should be more 6C4 and less than 360..
u see the order matters so 1-2-3-4-1 is not the same as 1-3-2-4-1 but since its a cycle 1-2-3-4-1 is same as 2-3-4-1-2, 3-4-1-2-3 and 4-1-2-3-4.

Esmerelda
Light Poster
28 posts since Jan 2008
Reputation Points: 10
Solved Threads: 0
 

yah...but according to permuation its value must be 360....plz give me explanation for 90 no. of cycles...

nupu123
Newbie Poster
2 posts since Feb 2012
Reputation Points: 10
Solved Threads: 0
 

nP4 / 4 =90 since like i said 1-2-3-4-1, 2-3-4-1-2, 3-4-1-2-3 and 4-1-2-3-4 will all be counted in nP4 but it all indicates the same cycle..so i divided it by 4

Esmerelda
Light Poster
28 posts since Jan 2008
Reputation Points: 10
Solved Threads: 0
 

I still find the definition of 'distinct' quite vague though. Unless a clear definition is given, this question cant be answered easily :)

tungnk1993
Junior Poster in Training
95 posts since May 2010
Reputation Points: 6
Solved Threads: 7
 

Well this vague question was given in an Exam written by thousands of engineers across India! It was given in GATE 2012.

Esmerelda
Light Poster
28 posts since Jan 2008
Reputation Points: 10
Solved Threads: 0
 

Wow, some explanation should be given then :) Or all engineers are smart to know what the question wants :D

tungnk1993
Junior Poster in Training
95 posts since May 2010
Reputation Points: 6
Solved Threads: 7
 

thnx for xplanation....i got it...:-)

nupu123
Newbie Poster
2 posts since Feb 2012
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You