My Project
My Project
PRODUCT OF GRAPHS
By
MCEMT-12-28
———————————————
BS MATHEMATICS (4-Years)
The undersigned hereby certify that they have read and recommend
to the Faculty of Graduate Studies for acceptance of a project entitled
“On Fixing Sets of Composition Product of Graphs” by Muhammad
Ahmad Raza in partial fulfillment of the requirements for the degree of
Bachelor of Sciences in Mathematics (4-Years).
ii
Dated: June, 2017
External Examiner:
Prof. Ghulam Sarwar
Research Supervisor:
Muhammad Shahbaz Aasi
Head of Department:
Prof. Dr. Zafar Iqbal
iii
GOVERNMENT EMERSON COLLEGE MULTAN
CERTIFICATE
Department: Mathematics
iv
It is certified that Muhammad Ahmad Raza has completed his project
work entitled: “On Fixing Sets of Composition Product of Graphs” for the
partial fulfilment of the requirement for the Degree of Bachelor of Sciences in
Mathematics (4-Years) under my supervision.
—————————————————
Muhammad Shahbaz Aasi
Lecturer
Govt. Emerson College, Multan. Department
of Mathematics.
GOVERNMENT EMERSON COLLEGE MULTAN
DECLARATION
v
DEDICATION
To my respected teachers, parents, siblings, classmates, friends
and the elders whose prayers, sacrifices and efforts made it
possible.
vi
Table of Contents
Table of Contents viii
Abstract x
Acknowledgements xi
Introduction 1
1 Basic Terminologies And Definitions 5
1.1 Basic Definitions And Concepts . . . . . . . . . . . . . . 5
1.2 Basic Types of Graphs . . . . . . . . . . . . . . . . . . . 6
1.2.1 Directed Graph . . . . . . . . . . . . . . . . . . . 6
1.2.2 Undirected Graph . . . . . . . . . . . . . . . . . . 7
1.3 General Types of Graphs . . . . . . . . . . . . . . . . . . 7
1.4 Terminologies of Graphs . . . . . . . . . . . . . . . . . . 12
1.5 Important Definitions . . . . . . . . . . . . . . . . . . . . 15
1.6 Graph Representation . . . . . . . . . . . . . . . . . . . 17
1.6.1 Adjacency Matrix and Adjacency List . . . . . . 17
1.7 Applications of Graphs . . . . . . . . . . . . . . . . . . . 18
1.7.1 Examples of Applications of Graphs . . . . . . . . 18
2 Fixing Sets of Graphs 19
2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.2 Fixing Sets and Numbers of Graphs . . . . . . . . . . . . 20
2.2.1 Fixing Sets and Numbers of Path Graphs . . . . .21
vii
2.2.2 Fixing Sets and Numbers of Cyclic Graphs . . . . 21
2.2.3 Fixing Sets and Numbers of Tree Graphs . . . . .22
2.3 Other related Definitions . . . . . . . . . . . . . . . . . . 22
2.4 Theorems . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.5 Examples .......................... 25
2.5.1 Example: 2.1 .................... 25 2.5.2 Example:
2.2 . . . . . . . . . . . . . . . . . . . . 28
Bibliography 31
viii
Abstract
A Fixing set F of the graph X is the set of vertices of the graph X when we fix it in the
graph, the graph will not attain its similar structure and remove all the
automorphisms except the graph with only one vertex. For any positive integer n > 1
the maximum fixing numbers for n vertices is n − 1. For path graphs, the fixing
number is 1 in two or more than two nodes. For cyclic graphs, the fixing number is 2
in three or more than three vertices or nodes. The number of vertices in the smallest
fixing set means the minimum cardinality of fixing set is called Fixing number,
denoted by fix(X) [10].
In this project, we study the fixing number fix(X) of composition product X1[X2] of
two graphs X1 and X2 with |X1| = m and |X2| = n. We show that X1 be a connected Graph
and X2 be any arbitrary graph than (i) If a ∈ O(b) for two distinct vertices a,b ∈ P(X1)
than (a,i) ∈ O(b,i) ∀ i ∈ P(X2), where (a,i),(b,i) ∈ P(X1[X2]). (ii) If j ∈ O(i) for two
P(X1[X2]) [16].
ix
Introduction
For example: Earth began with big bang, Math started with counting number 1, etc.
Similarly, graph theory started with Euler formula for finding the solution of “Seven
Bridges of Konigsberg” problem.
Long time ago in 1735, there was a person whose name was Leonhard Euler who
built the base of graph theory [8]. At that time, there was a famous problem of the
“Seven Bridges of Konigsberg”. In this problem, someone had to cross all the bridges
for only once. Euler proved to have no solution of this problem by representing it as
a graph in nice path shape in a set of nodes and links. This result of no solution of
this problem in graphical representation made the foundation of graph theory and
its further improvements in the field. The Eularian graph of The “Seven Bridges of
Konigsberg” is represented below:
A
g
c d
B D
e
a b
f
C
The first paper in the history of the graph theory was written by Euler on the
“Seven Bridges of Konigsberg” problem and it was published in 1736. After that
Vandermonde and Leibniz wrote a paper on Knight problem and both papers carried
L’Huillier studied and generalized the convex polyhedron with the help of Euler’s
formula relating the number of edges, vertices, and faces and represents the
progress in graph theory for hundred plus years after the Euler’s paper on the
bridges of Konigsberg, while Listing was introducing the concepts of topology. The
type of graph, Tree, was introduced by Cayley in particular analytical forms arising
from differential calculus. By tree graph, there had many illustrations for theoretical
properties. Cayley introduced Enumerative graph theory and its fundamental results
1959. After that the ideas of mathematics were diffused with chemistry by standard
The word graph was first introduced by Sylvester in 1878 and first textbook was
written by Denes Koenig on graph theory in 1936. The other textbook on graph
Scientists to interact each other in graph language was written by Frank Horary in
1969. This book was considered the world over to be the definitive textbook on
graph theory.
For making a map graph, it is very difficult to separate the boundaries by coloring.
This was the famous problem of that time which was known as the four-color
problem [18]: “Is it true for map in 2D may have its regions colored with four colors,
in such a way that any two regions having a common border line have different
colors?” This problem was first introduced by Francis Guthrie in 1852 and first
written record is in a letter of De Morgan sent to Hamilton in 1852 the same year.
Cayley, Kempe, and others gives many incorrect proves but the generalization of this
problem by Tait, Headword, Ramsey and Hadwiger make some different results. Tait
Petersen and Koenig. Works on coloration make a new branch of graph theory known
as extremal graph theory in 1941 but the four-color problem remain unsolved for
hundred plus
years.
Heinrich Heesch introduced a method for solving the four-color problem [3] using
introduced by Kenneth Appel and Wolfgang Haken in 1976 but it was not fully
accepted due to its complexity. After twenty years with 633 configurations prove
was introduced by Robertson, Seymour, Sanders and Thomas. Graph theory and
develops the graph theory. The techniques of modern algebra was the important
factor of development of graph theory and topology. For example physicist Gustav
Kirchhoff introduced the Kirchhoff’s circuit laws for calculating the voltage and
Erdos and Rnyi studied the asymptotic probability of graph connectivity that
For example: In transport geography, transport like road, transit and rail
networks can be defined more clearly by links and nodes. Maritime and air networks
can be defined by links and nodes but the links cannot defined clearly.
Similarly all things, situations, maps, structures, designs, etc. can be represented
as graphs in graph theory by nodes and links. This was the short introduction of
graph theory and now we will discuss further about project in the next chapters.
Chapter 1
Basic Terminologies And
Definitions
In this chapter we will recall the basic definitions and terminologies about graph
theory for understanding well about this project. We will discuss about graph theory,
graphs, types of graphs and the terminologies which we use in graphs. we will use
these concepts in further chapters of this project.
points V (G) that are connected by edges, arcs or lines E(G) representing any physical
Figure1.1:AGraph
1:Directed Graph
2:Undirected Graph
6
A directed graph or digraph G = (V,D) consists of finite set of vertices, nodes or points
V (G) and a finite set of directed edges, arcs or lines D(G) such that Each edge is an
ordered pair of vertices and the directed edges D(G) leaves from one vertex and
Figure1.2:ADirectedGraph
An undirected graph G = (V,E) consists of a set of vertices, nodes or points V (G) and a
set of edges, arcs or lines E(G) such that each edge is an unordered pairs of vertices
Figure1.3:AnUndirectedGraph
(A)
(B)
(A) (B)
(A) (B)
(B)
(A)
(B)
(A)
(B)
(A)
Figure1.16:ATreeGraph
A vertex, nodes or points are the positions where edges, lines or curves meet to
An edge, either directed or undirected is a link or line segment that connect one
node to itself for a loop or cycle and two different nodes to form a connection
between them.
Vertices
Edges
An edge must start from a vertex and it will must end to itself or other vertex,
The order of graph G = (V,E) is the number of vertices V (G) in that graph and
The size of graph G = (V,E) is the number of edges E(G) in that graph and
14
The degree of a vertex V (G) of a graph G = (V,E) denoted by deg(v) is the number
of edges connected to that vertex and a loop edge of that vertex counted twice while
Two vertices that are connected by edge, either directed or undirected, are called
An edge or link with just one endpoint means that point is initial also the
An edge by edge distance of one vertex to any other vertex in any direction in the
graph G = (V,E) is called a path and if there is a path from one vertex to another
If each pair of nodes or points in the graph are connected in both directions than
the graph is symmetric and if at least one pair relates to one direction than the graph
is asymmetric.
(A)
(B)
The number of edges or links that end at vertex v is called The in-degree of a
vertex v, denoted by deg (v) and the number of edges and links that start from vertex
v is −
A mapping between vertices of two graphs in which adjacent vertices maps with
adjacent vertices so that their structure remains same this mapping is called
homomorphism and if there is one-one and onto, bijection, between the
homomorphism mapping than mapping is called isomorphism.
(A)
(B)
U =
G G G UG
1 2 12
Sub-graph Graph
17
1: Adjacency matrix
2: Adjacency list
2 3
8
4 5
1 2 3 4 5 6 7 8
1 0 1 1 0 0 0 0 0 1 2 3
2 1 0 1 1 1 0 0 0 2 1 3 4 5
3 1 1 0 3 1 2 5 7 8
0 0 1 1 1
4 0 1 0 0 1 0 0 0 4 2 5
5 0 1 5 2 3 4 6
1 1 0 1 0 0
6 0 0 0 0 1 0 0 0 6 5
7 0 0 1 0 0 0 0 1 7 3 8
(B )
8 0 0 1 0 0 0 1 0 8 3 7
(A )
In this chapter we will discuss some more definitions and concepts related to fixing
sets and we also discuss some theorems related to basics of graph theory and fixing
sets. We will discuss fixing numbers of path, cycle and tree graphs. Also we will solve
some examples of fixing sets.
2.1 Introduction
For readers convenience, we recall some more definitions and concepts. If the
vertices of graph are linked together by edges either directed or undirected than
the other vertex or vertices, these vertex or vertices except v is called open
There was a problem for distinguishing vertices of graph that problem has studied
by Harary and Erwin in [13] and further studied by using two approaches. First
approach involves the concept of metric dimension/locaion number by Harary and
Melter [14]
19
20
and Slater [17]. Secend approach involves the concept of symmetry breaking by
Albertson and Collins [2] and Harary [12].The notion of fixing set has its application
Fixing set, denoted by F is the set of vertices when we fix it in the graph the graph
will not attain its similar structure and remove all the automorphism except the
graph with only one vertex. For any positive integer which is greater than one the
maximum fixing nodes for n vertices is n − 1, for path graph is 1 in more than two
nodes and for cyclic graph is 2 in more than three vertices or nodes, studied by
Harary and Erwin In [13].By Gibbons and Laison [6] set of vertices is fixing set if it is
a determining set.
In [1] Erwin and Harary introduced, The number of vertices in the smallest fixing
set means the minimum cardinality of fixing set is called Fixing number, denoted by
fix(G).
Some path graph are shown in figure and their fixing number and fixing sets are
shown including their general result.
1 2 1 2 3
Nodes Fixing sets
Fixing no.: 1 Fixing no.: 1
1 1
Fixing Sets:{1},{2} Fixing Sets:{1},{3}
2 2
1 2 3 4
3 2
4 4
Fixing no.: 1 5 4.
..
. ..
Fixing Sets: {1},{2},{3},{4}
1 2 3 4 5 Odd n n-1
Even n n
Fixing no.: 1
Fixing Sets: {1},{2},{4},{5}
Some cyclic graph are shown in figure and their fixing number and fixing sets are
shown including their general
result. Nodes Fixing sets
2 3
2 1 1
1 1
2 1
Fixing no.: 1 Fixing no.: 2 3 2
4 2
Fixing sets:{1},{2} Fixing sets:{1,2},{2,3},
5
.. 2
{1,3} . ...
2 1 3 2 1 3
Odd n 2
4 4 5
Fixing no.: 2 Fixing no.: 2 evenn select2 except
Even
For
Some tree graph are shown in figure and their fixing number and fixing sets are
shown including their general result.
1 1
General:
2 3 2 3 we will fix node from balance
root and fixing number in-
Fixing no.: 1 crease with the number of
Fixing sets:{2},{3} 4 balance root.
1
Fixing no.:1 1
Fixing sets:{1},{2},{3},{4}
2 3 1
2 3
5 4 2 3
5 67 4
Fixing no.:1
5 6 4 Fixing no.: 2
Fixing sets:{2},{3},{4},{5}
Fixing sets:{5,7},{5,4},
Fixing no.:1 {6,7},{6,4}
Fixing sets:{5},{6}
some distance from the vertices of locating set L and it can determined separately
while the number of vertices in minimum Locating set is called metric dimension.
exists α ∈ Γ(G) such that α(u) = v and we say that u is similar to v, denoted by u ∼ v,
23
simply it means a vertex which is connected to other graph vertices wherever that
G
1
G1 X G 2
G2
2.4 Theorems
Theorem 2.4.1. The minimum cardinality of locating set of graph G is 1 iff G is a path
graph.
Theorem 2.4.2. The minimum cardinality of locating set of n-vertex graph G is n−1 iff
G is a complete graph.
Theorem 2.4.3. The minimum cardinality of locating set of n-vertex graph G is n−2 iff
Theorem 2.4.4. Sum of degrees of vertices always equals to twice of number of edges
in the undirected graph.(Handshakelemma)
Theorem 2.4.5. Let G be a graph with directed edges the number of edges are equal to
the in-degree and out-degree of the vertices.
Theorem 2.4.6. Let X1 be a connected Graph and X2 be any arbitrary graph than (i) If
a ∈ O(b) for two distinct vertices a,b ∈ P(X1) than (a,i) ∈ O(b,i) ∀ i ∈ P(X2), where
(a,i),(b,i) ∈ P(X1[X2]).
(ii) If j ∈ O(i) for two distinct vertices i,j ∈ P(X2) than (a,j) ∈ O(a,i) ∀ a ∈ P(X1) in
P(X1[X2]).
Proof. (i)
we Know that For
a ∈ O(b)
The degree of vertices in X1 deg(a) = deg(b)
Also for any vertex
(a,i) ∈ P(X1[X2])
The degree of vertex deg(a,i) = degX1(a).|P(X2)| + degX2(i)
So, the degree of vertices ∀ i ∈ P(X2) in P(X1[X2]) is
deg(a,i) = deg(b,i)
suppose
(a,i) ∈ O/ (b,i)
then there exist a vertex
25
which contradicts the fact that a ∈ O(b) Hance proved (a,i) ∈ O(b,i) ∀ i ∈ P(X2)
Proof. (ii)
Given that
j ∈ O(i)
so, the degree of vertices in P(X2)
deg(j) = deg(i)
then any a ∈ P(X1)
deg(a,i) = deg(a,j)
also
(a,k) is adjacent to (a,i) in P(X1[X2])
this if and only if k is adjacent to i in P(X2)
so, the degree sequence of neighborhood of (a,i) must be same as of (a,j).
For otherwise, j /∈ O(i)
Hance proved
(a,j) ∈ O(a,i)
1 .5 Examples
Here are some examples of Lexicographic Product:
Let suppose two path graphs X1 and X2 in which X1 = K4, X2 = K3. Find the
composition product.
26
Solution:
Here we note that the notation xi represents (a,1) where a ∈ X1 and 1 ∈ X2. We
O((a,1)) = {(a,1),(d,1),(a,3),(d,3)}
O((a,2)) = {(a,2),(d,2)}
O((a,3)) = {(a,1),(d,1),(a,3),(d,3)}
O((d,1)) = {(a,1),(d,1),(a,3),(d,3)}
O((d,3)) = {(a,1),(d,1),(a,3),(d,3)}
O((b,1)) = {(b,1),(c,1),(b,3),(c,3)}
{(b,1),(c,1),(b,3),(c,3)}
27
O((c,3)) = {(b,1),(c,1),(b,3),(c,3)}
O((b,2)) = {(b,2),(c,2)}
O((c,2)) = {(b,2),(c,2)}
degX1[X2]((a,1)) = degX1[X2]((a,3)) = 4
degX1[X2]((d,1)) = degX1[X2]((d,3)) = 4
degX1[X2]((b,1)) = degX1[X2]((b,3)) = 7
degX1[X2]((c,1)) = degX1[X2]((c,3)) = 7
degX1[X2]((a,2)) = degX1[X2]((d,2)) = 5
degX1[X2]((b,2)) = degX1[X2]((c,2)) = 8
Here, we notes that for a,d ∈ X1, a ∈ O(d), this notation gives us
degX1(a) = degX1(d) = 1
degX1[X2](a,1) = degX1[X2](d,1)) = 4
(a,1) ∈ O/(d,1)
Then,
∃ (b,1) ∈ N1(a,1)
and
(c,1) ∈ N1(d,1)
such that,
28
degX1[X2](b,1) = degX1[X2](c,1)) = 7
If
=
degX1[X ](b,1) ̸
2 degX1[X ](c,1))
2
Let X1 and X2 are two graphs where X1 is connected and X2 is a disconnected graph
having two components namely and . The degree of each vertex in X1, X2 and
P(X1[X2]) is given bellow,
Solution:
In graph product, the notation xi means (x,i), where x ∈ X1 and i ∈ X2. Here we use
the formula for calculating the degree for each vertex in P(X1[X2]). We use this
fixing set. Hence the cardinality of this fixing set namely fixing number is six.
And
30
X2(a) = {a1,a2,a3,a4}
X2(b) = {b1,b2,b3,b4}
X2(c) = {c1,c2,c3,c4}
For vertex a,
And then F(a) will be {a1,a4} which is a non empty set and we also notice that it is a
minimum fixing set for the class X2(a).
Similarly for b,
And then F(b) will be {b2,b3} which is a non empty set and a minimum fixing set for
And then F(c) will be {c1,c3} which is a non empty set and a minimum fixing set for
Now we have a result that every class is fixed by the vertices of itself.
Bibliography
[1] F. Harary A., Method of destroying the symmetries of a graph, Bull. Malaysian
Math. Sci. Soc...24(2), 2001.
[2] M. Albertson and K. Collins, Symmetry breaking in graphs, Elect. J. Combin,. 3(1),
Research paper 78 (electronics), 2006.
[3] W. Appel, K.; Haken (ed.), Every planar map is four colorable. part i. discharg-
ing, Illinois J. Math., vol. 429490, 1977.
[4] E. Wilson R. Biggs, N. Lloyd, Graph theory, Oxford University Press, 1736-1936,
1986.
[6] J. D. Laison C. R. Gibbons, Fixing numbers of graphs and groups, Elect. J. Combin.
16, 2009.
[7] A.L. Cauchy, Recherce sur les polyandries - premier memoirs, De l’cole Poly-
technique, 9 (Cahier 16), 1813.
31
[10] C. R. Gibbons and J. D. Laison, Fixing numbers of graphs and groups, Elect. J.
Combin., 16 Research paper 39 (Electronics), 2010.
32
[11] M.C. Golumbic, Algorithmic graph theory and perfect graphs, Academic Press,
New York, 1980.
[14] F. Harary and R. A. Melter, On the metric dimension of a graph, Ars combin..,
2, 1976.
[15] K. Lynch, Determining the orientation of a painted sphere from a single image: a
graph coloring problem, URL:http://citeseer.nj.nec.com/469-475.
[18] W.T. Tutte, Graph theory, Cambridge University Press, p. 30, 2001.
[19] S. Klazar W. Imrich, Product graphs structure and recognition, John Wiley and
Sons, 2000.