Question

The chromatic number of the following graph is _______.

Undirected graph on six vertices a, b, c, d, e, f with edges a-e, a-b, a-c, c-e, c-d, b-c, b-d, b-f, d-f and e-f.
Official answer and solution
Official answer
3
From
Official GATE 2018 answer key

Solution

Establish a lower bound from clique subgraphs and exhibit an explicit valid proper coloring.

The graph contains 6 vertices with 4 outer vertices and 2 inner vertices. Examining the subgraphs reveals triangles (3-cliques), such as the cycle formed by an outer vertex and its adjacent inner and outer neighbors. The presence of a K3K_3 implies that the chromatic number χ(G)≥3\chi(G) \ge 3.

Let us check whether a 3-coloring is possible using colors {1,2,3}\{1, 2, 3\}:

  • Assign color 1 to vertex v1v_1 and vertex u2u_2.
  • Assign color 2 to vertex v2v_2 and vertex v3v_3.
  • Assign color 3 to vertex u1u_1 and vertex v4v_4.

Checking all edges confirms that no two adjacent vertices share the same color. Since the graph cannot be colored with 2 colors (it contains odd cycles) but can be colored with 3 colors, its chromatic number is 3.

Final answer

3

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2018 Computer Science and Information Technology (CS)
Question
28 of 65, printed as CS Q.18
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.