- Asked 3/9
- 2071 Bhadra · 2+2 marks
- 2070 Magh · 2+2 marks
- 2070 Bhadra · 4 marks
Graph coloring and chromatic number
Short answer
Graph coloring assigns colors to vertices so adjacent vertices get different colors. The chromatic number (chi) is the minimum number of colors needed. For example, chi(Kn)=n, chi(bipartite graphs)=2, chi(C5)=3.
Define the term graph coloring and the chromatic number of a graph.
Graph coloring
A graph coloring (vertex coloring) of a simple graph is an assignment of colors to its vertices so that no two adjacent vertices get the same color. A coloring that satisfies this rule is called proper.
Chromatic number
The chromatic number χ(G) is the smallest number of colors needed for a proper coloring of G. To show χ(G) = k, show that k colors suffice and that fewer than k colors cannot work.
Standard values
| Graph | χ |
|---|---|
| Kₙ | n |
| Cₙ, n even | 2 |
| Cₙ, n odd | 3 |
| Bipartite graph with at least one edge, tree | 2 |
| Any planar graph | ≤ 4 (Four Color Theorem) |
Also χ(G) ≤ Δ(G) + 1 (greedy coloring).
Example
Triangle K₃ with vertices a, b, c: all three are mutually adjacent, so they need 3 different colors, χ(K₃) = 3. The square C₄ (a–b–c–d–a): color a, c red and b, d blue, so χ(C₄) = 2.
Application: scheduling exams, where courses are vertices, an edge joins courses sharing a student, and colors are time slots.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Draw K6 and its chromatic number · Discrete Structure, chapter 4 · asked 4×
- Draw K5 and its chromatic number · Discrete Structure, chapter 4 · asked 4×
- Draw K3,4 and its chromatic number · Discrete Structure, chapter 4
- Chromatic number of K5, Km,n, Cp · Discrete Structure, chapter 4
- Draw K3,4 and C5; chromatic numbers · Discrete Structure, chapter 4 · asked 4×
- Draw K4,5 and C6; chromatic numbers · Discrete Structure, chapter 4 · asked 4×
- nth Fibonacci term prime check · Computer Programming, chapter 6
- Define co-ordination number with example · Engineering Chemistry, chapter 6
- Define effective atomic number (EAN) · Engineering Chemistry, chapter 6