Dm-Unit - 4
Dm-Unit - 4
GRAPH THEORY
Prepared By
Mrs. Shivani Agrawal
Assistant Professor
Vishwaniketan’s iMEET
Syllabus
v4 v3 v4 e3 v3
e3
• Weighted graph:
– Each edge, or each vertex, or both associated with positive
real number 2 v1 v2
8 4
By Mrs. Pallavi Yevale, AI&DS, DYPIEMR,
4
Pune v4 6 v3
• Finite or infinite graph:
– Finite graph-Finite number of edges and vertices
– Otherwise infinite graph
• Labeled graph:
– Edges are labeled with some name or data
v1 e1 v2
e5 e2
e4
v4 e3 v3
– Eg. e1 to e5
By Mrs. Pallavi Yevale, AI&DS, DYPIEMR,
5
Pune
• Adjacency and incidence:
– Two vertices joined by at least one edge then their vertices called
v1
adjacent vertices
– Incident e1
v2
e4 e2
v4 e3 v3
• v1 and v2, v2 and v3, v3 and v4, v2 and v4 are adjacent vertices
• v1 and v4, v1 and v3 are not adjacent vertices
• e1 is incident on v1 and v2
e2 is incident on v2 and v3
e3 is incident on v3 and v4
e4 is incident on v2 and v4
• e1 and e2, e2 and e2, e3 and e4, e1 and e4 are adjacent edges
By Mrs. Pallavi Yevale, AI&DS, DYPIEMR,
6
Pune
• Degree of vertex:
– No. of edges incident on vertex
– Vertex with self loop count degree
e1 twice
– Denoted by d(vi) e2
v1 v3
.
v2
• d(v1)=3
v6 e3
• d(v2)=3 e7 e4
• d(v3)=1
v4
e6 v5 e5
• d(v4)=3
• d(v5)=4
• d(v6)=0
By Mrs. Pallavi Yevale, AI&DS, DYPIEMR,
7
Pune
• Isolated vertex:
– Vertex with degree 0
• Pendant vertex:
– Vertex with degree 1
• Handshaking lemma:
v3
v5 v4
G1
v5 v4 v3
G1
v4 v3
v5
G1
e4
e5 e2 e3
v4 v3
e6
v5 v4
e6 e7 e2
e3
v5 e5 v3
e4
v4
• Outdegree:
N3 N4
k2 k3 k4 k5
Regular graph of
degree 3
By Mrs. Pallavi Yevale, AI&DS, DYPIEMR,
18
Pune
• Bipartite graph:
– v1 union v2=v
– v1 intersection v2= null
• Not isomorphic
• Null subgraph:
λ(G)=3
By Mrs. Pallavi Yevale, AI&DS, DYPIEMR,
32
Pune
– If cutset is single edge called bridge
– λ(G)=1
K(G)=2
– Graph is said to be separable graph if its vertex
connectivity is one
K(G)=1
By Mrs. Pallavi Yevale, AI&DS, DYPIEMR,
34
Pune
• Relation between edge and vertex
connectivity:
– e is number of edges
– n is number of vertices
.
By Mrs. Pallavi Yevale, AI&DS, DYPIEMR,
41
Pune
By Mrs. Pallavi Yevale, AI&DS, DYPIEMR,
42
Pune
Hamiltonian path and circuit
• Hamiltonian path:
– Path with every vertex of graph appears exactly once
– P1= 1 2 3 4
– P2= b c a
• Hamiltonian circuit:
– Circuit with every vertex of graph appears exactly once
except first and last
– C1= 1 2 3 4 1
• Hamiltonian graph:
– Graph with Hamiltonian circuit
By Mrs. Pallavi Yevale, AI&DS, DYPIEMR,
43
Pune
• Theorem 1:
– Let G be a simple connected graph on n vertices. If the
sum of the degree for each pair of vertices in G is (n-
1) or large, then there exist Hamiltonian path in G.
– If above condition is not satisfied then may be or may
not be the Hamiltonian path exists.
– By theorem Path is present in first graph but in second
graph theorem can not prove about path existence