Skip to main content

Graph classes

We now go through basic terminologies in graph theory. Graph HH is a subgraph of GG if V(H)V(G)V(H) \subseteq V(G) and E(H)E(G)E(H) \subseteq E(G). Further, a subgraph HH of GG is said to be a spanning subgraph if V(H)=V(G)V(H) = V(G). Let GG be a graph and SV(G)S \subseteq V(G), the induced subgraph of GG on vertex set SS, denoted by H=G[S]H=G[S], has vertex set V(H)=SV(H) = S and edge set E(H)={{u,v}(S×S)E(G)}E(H) = \{\{u,v\} \in (S \times S) \cap E(G)\}. In words, an induced subgraph on SS is obtained from GG by deleting vertices outside of SS as well as all edges incident to such vertices. We now list some important classes of graphs.

  • Complete graphs: For any nNn \in {\mathbb N}, the graph KnK_n is a complete graph on nn vertices and edge set E(Kn)={{u,v}:uvV}E(K_n) = \{\{u,v\}: u\neq v \in V\}, i.e., there is an edge between every pair of distinct vertices. A complete graph is also called a clique.

  • Bipartite graphs: A graph GG is bipartite if V(G)=ABV(G) = A \cup B, with AB=A \cap B = \emptyset, such that E(G)A×BE(G) \subseteq A \times B. The complete bipartite graph (a.k.a. biclique), denoted by Km,nK_{m,n}, has A=m|A| = m, B=n|B|=n, and there is an edge connecting every pair {u,v}A×B\{u,v\} \in A \times B.

  • Paths: A path is a walk that does not repeat any vertex. For any nNn \in {\mathbb N}, the graph PnP_n is a path on nn vertices, i.e. V(Pn)={v1,,vn}V(P_n)= \{v_1,\ldots, v_n\}, and {vi,vi+1}E(Pn)\{v_i, v_{i+1}\} \in E(P_n) for all i=1,,n1i= 1,\ldots, n-1.

  • Cycles: A cycle is a closed walk that does not repeat any vertex (except for the first equal to the last). For any nNn\in {\mathbb N}, the graph CnC_n is a cycle on nn vertices.

  • Trees: A tree is a connected graph without a cycle.

  • Forests: A forest is a graph without a cycle. In particular, each connected component of a forest is a tree.

Exercise 15

Let GG be a bipartite graph with vertex partition V(G)=LRV(G) = L \cup R.

  1. Prove that vLdeg(v)=vRdeg(v)\sum_{v \in L} \deg(v) = \sum_{v \in R} \deg(v)

  2. Prove that a graph is bipartite if and only if its vertices can be colored by red and blue so that neighboring vertices do not receive the same color.