Graph Theory I - Hoang Anh Duc - MIM - HUS - VNU

Work 1.

Given graph G with nverticesandm edgesLet Δ(G) and σ(G) be the largest and smallestdegree of a vertex in G, respectively. Prove that:σ(G)2mnΔ(G)\begin{align} & \text{Given graph } G \text{ with } n { vertices and } m \text{ edges} \quad \\[5pt] & \text{Let } \Delta(G) \text{ and } \sigma(G) \text{ be the largest and smallest} \quad \\[5pt] & \text{degree of a vertex in } G \text{, respectively. Prove that:} \quad \\[5pt] & \qquad \qquad \qquad \sigma(G) \leq \frac{2m}{n} \leq \Delta(G) \end{align}
Block
  • Solution:
By the handshaking lemma:vV(G)deg(v)=2mSo the average degree is 2mnSince deg(v)σ(G)vvV(G)deg(v)nσ(G)    2mnσ(G)Since deg(v)Δ(G)vvV(G)deg(v)nΔ(G)    2mnΔ(G)Thus: σ(G)2mnΔ(G)\begin{align} & \text{By the handshaking lemma:} \quad \\[5pt] & \sum_{v \in V(G)} \text{deg}(v) = 2m \quad \\[5pt] & \text{So the average degree is } \frac{2m}{n} \quad \\[5pt] & \text{Since deg}(v) \geq \sigma(G) \quad \forall v \quad \\[5pt] & \sum_{v \in V(G)} \text{deg}(v) \geq n \cdot \sigma(G) \implies \frac{2m}{n} \geq \sigma(G) \quad \\[5pt] & \text{Since deg}(v) \leq \Delta(G) \quad \forall v \quad \\[5pt] & \sum_{v \in V(G)} \text{deg}(v) \leq n \cdot \Delta(G) \implies \frac{2m}{n} \leq \Delta(G) \quad \\[5pt] & \text{Thus: } \sigma(G) \leq \frac{2m}{n} \leq \Delta(G) \quad \end{align}
Block

Work 3.

  • A regular graph is a graph where all of its vertices have the same degree. We call a graph nn-regular graph if it is a regular graph which all vertices have the same degree of nn.
With what values of n do these graphsare considered regular graphs:(a)Kn(c)Wn(b)Cn(d)Qn\begin{aligned} & \text{With what values of } n \text{ do these graphs} \quad \\[5pt] & \text{are considered regular graphs:} \quad \\[5pt] & (a) \quad K_n \quad & (c) \quad W_n \quad \\[5pt] & (b) \quad C_n \quad & (d) \quad Q_n \quad \\[5pt] \end{aligned}
Block
  • KnK_n​ (Complete graph): Each vertex connects to every other vertex. The degree of each vertex is n1n−1, making KnK_n​ regular for all nn.
  • CnC_n​ (Cycle graph): Each vertex in a cycle graph connects to two neighbors. The degree of every vertex is 22, so CnC_n​ is regular for all n3n \geq 3.
  • WnW_n​ (Wheel graph): Consists of a cycle Cn1C_{n−1}​ and a central vertex connected to all vertices of the cycle. Central vertex degree: n1n−1. Cycle vertices degree: 33. Only when n=3n=3 (triangle + center), all vertices have degree 44, making WnW_n​ regular.
  • QnQ_n ​(Hypercube graph): Each vertex connects to nn others (binary representation differing by 11 bit). Degree is nn for all vertices, so QnQ_n is regular for all nn.

