Graph Theory Lecture-I
Graph Theory Lecture-I
Fig1.1
In simple graphs, there is no more than one edge between any pair of
vertices, but simple graphs may be extended without difficulty to more
general graphs in which two vertices may have more than one edge
between them. Thus, simple graphs can be generalized by allowing loops
and parallel (or multiple) edges between vertices to obtain a multigraph
(Fig. 1.2).
Fig 1.2
We have the following terminologies:
Two vertices u and v are called the end vertices of an edge e = {u, v}
A loop is an edge of the form {v, v}. Each loop join the vertex v to itself.
Edges that have same end vertices are called parallel or multiple edges.
A graph is said to be simple if it has no parallel edges and loops.
A graph with no edges is called empty.
A graph with no vertex is called a null graph.
Two vertices u and v are said to be adjacent if they are connected by an
edge {u, v}.
An edge is said to be incident with the vertices it joins.
The degree of the vertex v denoted as d(v) is the number of edges incident
to v.
The degree of loop is two and the parallel edges contributes separately.
A pendant vertex is a vertex whose degree is 1.
A vertex is said to be isolated if it has no edge incident on it.
Fig 1.3
In Figure 1.3
v4 and v5 are end vertices of e5 and e4 , v1 and v2 are end vertices of
e1, v2 and v5 are end vertices of e5.
e4 and e5 are parallel edges.
e3 is a loop.
The graph is not simple.
e1 is incident on v1 and v2.
v3 is isolated vertex and its degree is zero.
v1 is the pendant vertex.
Degree of v5 is 5 and of v5 and v5 is 2.
Directed Graphs
Fig 1.4