Professional Documents
Culture Documents
final-year-project-graph-coloring-123456789
final-year-project-graph-coloring-123456789
ABSTRACT
Graph coloring is one of the most important concepts in graph
theory and it has huge number of application in daily life. Graph
coloring is still a very active field of research. The proper coloring of
a graph G is the coloring of the vertices and edges with minimum
numbers of colors. Such that no two vertices should have the same
color .The minimum number of color is called the Chromatic number
(G) and the graph G is called Properly Colored Graph. The
chromatic polynomial is a graph polynomial studied in algebraic
graph theory. It counts the number of graph colorings as a function
of the number of colors. This paper also presents the application of
graph coloring and its importance in various fields.
lOMoARcPSD|44043650
CONTENTS
INTRODUCTION 1
1 PRELIMINARIES 3
2 GRAPH COLORING 10
3 CHROMATIC NUMBER,
CHROMATIC POLYNOMIAL, 23
GREEDY ALGORITHM
4 APPLICATION OF GRAPH 34
COLORING
CONCLUSION 39
BIBILIOGRAPHY 40
lOMoARcPSD|44043650
INTRODUCTION
CHAPTER-1
PRELIMINARIES
DEFINITION 1.1
DEFINITION 1.2
DEFINITION 1.3
DEFINITION 1.4
DEFINITION 1.5
DEFINITION 1.6
EXAMPLE 1
Figure 1
DEFINITION 1.7
DEFINITION 1.8
EXAMPLE 2
Figure 2
DEFINITION 1.9
EXAMPLE 3
In figure 3, vertices ‘d’ and ‘a’ are connected, as their exist a path
between them, such as the path.
In figure 4, vertices ‘a’ and ‘c’ are not connected, as there is no path
between them .We conclude that the graph is disconnected.
lOMoARcPSD|44043650
Figure 3 Figure 4
TABLE 1
a b ab ab
a c a b c, a c Not Available
a d a b c d, a c d Not Available
b c b d c, b c Not Available
c d cd cd
DEFINITION 1.10
DEFINITION 1.11
DEFINITON 1.12
DEFINITION 1.13
A graph is called planar if one can draw the graph such that no
two edge cross.
DEFINITION 1.14
Figure 3
lOMoARcPSD|44043650
DEFINITION 1.15
DEFINITION 1.16
Figure 5
lOMoARcPSD|44043650
DEFINITION 1.17
A complete graph is a graph G in which every vertex is
adjacent to every other vertex in G. A complete graph containing
n vertices is referred to as the complete graph on n vertices and
is denoted Kn.
Some example of a complete graphs are shown in Figure 8
CHAPTER 2
GRAPH COLORING
2. GRAPH COLORING
Figure 7
Figure 8
DEFINITION 2.1.1
EXAMPLE 2.1.2
G1 G2 G3
(a) (b) (c)
G4 G5 G6
(d) (e) (f)
Figure 9
a) (G1)=6
b) (G2)=3
c) (G3)=2
d) (G4)=2
e) (G5)=3
f) (G6)=4
lOMoARcPSD|44043650
Assume the four color conjecture holds and let G be any plane
map.
If the four color conjecture is ever proved, the result will be best
possible, for it is easy to give examples of planar graphs which are 4-
chromatic, such as K4 and W6 (see Figure 10 below)
Figure 10
THEOREM 2.1.4
COROLLARY 2.1.5
THEOREM 2.1.6
Proof
Observe that each new vertex added has degree 3 in figure 11.
If G contains a vertex v0 of degree n≥4 incident with edges x1, x2, ...
xn , arranged cyclically about v0 , we subdivided each xi producing a new
vertex vi .
After
deg v =2
y Before z y z
u w
x1 x2 x1 x2
v1 v2
deg v0 = n≥4 v0
x3 vn v3
x4 xn x4 v4 x3
If for each vertex v of G with deg v≠3, we identify all the newly
added vertices associates with v in the formation of G´, we arrive at
G once again .Thus, let there be given a 4-colouring of G´. The above
mentioned contradiction of G´ into G induces an m-coloring of G,
m≤4, which complete the proof.
THEOREM 2.1.7
THEOREM 2.1.8
∆ ≤ ´ ≤ ∆+1
´=∆ ´=∆+1
Figure 12 The two values for the line chromatic number
Proof
V1
V5 V2
V4 V3
Figure 13
Suppose that there is no V2 -V5 path G-v all of whose vertices are
colored red or blue. (So there is no red-blue kempe chain G-v
containing both V2 to V5).In this case, let’s be the set of all red and
blue vertices of G-v connected to V5 by red-blue path. Certainly
lOMoARcPSD|44043650
V5
V2 V1 V2 V5 V1
V5 V2 V5 V2
V2 V3 V4 V3
Figure 14
V1
V1
V5 V2 V5 V2
V4 V3 V4 V3
Figure 15
DEFINITION 2.2.1
EXAMPLE 2.2.2
(a) (b)
Figure 16
CHAPTER 3
GREEDY ALGORITHM
DEFINITION 3.1.1
Painting all the vertices of a graph with colors such that no two
adjacent vertices have the same color is called the proper coloring of
a graph.
DEFINITION 3.1.2
EXAMPLE 3.1.3
V5
V2
V1 V4
Figure (a) V3
lOMoARcPSD|44043650
V5
V1 V4
V2
Figure (b) V3
V3
V1 V5
V2
Figure (c)
V4
The above figure shows: Proper coloring of a graph.
Figure 17
Rules:-
THEOREM 3.2.2
Proof
Figure 18
The converse of the above theorem is not true, i. e., every 2-chromatic
graph need not be a tree.
Step 2:- Now considering the remaining (V-1) vertices one by one &
do the following
PROBLEM 3.3.2
Figure 19
Solution:-
Applying Greedy Algorithm, we have
Vertex: a b c d e f
Color: C1 C2 C1 C2 C1 C2
From here,
The given graph may be properly colored using 2 colors are shown in
the next page.
lOMoARcPSD|44043650
PROBLEM 3.3.3
Figure 20
Solution:-
Applying Greedy Algorithm, we have
Vertex: a b c d e f
Color: C1 C2 C2 C3 C3 C1
lOMoARcPSD|44043650
From here,
The given graph may be properly colored using 3 colors are shown
below
PROBLEM 3.3.4
Figure 21
lOMoARcPSD|44043650
Solution:-
Applying Greedy Algorithm, we have
Vertex a b c d e f g h i
Color C1 C2 C1 C2 C1 C2 C1 C2 C3
From here,
The given graph may be properly colored using 3 colors are shown
below
3.4.1 DEFINITION
( ) different ways,
𝑖
(−1) (−1)(−2)
= 𝐶1 + 𝐶2 + 𝐶3 +
1! 2! 3!
(−1)(−2)…(−𝑛+1)
… + 𝐶𝑛
𝑛!
𝐶𝑛 = 𝑛!
PROBLEM 3.4.2
Find the chromatic polynomial and hence the chromatic number for
the graph
a d
c f
G:
b e
Figure 22
CHAPTER 4
4.1.1 SUDOKU
Filling the table with the numbers must follow these rules:
1 2 3 4
3 4 1 2
2 3 4 1
4 1 2 3
3 3
MA S
H:
G 2 1 AC 4 LA
Figure 23
lOMoARcPSD|44043650
CONCLUTION
The major purpose of our project is to study detailed about
Graph coloring. Graph coloring enjoys many practical applications
as well as theoretical challenges. The main aim of this paper is to
present the importance of various types of coloring, Chromatic
number, Chromatic polynomial, Greedy Algorithm. An overview is
presented especially to project the applications of graph coloring in
Graph theory. All related information and examples related to the
topic are shown throughout the project.
lOMoARcPSD|44043650
BIBLIOGRAPHY