Why does a graph distance have to fulfill the four-point condition?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
In Buneman's paper "A note on the metric properties of trees", he states that:
"By checking the possible configuration of paths which can connect four points $x,y,z,t$ in a tree, it can be seen that the graphical distance must satisfy the inequality $$d(x,y)+d(z,t) leq maxd(x,z)+d(y,t), d(x,t)+d(y,z) ."$$
Now, I wanted to prove this.
The graphical distance he refers to is defined as the length of the shortest path joining two points $u$, $v$, i.e. the minimal number of edges passed. In a connected graph, this distance is a metric and since we are in a tree, our distance is a metric.
However, I have some trouble with my proof. First of all, the claim is supposed to hold for any four vertices, i.e. not necessarily leaves, but I think it would be easier to show for this. So I was wondering whether we can reduce it to the case of a quartet tree (but I think we cannot...)? I've also tried using the metric properties and the triangle inequality but this hasn't worked out either as I cannot be sure how many edges are in between two of my vertices. So I'm assuming that there is a certain approach to it which I'm not getting.
I'm grateful for any hints and suggestions!
combinatorics graph-theory metric-spaces trees
add a comment |Â
up vote
2
down vote
favorite
In Buneman's paper "A note on the metric properties of trees", he states that:
"By checking the possible configuration of paths which can connect four points $x,y,z,t$ in a tree, it can be seen that the graphical distance must satisfy the inequality $$d(x,y)+d(z,t) leq maxd(x,z)+d(y,t), d(x,t)+d(y,z) ."$$
Now, I wanted to prove this.
The graphical distance he refers to is defined as the length of the shortest path joining two points $u$, $v$, i.e. the minimal number of edges passed. In a connected graph, this distance is a metric and since we are in a tree, our distance is a metric.
However, I have some trouble with my proof. First of all, the claim is supposed to hold for any four vertices, i.e. not necessarily leaves, but I think it would be easier to show for this. So I was wondering whether we can reduce it to the case of a quartet tree (but I think we cannot...)? I've also tried using the metric properties and the triangle inequality but this hasn't worked out either as I cannot be sure how many edges are in between two of my vertices. So I'm assuming that there is a certain approach to it which I'm not getting.
I'm grateful for any hints and suggestions!
combinatorics graph-theory metric-spaces trees
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
In Buneman's paper "A note on the metric properties of trees", he states that:
"By checking the possible configuration of paths which can connect four points $x,y,z,t$ in a tree, it can be seen that the graphical distance must satisfy the inequality $$d(x,y)+d(z,t) leq maxd(x,z)+d(y,t), d(x,t)+d(y,z) ."$$
Now, I wanted to prove this.
The graphical distance he refers to is defined as the length of the shortest path joining two points $u$, $v$, i.e. the minimal number of edges passed. In a connected graph, this distance is a metric and since we are in a tree, our distance is a metric.
However, I have some trouble with my proof. First of all, the claim is supposed to hold for any four vertices, i.e. not necessarily leaves, but I think it would be easier to show for this. So I was wondering whether we can reduce it to the case of a quartet tree (but I think we cannot...)? I've also tried using the metric properties and the triangle inequality but this hasn't worked out either as I cannot be sure how many edges are in between two of my vertices. So I'm assuming that there is a certain approach to it which I'm not getting.
I'm grateful for any hints and suggestions!
combinatorics graph-theory metric-spaces trees
In Buneman's paper "A note on the metric properties of trees", he states that:
"By checking the possible configuration of paths which can connect four points $x,y,z,t$ in a tree, it can be seen that the graphical distance must satisfy the inequality $$d(x,y)+d(z,t) leq maxd(x,z)+d(y,t), d(x,t)+d(y,z) ."$$
Now, I wanted to prove this.
The graphical distance he refers to is defined as the length of the shortest path joining two points $u$, $v$, i.e. the minimal number of edges passed. In a connected graph, this distance is a metric and since we are in a tree, our distance is a metric.
However, I have some trouble with my proof. First of all, the claim is supposed to hold for any four vertices, i.e. not necessarily leaves, but I think it would be easier to show for this. So I was wondering whether we can reduce it to the case of a quartet tree (but I think we cannot...)? I've also tried using the metric properties and the triangle inequality but this hasn't worked out either as I cannot be sure how many edges are in between two of my vertices. So I'm assuming that there is a certain approach to it which I'm not getting.
I'm grateful for any hints and suggestions!
combinatorics graph-theory metric-spaces trees
combinatorics graph-theory metric-spaces trees
asked Aug 30 at 8:40
SallyOwens
284210
284210
add a comment |Â
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
2
down vote
accepted
First of all, the claim is supposed to hold for any four vertices, i.e. not necessarily leaves, but I think it would be easier to show for this. So I was wondering whether we can reduce it to the case of a quartet tree (but I think we cannot...)?
I'm not sure what a "quartet tree" is, but you can do the all of the following without loss of generality:
Start by generalizing to trees with explicitly weighted edges such that each edge is not restricted to have length $1$.
If any of your named nodes is not a leaf, attach a new leaf to it with an edge of length $0$, and move the name to that new leaf.
If any node has degree $>3$ replace it with a tree of maximal degree $3$ whose internal edges have length $0$.
Remove all nodes and edges that are not on the path between two of your named nodes.
Collapse all internal nodes of degree $2$.
You now have a tree with exactly four leaves and two internal nodes each of degree $3$. There are now only three shapes it can have:
x z x y x y
/ / /
*---* *---* *---*
/ / /
y t z t t z
In each case, each of the sums
$$ d(x,y)+d(z,t) \ d(x,z)+d(y,t) \ d(x,t)+d(y,z) $$
will contain all four diagonal edges once, but two of them also contains the horizontal edge twice. In other words, two of them are equal and the third is shorter (or equal). So no matter which you pick, there will be another one that is equal or longer, which is what your inequality states.
Thank you very much. I still got two questions though. What exactly do you mean by the third step (with the nodes of degree >3)? I don't understand the part with the replacement by trees? And wouldn't there also be the possibility of a tree looking like a cross with only one internal node?
â SallyOwens
Aug 30 at 13:21
@SallyOwens: The risk of ending like a cross is exactly what that step is supposed to handle. Another way to describe it would be: As long as you have any node with degree $ge 3$, detach two of its neighbors and connect them instead to a new degree-3 node which you connect to the original with a new length-0 edge. This reduces the degree by $1$, and doesn't change any distances.
â Henning Makholm
Aug 30 at 13:27
1
You could also postpone the step though: Ignore it, and if you end up with a cross rewrite the cross to one of the above graphs with a length-0 horizontal edge.
â Henning Makholm
Aug 30 at 13:28
add a comment |Â
up vote
2
down vote
I think it is easiest to do as suggested by the first sentence - check the possible configurations of where the vertices might lie with respect to each other. For example if the vertices are located like this:
a b c
x ---*--- y ---- z
|
| d
|
t
(where by $a,b,c,d$ I denoted the lengths of resulting segments) then you need to check that
$$a+b+c+b+d leq max(a+b+c+d+b, a+d+c).$$
And so on. There just a few configurations to consider.
I have trouble understanding your diagram. Is $t$ connected to $x$ or to $y$? And why is the link from $x$ to $y$ decorated with both $a$ and $b$?
â Henning Makholm
Aug 30 at 10:32
$t$ is connected to some unnamed point between $x$ and $y$. $a$ and $b$ are the lengths of the two pieces.
â Michal Adamaszek
Aug 30 at 10:37
Ah, I see. That would be easier to understand if the unnamed point was named.
â Henning Makholm
Aug 30 at 10:38
That may be true. See now.
â Michal Adamaszek
Aug 30 at 10:41
Much better. :-)
â Henning Makholm
Aug 30 at 10:49
 |Â
