Basic of Graph Theory
Basic of Graph Theory
INTRODUCTION
Brief History of Graph Theory
One of the most important tools in modern mathematics is the theory of
graphs. The development of graph theory was very similar to that of
probability theory, where much of the original work was motivated by
efforts to understand games of chance. Large portions of graph theory have
been motivated by the study of games and recreational mathematics. The
origin of graph theory is attributed to a paper by Leonard Euler Published in
1736. He solved the famous Konigsberg seven bridges problem [13]. This
later paved the way to the concept of an Eulerian graph. For the next
hundred years nothing more was done in this field.
In 1847, Gustuv R. Kirchhoff developed the theory of trees for their
applications in electrical networks [10]. Arthur Cayley one of the founding
fathers of graph theory, became interested in graph theory for the purpose of
counting trees. In 1857, he was trying to count the number of structural
isomers of the saturated hydrocarbons CkH2k+2. He used a connected graph to
represent the CkH2k+2 molecules. Corresponding to their chemical valences, a
carbon atom was represented by a vertex of degree four and a hydrogen
atom by a vertex of degree one (pendant vertex). The total number of
vertices in such a graph is
n = 3k + 2,
and the total number of edges is
e = ½ (sum of degrees) = ½ (4k + 2k + 2) = 3k + 1.
Since the graph is connected and the number of edges is one less than the
number of vertices, it is a tree. Thus the problem of counting structural
1
isomers of a given hydrocarbon becomes the problem of counting trees. In
Cayley’s classic paper [5], a great deal of work has been done on counting of
different types of graphs and results have been applied for solving some
practical problems. Later, J. C. Maxwell, James J. Sylvester, George Polya
and others used trees to enumerate chemical molecules.
The study of cycles on polyhedra by Thomas P. Kirkman and William R.
Hamilton led to the concept of a Hamiltonian graph. At the time of Cayley
and Kirchhoff, two milestones were created. One was related to the four
color conjecture which states that “four colors are sufficient to color any
map on a plane in such a way that no two adjacent regions have the same
color” [29]. The other was related to the puzzle put forth by Sir William
Rowan Hamilton known as an icosian game [10].
The four color problem was first stated by Francis Gutherie in 1852, and a
proof by Alfred Bray Kempe appeared in 1879, which was incorrect. A
simpler computational proof was subsequently produced by Neil Robertson,
Daniel Sanders, Paul Seymour and Robin Thomas in 1994 [28]. In 2000
Ashay Dharwarkar offered a totally different proof of the four colour
problem. Using complex group theory, Steiner’s systems and Hall
matchings. The proof was long and turned out be the most refined proof of
that time without the use of computer. Later Peter Dorre [30] and F. A.
Alhargan [3] gave simpler independent proofs for the four color theorem
without using computers. For solving the four colors problem, a map was
converted to a graph by treating the regions as vertices and the common
boundary as edges. Vertex coloring and edge coloring of graphs forms a
major topic in the study of graph theory.
This fertile period was followed by half a century of relative inactivity. Then
a resurgence of interest in graphs started during the 1920’s. One of the
2
pioneers in this period was D. Konig. He organized the work of other
mathematicians and his own and wrote the first book on the subject, which
was published in 1936 [10].
The next 30 years were a period of intense activity in graph theory both pure
and applied. A great deal of research was done in this area. The main
contributions were of Claude Berge, Oystein Ore, Paul Erdos, William Tutte
and Frank Harary.
A graph is a very convenient and natural way of representing the
relationships between objects, the objects being represented by vertices and
the relationship between them by lines.
A graph can also be used as a mathematical model for solving graph-
theoretic problems, and then interpreting the solution in terms of the original
problem.
Most of the problems in graph theory can be classified under the following
categories:
(1) Existence problems (2) Construction problems
(3) Enumeration problems (4) Optimization problems
3
Basic Definitions of Graph Theory [10, 16]
Definition 1.1: Graph
A graph G is an ordered pair of a set of vertices and a set of edges
i.e. G = (V, E) where V is the set of vertices and E is the set of two
point subset of V. Fig. 1.1 represents a graph with five vertices and six
edges.
4
Definition 1.3: Strongly connected diagraph
A diagraph G is said to be strongly connected if there is at least one directed
path from every vertex to every other vertex. A diagraph G is said to be
weakly connected if its corresponding undirected graph is connected but G is
not strongly connected. Fig. 1.2 represents the strongly connected diagraph
and Fig. 1.3 represents the weakly connected diagraph.
6
Definition 1.15: Pendant or End vertex
A vertex of degree one, is called a pendant vertex or an end vertex. In Fig.
1.4 v3 is pendant vertex.
Definition 1.16: Adjacent vertices
Two vertices vi and v j in a graph G are called adjacent if there is an edge e
7
Definition 1.21: Complete graph
A simple graph in which there exists an edge between every pair of vertices
is called complete graph. The complete graph with n vertices is denoted by
Kn. In this graph, degree of every vertex is n-1 and number of edges are nC2.
8
Definition 1.24: Bidegreed graph
A n-connected simple non-regular graph G is called bidegreed if each vertex
of G has degree either or n 1 n 1.
Definition 1.25: Bipartite graph
A graph G = (V, E) is called bipartite graph if the vertex set V can be
partitioned into two non-empty subsets X and Y (i.e. V = X ∪ Y) such that
each edge e E has one end vertex in X and other end vertex in Y. In this
case, X and Y are called partite sets of the bipartite graph G. It is denoted by
G =(X, Y, E).
9
Definition 1.27: Complete bipartite graph
Let G = (X, Y, E) be a partite graph with partite sets X and Y such that
cardinality of X is m and cardinality of Y is n then G is called a complete
bipartite graph if for any vertex u X and a vertex v Y, there is an edge e
whose one end vertex is u and other is v. It is denoted by Km, n. The number
of edges in this graph is equal to mn.
10
Definition 1.29: Tree
A tree is a connected graph without any cycles. Obviously tree cannot have
self loops or parallel edges.
11
For example the Fig. 1.15 represent the cyclic graph C3 with three vertices.
v4 v3
Fig.1.16: Subgraph of the graph in Fig. 1.1
Definition 1.33: Spanning subgraph
A subgraph H = (V', E') is called spanning subgraph of the graph G if V'=V.
Definition 1.34: Induced subgraph
A subgraph H = (V', E') is called an induced subgraph of the original graph
G if each edge in G joining two vertices of H in H. For example the Fig.
1.16 is also induced subgraph of the graph G in Fig.1.1.
Definition 1.35: Proper Coloring
Suppose G is a graph. A coloring of the vertices of G in such a way that no
adjacent vertices get the same color is called a proper coloring of G.
Definition 1.36: Chromatic number
Minimum number of colors required for proper coloring of a graph is called
chromatic number.
12
Definition 1.37: Walk
Let G = (V, E) be a graph and u, v V. Then a walk in G from u to v is a
finite alternating sequence v0(= u)e1v1…….vk-1ekvk(= v) of vertices and
edges such that ei = {vi-1 , vi}for i=1,2,3,……,k. The number k is called the
length of the walk.
Definition 1.38: Path
A walk in which all the vertices are distinct is called a path. The number of
edges present in such type of path is called length of the path.
Definition 1.39: Trail
A walk in which all the edges are distinct is called trail.
Definition 1.40: Distance
Let G = (V, E) be a connected graph and u, v V. Then the length of the
shortest path from u to v is called length from u to v. It is denoted by d(u, v)
or dG(u, v).
Definition 1.41: Eccentricity
Let G be a connected graph and u V , then the eccentricity of u is defined
by
E u max d u , v
vV
v u
.
Definition 1.42: Radius
The minimum of the eccentricities is called the radius of the graph G i.e.
R G min E u .
uV
13
Definition 1.44: Pigeonhole Principle
Proof: Since the degree of a vertex is the number of edges incident with that
vertex, the sum of the degree counts the total number of times an edge is
incident with a vertex.
Since every edge is incident with exactly two vertices, each edge gets
counted twice, once at each end.
Thus the sum of the degrees equals twice the number of edges. □
Theorem 1.2 [4]: In a non directed graph, the total number of odd degree
vertices is even.
Proof: Let G = (V, E) a non directed graph.
Let U denote the set of even degree vertices in G and W denote the set of
odd degree vertices.
Then
degv degv degv
v i V
i
v i U
i
v i W
i
2e degv degv
v i U
i
v i W
i
14
Now degv is also even.
vi W
i
Proof: Let G = (V, E) be a graph with n vertices i.e. V v1 , v 2 ,⋯, vn then
degree of each vertex 0 deg G vi n 1 because G is simple. If G contains a
vertex of degree zero then degree of remaining vertices is at most n 2.
Since there is vertices each of which degrees lies between 0 to n-1 hence by
pigeonhole principle, at least two vertices must have the same degree.
If each vertex of G has degree 1 deg G vi n 1 for each i 1,2,⋯, n 1 since
n vertices get degree between 1 to n-1 hence by pigeonhole principle two
vertices must have the same degree. □
Theorem 1.4: A graph G is disconnected if and only if its vertex set V can
be partitioned into two non-empty, disjoint subsets V1 and V2 such that there
exists no edge in G whose one vertex is in subset V1 and the other is in
subset V2.
Proof: Let V1 and V2 be such a partition of the vertex set of G. Let a and b
be any two arbitrary vertices of G such that a V1 and b V2 .
Assume, G be connected. But there is no path between a and b, since,
otherwise there would be at least one edge whose one end vertex is in V1 and
15
the other in V2 which contradicts our assumption. Therefore G is
disconnected.
16
If possible, an edge e whose end vertices are w1 and w2 both are in YH. Then
there is a path from u to w1 of odd length and also there is path from u to w2
of odd length.
If we join these two paths with an edge e, then we get a cycle of odd length,
by hypothesis which is contradiction. Hence H is bipartite.
Since H is arbitrary nontrivial component of G, this implies that each
nontrivial component of G is bipartite.
Hence G is bipartite graph. □
APPLICATIONS OF GRAPH THEORY
1. Graphs in Markovian process [13]
Markov analysis is a way of analyzing the current movement of some
variable. As a management tool, Markov analysis has been used during the
last several years, mainly as a marketing aid for examining and predicting
the behavior of customers from the stand point of the loyalty to one brand
and their switching patterns to other brands.
The transition probability pij is the probability that the system presently in
state Ei will be in state Ej at some later step. Whenever a new result or
outcome occurs, process is said to have incremented one step. Each step
represents a time period or any other condition which would result in
another state.
A state-transition matrix is a rectangular array which summarizes the
transition probabilities for a given Markov process. In such a matrix the
rows identify the current state of the system being studied and column
identify the alternative states to which the system can move.
17
For example, if Ei is the ith state of a stochastic process and pij is the
transition probability of moving from state Ei to the state Ej in one step.
Then, a one stage state-transition matrix P is given below.
18
The arrow in the diagraph indicates the possible states to which a process
can move from the given state. Such a diagraph is given in Fig. 1.17 and
corresponds to the transition matrix in Table 1.1.
19
4. Graphs in Groups
A group of order n can be represented by a strongly connected diagraph of n
vertices, in which each vertex corresponds to a group element and edges
carry the label of a generator of the group. Thus the graph of a cyclic group
of order n is a directed circuit of n vertices in which every edges has the
same label. The diagraph of a group uniquely defines the group by
specifying how every product of elements corresponds to a directed edge
sequence. This diagraph, known as the Cayley diagram, is useful in
visualizing and studying abstract groups. Coding theory uses groups and as
such graph theory plays an important role in it.
20