The minimum number of colours required to colour the vertices of a cycle with nodes in such a way that no two adjacent nodes have the same colour is
View worked solution
Answer: D
The problem asks for the chromatic number (the minimum number of colors required for vertex coloring) of a cycle graph with vertices ().
For any cycle graph :
- If is even, we can alternate between colors. Thus, the chromatic number is .
- If is odd, alternating colors will result in the first and last adjacent vertices having the same color. Thus, we need a third color, making the chromatic number .
Let us evaluate the expression in Option D:
- Case 1: is even
Let for some integer .
This matches the required colors. - Case 2: is odd
Let for some integer .
This matches the required colors.
Since Option D correctly yields for even and for odd , it is the correct representation.
Free practice · Your answers on this page are not saved.
