GATE CS 2024 Set 2 — Question 60
NAT+2 / -0MediumGraph ColoringGraph Theory (Math)Engineering Mathematics
Engineering Mathematics → Graph Theory (Math) → Graph Coloring
Last updated
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 _________

Correct answer
2 to 2
Solution
The chromatic number of a graph is the smallest number of colors needed to color the vertices so that no two adjacent vertices share the same color.Let's analyze the structure of the given graph:
1.Vertices: It has 8 vertices, arranged as an outer square (4 vertices) and an inner square (4 vertices).
2.Edges:
- The outer vertices form a cycle of length 4 ().
- The inner vertices form a cycle of length 4 ().
- Each outer vertex is connected to two inner vertices.
- Color the outer cycle alternatingly: Top-Outer (R), Right-Outer (B), Bottom-Outer (R), Left-Outer (B). This is valid for the outer square.
- Color the inner cycle alternatingly: Top-Inner (R), Right-Inner (B), Bottom-Inner (R), Left-Inner (B). This is valid for the inner square.
- Now check the cross connections. Visually, the Top-Outer vertex (R) is connected to the Left-Inner (B) and Right-Inner (B) vertices. This is a valid connection (Red to Blue).
- Similarly, the Right-Outer vertex (B) connects to Top-Inner (R) and Bottom-Inner (R). This is valid (Blue to Red).
- By symmetry, all other connections also respect the coloring (Red connected only to Blue).
More questions on Graph Theory (Math)
2024 Set 2 Q3In an engineering college of 10,000 students, 1,500 like neither their core branches nor other…2024 Set 1 Q11Let be a function such that…2024 Set 2 Q12Let and be the following propositions: : Fail grade can be given. : Student scores…2024 Set 1 Q12The product of all eigenvalues of the matrix…2024 Set 1 Q14Consider a permutation sampled uniformly at random from the set of all permutations of…
Practice GATE CS PYQs with adaptive difficulty
Timed practice, skill tracking, and AI explanations — free to start.
Start practicing free