Professional Documents
Culture Documents
Chapter II
Path and Circuits
G=(V,E) H=(U,F)
2/27/2017 Prepared by Dr. Zakir H. Ahmed 2
Spanning subgraph
D E F
G H I
2 2 2
4 4 4
5 5
G1 G2
G1 U G2
3
1 3
2 2
2 3
4
4
4 5
G2
G1 G1 ∩ G2
2 2
2
4 4 4
5
5
G1 G2
G1 ⊕ G2
u1
v3 v4 u3 H u4
u2 G
Proof:- The function f with f(v1)=u1, f(v2)=u4, f(v3)=u3,
and f(v4)=u2 is a one-to-one correspondence between V
and U.
Next, to verify that this function preserves adjacency
also. Adjacency vertices in G are v1 and v2, v1 and v3, v2
and v4, and v3 and v4.
Also, the pairs f(v1)=u1 and f(v2)=u4, f(v1)=u1 and
f(v3)=u3, f(v2)=u4 and f(v4)=u2, f(v3)=u3, and f(v4)=u2
are adjacent in H. Prepared by Dr. Zakir H. Ahmed
2/27/2017 10
Exercise
v5 . . v6
be partitioned into two
disjoint sets V1={v1,v3,v5} and V2={v2,v4,v6}, and every
edge of C6 connects a vertex in V1 and a vertex in V2.
2/27/2017 Prepared by Dr. Zakir H. Ahmed 13
Bipartite Graph
A disconnected graph
consists of two or more
connected graphs. Each
of these connected
subgraphs is called a
component.
Theorem:- A simple graph with n vertices and k
components can have at most (n-k)(n-k+1)/2 edges.
Theorem:- If a graph has exactly two vertices of
odd degree, there must be a path joined by these
vertices.
2/27/2017 Prepared by Dr. Zakir H. Ahmed 27
Hamiltonian Graph
5 5
G
3 4 3 4
H
3
1 3
2
2
1
1
4
2
4