Graph Theory: How to prove this statement?
$begingroup$
Assume $T$ is a weighted tree and we want to find a spanning tree that it's maximum edge-weight is minimum. Prove that each MST (Minimum Spanning Tree) is an answer to this problem, but not all answers are MST.
Any hints how to prove the statement?
discrete-mathematics graph-theory trees
$endgroup$
add a comment |
$begingroup$
Assume $T$ is a weighted tree and we want to find a spanning tree that it's maximum edge-weight is minimum. Prove that each MST (Minimum Spanning Tree) is an answer to this problem, but not all answers are MST.
Any hints how to prove the statement?
discrete-mathematics graph-theory trees
$endgroup$
$begingroup$
What do you mean by that $T$'s maximum edge-weight is minimum?
$endgroup$
– Santana Afton
Apr 11 '17 at 11:07
add a comment |
$begingroup$
Assume $T$ is a weighted tree and we want to find a spanning tree that it's maximum edge-weight is minimum. Prove that each MST (Minimum Spanning Tree) is an answer to this problem, but not all answers are MST.
Any hints how to prove the statement?
discrete-mathematics graph-theory trees
$endgroup$
Assume $T$ is a weighted tree and we want to find a spanning tree that it's maximum edge-weight is minimum. Prove that each MST (Minimum Spanning Tree) is an answer to this problem, but not all answers are MST.
Any hints how to prove the statement?
discrete-mathematics graph-theory trees
discrete-mathematics graph-theory trees
asked Apr 11 '17 at 10:51
Ju BcJu Bc
30918
30918
$begingroup$
What do you mean by that $T$'s maximum edge-weight is minimum?
$endgroup$
– Santana Afton
Apr 11 '17 at 11:07
add a comment |
$begingroup$
What do you mean by that $T$'s maximum edge-weight is minimum?
$endgroup$
– Santana Afton
Apr 11 '17 at 11:07
$begingroup$
What do you mean by that $T$'s maximum edge-weight is minimum?
$endgroup$
– Santana Afton
Apr 11 '17 at 11:07
$begingroup$
What do you mean by that $T$'s maximum edge-weight is minimum?
$endgroup$
– Santana Afton
Apr 11 '17 at 11:07
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
I assume $T$ is a weighted graph, rather than a tree, since otherwise there is only one spanning tree.
Kruskal's MST algorithm processes the edges of the graph in order of weight. So it will only consider an edge of weight $w$ if there is no spanning tree available using lower-weight edges.
For the other bit, try to construct a graph where all spanning trees have to use a particular edge. Now give that edge very large weight (and other edges all different smaller weights). Then any spanning tree will minimise the maximum weight, but there is only one minimum spanning tree.
$endgroup$
1
$begingroup$
As the question asked for any MST, why is it enough to only consider the one Kruskal's algorithm computes?
$endgroup$
– Dirk
Apr 11 '17 at 11:17
$begingroup$
Because Kruskal's algorithm can compute any MST.
$endgroup$
– Especially Lime
Apr 11 '17 at 13:02
add a comment |
$begingroup$
I will assume you meant $T$ to be a weighted graph, and for notational convenience I'll rename $T$ to $G$. Let's call a spanning tree min-max spanning tree if the maximum edge weight in it is minimum over all spanning trees. So, we want to show that every minimum spanning tree is a min-max spanning tree, but a min-max spanning tree need not be a minimum spanning tree.
The second is easier to prove, so I'll start with that. Consider an undirected graph $G = (V,E)$, with $V = {v_1, v_2, v_3}$ and edge weights between $v_1$ and $v_2$ as $2$, between $v_2$ and $v_3$ as $1$, between $v_3$ and $v_1$ as $1$. Then the tree with edges between $v_1$ and $v_2$ and between $v_1$ and $v_3$ is a min-max spanning tree but it isn't a minimum spanning tree.
To prove that every minimum spanning tree is a min-max spanning tree, I'll make use of Cycle property. For the sake of contradiction, assume there exists a minimum spanning tree $T$ and a min-max spanning tree $T'$ for a graph $G$ such that there is an edge $e$ in $T$ whose weight is larger than any edge in $T'$. If we add edge $e$ to $T'$ we get a cycle $C$ containing $e$. Since edge $e$ is the heaviest edge in the cycle $C$, by the cycle property it cannot be present in a minimum spanning tree contradicting our initial assumption.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2229041%2fgraph-theory-how-to-prove-this-statement%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I assume $T$ is a weighted graph, rather than a tree, since otherwise there is only one spanning tree.
Kruskal's MST algorithm processes the edges of the graph in order of weight. So it will only consider an edge of weight $w$ if there is no spanning tree available using lower-weight edges.
For the other bit, try to construct a graph where all spanning trees have to use a particular edge. Now give that edge very large weight (and other edges all different smaller weights). Then any spanning tree will minimise the maximum weight, but there is only one minimum spanning tree.
$endgroup$
1
$begingroup$
As the question asked for any MST, why is it enough to only consider the one Kruskal's algorithm computes?
$endgroup$
– Dirk
Apr 11 '17 at 11:17
$begingroup$
Because Kruskal's algorithm can compute any MST.
$endgroup$
– Especially Lime
Apr 11 '17 at 13:02
add a comment |
$begingroup$
I assume $T$ is a weighted graph, rather than a tree, since otherwise there is only one spanning tree.
Kruskal's MST algorithm processes the edges of the graph in order of weight. So it will only consider an edge of weight $w$ if there is no spanning tree available using lower-weight edges.
For the other bit, try to construct a graph where all spanning trees have to use a particular edge. Now give that edge very large weight (and other edges all different smaller weights). Then any spanning tree will minimise the maximum weight, but there is only one minimum spanning tree.
$endgroup$
1
$begingroup$
As the question asked for any MST, why is it enough to only consider the one Kruskal's algorithm computes?
$endgroup$
– Dirk
Apr 11 '17 at 11:17
$begingroup$
Because Kruskal's algorithm can compute any MST.
$endgroup$
– Especially Lime
Apr 11 '17 at 13:02
add a comment |
$begingroup$
I assume $T$ is a weighted graph, rather than a tree, since otherwise there is only one spanning tree.
Kruskal's MST algorithm processes the edges of the graph in order of weight. So it will only consider an edge of weight $w$ if there is no spanning tree available using lower-weight edges.
For the other bit, try to construct a graph where all spanning trees have to use a particular edge. Now give that edge very large weight (and other edges all different smaller weights). Then any spanning tree will minimise the maximum weight, but there is only one minimum spanning tree.
$endgroup$
I assume $T$ is a weighted graph, rather than a tree, since otherwise there is only one spanning tree.
Kruskal's MST algorithm processes the edges of the graph in order of weight. So it will only consider an edge of weight $w$ if there is no spanning tree available using lower-weight edges.
For the other bit, try to construct a graph where all spanning trees have to use a particular edge. Now give that edge very large weight (and other edges all different smaller weights). Then any spanning tree will minimise the maximum weight, but there is only one minimum spanning tree.
answered Apr 11 '17 at 11:15
Especially LimeEspecially Lime
22.9k23059
22.9k23059
1
$begingroup$
As the question asked for any MST, why is it enough to only consider the one Kruskal's algorithm computes?
$endgroup$
– Dirk
Apr 11 '17 at 11:17
$begingroup$
Because Kruskal's algorithm can compute any MST.
$endgroup$
– Especially Lime
Apr 11 '17 at 13:02
add a comment |
1
$begingroup$
As the question asked for any MST, why is it enough to only consider the one Kruskal's algorithm computes?
$endgroup$
– Dirk
Apr 11 '17 at 11:17
$begingroup$
Because Kruskal's algorithm can compute any MST.
$endgroup$
– Especially Lime
Apr 11 '17 at 13:02
1
1
$begingroup$
As the question asked for any MST, why is it enough to only consider the one Kruskal's algorithm computes?
$endgroup$
– Dirk
Apr 11 '17 at 11:17
$begingroup$
As the question asked for any MST, why is it enough to only consider the one Kruskal's algorithm computes?
$endgroup$
– Dirk
Apr 11 '17 at 11:17
$begingroup$
Because Kruskal's algorithm can compute any MST.
$endgroup$
– Especially Lime
Apr 11 '17 at 13:02
$begingroup$
Because Kruskal's algorithm can compute any MST.
$endgroup$
– Especially Lime
Apr 11 '17 at 13:02
add a comment |
$begingroup$
I will assume you meant $T$ to be a weighted graph, and for notational convenience I'll rename $T$ to $G$. Let's call a spanning tree min-max spanning tree if the maximum edge weight in it is minimum over all spanning trees. So, we want to show that every minimum spanning tree is a min-max spanning tree, but a min-max spanning tree need not be a minimum spanning tree.
The second is easier to prove, so I'll start with that. Consider an undirected graph $G = (V,E)$, with $V = {v_1, v_2, v_3}$ and edge weights between $v_1$ and $v_2$ as $2$, between $v_2$ and $v_3$ as $1$, between $v_3$ and $v_1$ as $1$. Then the tree with edges between $v_1$ and $v_2$ and between $v_1$ and $v_3$ is a min-max spanning tree but it isn't a minimum spanning tree.
To prove that every minimum spanning tree is a min-max spanning tree, I'll make use of Cycle property. For the sake of contradiction, assume there exists a minimum spanning tree $T$ and a min-max spanning tree $T'$ for a graph $G$ such that there is an edge $e$ in $T$ whose weight is larger than any edge in $T'$. If we add edge $e$ to $T'$ we get a cycle $C$ containing $e$. Since edge $e$ is the heaviest edge in the cycle $C$, by the cycle property it cannot be present in a minimum spanning tree contradicting our initial assumption.
$endgroup$
add a comment |
$begingroup$
I will assume you meant $T$ to be a weighted graph, and for notational convenience I'll rename $T$ to $G$. Let's call a spanning tree min-max spanning tree if the maximum edge weight in it is minimum over all spanning trees. So, we want to show that every minimum spanning tree is a min-max spanning tree, but a min-max spanning tree need not be a minimum spanning tree.
The second is easier to prove, so I'll start with that. Consider an undirected graph $G = (V,E)$, with $V = {v_1, v_2, v_3}$ and edge weights between $v_1$ and $v_2$ as $2$, between $v_2$ and $v_3$ as $1$, between $v_3$ and $v_1$ as $1$. Then the tree with edges between $v_1$ and $v_2$ and between $v_1$ and $v_3$ is a min-max spanning tree but it isn't a minimum spanning tree.
To prove that every minimum spanning tree is a min-max spanning tree, I'll make use of Cycle property. For the sake of contradiction, assume there exists a minimum spanning tree $T$ and a min-max spanning tree $T'$ for a graph $G$ such that there is an edge $e$ in $T$ whose weight is larger than any edge in $T'$. If we add edge $e$ to $T'$ we get a cycle $C$ containing $e$. Since edge $e$ is the heaviest edge in the cycle $C$, by the cycle property it cannot be present in a minimum spanning tree contradicting our initial assumption.
$endgroup$
add a comment |
$begingroup$
I will assume you meant $T$ to be a weighted graph, and for notational convenience I'll rename $T$ to $G$. Let's call a spanning tree min-max spanning tree if the maximum edge weight in it is minimum over all spanning trees. So, we want to show that every minimum spanning tree is a min-max spanning tree, but a min-max spanning tree need not be a minimum spanning tree.
The second is easier to prove, so I'll start with that. Consider an undirected graph $G = (V,E)$, with $V = {v_1, v_2, v_3}$ and edge weights between $v_1$ and $v_2$ as $2$, between $v_2$ and $v_3$ as $1$, between $v_3$ and $v_1$ as $1$. Then the tree with edges between $v_1$ and $v_2$ and between $v_1$ and $v_3$ is a min-max spanning tree but it isn't a minimum spanning tree.
To prove that every minimum spanning tree is a min-max spanning tree, I'll make use of Cycle property. For the sake of contradiction, assume there exists a minimum spanning tree $T$ and a min-max spanning tree $T'$ for a graph $G$ such that there is an edge $e$ in $T$ whose weight is larger than any edge in $T'$. If we add edge $e$ to $T'$ we get a cycle $C$ containing $e$. Since edge $e$ is the heaviest edge in the cycle $C$, by the cycle property it cannot be present in a minimum spanning tree contradicting our initial assumption.
$endgroup$
I will assume you meant $T$ to be a weighted graph, and for notational convenience I'll rename $T$ to $G$. Let's call a spanning tree min-max spanning tree if the maximum edge weight in it is minimum over all spanning trees. So, we want to show that every minimum spanning tree is a min-max spanning tree, but a min-max spanning tree need not be a minimum spanning tree.
The second is easier to prove, so I'll start with that. Consider an undirected graph $G = (V,E)$, with $V = {v_1, v_2, v_3}$ and edge weights between $v_1$ and $v_2$ as $2$, between $v_2$ and $v_3$ as $1$, between $v_3$ and $v_1$ as $1$. Then the tree with edges between $v_1$ and $v_2$ and between $v_1$ and $v_3$ is a min-max spanning tree but it isn't a minimum spanning tree.
To prove that every minimum spanning tree is a min-max spanning tree, I'll make use of Cycle property. For the sake of contradiction, assume there exists a minimum spanning tree $T$ and a min-max spanning tree $T'$ for a graph $G$ such that there is an edge $e$ in $T$ whose weight is larger than any edge in $T'$. If we add edge $e$ to $T'$ we get a cycle $C$ containing $e$. Since edge $e$ is the heaviest edge in the cycle $C$, by the cycle property it cannot be present in a minimum spanning tree contradicting our initial assumption.
answered Dec 26 '18 at 7:41
AdityaAditya
19116
19116
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2229041%2fgraph-theory-how-to-prove-this-statement%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
What do you mean by that $T$'s maximum edge-weight is minimum?
$endgroup$
– Santana Afton
Apr 11 '17 at 11:07