63 63 votes What is the chromatic number of an $n$ vertex simple connected graph which does not contain any odd length cycle? Assume $n > 2$. $2$ $3$ $n-1$ $n$ Graph Theory gatecse-2009 graph-theory graph-coloring normal + – gatecse 24.5k views answer comment Share Follow Print See all 6 Comments 6 6 Comments reply Show 3 previous comments Rishav Kumar Singh commented Aug 17, 2018 reply Follow flag option A is correct it should be 2 5 5 replyShare ankitgupta.1729 commented Sep 6, 2018 reply Follow flag What is minimum number for EDGE coloring It depends on the maximum degree of the given graph. If maximum degree of the simple undirected graph is $d_{max}$ , It means we need atleast $d_{max}$ colors necessarily to proper color the whole graph but it is not sufficient.We may need $d_{max} + 1$ colors also for proper edge coloring of the graph but no more than $d_{max} + 1$ colors are required. Edge chromatic number or chromatic index of any simple undirected graph is either $d_{max}$ or $d_{max} + 1$ according to Vizing's Theorem. 4 4 replyShare Abhishar Sinha commented Jan 23, 2019 reply Follow flag @Shashank shekhar D 1 A wheel graph will have n cycles of length 3, which is odd and not allowed. 2 2 replyShare Please log in or register to add a comment.
Best answer 73 73 votes Lemma $1:$ $G$ is bipartite, if and only if it does not contain any cycle of odd length. Proof. Suppose $G$ has an odd cycle. Then obviously it cannot be bipartite, because no odd cycle is $2$-colorable. Conversely, suppose $G$ has no odd cycle. Then we can color the vertices greedily by $2$ colors, always choosing a different color for a neighbor of some vertex which has been colored already. Any additional edges are consistent with our coloring, otherwise they would close a cycle of odd length with the edges we considered already. The easiest extremal question is about the maximum possible number of edges in a bipartite graph on $n$ vertices. $1$ ref@ http://math.mit.edu/~fox/MAT307-lecture07.pdf Bipartite Graph: A graph which is $2$-colorable is called bipartite. We have already seen several bipartite graphs, including paths, cycles with even length, and the graph of the cube (but not any other regular polyhedra) ref@ http://ocw.mit.edu/high-school/mathematics/combinatorics-the-fine-art-of-counting/lecture-notes/MITHFH_lecturenotes_9.pdf $3.$ Bipartite graphs: By definition, every bipartite graph with at least one edge has chromatic number $2.$ (otherwise $1$ if graph is null graph ) ref@ http://math.ucsb.edu/~padraic/mathcamp_2011/introGT/MC2011_intro_to_GT_wk1_day4.pdf Correct Answer: $A$ Mithlesh Upadhyay answered Jun 4, 2015 • edited Apr 23, 2019 by Naveen Kumar 3 Mithlesh Upadhyay comment Share Follow See all 14 Comments 14 14 Comments reply Show 11 previous comments pavansan commented Jan 2, 2025 reply Follow flag @Deepak Poonia sir can we say that it doesn't have odd cycle then it will have even length cycle that's why chromatic number is 2? 0 0 replyShare Deepak Poonia commented Jan 2, 2025 reply Follow flag @pavansan, No. If a graph $G$ doesn't have an odd cycle then it doesn't mean that $G$ will have an even length cycle. Consider a Tree or a Forest, they don't have any cycle. 4 4 replyShare pavansan commented Jan 2, 2025 reply Follow flag @Deepak Poonia yes sir understood 0 0 replyShare Please log in or register to add a comment.
13 13 votes 2 draw some random graph and you will realise that 2 is the chromatic number Bhagirathi answered Nov 25, 2014 Bhagirathi comment Share Follow See all 8 Comments 8 8 Comments reply Show 5 previous comments JAINchiNMay commented Nov 4, 2022 reply Follow flag This is not an answer :( 0 0 replyShare Shivam490 commented Sep 3, 2024 reply Follow flag What about cycle of 6 vertex graph with 6 edegs 0 0 replyShare ritiksri8 commented Nov 6, 2024 reply Follow flag It also gives 2 0 0 replyShare Please log in or register to add a comment.
11 11 votes No odd length cycle means no 3,5,7,... Length cycle should be there. So it means we can color this with less than 3 colors. Becz a presence of 3 length cycle will atlst need 3 colors to be colored. So here 2 color will work.. sonu answered Nov 25, 2014 sonu comment Share Follow See all 5 Comments 5 5 Comments reply Show 2 previous comments Sanket Kumar Mali commented Jan 2, 2017 reply Follow flag Wheel graph contains odd length cycle. 3 3 replyShare Shashank shekhar D 1 commented Jan 2, 2017 reply Follow flag ohh, two outer vertices connecting with inner (central) vertex forms odd length cycle. A big miss. :P Thanks. 0 0 replyShare Shatadru RC commented Oct 21, 2017 reply Follow flag Question is about not having odd length cycle. You have a cycle of 3 here 0 0 replyShare Please log in or register to add a comment.
6 6 votes Consider this Graph as composition of even length(0, 2, 4 etc) cycles. And each even length cycle could be colored using two colors without creating any conflict. Process is as following --> (1) Choose any vertices give color X. (2) Give color Y to its neighbors. Now this Y can not create conflict with X otherwise ood length cycle will appear. We can repeat this alternate coloring process until all vertices are not colored. Means all the vertices which are odd no of edges away from First vertex will get Y color and remaining will get X color. During this process at any point if problem comes it means an odd length cycle is present in our graph which is failing our assumption. Chhotu answered Sep 19, 2017 Chhotu comment Share Follow 0 reply Please log in or register to add a comment.
1 1 vote Answer : 2 Intuition : If we observe the question, tree is one of the example which satisfies the requirements of given question. Now , irrespective of number of nodes, chromatic number of any tree is 2. HeadShot answered Jan 3, 2019 HeadShot comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes it's even-length cycle graph i.e C2, C4,C6......all need max 2 colour so chromatic number X(G)=2 Prateek kumar answered Jan 29, 2017 Prateek kumar comment Share Follow See all 2 Comments 2 2 Comments reply Puja Mishra commented Jan 2, 2018 reply Follow flag No its nt ... Question has said that simple connected graph which does not contain any odd length cycle ...It does nt imply that it has even length cycle ... 1 1 replyShare Lakshman Bhaiya commented Jan 29, 2018 reply Follow flag The question says that does not contain odd- length cycle, it means that it contains even-length cycle or may not contains the even-length cycle, or contain both of them.(But not Odd length cycle). 0 0 replyShare Please log in or register to add a comment.