show 1 more comment
up vote
1
down vote
View $x$, $y$, $z$, $t$ as four colors, and assume that flags of these colors have been put on four (not necessarily different) vertices of a tree $T$. It is claimed that the six edge distances between the four flags satisfy the inequality given in the question.
We shall prove this by induction on the number $n$ of vertices of $T$. If $n=1$ the claim is trivially true. Assume that it is true for all trees having $leq n$ vertices, and let a flagged tree $T$ with $n+1$ vertices be given. Removing unflagged leaves does not alter the distances between the flags. Therefore we may assume that all leaves of $T$ carry at least one flag. Consider a leaf carrying just one flag, say $x$. It is attached to some vertex $v$. Removing the leaf and putting flag $x$ on $v$ decreases the distance of this flag from all other flags by $1$, and at the same time both sides of the inequality decrease by $1$. Since for the reduced tree the inequality holds by induction hypothesis it was already holding for the given tree $T$. If there is a leaf carrying three flags there has to be another leaf carrying just one flag, to which the foregoing operation can be applied. If there are just two leaves carrying two flags each the claim can be verified by inspection: One of the distance sums is $0$, and the two other sums are equal.
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
First of all, the claim is supposed to hold for any four vertices, i.e. not necessarily leaves, but I think it would be easier to show for this. So I was wondering whether we can reduce it to the case of a quartet tree (but I think we cannot...)?
I'm not sure what a "quartet tree" is, but you can do the all of the following without loss of generality:
Start by generalizing to trees with explicitly weighted edges such that each edge is not restricted to have length $1$.
If any of your named nodes is not a leaf, attach a new leaf to it with an edge of length $0$, and move the name to that new leaf.
If any node has degree $>3$ replace it with a tree of maximal degree $3$ whose internal edges have length $0$.
Remove all nodes and edges that are not on the path between two of your named nodes.
Collapse all internal nodes of degree $2$.
You now have a tree with exactly four leaves and two internal nodes each of degree $3$. There are now only three shapes it can have:
x z x y x y
/ / /
*---* *---* *---*
/ / /
y t z t t z
In each case, each of the sums
$$ d(x,y)+d(z,t) \ d(x,z)+d(y,t) \ d(x,t)+d(y,z) $$
will contain all four diagonal edges once, but two of them also contains the horizontal edge twice. In other words, two of them are equal and the third is shorter (or equal). So no matter which you pick, there will be another one that is equal or longer, which is what your inequality states.
Thank you very much. I still got two questions though. What exactly do you mean by the third step (with the nodes of degree >3)? I don't understand the part with the replacement by trees? And wouldn't there also be the possibility of a tree looking like a cross with only one internal node?
â SallyOwens
Aug 30 at 13:21
@SallyOwens: The risk of ending like a cross is exactly what that step is supposed to handle. Another way to describe it would be: As long as you have any node with degree $ge 3$, detach two of its neighbors and connect them instead to a new degree-3 node which you connect to the original with a new length-0 edge. This reduces the degree by $1$, and doesn't change any distances.
â Henning Makholm
Aug 30 at 13:27
1
You could also postpone the step though: Ignore it, and if you end up with a cross rewrite the cross to one of the above graphs with a length-0 horizontal edge.
â Henning Makholm
Aug 30 at 13:28
add a comment |Â
up vote
2
down vote
accepted
First of all, the claim is supposed to hold for any four vertices, i.e. not necessarily leaves, but I think it would be easier to show for this. So I was wondering whether we can reduce it to the case of a quartet tree (but I think we cannot...)?
I'm not sure what a "quartet tree" is, but you can do the all of the following without loss of generality:
Start by generalizing to trees with explicitly weighted edges such that each edge is not restricted to have length $1$.
If any of your named nodes is not a leaf, attach a new leaf to it with an edge of length $0$, and move the name to that new leaf.
If any node has degree $>3$ replace it with a tree of maximal degree $3$ whose internal edges have length $0$.
Remove all nodes and edges that are not on the path between two of your named nodes.
Collapse all internal nodes of degree $2$.
You now have a tree with exactly four leaves and two internal nodes each of degree $3$. There are now only three shapes it can have:
x z x y x y
/ / /
*---* *---* *---*
/ / /
y t z t t z
In each case, each of the sums
$$ d(x,y)+d(z,t) \ d(x,z)+d(y,t) \ d(x,t)+d(y,z) $$
will contain all four diagonal edges once, but two of them also contains the horizontal edge twice. In other words, two of them are equal and the third is shorter (or equal). So no matter which you pick, there will be another one that is equal or longer, which is what your inequality states.
Thank you very much. I still got two questions though. What exactly do you mean by the third step (with the nodes of degree >3)? I don't understand the part with the replacement by trees? And wouldn't there also be the possibility of a tree looking like a cross with only one internal node?
â SallyOwens
Aug 30 at 13:21
@SallyOwens: The risk of ending like a cross is exactly what that step is supposed to handle. Another way to describe it would be: As long as you have any node with degree $ge 3$, detach two of its neighbors and connect them instead to a new degree-3 node which you connect to the original with a new length-0 edge. This reduces the degree by $1$, and doesn't change any distances.
â Henning Makholm
Aug 30 at 13:27
1
You could also postpone the step though: Ignore it, and if you end up with a cross rewrite the cross to one of the above graphs with a length-0 horizontal edge.
â Henning Makholm
Aug 30 at 13:28
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
First of all, the claim is supposed to hold for any four vertices, i.e. not necessarily leaves, but I think it would be easier to show for this. So I was wondering whether we can reduce it to the case of a quartet tree (but I think we cannot...)?
I'm not sure what a "quartet tree" is, but you can do the all of the following without loss of generality:
Start by generalizing to trees with explicitly weighted edges such that each edge is not restricted to have length $1$.
If any of your named nodes is not a leaf, attach a new leaf to it with an edge of length $0$, and move the name to that new leaf.
If any node has degree $>3$ replace it with a tree of maximal degree $3$ whose internal edges have length $0$.
Remove all nodes and edges that are not on the path between two of your named nodes.
Collapse all internal nodes of degree $2$.
You now have a tree with exactly four leaves and two internal nodes each of degree $3$. There are now only three shapes it can have:
x z x y x y
/ / /
*---* *---* *---*
/ / /
y t z t t z
In each case, each of the sums
$$ d(x,y)+d(z,t) \ d(x,z)+d(y,t) \ d(x,t)+d(y,z) $$
will contain all four diagonal edges once, but two of them also contains the horizontal edge twice. In other words, two of them are equal and the third is shorter (or equal). So no matter which you pick, there will be another one that is equal or longer, which is what your inequality states.
First of all, the claim is supposed to hold for any four vertices, i.e. not necessarily leaves, but I think it would be easier to show for this. So I was wondering whether we can reduce it to the case of a quartet tree (but I think we cannot...)?
I'm not sure what a "quartet tree" is, but you can do the all of the following without loss of generality:
Start by generalizing to trees with explicitly weighted edges such that each edge is not restricted to have length $1$.
If any of your named nodes is not a leaf, attach a new leaf to it with an edge of length $0$, and move the name to that new leaf.
If any node has degree $>3$ replace it with a tree of maximal degree $3$ whose internal edges have length $0$.
Remove all nodes and edges that are not on the path between two of your named nodes.
Collapse all internal nodes of degree $2$.
You now have a tree with exactly four leaves and two internal nodes each of degree $3$. There are now only three shapes it can have:
x z x y x y
/ / /
*---* *---* *---*
/ / /
y t z t t z
In each case, each of the sums
$$ d(x,y)+d(z,t) \ d(x,z)+d(y,t) \ d(x,t)+d(y,z) $$
will contain all four diagonal edges once, but two of them also contains the horizontal edge twice. In other words, two of them are equal and the third is shorter (or equal). So no matter which you pick, there will be another one that is equal or longer, which is what your inequality states.
edited Aug 30 at 13:20
answered Aug 30 at 11:08
Henning Makholm
230k16296526
230k16296526
Thank you very much. I still got two questions though. What exactly do you mean by the third step (with the nodes of degree >3)? I don't understand the part with the replacement by trees? And wouldn't there also be the possibility of a tree looking like a cross with only one internal node?
â SallyOwens
Aug 30 at 13:21
@SallyOwens: The risk of ending like a cross is exactly what that step is supposed to handle. Another way to describe it would be: As long as you have any node with degree $ge 3$, detach two of its neighbors and connect them instead to a new degree-3 node which you connect to the original with a new length-0 edge. This reduces the degree by $1$, and doesn't change any distances.
â Henning Makholm
Aug 30 at 13:27
1
You could also postpone the step though: Ignore it, and if you end up with a cross rewrite the cross to one of the above graphs with a length-0 horizontal edge.
â Henning Makholm
Aug 30 at 13:28
add a comment |Â
Thank you very much. I still got two questions though. What exactly do you mean by the third step (with the nodes of degree >3)? I don't understand the part with the replacement by trees? And wouldn't there also be the possibility of a tree looking like a cross with only one internal node?
â SallyOwens
Aug 30 at 13:21
@SallyOwens: The risk of ending like a cross is exactly what that step is supposed to handle. Another way to describe it would be: As long as you have any node with degree $ge 3$, detach two of its neighbors and connect them instead to a new degree-3 node which you connect to the original with a new length-0 edge. This reduces the degree by $1$, and doesn't change any distances.
â Henning Makholm
Aug 30 at 13:27
1
You could also postpone the step though: Ignore it, and if you end up with a cross rewrite the cross to one of the above graphs with a length-0 horizontal edge.
â Henning Makholm
Aug 30 at 13:28
Thank you very much. I still got two questions though. What exactly do you mean by the third step (with the nodes of degree >3)? I don't understand the part with the replacement by trees? And wouldn't there also be the possibility of a tree looking like a cross with only one internal node?
â SallyOwens
Aug 30 at 13:21
Thank you very much. I still got two questions though. What exactly do you mean by the third step (with the nodes of degree >3)? I don't understand the part with the replacement by trees? And wouldn't there also be the possibility of a tree looking like a cross with only one internal node?
â SallyOwens
Aug 30 at 13:21
@SallyOwens: The risk of ending like a cross is exactly what that step is supposed to handle. Another way to describe it would be: As long as you have any node with degree $ge 3$, detach two of its neighbors and connect them instead to a new degree-3 node which you connect to the original with a new length-0 edge. This reduces the degree by $1$, and doesn't change any distances.
â Henning Makholm
Aug 30 at 13:27
@SallyOwens: The risk of ending like a cross is exactly what that step is supposed to handle. Another way to describe it would be: As long as you have any node with degree $ge 3$, detach two of its neighbors and connect them instead to a new degree-3 node which you connect to the original with a new length-0 edge. This reduces the degree by $1$, and doesn't change any distances.
â Henning Makholm
Aug 30 at 13:27
1
1
You could also postpone the step though: Ignore it, and if you end up with a cross rewrite the cross to one of the above graphs with a length-0 horizontal edge.
â Henning Makholm
Aug 30 at 13:28
You could also postpone the step though: Ignore it, and if you end up with a cross rewrite the cross to one of the above graphs with a length-0 horizontal edge.
â Henning Makholm
Aug 30 at 13:28
add a comment |Â
up vote
2
down vote
I think it is easiest to do as suggested by the first sentence - check the possible configurations of where the vertices might lie with respect to each other. For example if the vertices are located like this:
a b c
x ---*--- y ---- z
|
| d
|
t
(where by $a,b,c,d$ I denoted the lengths of resulting segments) then you need to check that
$$a+b+c+b+d leq max(a+b+c+d+b, a+d+c).$$
And so on. There just a few configurations to consider.
I have trouble understanding your diagram. Is $t$ connected to $x$ or to $y$? And why is the link from $x$ to $y$ decorated with both $a$ and $b$?
â Henning Makholm
Aug 30 at 10:32
$t$ is connected to some unnamed point between $x$ and $y$. $a$ and $b$ are the lengths of the two pieces.
â Michal Adamaszek
Aug 30 at 10:37
Ah, I see. That would be easier to understand if the unnamed point was named.
â Henning Makholm
Aug 30 at 10:38
That may be true. See now.
â Michal Adamaszek
Aug 30 at 10:41
Much better. :-)
â Henning Makholm
Aug 30 at 10:49
 |Â
