Skip to content
GATEiit

GATE CSE 2018 Q28: Chromatic number of a six-vertex graph

Syllabus topic: Graphs: connectivity, matching and colouring

Question

The chromatic number of the following graph is _______.

Undirected graph with six vertices a, b, c, d, e, f. Edges: a–e, a–b, a–c, c–e, c–d, c–b, b–d, b–f, d–f, e–f. (a top-left, e top-right, c and d in the middle, b bottom-left, f bottom-right.)
Tap the figure to enlarge

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 3 (official GATE 2018 final answer key)

Concept used: Chromatic number: the fewest colours so that adjacent vertices differ; a triangle forces at least 3 colours.

Concept notes

Loading notes…

First step: Find a triangle to get a lower bound, then try to colour the rest of the graph greedily with that many colours.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Graphs: connectivity, matching and colouring

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2018 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key