Module 5
Module 5
◦ To determine whether two graphs are isomorphic, it will be easier to consider their
matrix representations.
Isomorphism and Adjacency matrix
◦ Two graphs are isomorphic iff their vertices can be labeled in such a way that the
corresponding adjacency matrix are equal
◦ Two labeled graphs 𝐺1 and 𝐺2 with adjacency matrix 𝐴1 and 𝐴2 respectively are
isomorphic iff there exist a permutation matrix 𝑃 such that 𝑃𝐴1 𝑃𝑇 = 𝐴2
◦ Permutation matrix is determined in 𝑛! Ways if 𝑛 vertices are there in the graph.
◦ The exact permutation matrix that satisfies 𝑃𝐴1 𝑃𝑇 = 𝐴2 this condition is by using degree
of vertices
Problem 1:
𝑑 𝑣1 = 3, 𝑑 𝑣2 = 2, 𝑑 𝑣3 = 4, 𝑑 𝑣4 = 3, 𝑑 𝑣5 = 4
Degree Sequence of 𝐺2 = 2, 3, 3, 4, 4
◦ Solution
◦ Degree of vertex A is 2 and must correspond to either P, Q, T or U, which are of degee 2.
◦ Now each of the vertices P, Q, T, and U is adjacent to another vertex of degree 2
◦ P is adjacent to Q, Q is adjacent to P. But A is not adjacent to any vertex of degree 2
◦ Hence two graphs are not isomorphic.
Problem 3:
◦ Establish the isomorphism of the two graphs given in the below figure by considering
the adjacency matrix
◦ Solution
◦ The adjacency
Subgraph
Walk, Trail, Path
◦ Walk: An alternative sequence of vertices & edges in which it starts & ends with vertices
is called walk.
◦ Trail: A walk is said to be a trial if its edges are distinct
◦ Path: A walk is said to be a path if its vertices are distinct
◦ Closed Walk, trial and path: If the starting vertex and ending vertex are same
◦ Connected Graph: A graph 𝐺 is said to be connected if there exist at least one path
between every distinct pair of vertices
◦ Directed Graph: A graph whose edges specifies the direction
Planar and Plane Graph
◦ In a graph theory a planar graph is a graph that can be embedded in the plane, i.e., it can be
drawn on the plane in such a way that its edges intersect only at their endpoints. In other
words, it can be drawn in such a way that no edges cross each other. Such a drawing is called
a plane graph or planar embedding of the graph."