show 1 more comment
up vote
2
down vote
I think it is easiest to do as suggested by the first sentence - check the possible configurations of where the vertices might lie with respect to each other. For example if the vertices are located like this:
a b c
x ---*--- y ---- z
|
| d
|
t
(where by $a,b,c,d$ I denoted the lengths of resulting segments) then you need to check that
$$a+b+c+b+d leq max(a+b+c+d+b, a+d+c).$$
And so on. There just a few configurations to consider.
I have trouble understanding your diagram. Is $t$ connected to $x$ or to $y$? And why is the link from $x$ to $y$ decorated with both $a$ and $b$?
â Henning Makholm
Aug 30 at 10:32
$t$ is connected to some unnamed point between $x$ and $y$. $a$ and $b$ are the lengths of the two pieces.
â Michal Adamaszek
Aug 30 at 10:37
Ah, I see. That would be easier to understand if the unnamed point was named.
â Henning Makholm
Aug 30 at 10:38
That may be true. See now.
â Michal Adamaszek
Aug 30 at 10:41
Much better. :-)
â Henning Makholm
Aug 30 at 10:49
 |Â
show 1 more comment
up vote
2
down vote
up vote
2
down vote
I think it is easiest to do as suggested by the first sentence - check the possible configurations of where the vertices might lie with respect to each other. For example if the vertices are located like this:
a b c
x ---*--- y ---- z
|
| d
|
t
(where by $a,b,c,d$ I denoted the lengths of resulting segments) then you need to check that
$$a+b+c+b+d leq max(a+b+c+d+b, a+d+c).$$
And so on. There just a few configurations to consider.
I think it is easiest to do as suggested by the first sentence - check the possible configurations of where the vertices might lie with respect to each other. For example if the vertices are located like this:
a b c
x ---*--- y ---- z
|
| d
|
t
(where by $a,b,c,d$ I denoted the lengths of resulting segments) then you need to check that
$$a+b+c+b+d leq max(a+b+c+d+b, a+d+c).$$
And so on. There just a few configurations to consider.
edited Aug 30 at 10:40
answered Aug 30 at 10:21
Michal Adamaszek
1,71948
1,71948
I have trouble understanding your diagram. Is $t$ connected to $x$ or to $y$? And why is the link from $x$ to $y$ decorated with both $a$ and $b$?
â Henning Makholm
Aug 30 at 10:32
$t$ is connected to some unnamed point between $x$ and $y$. $a$ and $b$ are the lengths of the two pieces.
â Michal Adamaszek
Aug 30 at 10:37
Ah, I see. That would be easier to understand if the unnamed point was named.
â Henning Makholm
Aug 30 at 10:38
That may be true. See now.
â Michal Adamaszek
Aug 30 at 10:41
Much better. :-)
â Henning Makholm
Aug 30 at 10:49
 |Â
