Chapter 3
Chapter 3
Elements of Graph
Theory
Fikre Bogale
January 23,
2023
Definition
Two vertices vi and vj are said to be adjacent if there exists
an edge between (connecting) them.
Definition
Two edges ei and ej are said to be adjacent if they have
a common vertex (endpoint).
Definition
An isolated vertex is a vertex which is not adjacent to
any vertex. A vertex which Fikre
isn’tBogale
connected to any 6/59
vertex. Chapter Three Elements of Graph Theory
Definition and Examples of a Graph
Definition
An edge e is incident with a vertex v if v is an endpoint of
the edge e.
Definition
If there exist more than one edge between the same pair of
vertices, then the edges are called parallel (or multiple)
edges.
Definition
The number of vertices in a graph G (V , E ) is called the
order
of graph and denoted by |V | or |G|.
The number of edges in a graph G (V , E ) is called the
Definition
size of a graph and denoted by |E | or 1G 1.
7/59
Definition
If there exist more than one edge between the same pair of
vertices, then the edges are called parallel (or multiple)
edges.
Definition
The number of vertices in a graph G (V , E ) is called the
order
of graph and denoted by |V | or |G|.
Definition
A graph G which consists of parallel (multiple edges) is
called a multi graph
Definition
A graph G is said to be Pseudo graph if it has a loop.
Definition
A simple graph with an edge between every two
distinct vertices is called a complete graph.
Fikre Bogale 10/59
Chapter Three Elements of Graph Theory
Examples on Types of Graph
graph
G2 is complete, but G1 is not complete graph.
Example
1 How many edges are there in a graph with 10
vertices each has degree 4.
2 If a graph G has 8 edges with 2 vertices of degree 4
each and all others are of degree 2 each, and then find
number of vertices |V
Fikre Bogale
the 14/59
Definition
Let G = (V , E ) be a graph with V = {v1, v2, · · · , vn}.
The degree sequence of G is a non-decreasing sequence of
the degrees of the verices. Fikre Bogale
15/59
Definition
A degree sequence is said to be graphic if it is a
degree sequence of a simple graph.
Definition
A graph is said to be regular if all its vertices have
equal degree. If the degree of each vertex is d , then we
call the graph d -regular graph (regular of degree d ).
Note
Every complete graphs are regular graphs, but regular
graphs may not be complete.
Fikre Bogale 16/59
Chapter Three Elements of Graph Theory
Regular and Complete
graphs
(a) (b)
2 Drawthe graphs the adjace ncy matrix
with 1 1 1 3 0 2
1 0 0 1 3 0 1 1
(a) 0
0 0 1 (b)
1 1 2
1 1 1 1 0 0
2 1 2 0
0
Fikre Bogale
19/59
Definition
Let G = (V , E ) and let V t ⊆ V . The subgraph of G
induced by V t, denoted G [V t], is the graph H = (V t, E t)
where, for every x, y ∈ V t, xy ∈ E t if and only if xy ∈ E .
We say
H = G [V t] is an induced subgraph of G . The subgraph
of G obtained by deleting Fikre t
is G [V \ V t], which is
V Bogale
24/59
usually witten as G − V . If V t = {v}, it is common to
t
Chapter Three Elements of Graph Theory
Example: Draw the subgraphs of a given
graph
Note
If the graph is simple, the path is unique and is
denoted by just listing the vertices along the path v0v1
· · · vn−1vn.
A simple path from v0 to vn contains no repeated
vertices. Length of path depending
Fikre Bogale on the number of
29/59
Example
Consider the following graphs
Note
Two V 1 ∩V
sets = V2 are partition of a set V if
V12 and
1
2 ∅ = V1 ∪ V2
V
Fikre Bogale
34/59
(a)
(b)
Fikre Bogale 35/59
Chapter Three Elements of Graph Theory
Examples of bipartite graphs
(c)
(d
) Fikre Bogale 36/59
Chapter Three Elements of Graph Theory
Solution
From (a), the graph has V = {v1, v2, v3, v4, v5, v6} as
the set of vertices. Then we can partitioned V into
V1 = {v1, v2, v3} and V2 = {v4, v5, v6} such that
each edge of the graph connects in V1 and V2.
Hence, the graph is bipartite graph.
Graphs from (b) and (c) are Not bipartite
From (d), the graph has V = {v1, v2, v3, v4} as the set
of vertices. Then we can partitioned V into V1 = {v1,
v4} and V2 = {v2, v3} such that each edge of the
graph connects in V1 and V2. Hence, the graph is
bipartite graph.
Theorem
A graph with at least two vertices is bipartite if and only if
it contains no odd cycles.
Fikre Bogale
37/59
Definition
1 A graph T is called a tree if T is connected and T has
no cycle.
2 A forest G is a graph with no cycles; hence the
connected components of a forest G are trees.
3 A graph without a cycle is said to be cycle-free
(acyclic) graph.
4 A tree consisting of a single vertex with no edges is
called the degenerate tree.
5 A loop is a cycle of length one, then a tree is a loop
free graph.
Fikre Bogale
43/59
Note
1 A connected graph with n vertex is called a tree if it
has exactly n − 1 edges.
2 In each tree T , there are some vertices of degree
1. These vertices (of degree 1) are called leaves.
3 Every tree T with at least one edge has at least
two leaves.
4 The edges of a tree T are called
branches. Fikre Bogale
45/59
Theorem
Let G be a graph with n > 1 vertices. Then the following
are equivalent.
1 G is a tree,
2 G is cycle-free and has n − 1
3 edges,
G is connected and has n − 1
edges.
Example
A tree has 4 vertices of degree 3 and 3 vertices of degree 2.
The remaining vertices have degree 1. Find the total
number of vertices in the tree.
Fikre Bogale
46/59
18 + (n − 7) = 2|E|
18 + (n − 7) = 2(n − 1)
Fikre Bogale
48/59
Note
For any connected graph G , we can find a spanning tree of
G
by1 any of the following
Cutting-down methods.
method: we start by choosing any
cycle in G and remove one of its edges-(i.e destroying
a cycle containing this edge). We repeat this procedure
until no cycle is left in the resulting graph.
2 Building-up method: we select edges of G one at a
time in such a way that the selection of edges does not
create a cycle. Repeat this procedure until all the
vertices of G are included in the resulting graph.
Fikre Bogale
49/59
Solution: |V | = 4, |F | = 4, |E
|=6 Fikre Bogale 55/59
Chapter Three Elements of Graph Theory
Properties of Planar
Graphs
Example: Verify Euler’s Formula
|V | = 10, |F | = 7, |E | = 15 ⇒
|V | − |E | + |F | = 10 − 15 + 7 = 2
If a connected planar graph G has |E | edges and |V
|
vertices, then 3|V | − |E | ≥ 6.
A complete graph Kn is a planar if and only if n <
5. Every planar graph has a vertex of degree ≤ 5.
A complete bipartite graph Km,n is planar if and only
Fikre Bogale 56/59
if Chapter Three Elements of Graph Theory
Graph Coloring (Vertex
coloring)
Definition
A vertex coloring of a simple graph is the assignment of
a color to each vertex of the graph. A vertex coloring is
called proper coloring if it assigns different colors to
adjacent vertices.
Note that the term k-coloring refers to proper
colorings with k colors. G is said to be k-colorable if
there is a proper k-coloring of its vertices. Example:
End
End of Chapter
chapter