Professional Documents
Culture Documents
Colouring 1
Colouring 1
Colouring 1
GRAPH COLORING
A k-coloring of (the vertex set of) a graph G is a function c : V (G) → {1, 2, ..., k}
such that c (u) = c (v) whenever u is adjacent to v. If a k-coloring of G exists, then
G is called k-colorable. The chromatic number of G is defined as
Given a k-coloring of G, the vertices being colored with the same color form
an independent set. Let G be a graph with n vertices and c a k-coloring of G. We
define
Vi = {v : c (v) = i}
for i = 1, 2, ..., k. Each Vi is an independent set. Let α(G) be the independence
number of G, we have
|Vi | ≤ α (G) .
Since
n = |V1 | + |V2 | + · · · + |Vk | ≤ k · α (G) = χ (G) α (G) ,
we have
n
χ (G) ≥ . (6.2)
α (G)
n
These bounds can be very far off. For (6.2), there are graphs with α(G) < 2 but χ (G)
arbitrarily large.
(6.1) is not much better either. There are graphs with χ(G) > ω(G), for
example, C5 . χ(C5 ) = 3 and ω (C5 ) = 2. Let G and H be two graphs. We define the
join of G and H, G ⊕ H to be the graph obtained by joining every vertex in G with
68 Graph coloring
χ (G1 ) = 6, ω (G1 ) = 4
χ (G2 ) = 12, ω (G2 ) = 8
χ (G3 ) = 24, ω (G3 ) = 16
···
χ (Gp ) = 3 · 2p , ω (Gp ) = 2p+1
χ (Gp ) − ω (Gp ) = 2p
The difference between χ (G) and ω (G) can be arbitrarily large. Furthermore, even
when ω (G) = 2, we can have χ (G) arbitrarily large.
When ω (G) = 2, G is called triangle-free.
6.1.1 Tutte’s construction of triangle-free k-chromatic graphs
We construct Gk recursively.
G2 = K2 .
Let nk = |Gk |, the number of vertices in Gk .
Suppose that Gk−1 has been built. Let Ik be an independent set of (nk−1 − 1) (k − 1)+
1 vertices. For every (k − 1)-subset of Ik , we take a copy of Gk−1 and match the ver-
tices in that copy to the vertices in the (k − 1)-subsets. The result is Gk .
Example: G3 .
a
e
B1 B3
B1 c d B
b 3
d
c
B2
B2
f h
B4 g B6 g
h
B5
i j k l B4 B5 B6
G B (G)
B (G) is always a tree. (Why?) If a block is a leaf in B (G), we say that block is an
end-block.
Proof of Brook’s Theorem: The theorem is true for k = 2: If G does not contain any
odd cycles, then G is bipartite therefore χ (G) ≤ 2. Let k > 3 be the first value of
∆ (G) such that the theorem is not true and let G be a counter example with the
least number of vertices. That is, ∆ (G) = k, χ (G) > k and every graph with less
vertices than G that has maximum degree k can be coloured with k colours.
Claim 1: G must be connected. Then either one of the components of G is a smaller
counter example or all its components can be coloured with k colours therefore G can
be coloured with k colours. Either way, there is a contradiction.
Claim 2: G must be 2-connected. Suppose that G contains a cut-vertex u. Each
block of G can be coloured with k colours. Then we can combine those k-colourings
together to obtain a k-colouring of G. This is a contradiction.
Planar graphs and the Four Colour Theorem 71
Claim 3: G must contain three vertices u1 , u2 and v such that u1 is not adjacent to
u2 ; both u1 and u2 are adjacent to v and G − {u1 , u2 } is connected.
Case 1: G is 3-connected. Since G is not a completed graph, there are two
vertices x and y such that x is not adjacent to y. Let the shortest path from x to y
be x = v0 , v1 , ..., vp = y and p ≥ 2. Since this path is the shortest, v0 is not adjacent
to v2 . Then we can choose u1 = v0 , u2 = v2 and v = v1 .
Case 2: G is 2-connected but not 3-connected. There exist two vertices u
and v such that G − {u, v} is disconnected. Then G − v contains cut-vertices (for
example, the vertex u). However, there is no cut-vertex in G. So v must be adjacent
to at least one vertex in every block of G − v. Let u1 and u2 be two vertices in two
different end-blocks of G − v that are adjacent to v. The triple u1 , u2 and v satisfy
the conditions of Claim 3.
Then we order the vertices of G in such a way that v1 = u1 , v2 = u2 and
vn = v. v3, v4 , ..., vn−1 are ordered in such a way that if i < j then the distance from
v to vi is greater than or equal to the distance from v to vj for all 3 ≤ i, j ≤ n − 1.
When we apply the greedy algorithm to G according to this ordering, v1 and v2 will
be coloured with colour 1. When we are colouring vi (i < n), there is at least one
neighbor of vi that has not been coloured. Therefore, there is at least one colour
available for vi if we have k = ∆ (G) colours. When we are colouring the last vertex
vn = v, at most ∆ − 1 colours were used on the neighbors of v (since v1 and v2 are
coloured with the same colour), and there is at least one colour for v. This shows
that G can be coloured with k colours as well.
4r ≤ 2e
1
r ≤ e.
2
That will imply
1
v−e+ e ≥ 2
2
1
v ≥ e+2
2
e ≤ 2v − 4. (6.6)
Theorem 6.3.3 (Tutte 1958) A graph G is planar if and only if for every cycle C
in G, the conflict graph of C is bipartite.
It is easy to see that why for a planar graph G, the conflict graph must be
bipartite. In a planar embedding of G, all the H-bridges are either inside of C or
outside of C. The ones on the same side cannot be conflicting.
1 4 3
4
3
5 2
2 5
K5 The conflicting graph.
74 Graph coloring
x1 y1 x1 y1
1
1 2
3
x2 y2 y3 x2
x3 y3 x3 y2 2 3
K3,3 Another drawing of K3,3 The conflicting graph.
Example 6.3.6
6
7
8 1
1
7 2 2
3
6 3
5 4
8
5 4 →
The first subgraph H used is the cycle 1, 2, 3, 4, 5. Then the path 3, 7, 6, 5....
Planar graphs and the Four Colour Theorem 75
Example 6.3.7
8 1 5 1
7 2 6 2
6 3 7 3
5 4 → 8 4
For the cycle 1, 2, 3, 4, 8, 7, 6, 5, the edges 14, 27, 36 are all crossing. The graph
is nonplanar.
6.3.4 The chromatic number of a planar graph
(6.5) implies that for a planar graph G, the degree sum has the upper bound
deg(v) = 2e ≤ 6v − 12.
v
There is a vertex with degree at most 5. Since every subgraph of a planar graph is
also a planar graph, every subgraph of G has a vertex with degree at most 5. By
Theorem 6.2.2, χ (G) ≤ 6. So the six color theorem is easy to proof. With a little of
more work, we can prove the five color theorem:
Theorem 6.3.8 Every planar graph G has chromatic number at most five.
Proof. Suppose that the theorem is not true. Let G be the smallest planar
graph ( in terms of number of vertices ) that cannot be colored with five colors. Let
v be a vertex in G that has the minimum degree. We know that deg (v) ≤ 5.
Case 1: deg (v) ≤ 4. G − v can be colored with five colors. There are at most
colors have been used on the neighbors of v. There is at one color available for v. So
G can be colored with five colors, a contradiction.
Case 2: deg (v) = 5. G − v can be colored with five colors. If two of the
neighbors of v are colored with the same color, then there is a color available for v.
So we may assume that all the vertices that are adjacent to v are colored with colors
1, 2, 3, 4, 5 in the clockwise order. We will call these vertices v1 , v2, ..., v5 . Consider all
the vertices being colored with colors 1 or 3 (and all the edges among them). If this
subgraph G is disconnect and v1 and v3 are in different components, then we can
switch the colors 1 and 3 in the component with v1 . This will still be a 5-coloring of
G − v. Furthermore, v1 is colored with color 3 in this new 5-coloring and v3 is still
colored with color 3. Color 1 would be available for v, a contradiction. Therefore v1
and v3 must be in the same component in that subgraph, i.e., there is a path from
v1 to v3 such that every vertices on this path is colored with either color 1 or color 3.
76 Graph coloring
Similarly, there is a path from v2 to v4 such that every vertices on that path has either
color 2 or color 4. These two paths must intersect even though they have no vertex
in common. Then there must be two edges crossing each other. This contradiction
concludes the proof.