Graph Theory Notes PDF
Graph Theory Notes PDF
A loop is an edge connecting a vertex itself. How many edges does a graph with 10 vertices have?
If two vertices are connected by more than one What is the degree of each vertex?
edge, these edge are called multiple edges.
A graph with no loops and no multiple edges is Solution:
called a simple graph. 1
Kn, e = 2 n (n-1)
A path is an alternating sequence of vertices and 1
edges. It can be seen as a trip from one vertex to Kn, e = 2 10 (10-1)
another using the edges of the graph. Kn, e = 45 edges
A graph is connected if there is a path connecting
all the vertices. Degree = n – 1
If a path begins and ends with the same vertex, it is = 10 – 1 = 9 (degree of each vertex)
a closed path, or a circuit or cycle.
Two vertices are adjacent if there is an edge Euler Paths and Circuits
joining them. An Euler Circuit is a closed path (starts and ends at
If every pair of vertices of a graph are adjacent, the the same vertex) that uses every edge, but never uses
graph is complete. A complete graph with n the same edge twice. The path may cross through
vertices is denoted by Kn vertices more than once.
The degree of a vertex is the number of edges Eulerian Graph Theorem – a connected graph is
attached to it. Eulerian if and only if every vertex of the graph is of
even degree.
Examples of Graphs An Euler Path is a path that uses every edge in the
Null or Disconnected Graph graph exactly once but it does not start and end at the
The graph is null or disconnected since same vertex.
it has four vertices but no edges. The A connected graph contains an Euler Path if and
degree of each vertex is zero. only if the graph has two vertices of odd degrees with
Graph with a Loop all other vertices of even degrees. Furthermore, every
path must start at one of the vertices of odd degrees
and end at the other.
𝟏
For Kn, e = 𝟐 n (n-1) and for n ≥ 2, the degree is equal
to n – 1.