Professional Documents
Culture Documents
Graph Theory
Graph Theory
Graph Theory
1
Contents
2
Basic terminology,
Planer graph
In short, we can represent G=(V,E) where V=(v1, v2, v3, v4) &
E=(e1, e2, e3, e4, e5, e6,e7 )
Self Loops & Parallel Edges
5
Definition: If the end vertices Vi & Vj of any edge eij are same, then
edge eij called as Self Loop.
Definition: If there are more than one edge is associated with given
pair of vertices then those edge called as Parallel or Multiple edge.
For Example, In graph G, e4 & e7 has (v3, v4) are called as Parallel
edge.
Simple & Multiple Graphs
6
For Example, V1
1.4
V2
6
1.5
V4 V3
1.7
Finite & Infinite Graph
8
v4 e3
e5
e4
v3
e7
Definition :
e6
Two ways are used for matrix representation of graph are given as
follows,
1.Adjacent Matrix
2.Incident Matrix
For Example,
A(G)=
1. Adjacent Matrix
14
A(G)=
2. Incident Matrix
15
Xij=0, otherwise.
X(G)=
Directed Graph or Diagraph
16
deg-(a) = 1 a
deg-(b) = 4
deg+(a) = 2 b deg+(b) = 2
deg-(d) = 2 d c
deg-(c) = 0
deg+(d) = 1 deg+(c) = 2
Adjacency Matrix of a diagraph
18
For Example,
A(D)=
Incident matrix of diagraph
19
N3 N4
Complete Graph
21
n(n-1)/2,For example,
K1 K2 K3 K4 K5
Regular Graph
22
Definition: If the degree of each vertex is same say ‘r’ in any graph
G then the graph is said to be a regular graph of degree r.
For example,
K3 K4 K5
Bipartite Graph
23
Example I: Is G1 bipartite?
v1 No, because there is no way to partition the
vertices into two sets so that there are no edges
v2 with both endpoints in the same set.
v3
It is denoted by G1=G2
Isomorphism
26
For Example,
a b 1 2 1 a
2 b
3 d
c d 3 4 4 c
For Example:
G G1 G2
Spanning Graph
28
For Example:
G G1 G2
Complement of a Graph
29
G ~G H ~H
Operations on Graphs
30
(V1, E1) and G2 = (V2, E2) is the simple graph with vertex set V1 V2
G1 G2 G1 G2
Operations on Graphs
31
G2 = (V2, E2) is the simple graph with vertex set V1 V2 and edge set
E1 E2.
G1 G2 G1 G2
THANK YOU 32