GATE / CS ARCHIVE

GATE CSE 2009 / QUESTION 2

Chromatic number without odd cycles

Discrete Mathematics · Graph Theory · Full GATE CSE 2009 paper

GATE 2009, Q2 1 mark · MCQ
Report issue

Graph Theory

Question 2, GATE 2009: A simple connected graph on n≥2 vertices has no odd cycle. Find its chromatic number: A 2; B 3; C n−1; D n.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

An undirected graph with no odd cycle is bipartite, so two colors suffice. Connectedness and n≥2 ensure at least one edge, so one color cannot suffice. The chromatic number is exactly 2, A.

A graph has a two-colouring exactly when it has no odd cycle. One construction assigns colours by even or odd distance from a chosen root. If an edge joined equal-parity vertices, the corresponding paths would create an odd closed walk and hence an odd cycle. The given connected graph with at least two vertices has an edge, so one colour is insufficient. Therefore its chromatic number is exactly 2, not merely at most 2.

Original paper, page 2