Presentation Module 1
Presentation Module 1
MAT206
GRAPH THEORY Module 1
Department of Mathematics
NSSCE
Definition of Graph
Example
Example 2
(1)
Application of Graphs
Bipartite Graphs
Examples
d(v0 ) = 3 d(v1 ) = 4
d(v2 ) = 4 d(v3 ) = 1
d(v4 ) = 0
Here we can see
d(v0 ) + d(v1 ) + d(v2 ) + d(v3 ) + d(v4 ) + d(v5 ) = 12=twice the
number of edges
Handshaking Lemma
Theorem 1
Theorem 1
The number of vertices of odd degree in a graph is always even.
Proof
The degree sum can be expressed as follows
n
X X X
d(vi ) = d(vi ) + d(vj )
i=1 odd even
Sum in the L.H.S is even and
X
d(vj )
even
is even,hence
X
d(vj ) = even
odd
,which implies the total number of odd vertices must be even
Department of Mathematics MAT206
Introduction to Graphs
Regular Graph
Null graph
Problems
1 Draw all simple graphs of one ,two,three and four vertices
2 Convince yourself that the maximum degree of any vertex in a
simple graph is n − 1
3 Show that the maximum number of edges in a simple graph
with n vertices is n(n − 1)/2
4 Construct a simple graph of 12 vertices with two of them
having degree 1,three having degree 3 and remaining seven
having degree 10.
5 What is the largest number of vertices in a graph with 35
edges,if all vertices are of degree atleast 3.
6 Prove that for any simple graph with atleast 2 vertices has
two vertices of same degree
7 Let G be a graph with n vertices and m edges .Assume that
each vertex is of degree k or k + 1.Show that the number of
vertices of degree k is (k + 1)n − 2m
Department of Mathematics MAT206
Introduction to Graphs
Complete Graphs
A simple graph in which there exists an edge between every pair of
vertices is called a complete graph.
A complete graph with n vertices is denoted byKn
Isomorphism
Note:-
It is clear from the definition that two isomorphic graphs must have
the same number of vertices
the same number of edges
equal number of vertices with a given degree
How ever these conditions are not sufficient.
Subgraphs
A graph g is said to be a subgraph of G if all the vertices and
edges of g are in G such that each edge of g has the same end
vertices in g as on G .
We write g ⊂ G .
Walk
Path
Circuit
Examples
v4 d v3 c v3 g v1 a v2 b v3 is an open walk
v4 h v5 f v2 b v3 c v3 d v4 is a closed walk
v4 h v5 f v2 b v3 g v1 is a path of length 4
v4 d v3 g v1 a v2 f v5 h v4 is a circuit of length 5
Degree sequence
3, 4, 4, 1, 0 is a degree sequence
Theorem 2
Theorem 2:- A Graph G is disconnected if and only if its vertex
set V can be partitioned into two non empty disjoint subsets V1
and V2 such that there exists no edge in G whose one end vertex is
in V1 and the other in V2
Proof
Suppose such a partitioning exists.Let a and b be two arbitrary
vertices of G such that a ∈ V1 and b ∈ V2 .If there exists a path
between a and b,there would be one edge whose one end vertex is
in V1 and other in V2 which is a contradiction to our
assumption.Hence no path can exists between a and b.Thus G is
disconnected.
Let G be a disconnected graph.Let a be a vertex in G .Let V1 be
the set of all vertices that are joined by paths to a.Since G is
disconnected V1 does not include all vertices of G .The remaining
vertices will form the setV2 .No vertex in V1 is joined to any vertex
in V2 by an edge.Hence the partion.
Department of Mathematics MAT206
Introduction to Graphs
Theorem 3
Theorem 4
Theorem 4:-A simple graph with n vertices and k components can
have at most (n − k)(n − k + 1)/2 edges.
Proof
Let the number of vertices in each of the k components be
n1 , n2 , ...nk .
Thus we have
n1 + n2 + ....nk = n, ni ≥ 1
We have
k
X
(ni − 1) = n − k
i=1
.Squaring both sides,
k
X
( (ni − 1))2 = n2 + k 2 − 2nk
i=1
Department of Mathematics MAT206
Introduction to Graphs
k
X
( (ni2 − 2ni ) + k + nonnegative cross terms = n2 + k 2 − 2nk
i=1
Hence
k
X
ni2 ≤ n2 + k 2 − 2nk − k + 2n
i=1
k
X
ni2 ≤ n2 − (k − 1)(2n − k)
i=1
= 12 (n − k)(n − k + 1)
Problems
Problems
1 Are the two graphs isomorphic,Why?