Q21GATE 2018NAT
The chromatic number of the following graph is _______.

📖 Explanation
The chromatic number of a graph is the minimum number of colors needed to color its vertices so that no two adjacent vertices share the same color.
First, we observe that the vertices {b, c, d} form a triangle, which is a clique of size 3. Therefore, at least 3 colors are required, and the chromatic number χ(G)≥3.
Next, we check if the graph can be colored with 3 colors. A possible 3-coloring is:
- Color 1 (e.g., Blue): {a, f}
- Color 2 (e.g., Green): {b, e}
- Color 3 (e.g., White): {c, d}
Since a valid 3-coloring exists, χ(G)≤3.
Combining both conditions, the chromatic number is exactly 3.


