Professional Documents
Culture Documents
Pratima Panigrahi
Department of Mathematics
Indian Institute of Technology
Kharagpur 721302
– p. 1/1
GRAPH ISOMORPHISM
– p. 2/1
DEFINITION: Let G be a loop less graph on n vertices. The
adjacency matrix of G, denoted by A(G), is an n × n matrix
whose rows and columns are indexed by vertices of G, and (i, j)th
entry is equal to the number of edges between the ith and j th ver-
tices.
– p. 3/1
DEFINITION: Let G be a graph on n vertices and m edges.
The incidence matrix of G, denoted by M (G), is an n×m matrix
whose rows are indexed by the vertices and columns are indexed
by the edges of G, and (i, j)th entry is equal to 1 if the ith vertex
is an end vertex of the j th edge.
– p. 4/1
THEOREM: Let G be a loop less graph having V (G) =
{v1 , v2 , . . . , vn }, and A be the adjacency matrix of G. For any
integer k ≥ 1, the (i, j)th entry of Ak is equal to the total number
of vi − vj walk of length k.
– p. 5/1
DEFINITION: A graph is said to be bipartite if its vertex set
can be partitioned as V (G) = X ∪ Y such that every edge of the
graph has one end vertex in X and the other has in Y . The sets
X and Y are called partite sets, and the pair (X, Y ) is called a
bipartition of the graph.
– p. 6/1
DEFINITION: The n-dimensional cube or hypercube Qn
is the graph whose vertex set is the set of all n-tuples consists of
0 and 1, and two n-tuples are adjacent if they differ at exactly one
position.
– p. 7/1
DEFINITION: A bipartite graph with a bipartition (X, Y ) is
called a complete bipartite graph if every vertex in X is adjacent
to every vertex in Y .
– p. 8/1
DEFINITION: A graph is said to be k-bipartite if its vertex
set can be partitioned as V (G) = X1 ∪ X2 ∪ . . . Xk such that no
two vertices in the same part are adjacent. It is called complete
k-bipartite if every vertex in Xi is adjacent to every vertex in Xj ,
for i 6= j.
– p. 9/1
DISTANCES IN GRAPHS
– p. 10/1
PROOF: Obviously d satisfies non-negativity and symmetric
property. To prove the triangle inequality, for any three vertices
u, v, w ∈ G,
d(u, v) ≤ d(u, w) + d(w, v)
S
Let d(u, w) = l(P1 ) and d(w, v) = l(P2 ). Now P1 P2 is a
u − v walk, and therefore it contains a u − v path, say P . So
d(u, v) ≤ l(P ) ≤ l(P1 ) + l(P2 ).
– p. 11/1
DEFINITION: The eccentricity, denoted by e(x), of a vertex
x ∈ G is the distance from x to a farthest vertex in G, that is
e(x) = max{d(x, v) : v ∈ G}
The diameter of G
diam(G) = max{e(v) : v ∈ G}
The radius of G
rad(G) = min{e(v) : v ∈ G}
– p. 12/1
DEFINITION: Let u be a vertex in G. If e(u) = rad(G)
then u is called a central vertex. The subgraph induced by all
central vertices is called the center of G. If e(u) = diam(G)
then u is called a peripheral vertex. The subgraph induced by all
peripheral vertices is called the periphery of G.
– p. 13/1
THEOREM: Every graph G is the center of some graph H.
[
V (H) = V (G) {u1 , u2 , v1 , v2 }
S S
E(H) = E(G) {{u1 , u2 }, {v1 , v2 }} {{u2 , x}, {v2 , x} : x ∈
V (G)}
– p. 15/1
(3) If G is a simple graph and δ(G) ≥ k, then prove that G con-
tains a path of length at least k. Further if k ≥ 2 prove that G
contains a cycle of length at least k + 1.
– p. 16/1
(6) The girth of a graph is the length of a smallest cycle present in
the graph. Prove that the girth of the Petersen graph is 5 and that
of Qn is 4.
– p. 17/1