A vertex -colouring of a graph
is a function
, such that
.
We say is
-colourable if there is a
-colouring of
.
Clearly
is
-colourable iff it is
-partite.
The chromatic number of a graph
is the minimum
for
which
is
-colourable.
Given an ordering
of
, the greedy algorithm
colours the vertices sequentially, giving vertex
the smallest
colour in
that is not in
.
Clearly the number of colours used by the greedy algorithm depends
on the order of the vertices. Furthermore given a colouring that
uses only colours it is possible to order the vertices so that
the greedy algorithm will use no more than
colours.
Given a graph ,
Therefore the greedy colouring algorithm colours all graphs with no
more than
colours, so
.
Let
. Let
. Let
be a vertex in
with degree
. Certainly
. Let
,
.
The sequence
presents to the greedy
colouring algorithm a series of vertices which have had at most
neighbours already coloured.
Therefore at most
colours can
be used.
This bound is certainly exact for a complete graph.
If is connected then
, unless
is
complete or
is an odd cycle.
Let
.
If
then by 7.5 there is a
subgraph
of
with
(
is
-regular). But
is connected and no vertex not in
can
connect to
, so
and
is
-regular.
Now suppose . Then
. Suppose
. Then
. Therefore we need only consider
.
Sorry, but the rest of the proof will be omitted. The method is to
take a vertex of degree (the minimal degree) and as in the
proof of Vizing's theorem, consider the components
of vertices
coloured either
or
and the relationship its neighbours. By
considering switching
,
in these components one can show that
the neighbours are pairwise joined.
Let be a graph. Let
be the number of ways of colouring
using
colours.
Let be a graph. Let
. Then
is the graph
obtained by identifying the endpoints of
. That is if
joins
vertices
then for each edge
join
to
if
is not
already joined to
. Then remove
.
Let
. Then
.
is a polynomial in
. Furthermore,
with
,
and all
.
Now
,
, where
,
and all
.
Now by the theorem,
, so
, a polynomial of the same form.
John Fremlin 2010-02-17