Discrete Mathematics: Elementary and Beyond

(John Hannent) #1

202 13. Coloring Maps and Graphs


a


u


v


u 1


u 2


FIGURE 13.5. Bad 2-coloring yields an odd cycle.

13.2.1Prove that the graph obtained from the regions of a system of circles
contains no odd cycle.


13.3 Coloring graphs with many colors...............


Suppose that we have a graph, and we find that it cannot be colored with
two colors; we may want to color it with more colors. (The rule of the game
is the same: the two endpoints of any edge must be colored differently.) If we
have many colors, then we can just color every node with a different color.
If the graph hasnnodes, thenncolors are always sufficient. Obviously, if
the graph is complete, then we do needncolors, since every node must get
a different color (recall the Pigeonhole Principle!).
If we can color a graph withkcolors, we say that the graph isk-colorable.
The smallestkfor which the graph isk-colorable is called thechromatic
numberof the graph.
Suppose that we want to use, say, only 3 colors. Can we decide whether
they are enough to color the nodes? It turns out that going from 2 colors
to 3 is a real jump in difficulty.
We can try to proceed as in the case of 2 colors. Let the 3 colors be
red, blue and green. We start with any nodea, and color it red. This we
can do without loss of generality, since all colors play the same role. Then
we take a neighborbofa, and color it blue (this is still no restriction of
generality). Now we proceed to another neighborcofa.Ifcis connected
tobby an edge, then its color is forced to be green. But suppose that it
is not connected tob. Then we have two choices to colorc, blue or green,
and these arenotalike: It makes a difference whetherbandchave the
same color or not. So we make a choice and proceed. In the next step, we
may have to make a choice again, etc. If any of these choices turns out to
be wrong, we’ll have to backtrack and try the other one. Eventually, if a
3-coloring is possible at all, we’ll find it.

Free download pdf