Skip to main content

GATE CSE 2023Graph Theory › Graph Coloring & PlanarityVerified

GATE CSE 2023 PYQ: Let G G G be a simple, finite, undirected graph with vertex set { v 1 , … , v n } \left\{v_{1}, \ldots,…

Let GG be a simple, finite, undirected graph with vertex set {v1,…,vn}\left\{v_{1}, \ldots, v_{n}\right\}. Let Δ(G)\Delta(G) denote the maximum degree of GG and let N={1,2,…}\mathbb{N}=\{1,2, \ldots\} denote the set of all possible colors. Color the vertices of GG using the following greedy strategy: for i=1,…,ni=1, \ldots, n

color⁡(vi)←min⁡{j∈N\operatorname{color}\left(v_{i}\right) \leftarrow \min \left\{j \in \mathbb{N}\right. : no neighbour of viv_{i} is colored j}\left.j\right\}

Which of the following statements is/are TRUE?\text{TRUE}?

  1. A
    This procedure results in a proper vertex coloring of GG.
    Correct answer
  2. B
    The number of colors used is at most Δ(G)+1\Delta(G)+1.
    Correct answer
  3. C
    The number of colors used is at most Δ(G)\Delta(G).
  4. D
    The number of colors used is equal to the chromatic number of GG.

Answer

(A, B) This procedure results in a proper vertex coloring of G G G .; The number of colors used is at most Δ ( G ) + 1 \Delta(G)+1 Δ ( G ) + 1 .

Approach

The greedy coloring assigns each vertex the smallest positive integer not used by any already-colored neighbor. This immediately guarantees that every edge has differently colored endpoints, and at each step there are at most Δ(G) forbidden colors, so a color in {1,...,Δ(G)+1} is always available. Options C and D overstate what greedy guarantees and can be refuted with simple counterexamples.

Only A and B are guaranteed by the given greedy coloring procedure. A follows from the exclusion of neighbor colors; B follows from the fact that at most Δ(G) colors are forbidden at any vertex. C and D can fail, so they are not universally true.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.