• retagged by
2,752 views
0 0 votes
Given a graph G and a minimum spanning tree T, suppose that we decrease the weight of one of the edges in T. Show that T is still a minimum spanning tree for G. More formally, let T be a minimum spanning tree for G with edge weights given by weight function w. Choose one edge (x, y) ∈ T and a positive number k, and define the weight function w' by

w'(u, v) =  w(u, v), if (u, v) != (x, y),

w(u, v) − k, if (u, v) = (x, y).

Show that T is a minimum spanning tree for G with edge weights given by w'

2 Answers

Best answer
3 3 votes

A graph G:

Minimum spaning tree T: 

Now take any vertex (x,y)[take (c,f) $\epsilon$ T and search for that vertex if (u,v) = (x,y) then reduce weight by k [ assume k = 1].

Now reduce weight of C,F by 1 will make it 4 . which also a MST. 

• selected by
1 1 vote

In this graph if we decrease one of the edge weight, the MST will not change. Because MST already taken the minimum weights edges.

Now, weight of uv=1

weight of xy=4

So, k= -3 here.

(u,v)-(-3)=(x,y) [Proved]

Position:
Show:

Related questions

3 3 votes
1 answers 1 answer
3.9k
3.9k views
Pooja Palod asked Oct 15, 2015
3,865 views
Suppose that edge weights are uniformly distributed over half open interval $[0,1)$. Which algorithm kruskal's or prim's can make you run faster?
0 0 votes
2 2 answers
1.9k
1.9k views
KUSHAGRA गुप्ता asked Nov 12, 2019
1,921 views
The diameter of a tree $T= (V, E)$ is defined as $max_{u,v\ \epsilon\ V}\ \delta(u,v)$, that is, the largest of all shortest-path distances in the tree. Give an efficient...
1 1 vote
1 1 answer
1.7k
1.7k views
KUSHAGRA गुप्ता asked Nov 12, 2019
1,746 views
There are two types of professional wrestlers: “babyfaces” (“good guys”) and “heels” (“bad guys”). Between any pair of professional wrestlers, there may or may not be a r...
1 1 vote
1 1 answer
2.5k
2.5k views
KUSHAGRA गुप्ता asked Nov 12, 2019
2,486 views
Give an example of a directed graph $G=(V, E)$, a source vertex $s\ \epsilon\ V$ , and a set of tree edges $E_{\Pi}\subseteq E$ such that for each vertex $v\ \epsilon\ V$...