Example graphs#
The path graph \(P_n\)#
A path graph is a graph whose \(n\) vertices can be listed in the order \(0, 1, \ldots , n-1\) such that the edges are \((i, i+1)\) for \(i = 0, 1 \ldots , n-2\). For example, the undirected graphs \(P_3\) and \(P_6\) are shown below.
The cycle graph \(C_n\)#
The cycle graph \(C_n\) is a graph whose $n$ vertices can be listed in the order \(0, 1, \ldots , n\) such that the edges are \((i, i+1)\) for \(i = 0, 1, \ldots , n-2\),
and also \((0,n-1)\). For example, \(C_3\), \(C_5\), and \(C_{12}\) are
The complete graph \(K_n\)#
The complete graph \(K_n\) is a graph with \(n\) vertices and \(|E(K_n)|=\binom{n}{2}\) edges.
For example, \(K_2\), \(K_4\), and \(K_7\) are
The hypercube graph \(Q_n\)#
The hypercube graph \(Q_n\) has \(|V(Q_n)|=2^n\) vertices and \(|E(Q_n)|=2^{n-1}n\) edges. For example, \(Q_2\) and \(Q_5\) are
Here is a 3D image of \(Q_4\):
Here is a 3D image of \(Q_3\) and \(Q_4\):