• edited by
28,595 views
82 82 votes

Let $G$ be a weighted graph with edge weights greater than one and $G'$ be the graph constructed by squaring the weights of edges in $G$. Let $T$ and $T'$ be the minimum spanning trees of $G$ and $G'$, respectively, with total weights $t$ and $t'$. Which of the following statements is TRUE?

  1. $T' = T$ with total weight $t' = t^2 $
  2. $T' = T$ with total weight $t' < t^2$
  3. $T' \neq T$ but total weight $t' = t^2$
  4. None of the above

7 Answers

15 15 votes

Here is the solution : 

10 10 votes
d will be the answer. t' may or may not b equal to t . if distict weight it will be equal and if same weight then diffrent structure may be obtained . plus the weight of t <= t'
1 1 vote
We are given:

 

# A weighted graph G where all edge weights are greater than one.

# A transformed graph G′ where each edge weight in G is squared.

# T is the Minimum Spanning Tree (MST) of G with total weight t.

# T′ is the MST of G′ with total weight t′.

 

Step 1: How Squaring Affects Edge Weights

# Suppose G has edge weights w1 ,w2 ,…,wm.

# In G′, each weight is squared:   w1², w2², w3², … , wm²

# Since all edge weights are greater than one, squaring increases their values

(i.e., w² > w for w>1).

 

Step 2: Does the Same MST Structure Hold?

# In Kruskal’s algorithm, edges are picked in increasing order of weight.

# When we square weights, the relative order between small and large edges might change.

Example: If w1 < w2 , squaring might increase their gap (e.g., 2²=4 and 3² =9).

This means the set of edges selected in T might change in T′.

 

Conclusion:

T and T′ might be different because squaring can alter the priority of edges.

Thus, T′ ≠ T in general.

 

Step 3: What Happens to Total Weight?

Incorrect Claim: t′= t²

Why? The MST weight is the sum of selected edge weights, but

w1² + w2² + ⋯ + wn² ≠ (w1 +w2 +⋯+wn) ²

 

Conclusion: t′≠ t², meaning options A and C are false.

 

Step 4: Is t′ < t² ?

Since all edge weights increase when squared,

The weight of the MST must increase, meaning t′>t.

However, t′ is not necessarily less than t².

This means option B is also incorrect.

 

Final Conclusion:

Since none of the options A, B, or C hold, the correct answer is option D: None of the above.
• edited by
0 0 votes
Here D is correct. As everyone said B option is true but in one case it fails if there is a graph with 2 Nodes and edge weight is 1 then it t1==t^2, thus t1<t^2 will fail. And definitely MST doesn't change When edge weights are squared.
0 0 votes
Answer is D.

Take a complete graph with 3 vertices and each edge is 2. So if we square all, we still can have different types of mst than previous with same cost. Since all options are comparing T and T', they're all wrong, as we can't say. T and T' may or may not be equal. Hence D.
Answer:
Position:
Show:

Related questions

180 180 votes
12 answers 12 answers
55.4k
55.4k views
gatecse asked Sep 12, 2014
55,393 views
Let $G$ be a complete undirected graph on $6$ vertices. If vertices of $G$ are labeled, then the number of distinct cycles of length $4$ in $G$ is equal to$15$$30$$90$$36...
64 64 votes
6 answers 6 answers
20.4k
20.4k views
gatecse asked Aug 5, 2014
20,385 views
What will be the output of the following C program segment?char inChar = 'A'; switch ( inChar ) { case 'A' : printf ("Choice A \ n"); case 'B' : case 'C' : printf ("Choic...
132 132 votes
18 answers 18 answers
45.7k
45.7k views
gatecse asked Sep 26, 2014
45,670 views
A list of $n$ strings, each of length $n$, is sorted into lexicographic order using the merge-sort algorithm. The worst case running time of this computation is$O (n \log...
73 73 votes
3 answers 3 answers
19.5k
19.5k views
gatecse asked Aug 21, 2014
19,456 views
Which one of the following is NOT logically equivalent to $¬∃x(∀ y (α)∧∀z(β ))$ ?$∀ x(∃ z(¬β )→∀ y(α))$$∀x(∀ z(β )→∃ y(¬α))$$∀x(∀ y(α)→∃z(¬β ))$$∀x(∃ y(¬α)→∃z(¬β ))$