GATE / CS ARCHIVE

GATE CSE 2023 / QUESTION 55

GATE CSE 2023 Q55

Discrete Mathematics · Graph Theory · Full GATE CSE 2023 paper

GATE 2023, Q55 2 marks · MSQ
Report issue

Graph Theory

Question 55, GATE 2023: For a simple finite undirected graph, process vertices in a fixed order and assign each the smallest positive color absent from already colored neighbors. With maximum degree Δ, select valid guarantees: A proper coloring; B at most Δ+1 colors; C at most Δ colors; D exactly the chromatic number of colors.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: A, B

When a vertex is colored, its chosen color differs from every already-colored neighbor. Each edge therefore has distinct colors at its endpoints after its later endpoint is processed, proving A. At most degree(v) colors are forbidden, so one of the first degree(v)+1 colors is available, proving B. C fails on any complete graph, which needs Delta+1 colors. D fails for a path a-b-c-d processed in the order a, d, b, c: the colors are respectively 1, 1, 2, 3, although the graph is bipartite and has chromatic number 2.

Teaching detail. The proper-coloring invariant can be proved edge by edge: for every edge uv, whichever endpoint is processed later explicitly avoids the earlier endpoint's color. For the degree bound, a vertex with d neighbors sees at most d distinct forbidden colors, so among colors 1 through d+1 at least one remains. On a complete graph with r vertices, Δ=r−1 but r colors are necessary, refuting C. The four-vertex path example refutes optimality without compromising correctness: greedy remains proper while using an avoidable third color.

Original paper, page 58 · Answer key