show 1 more comment
I have trouble understanding your diagram. Is $t$ connected to $x$ or to $y$? And why is the link from $x$ to $y$ decorated with both $a$ and $b$?
â Henning Makholm
Aug 30 at 10:32
$t$ is connected to some unnamed point between $x$ and $y$. $a$ and $b$ are the lengths of the two pieces.
â Michal Adamaszek
Aug 30 at 10:37
Ah, I see. That would be easier to understand if the unnamed point was named.
â Henning Makholm
Aug 30 at 10:38
That may be true. See now.
â Michal Adamaszek
Aug 30 at 10:41
Much better. :-)
â Henning Makholm
Aug 30 at 10:49
I have trouble understanding your diagram. Is $t$ connected to $x$ or to $y$? And why is the link from $x$ to $y$ decorated with both $a$ and $b$?
â Henning Makholm
Aug 30 at 10:32
I have trouble understanding your diagram. Is $t$ connected to $x$ or to $y$? And why is the link from $x$ to $y$ decorated with both $a$ and $b$?
â Henning Makholm
Aug 30 at 10:32
$t$ is connected to some unnamed point between $x$ and $y$. $a$ and $b$ are the lengths of the two pieces.
â Michal Adamaszek
Aug 30 at 10:37
$t$ is connected to some unnamed point between $x$ and $y$. $a$ and $b$ are the lengths of the two pieces.
â Michal Adamaszek
Aug 30 at 10:37
Ah, I see. That would be easier to understand if the unnamed point was named.
â Henning Makholm
Aug 30 at 10:38
Ah, I see. That would be easier to understand if the unnamed point was named.
â Henning Makholm
Aug 30 at 10:38
That may be true. See now.
â Michal Adamaszek
Aug 30 at 10:41
That may be true. See now.
â Michal Adamaszek
Aug 30 at 10:41
Much better. :-)
â Henning Makholm
Aug 30 at 10:49
Much better. :-)
â Henning Makholm
Aug 30 at 10:49
 |Â
