Finding the shortest path between two points on the surface of a cube
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
A cube with vertices $(0,0,0),(0,0,1),(0,1,0),(0,1,1),(1,0,0),(1,0,1),(1,1,0),$ and $(1,1,1)$ has the point $P_1$ with vertices $(frac12,0,frac14)$ and the point $P_2$ with vertices $(0,frac34,frac34)$. What is the length of the shortest path between $P_1$ and $P_2$ such that the path lies on the surface of the cube?
Note: $sqrt(frac12-0)^2+(0-frac34)^2+(frac14-frac34)^2=fracsqrt174approx1.03078$ is the shortest distance between the two points. However, it is not the correct answer since this path does not lie on the surface of the cube.
For the same cube, can we generalize and give an expression to find the length of the shortest path between $P_1(x_1,y_1,z_1)$ and $P_2(x_2,y_2,z_2)$, where, clearly, $0leq x_i,y_i,z_ileq1$?
geometry solid-geometry
add a comment |
up vote
3
down vote
favorite
A cube with vertices $(0,0,0),(0,0,1),(0,1,0),(0,1,1),(1,0,0),(1,0,1),(1,1,0),$ and $(1,1,1)$ has the point $P_1$ with vertices $(frac12,0,frac14)$ and the point $P_2$ with vertices $(0,frac34,frac34)$. What is the length of the shortest path between $P_1$ and $P_2$ such that the path lies on the surface of the cube?
Note: $sqrt(frac12-0)^2+(0-frac34)^2+(frac14-frac34)^2=fracsqrt174approx1.03078$ is the shortest distance between the two points. However, it is not the correct answer since this path does not lie on the surface of the cube.
For the same cube, can we generalize and give an expression to find the length of the shortest path between $P_1(x_1,y_1,z_1)$ and $P_2(x_2,y_2,z_2)$, where, clearly, $0leq x_i,y_i,z_ileq1$?
geometry solid-geometry
My guess would be yes, but it will definitely be a piece wise defined function. You'd want to break it down into a sum of distances across faces. Not sure if that helps or not, nice question though!
– DanielOnMSE
Dec 3 at 6:49
@DanielOnMSE thanks :) , Yes, we have to find the sum of the lengths of two straight lines. But I do not know how to find the two lines :(
– Hussain-Alqatari
Dec 3 at 6:52
For your specific example yes, 2 lines, but the general case could involve at most 3 lines. Using Coffee Math's approach and drawing the example provided looks like the line doesn't pass through the corner... $y = -frac45 x + frac320$
– DanielOnMSE
Dec 3 at 6:59
I hope someone posts the general solution! I'm sure it will involve a piece wise function with minimums. I wonder if you could use the 3-D taxi cab metric to determine a "shortest path" and then cut out the straight lines where possible, so if you're on a face you can go diagonal onto the same face, otherwise you are bound by the laws of the 3D taxi cab metric?
– DanielOnMSE
Dec 3 at 7:22
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
A cube with vertices $(0,0,0),(0,0,1),(0,1,0),(0,1,1),(1,0,0),(1,0,1),(1,1,0),$ and $(1,1,1)$ has the point $P_1$ with vertices $(frac12,0,frac14)$ and the point $P_2$ with vertices $(0,frac34,frac34)$. What is the length of the shortest path between $P_1$ and $P_2$ such that the path lies on the surface of the cube?
Note: $sqrt(frac12-0)^2+(0-frac34)^2+(frac14-frac34)^2=fracsqrt174approx1.03078$ is the shortest distance between the two points. However, it is not the correct answer since this path does not lie on the surface of the cube.
For the same cube, can we generalize and give an expression to find the length of the shortest path between $P_1(x_1,y_1,z_1)$ and $P_2(x_2,y_2,z_2)$, where, clearly, $0leq x_i,y_i,z_ileq1$?
geometry solid-geometry
A cube with vertices $(0,0,0),(0,0,1),(0,1,0),(0,1,1),(1,0,0),(1,0,1),(1,1,0),$ and $(1,1,1)$ has the point $P_1$ with vertices $(frac12,0,frac14)$ and the point $P_2$ with vertices $(0,frac34,frac34)$. What is the length of the shortest path between $P_1$ and $P_2$ such that the path lies on the surface of the cube?
Note: $sqrt(frac12-0)^2+(0-frac34)^2+(frac14-frac34)^2=fracsqrt174approx1.03078$ is the shortest distance between the two points. However, it is not the correct answer since this path does not lie on the surface of the cube.
For the same cube, can we generalize and give an expression to find the length of the shortest path between $P_1(x_1,y_1,z_1)$ and $P_2(x_2,y_2,z_2)$, where, clearly, $0leq x_i,y_i,z_ileq1$?
geometry solid-geometry
geometry solid-geometry
edited Dec 3 at 7:31


Blue
47.2k870149
47.2k870149
asked Dec 3 at 6:39


Hussain-Alqatari
2977
2977
My guess would be yes, but it will definitely be a piece wise defined function. You'd want to break it down into a sum of distances across faces. Not sure if that helps or not, nice question though!
– DanielOnMSE
Dec 3 at 6:49
@DanielOnMSE thanks :) , Yes, we have to find the sum of the lengths of two straight lines. But I do not know how to find the two lines :(
– Hussain-Alqatari
Dec 3 at 6:52
For your specific example yes, 2 lines, but the general case could involve at most 3 lines. Using Coffee Math's approach and drawing the example provided looks like the line doesn't pass through the corner... $y = -frac45 x + frac320$
– DanielOnMSE
Dec 3 at 6:59
I hope someone posts the general solution! I'm sure it will involve a piece wise function with minimums. I wonder if you could use the 3-D taxi cab metric to determine a "shortest path" and then cut out the straight lines where possible, so if you're on a face you can go diagonal onto the same face, otherwise you are bound by the laws of the 3D taxi cab metric?
– DanielOnMSE
Dec 3 at 7:22
add a comment |
My guess would be yes, but it will definitely be a piece wise defined function. You'd want to break it down into a sum of distances across faces. Not sure if that helps or not, nice question though!
– DanielOnMSE
Dec 3 at 6:49
@DanielOnMSE thanks :) , Yes, we have to find the sum of the lengths of two straight lines. But I do not know how to find the two lines :(
– Hussain-Alqatari
Dec 3 at 6:52
For your specific example yes, 2 lines, but the general case could involve at most 3 lines. Using Coffee Math's approach and drawing the example provided looks like the line doesn't pass through the corner... $y = -frac45 x + frac320$
– DanielOnMSE
Dec 3 at 6:59
I hope someone posts the general solution! I'm sure it will involve a piece wise function with minimums. I wonder if you could use the 3-D taxi cab metric to determine a "shortest path" and then cut out the straight lines where possible, so if you're on a face you can go diagonal onto the same face, otherwise you are bound by the laws of the 3D taxi cab metric?
– DanielOnMSE
Dec 3 at 7:22
My guess would be yes, but it will definitely be a piece wise defined function. You'd want to break it down into a sum of distances across faces. Not sure if that helps or not, nice question though!
– DanielOnMSE
Dec 3 at 6:49
My guess would be yes, but it will definitely be a piece wise defined function. You'd want to break it down into a sum of distances across faces. Not sure if that helps or not, nice question though!
– DanielOnMSE
Dec 3 at 6:49
@DanielOnMSE thanks :) , Yes, we have to find the sum of the lengths of two straight lines. But I do not know how to find the two lines :(
– Hussain-Alqatari
Dec 3 at 6:52
@DanielOnMSE thanks :) , Yes, we have to find the sum of the lengths of two straight lines. But I do not know how to find the two lines :(
– Hussain-Alqatari
Dec 3 at 6:52
For your specific example yes, 2 lines, but the general case could involve at most 3 lines. Using Coffee Math's approach and drawing the example provided looks like the line doesn't pass through the corner... $y = -frac45 x + frac320$
– DanielOnMSE
Dec 3 at 6:59
For your specific example yes, 2 lines, but the general case could involve at most 3 lines. Using Coffee Math's approach and drawing the example provided looks like the line doesn't pass through the corner... $y = -frac45 x + frac320$
– DanielOnMSE
Dec 3 at 6:59
I hope someone posts the general solution! I'm sure it will involve a piece wise function with minimums. I wonder if you could use the 3-D taxi cab metric to determine a "shortest path" and then cut out the straight lines where possible, so if you're on a face you can go diagonal onto the same face, otherwise you are bound by the laws of the 3D taxi cab metric?
– DanielOnMSE
Dec 3 at 7:22
I hope someone posts the general solution! I'm sure it will involve a piece wise function with minimums. I wonder if you could use the 3-D taxi cab metric to determine a "shortest path" and then cut out the straight lines where possible, so if you're on a face you can go diagonal onto the same face, otherwise you are bound by the laws of the 3D taxi cab metric?
– DanielOnMSE
Dec 3 at 7:22
add a comment |
2 Answers
2
active
oldest
votes
up vote
4
down vote
Here's the box:
Clearly the only unfolding that matters is with the two adjacent point-bearing sides adjacent.
Then it is clear the distance is $$d = sqrt(5/4)^2 + (1/2)^2$$
There are only three cases:
- Same face (easy)
- Adjacent faces (unfold with separating edge uncut)
- Opposite faces (depends on positions)
So the fold is made at the edge that the two faces share in common! But what about the case where the points are on opposite faces? Nice diagrams btw!
– DanielOnMSE
Dec 3 at 7:00
There is not always one path either, certain cases like points in the very center of opposite faces will have 4 symmetric paths of shortest distance between each other.
– DanielOnMSE
Dec 3 at 7:07
@DanielOnMSE True, the number of lines can be 1 (when the two points lie on the same face), can be 2 (when the two points lie on adjacent faces), and can be 3 (when the two points lie on opposite faces). You can assume them to be 4 (when you consider the mid-point of the longest straight line).
– Hussain-Alqatari
Dec 3 at 7:13
@David Do you think it is possible to use the taxi-cab metric to find which "direction" to go? Obviously the distance used by this metric is not the correct answer, the path used by the shortest distance can then be simplified where diagonal movements are allowed? I feel like the general solution might involve something like this, hopefully someone can express the idea with math instead of words :P
– DanielOnMSE
Dec 3 at 7:29
2
you're wrong about something. points on adjacent faces don't always have the shortest path crossing their seperating edge. imagine one point being near the top right corner of the front face and one near the top left corner of the left face. the shortest path then clearly traverses the top face
– Ivo Beckers
Dec 3 at 14:14
|
show 4 more comments
up vote
2
down vote
Possible method: Make an unfolded version of the cube so that there is a straight line segment on the unfolded cube going from one of your points to the other, while staying in your unfolded cube. If there's a gap, unfold a different way.
There are 11 ways to unfold a cube. Must I check one by one until I find the way in which the straight line always lies inside the unfolded cube?!
– Hussain-Alqatari
Dec 3 at 6:55
@Hussain-Alqatari There may be a shortcut to eliminate some that don't work. But I don't know of one off-hand. See other answer--- no need to check any but the one, since the two points on adjacent sides of cube.
– coffeemath
Dec 3 at 7:27
1
This does not work in general. For example if I unfold the cube to a ✞ structure (one (square) face in the middle in the upper row, three adjacent faces in the second row, one face in the middle in each of rows 3 and 4), and if it so happens that the two points are in the first (upper) and last (lower) rows, then a straight line segment exists without leaving the ✞ unfolding, but that segment does not minimize the distance!
– Jeppe Stig Nielsen
Dec 3 at 14:18
@JeppeStigNielsen I see. There may be several unfoldings each giving a segment not going out of the unfolding, and the4n one needs to pick minimum length of those.
– coffeemath
Dec 4 at 2:55
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
Here's the box:
Clearly the only unfolding that matters is with the two adjacent point-bearing sides adjacent.
Then it is clear the distance is $$d = sqrt(5/4)^2 + (1/2)^2$$
There are only three cases:
- Same face (easy)
- Adjacent faces (unfold with separating edge uncut)
- Opposite faces (depends on positions)
So the fold is made at the edge that the two faces share in common! But what about the case where the points are on opposite faces? Nice diagrams btw!
– DanielOnMSE
Dec 3 at 7:00
There is not always one path either, certain cases like points in the very center of opposite faces will have 4 symmetric paths of shortest distance between each other.
– DanielOnMSE
Dec 3 at 7:07
@DanielOnMSE True, the number of lines can be 1 (when the two points lie on the same face), can be 2 (when the two points lie on adjacent faces), and can be 3 (when the two points lie on opposite faces). You can assume them to be 4 (when you consider the mid-point of the longest straight line).
– Hussain-Alqatari
Dec 3 at 7:13
@David Do you think it is possible to use the taxi-cab metric to find which "direction" to go? Obviously the distance used by this metric is not the correct answer, the path used by the shortest distance can then be simplified where diagonal movements are allowed? I feel like the general solution might involve something like this, hopefully someone can express the idea with math instead of words :P
– DanielOnMSE
Dec 3 at 7:29
2
you're wrong about something. points on adjacent faces don't always have the shortest path crossing their seperating edge. imagine one point being near the top right corner of the front face and one near the top left corner of the left face. the shortest path then clearly traverses the top face
– Ivo Beckers
Dec 3 at 14:14
|
show 4 more comments
up vote
4
down vote
Here's the box:
Clearly the only unfolding that matters is with the two adjacent point-bearing sides adjacent.
Then it is clear the distance is $$d = sqrt(5/4)^2 + (1/2)^2$$
There are only three cases:
- Same face (easy)
- Adjacent faces (unfold with separating edge uncut)
- Opposite faces (depends on positions)
So the fold is made at the edge that the two faces share in common! But what about the case where the points are on opposite faces? Nice diagrams btw!
– DanielOnMSE
Dec 3 at 7:00
There is not always one path either, certain cases like points in the very center of opposite faces will have 4 symmetric paths of shortest distance between each other.
– DanielOnMSE
Dec 3 at 7:07
@DanielOnMSE True, the number of lines can be 1 (when the two points lie on the same face), can be 2 (when the two points lie on adjacent faces), and can be 3 (when the two points lie on opposite faces). You can assume them to be 4 (when you consider the mid-point of the longest straight line).
– Hussain-Alqatari
Dec 3 at 7:13
@David Do you think it is possible to use the taxi-cab metric to find which "direction" to go? Obviously the distance used by this metric is not the correct answer, the path used by the shortest distance can then be simplified where diagonal movements are allowed? I feel like the general solution might involve something like this, hopefully someone can express the idea with math instead of words :P
– DanielOnMSE
Dec 3 at 7:29
2
you're wrong about something. points on adjacent faces don't always have the shortest path crossing their seperating edge. imagine one point being near the top right corner of the front face and one near the top left corner of the left face. the shortest path then clearly traverses the top face
– Ivo Beckers
Dec 3 at 14:14
|
show 4 more comments
up vote
4
down vote
up vote
4
down vote
Here's the box:
Clearly the only unfolding that matters is with the two adjacent point-bearing sides adjacent.
Then it is clear the distance is $$d = sqrt(5/4)^2 + (1/2)^2$$
There are only three cases:
- Same face (easy)
- Adjacent faces (unfold with separating edge uncut)
- Opposite faces (depends on positions)
Here's the box:
Clearly the only unfolding that matters is with the two adjacent point-bearing sides adjacent.
Then it is clear the distance is $$d = sqrt(5/4)^2 + (1/2)^2$$
There are only three cases:
- Same face (easy)
- Adjacent faces (unfold with separating edge uncut)
- Opposite faces (depends on positions)
edited Dec 3 at 7:23
answered Dec 3 at 6:58


David G. Stork
9,28721232
9,28721232
So the fold is made at the edge that the two faces share in common! But what about the case where the points are on opposite faces? Nice diagrams btw!
– DanielOnMSE
Dec 3 at 7:00
There is not always one path either, certain cases like points in the very center of opposite faces will have 4 symmetric paths of shortest distance between each other.
– DanielOnMSE
Dec 3 at 7:07
@DanielOnMSE True, the number of lines can be 1 (when the two points lie on the same face), can be 2 (when the two points lie on adjacent faces), and can be 3 (when the two points lie on opposite faces). You can assume them to be 4 (when you consider the mid-point of the longest straight line).
– Hussain-Alqatari
Dec 3 at 7:13
@David Do you think it is possible to use the taxi-cab metric to find which "direction" to go? Obviously the distance used by this metric is not the correct answer, the path used by the shortest distance can then be simplified where diagonal movements are allowed? I feel like the general solution might involve something like this, hopefully someone can express the idea with math instead of words :P
– DanielOnMSE
Dec 3 at 7:29
2
you're wrong about something. points on adjacent faces don't always have the shortest path crossing their seperating edge. imagine one point being near the top right corner of the front face and one near the top left corner of the left face. the shortest path then clearly traverses the top face
– Ivo Beckers
Dec 3 at 14:14
|
show 4 more comments
So the fold is made at the edge that the two faces share in common! But what about the case where the points are on opposite faces? Nice diagrams btw!
– DanielOnMSE
Dec 3 at 7:00
There is not always one path either, certain cases like points in the very center of opposite faces will have 4 symmetric paths of shortest distance between each other.
– DanielOnMSE
Dec 3 at 7:07
@DanielOnMSE True, the number of lines can be 1 (when the two points lie on the same face), can be 2 (when the two points lie on adjacent faces), and can be 3 (when the two points lie on opposite faces). You can assume them to be 4 (when you consider the mid-point of the longest straight line).
– Hussain-Alqatari
Dec 3 at 7:13
@David Do you think it is possible to use the taxi-cab metric to find which "direction" to go? Obviously the distance used by this metric is not the correct answer, the path used by the shortest distance can then be simplified where diagonal movements are allowed? I feel like the general solution might involve something like this, hopefully someone can express the idea with math instead of words :P
– DanielOnMSE
Dec 3 at 7:29
2
you're wrong about something. points on adjacent faces don't always have the shortest path crossing their seperating edge. imagine one point being near the top right corner of the front face and one near the top left corner of the left face. the shortest path then clearly traverses the top face
– Ivo Beckers
Dec 3 at 14:14
So the fold is made at the edge that the two faces share in common! But what about the case where the points are on opposite faces? Nice diagrams btw!
– DanielOnMSE
Dec 3 at 7:00
So the fold is made at the edge that the two faces share in common! But what about the case where the points are on opposite faces? Nice diagrams btw!
– DanielOnMSE
Dec 3 at 7:00
There is not always one path either, certain cases like points in the very center of opposite faces will have 4 symmetric paths of shortest distance between each other.
– DanielOnMSE
Dec 3 at 7:07
There is not always one path either, certain cases like points in the very center of opposite faces will have 4 symmetric paths of shortest distance between each other.
– DanielOnMSE
Dec 3 at 7:07
@DanielOnMSE True, the number of lines can be 1 (when the two points lie on the same face), can be 2 (when the two points lie on adjacent faces), and can be 3 (when the two points lie on opposite faces). You can assume them to be 4 (when you consider the mid-point of the longest straight line).
– Hussain-Alqatari
Dec 3 at 7:13
@DanielOnMSE True, the number of lines can be 1 (when the two points lie on the same face), can be 2 (when the two points lie on adjacent faces), and can be 3 (when the two points lie on opposite faces). You can assume them to be 4 (when you consider the mid-point of the longest straight line).
– Hussain-Alqatari
Dec 3 at 7:13
@David Do you think it is possible to use the taxi-cab metric to find which "direction" to go? Obviously the distance used by this metric is not the correct answer, the path used by the shortest distance can then be simplified where diagonal movements are allowed? I feel like the general solution might involve something like this, hopefully someone can express the idea with math instead of words :P
– DanielOnMSE
Dec 3 at 7:29
@David Do you think it is possible to use the taxi-cab metric to find which "direction" to go? Obviously the distance used by this metric is not the correct answer, the path used by the shortest distance can then be simplified where diagonal movements are allowed? I feel like the general solution might involve something like this, hopefully someone can express the idea with math instead of words :P
– DanielOnMSE
Dec 3 at 7:29
2
2
you're wrong about something. points on adjacent faces don't always have the shortest path crossing their seperating edge. imagine one point being near the top right corner of the front face and one near the top left corner of the left face. the shortest path then clearly traverses the top face
– Ivo Beckers
Dec 3 at 14:14
you're wrong about something. points on adjacent faces don't always have the shortest path crossing their seperating edge. imagine one point being near the top right corner of the front face and one near the top left corner of the left face. the shortest path then clearly traverses the top face
– Ivo Beckers
Dec 3 at 14:14
|
show 4 more comments
up vote
2
down vote
Possible method: Make an unfolded version of the cube so that there is a straight line segment on the unfolded cube going from one of your points to the other, while staying in your unfolded cube. If there's a gap, unfold a different way.
There are 11 ways to unfold a cube. Must I check one by one until I find the way in which the straight line always lies inside the unfolded cube?!
– Hussain-Alqatari
Dec 3 at 6:55
@Hussain-Alqatari There may be a shortcut to eliminate some that don't work. But I don't know of one off-hand. See other answer--- no need to check any but the one, since the two points on adjacent sides of cube.
– coffeemath
Dec 3 at 7:27
1
This does not work in general. For example if I unfold the cube to a ✞ structure (one (square) face in the middle in the upper row, three adjacent faces in the second row, one face in the middle in each of rows 3 and 4), and if it so happens that the two points are in the first (upper) and last (lower) rows, then a straight line segment exists without leaving the ✞ unfolding, but that segment does not minimize the distance!
– Jeppe Stig Nielsen
Dec 3 at 14:18
@JeppeStigNielsen I see. There may be several unfoldings each giving a segment not going out of the unfolding, and the4n one needs to pick minimum length of those.
– coffeemath
Dec 4 at 2:55
add a comment |
up vote
2
down vote
Possible method: Make an unfolded version of the cube so that there is a straight line segment on the unfolded cube going from one of your points to the other, while staying in your unfolded cube. If there's a gap, unfold a different way.
There are 11 ways to unfold a cube. Must I check one by one until I find the way in which the straight line always lies inside the unfolded cube?!
– Hussain-Alqatari
Dec 3 at 6:55
@Hussain-Alqatari There may be a shortcut to eliminate some that don't work. But I don't know of one off-hand. See other answer--- no need to check any but the one, since the two points on adjacent sides of cube.
– coffeemath
Dec 3 at 7:27
1
This does not work in general. For example if I unfold the cube to a ✞ structure (one (square) face in the middle in the upper row, three adjacent faces in the second row, one face in the middle in each of rows 3 and 4), and if it so happens that the two points are in the first (upper) and last (lower) rows, then a straight line segment exists without leaving the ✞ unfolding, but that segment does not minimize the distance!
– Jeppe Stig Nielsen
Dec 3 at 14:18
@JeppeStigNielsen I see. There may be several unfoldings each giving a segment not going out of the unfolding, and the4n one needs to pick minimum length of those.
– coffeemath
Dec 4 at 2:55
add a comment |
up vote
2
down vote
up vote
2
down vote
Possible method: Make an unfolded version of the cube so that there is a straight line segment on the unfolded cube going from one of your points to the other, while staying in your unfolded cube. If there's a gap, unfold a different way.
Possible method: Make an unfolded version of the cube so that there is a straight line segment on the unfolded cube going from one of your points to the other, while staying in your unfolded cube. If there's a gap, unfold a different way.
answered Dec 3 at 6:48
coffeemath
2,1601413
2,1601413
There are 11 ways to unfold a cube. Must I check one by one until I find the way in which the straight line always lies inside the unfolded cube?!
– Hussain-Alqatari
Dec 3 at 6:55
@Hussain-Alqatari There may be a shortcut to eliminate some that don't work. But I don't know of one off-hand. See other answer--- no need to check any but the one, since the two points on adjacent sides of cube.
– coffeemath
Dec 3 at 7:27
1
This does not work in general. For example if I unfold the cube to a ✞ structure (one (square) face in the middle in the upper row, three adjacent faces in the second row, one face in the middle in each of rows 3 and 4), and if it so happens that the two points are in the first (upper) and last (lower) rows, then a straight line segment exists without leaving the ✞ unfolding, but that segment does not minimize the distance!
– Jeppe Stig Nielsen
Dec 3 at 14:18
@JeppeStigNielsen I see. There may be several unfoldings each giving a segment not going out of the unfolding, and the4n one needs to pick minimum length of those.
– coffeemath
Dec 4 at 2:55
add a comment |
There are 11 ways to unfold a cube. Must I check one by one until I find the way in which the straight line always lies inside the unfolded cube?!
– Hussain-Alqatari
Dec 3 at 6:55
@Hussain-Alqatari There may be a shortcut to eliminate some that don't work. But I don't know of one off-hand. See other answer--- no need to check any but the one, since the two points on adjacent sides of cube.
– coffeemath
Dec 3 at 7:27
1
This does not work in general. For example if I unfold the cube to a ✞ structure (one (square) face in the middle in the upper row, three adjacent faces in the second row, one face in the middle in each of rows 3 and 4), and if it so happens that the two points are in the first (upper) and last (lower) rows, then a straight line segment exists without leaving the ✞ unfolding, but that segment does not minimize the distance!
– Jeppe Stig Nielsen
Dec 3 at 14:18
@JeppeStigNielsen I see. There may be several unfoldings each giving a segment not going out of the unfolding, and the4n one needs to pick minimum length of those.
– coffeemath
Dec 4 at 2:55
There are 11 ways to unfold a cube. Must I check one by one until I find the way in which the straight line always lies inside the unfolded cube?!
– Hussain-Alqatari
Dec 3 at 6:55
There are 11 ways to unfold a cube. Must I check one by one until I find the way in which the straight line always lies inside the unfolded cube?!
– Hussain-Alqatari
Dec 3 at 6:55
@Hussain-Alqatari There may be a shortcut to eliminate some that don't work. But I don't know of one off-hand. See other answer--- no need to check any but the one, since the two points on adjacent sides of cube.
– coffeemath
Dec 3 at 7:27
@Hussain-Alqatari There may be a shortcut to eliminate some that don't work. But I don't know of one off-hand. See other answer--- no need to check any but the one, since the two points on adjacent sides of cube.
– coffeemath
Dec 3 at 7:27
1
1
This does not work in general. For example if I unfold the cube to a ✞ structure (one (square) face in the middle in the upper row, three adjacent faces in the second row, one face in the middle in each of rows 3 and 4), and if it so happens that the two points are in the first (upper) and last (lower) rows, then a straight line segment exists without leaving the ✞ unfolding, but that segment does not minimize the distance!
– Jeppe Stig Nielsen
Dec 3 at 14:18
This does not work in general. For example if I unfold the cube to a ✞ structure (one (square) face in the middle in the upper row, three adjacent faces in the second row, one face in the middle in each of rows 3 and 4), and if it so happens that the two points are in the first (upper) and last (lower) rows, then a straight line segment exists without leaving the ✞ unfolding, but that segment does not minimize the distance!
– Jeppe Stig Nielsen
Dec 3 at 14:18
@JeppeStigNielsen I see. There may be several unfoldings each giving a segment not going out of the unfolding, and the4n one needs to pick minimum length of those.
– coffeemath
Dec 4 at 2:55
@JeppeStigNielsen I see. There may be several unfoldings each giving a segment not going out of the unfolding, and the4n one needs to pick minimum length of those.
– coffeemath
Dec 4 at 2:55
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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%2f3023721%2ffinding-the-shortest-path-between-two-points-on-the-surface-of-a-cube%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
My guess would be yes, but it will definitely be a piece wise defined function. You'd want to break it down into a sum of distances across faces. Not sure if that helps or not, nice question though!
– DanielOnMSE
Dec 3 at 6:49
@DanielOnMSE thanks :) , Yes, we have to find the sum of the lengths of two straight lines. But I do not know how to find the two lines :(
– Hussain-Alqatari
Dec 3 at 6:52
For your specific example yes, 2 lines, but the general case could involve at most 3 lines. Using Coffee Math's approach and drawing the example provided looks like the line doesn't pass through the corner... $y = -frac45 x + frac320$
– DanielOnMSE
Dec 3 at 6:59
I hope someone posts the general solution! I'm sure it will involve a piece wise function with minimums. I wonder if you could use the 3-D taxi cab metric to determine a "shortest path" and then cut out the straight lines where possible, so if you're on a face you can go diagonal onto the same face, otherwise you are bound by the laws of the 3D taxi cab metric?
– DanielOnMSE
Dec 3 at 7:22