0% found this document useful (0 votes)
72 views9 pages

Types of Graphs

The document defines and provides examples of several graph-related concepts: - Finite graphs have a finite number of vertices and edges, unlike the null graph which has none. - An independent set consists of pairwise non-adjacent vertices. - A bipartite graph's vertices can be divided into two independent sets called partite sets. - A path is a graph whose vertices can be ordered so that only consecutive vertices are adjacent. Path length is the number of edges. - A cycle is a graph whose vertices can be placed in a circle so that only consecutive vertices are adjacent. Cycle length is the number of edges.

Uploaded by

Dhrubo Sarker
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views9 pages

Types of Graphs

The document defines and provides examples of several graph-related concepts: - Finite graphs have a finite number of vertices and edges, unlike the null graph which has none. - An independent set consists of pairwise non-adjacent vertices. - A bipartite graph's vertices can be divided into two independent sets called partite sets. - A path is a graph whose vertices can be ordered so that only consecutive vertices are adjacent. Path length is the number of edges. - A cycle is a graph whose vertices can be placed in a circle so that only consecutive vertices are adjacent. Cycle length is the number of edges.

Uploaded by

Dhrubo Sarker
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Types of graphs

1
Finite graphs and the null graph
• A graph is said to be finite provided that its vertex set and edge set are
finite.
• The null graph is the graph whose vertex set and edge set are empty.
• In this course, all graphs are assumed to be finite non-null graphs.

2
Independent sets
• An independent set in a graph (with no loops) is a set of pairwise
non-adjacent vertices.
• For example, in the graph below, {𝑑, 𝑐, 𝑒} is an independent set.

3
Bipartite graphs
• A graph 𝐺 is said to be bipartite provided that its vertex set 𝑉(𝐺) is
the union of two disjoint independent sets (called partite sets of 𝐺).
• The following graph is bipartite:

4
Another bipartite graph

5
Paths
• A path is a simple graph whose vertices can be ordered so that two
vertices are adjacent if and only if they are consecutive in the list.
• The length of a path is the number of edges it contains.
• A path with 𝑛 vertices is denoted by 𝑃𝑛 .

6
Some paths

𝑃1 (length 0)

𝑃2 (length 1)

𝑃3 (length 2)

𝑃4 (length 3)

7
Cycles
• A cycle is a graph with an equal number of vertices and edges whose
vertices can be placed around a circle so that two vertices are adjacent
if and only if they appear consecutively along the circle.
• The length of a cycle is the number of edges it contains.
• A cycle with 𝑛 vertices is denoted by 𝐶𝑛 .

8
Some cycles

You might also like