Chromatic number of graph with one odd cycle

coloringgraph theory

Find chromatic number of graph with only one cycle of odd length. Solution is $3$.
I know that chromatic number of graph that is odd cycle is 3, but how to prove that chromatic number of graph that contains odd cycle is also 3?

Best Answer

If you remove edges in the cycle, the graph becomes a union of trees.