Unit 5
Unit 5
K5
• Adjacency matrix
– Rows and columns are labeled
with ordered vertices v w x y
– write 1 if there is an edge v 0 1 0 1
between the row vertex and the
column vertex and 0 if no edge w 1 0 1 1
exists between them. x 0 1 0 1
y 1 1 1 0
• Incidence matrix e f g h j
– Label rows with vertices
v 1 1 0 0 0
– Label columns with edges
– 1 if an edge is incident to a w 1 0 1 0 1
vertex, 0 otherwise x 0 0 0 1 1
y 0 1 1 1 0
Walk: walk is a sequence of vertices where
two consecutive vertices represent edge.
or
It is a alternate sequence of vertices and
edge where 1st and last position must be
vertex.
Ex. a e1 b e3 d e2 a e1 b e4 c e6 h
It is also write as: a b d a b c h
Isomorphic graph
Isomorphic graph
Homeomorphism graph:
Two graph G and G’ are called homeomorphism if G’ can be
obtained from G by dividing some edge of G with additional
vertices.
Planar graphs
A graph is planar if it can be drawn in
the plane without crossing edges.
Region of a planner graph:
• If the given graph is not planner graph then first convert it in to
planner graph.
Theorem (Euler formula): if the graph is planner with n vertices , e edges and r region
then n – e + r = 2 hold.
Theorem 1: The sum of the degree of all vertices in a graph G is
twice the number of edges.