Question

The chromatic number of a graph is the minimum number of colours used in a proper colouring of the graph. The chromatic number of the following graph is _________

An 8-vertex 4-regular undirected graph arranged on an octagon with 8 outer cycle edges, 2 vertical chords, 2 horizontal chords, and 4 internal diagonal chords (isomorphic to K_{4,4}).
Official answer and solution
Official answer
2
From
Official GATE 2024 answer key

Solution

Label the 8 vertices v0,v1,…,v7v_0, v_1, \dots, v_7 clockwise around the octagon and observe that every edge connects an even-indexed vertex to an odd-indexed vertex.

Label the 88 vertices clockwise around the outer octagon as v0,v1,v2,v3,v4,v5,v6,v7v_0, v_1, v_2, v_3, v_4, v_5, v_6, v_7 (with v0,v1v_0, v_1 at the top, v2,v3v_2, v_3 on the right, v4,v5v_4, v_5 at the bottom, and v6,v7v_6, v_7 on the left). Partition the vertices into two sets by index parity:

A={v0,v2,v4,v6},B={v1,v3,v5,v7}A = \{v_0, v_2, v_4, v_6\}, \quad B = \{v_1, v_3, v_5, v_7\}

Inspecting all 1616 edges of the graph:

  • The 88 outer cycle edges (vi,vi+1 mod 8)(v_i, v_{i+1 \bmod 8}) each connect an even index to an odd index.
  • The 22 vertical chords are (v0,v5)(v_0, v_5) and (v1,v4)(v_1, v_4) (even to odd).
  • The 22 horizontal chords are (v7,v2)(v_7, v_2) and (v6,v3)(v_6, v_3) (odd to even).
  • The 44 diagonal chords are (v0,v3),(v2,v5),(v4,v7),(v6,v1)(v_0, v_3), (v_2, v_5), (v_4, v_7), (v_6, v_1) (even to odd).

Since every edge has one endpoint in AA and one endpoint in BB, the graph is bipartite (in fact, it is isomorphic to K4,4K_{4,4}). Because it has at least one edge, its chromatic number is 22.

Final answer

2

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

Source

Paper
GATE 2024 Computer Science and Information Technology - Set 2 (CS2)
Question
60 of 65
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.