show 1 more comment
up vote
1
down vote
View $x$, $y$, $z$, $t$ as four colors, and assume that flags of these colors have been put on four (not necessarily different) vertices of a tree $T$. It is claimed that the six edge distances between the four flags satisfy the inequality given in the question.
We shall prove this by induction on the number $n$ of vertices of $T$. If $n=1$ the claim is trivially true. Assume that it is true for all trees having $leq n$ vertices, and let a flagged tree $T$ with $n+1$ vertices be given. Removing unflagged leaves does not alter the distances between the flags. Therefore we may assume that all leaves of $T$ carry at least one flag. Consider a leaf carrying just one flag, say $x$. It is attached to some vertex $v$. Removing the leaf and putting flag $x$ on $v$ decreases the distance of this flag from all other flags by $1$, and at the same time both sides of the inequality decrease by $1$. Since for the reduced tree the inequality holds by induction hypothesis it was already holding for the given tree $T$. If there is a leaf carrying three flags there has to be another leaf carrying just one flag, to which the foregoing operation can be applied. If there are just two leaves carrying two flags each the claim can be verified by inspection: One of the distance sums is $0$, and the two other sums are equal.
add a comment |Â
up vote
1
down vote
View $x$, $y$, $z$, $t$ as four colors, and assume that flags of these colors have been put on four (not necessarily different) vertices of a tree $T$. It is claimed that the six edge distances between the four flags satisfy the inequality given in the question.
We shall prove this by induction on the number $n$ of vertices of $T$. If $n=1$ the claim is trivially true. Assume that it is true for all trees having $leq n$ vertices, and let a flagged tree $T$ with $n+1$ vertices be given. Removing unflagged leaves does not alter the distances between the flags. Therefore we may assume that all leaves of $T$ carry at least one flag. Consider a leaf carrying just one flag, say $x$. It is attached to some vertex $v$. Removing the leaf and putting flag $x$ on $v$ decreases the distance of this flag from all other flags by $1$, and at the same time both sides of the inequality decrease by $1$. Since for the reduced tree the inequality holds by induction hypothesis it was already holding for the given tree $T$. If there is a leaf carrying three flags there has to be another leaf carrying just one flag, to which the foregoing operation can be applied. If there are just two leaves carrying two flags each the claim can be verified by inspection: One of the distance sums is $0$, and the two other sums are equal.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
View $x$, $y$, $z$, $t$ as four colors, and assume that flags of these colors have been put on four (not necessarily different) vertices of a tree $T$. It is claimed that the six edge distances between the four flags satisfy the inequality given in the question.
We shall prove this by induction on the number $n$ of vertices of $T$. If $n=1$ the claim is trivially true. Assume that it is true for all trees having $leq n$ vertices, and let a flagged tree $T$ with $n+1$ vertices be given. Removing unflagged leaves does not alter the distances between the flags. Therefore we may assume that all leaves of $T$ carry at least one flag. Consider a leaf carrying just one flag, say $x$. It is attached to some vertex $v$. Removing the leaf and putting flag $x$ on $v$ decreases the distance of this flag from all other flags by $1$, and at the same time both sides of the inequality decrease by $1$. Since for the reduced tree the inequality holds by induction hypothesis it was already holding for the given tree $T$. If there is a leaf carrying three flags there has to be another leaf carrying just one flag, to which the foregoing operation can be applied. If there are just two leaves carrying two flags each the claim can be verified by inspection: One of the distance sums is $0$, and the two other sums are equal.
View $x$, $y$, $z$, $t$ as four colors, and assume that flags of these colors have been put on four (not necessarily different) vertices of a tree $T$. It is claimed that the six edge distances between the four flags satisfy the inequality given in the question.
We shall prove this by induction on the number $n$ of vertices of $T$. If $n=1$ the claim is trivially true. Assume that it is true for all trees having $leq n$ vertices, and let a flagged tree $T$ with $n+1$ vertices be given. Removing unflagged leaves does not alter the distances between the flags. Therefore we may assume that all leaves of $T$ carry at least one flag. Consider a leaf carrying just one flag, say $x$. It is attached to some vertex $v$. Removing the leaf and putting flag $x$ on $v$ decreases the distance of this flag from all other flags by $1$, and at the same time both sides of the inequality decrease by $1$. Since for the reduced tree the inequality holds by induction hypothesis it was already holding for the given tree $T$. If there is a leaf carrying three flags there has to be another leaf carrying just one flag, to which the foregoing operation can be applied. If there are just two leaves carrying two flags each the claim can be verified by inspection: One of the distance sums is $0$, and the two other sums are equal.
answered Sep 1 at 15:24
Christian Blatter
165k7109311
165k7109311
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2899278%2fwhy-does-a-graph-distance-have-to-fulfill-the-four-point-condition%23new-answer', 'question_page');
);
Post as a guest
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
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
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