Work 5.

  • A simple undirected graph G=(V,E)G = (V, E) is a bipartite graph if and only if there is a way to color each vertex of GG with two colors such that no two adjacent vertices are colored the same.

  • (a) Prove the statement above.

  • Solution:

  • To prove the statement that a graph G=(V,E)G=(V,E) is bipartite if and only if there exists a way to color each vertex with two colors such that no two adjacent vertices are colored the same, we will prove both directions.
  • Proof (If Part): Assume G=(V,E)G=(V,E) is a bipartite graph. By definition, a bipartite graph can be partitioned into two disjoint sets V1V_1 ​and V2V_2, such that every edge eEe \in E connects a vertex in V1V_1 ​to a vertex in V2V_2. We can color the vertices of V1V_1​ with one color (say color 1) and the vertices of V2V_2​ with another color (say color 2). Since edges only connect vertices from V1V_1​ to V2V_2, no two adjacent vertices will share the same color. Therefore, such a 2-coloring exists, proving that a bipartite graph can be 2-colored.
  • Proof (Only If Part): Now, assume that there exists a 2-coloring of the vertices of GG such that no two adjacent vertices share the same color. We will show that GG is bipartite. Partition the vertices of GG into two sets: one containing all vertices colored with color 1, and the other containing all vertices colored with color 2. Since adjacent vertices are colored differently, all edges must connect a vertex in the first set to a vertex in the second set. Thus, GG is bipartite by definition. Conclusion: A graph GG is bipartite if and only if there exists a way to color the vertices with two colors such that no two adjacent vertices share the same color.

  • (b) Are these graphs a bipartite graph.

graphs

  • Solution:

  • G1G_1 -> Yes
  • G2G_2 -> No (Contains cycle)
  • G3G_3 -> No (Contains cycle)

Work 6.

1
2
3
4
5
How many vertices and edges does these graphs have:

(a) K_n         (d) K_{m, n}
(b) C_n         (e) Q_n
(c) W_n 
Markdown
  • Solution:
1
2
3
4
5
(a) n_v = n,    n_e = (n(n-1))/2
(b) n_v = n,    n_e = n
(c) n_v = n,    n_e = 2(n-1)
(d) n_v = m+n,  n_e = m.n
(e) n_v = 2^n,  n_e = n.2^(n-1)
Markdown

Work 7.

  • Given a simple undirected graph G=(V,E)G = (V, E) with n3n \geq 3 vertices. Let H=(W,F)H = (W, F) be a subgraph of GG with at least two vertices. Prove that if GG is a bipartite graph, then HH is also a bipartite graph.

  • Solution:

  • Bipartition of GG: Since GG is bipartite, by definition, there exists a partition of 𝑉 V into two sets V1V_1 ​ and V2V_2 ​ such that for every edge (u,v)E(u, v) \in E, we have uV1u \in V_1 ​ and vV2v \in V_2 ​ , or uV2u \in V_2 ​ and vV1v \in V_1.
  • Subgraph HH: Let H=(W,F)H=(W,F) be a subgraph of GG, where WVW \subset V and FEF \subset E. The key observation is that the edges of FF are subsets of the edges of GG, meaning that each edge in FF connects two vertices in WW and is also an edge in GG.
  • Induced Bipartition: Since GG is bipartite, its partition (V1,V2)(V_1 ​ ,V_2 ​ ) induces a partition on WW. Specifically: Let W1=WV1W_1 ​ =W \cap V_1 ​ be the set of vertices in WW that belong to V1V_1 ​ , Let W2=WV2W_2 ​ =W \cap V_2 ​ be the set of vertices in WW that belong to V2V_2.
  • Edges in FF: Any edge in FF is an edge in GG, and since GG is bipartite, each edge in FF must connect a vertex in V1V_1 ​ to a vertex in V2V_2 ​ (since no edge in GG connects two vertices within V1V_1 ​ or within V2V_2 ​ ).
  • Conclusion: Since all edges in FF must connect a vertex in W1W_1 ​ to a vertex in W2W_2 ​ , the set of vertices WW is also bipartite, with the partition (W1,W2)(W_1 ​ ,W_2 ​ ). Therefore, the subgraph HH is bipartite, because its vertices can be partitioned into two sets W1W_1 ​ and W2W_2 ​ , with edges only between vertices in different sets.
  • Thus, we have shown that if GG is bipartite, then any subgraph HH of GG is also bipartite.

Work 11.

Suppose G and H are simple graphs such thatGH. Prove that GH\begin{gather} \text{Suppose } G \text{ and } H \text{ are simple graphs such that} \quad \\[5pt] G \simeq H. \text{ Prove that } \overline{G} \simeq \overline{H} \quad \end{gather}
Block