35-6 Approximating a maximum spanning tree

Let G=(V,E)G = (V, E) be an undirected graph with distinct edge weights w(u,v)w(u, v) on each edge (u,v)โˆˆE(u, v) \in E. For each vertex vโˆˆVv \in V, let maxโก(v)=maxโก(u,v)โˆˆE{w(u,v)}\max(v) = \max_{(u, v) \in E} \{w(u, v)\} be the maximum-weight edge incident on that vertex. Let SG={maxโก(v):vโˆˆV}S_G = \{\max(v): v \in V\} be the set of maximum-weight edges incident on each vertex, and let TGT_G be the maximum-weight spanning tree of GG, that is, the spanning tree of maximum total weight. For any subset of edges Eโ€ฒโІEE' \subseteq E, define w(Eโ€ฒ)=โˆ‘(u,v)โˆˆEโ€ฒw(u,v)w(E') = \sum_{(u, v) \in E'} w(u, v).

a. Give an example of a graph with at least 44 vertices for which SG=TGS_G = T_G.

b. Give an example of a graph with at least 44 vertices for which SGโ‰ TGS_G \ne T_G.

c. Prove that SGโІTGS_G \subseteq T_G for any graph GG.

d. Prove that w(TG)โ‰ฅw(SG)/2w(T_G) \ge w(S_G) / 2 for any graph GG.

e. Give an O(V+E)O(V + E)-time algorithm to compute a 22-approximation to the maximum spanning tree.

(Omit!)