Module 3 Topic 3 Lesson 3 Graph Coloring
Module 3 Topic 3 Lesson 3 Graph Coloring
Module 3 – Topic 3
Graph Theory
Lesson 3: Graph Coloring
Introduction
Graph coloring is another aspect of graph labeling. Here, the main
objective is to color the vertices of the graph with the least possible
number of colors such that no two adjacent vertices share the same
color. Although this may appear just yet another tricky mathematical
problem, graph coloring has found its way into countless applications
of practical values.
The accelerated interest in graph theory can be attributed to graph
coloring. In fact, it took almost a hundred years for a classical
problem to be settled—the Four Color Theorem. It states that if a
graph can be drawn such that its edges do not intersect, then it takes
no more than four colors for its vertices to be colored (again, no two
adjacent vertices share the same color).
Learning Outcomes
Three utility companies each need to run pipes to three houses. Can
they do so without crossing over each other’s pipes at any point? The
puzzle is illustrated in the figure below. Go ahead and try to draw
pipes connecting each utility company to each house without letting
any pipes cross over each other.
Preliminary: Planar Graphs
When modelled as a graph, we can configure the following:
E F
Example
Let us try to exhibit a (proper) coloring of A
the graph shown on the right. First, color
vertex A with red. This forces a different C
color to the vertices B, C, E, and F since B
these 4 vertices are all adjacent to A.
D
E F
Example
Let us try to exhibit a (proper) coloring of the graph shown
on the right. First, color vertex A with red. This forces a A
different color to the vertices B, C, E, and F since these 4
vertices are all adjacent to A. C
B
Let us assign blue to B.
This also permits C to be assigned blue also (why?). D
A new color, say green, has to be assigned to E since it is
adjacent to C. Similarly, F may be assigned a green color.
Finally, since D is not adjacent to A, this vertex can also
use red. E F
Thus, we need only 3 colors to exhibit a coloring of the
graph.
This shows that 𝜒(G) = 3, or that the graph is 3-colorable.
Remarks
M24 M23
Application: Traffic Light
A B
F C
E D
Application: Traffic Light
A B
F C
E D
Application: Traffic Light
E D