How can a set of max 5 points be found to encompass a 4D hypercube?

  • Context: Graduate 
  • Thread starter Thread starter jacobrhcp
  • Start date Start date
  • Tags Tags
    Geometry
Click For Summary

Discussion Overview

The discussion revolves around finding an algorithm to identify a set of at most five points that can encompass a four-dimensional hypercube defined by intervals in ℝ. Participants explore the complexity of extending methods from lower dimensions and seek clarity on the definitions and geometric interpretations involved.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant presents the problem of finding a set of points to encompass a 4D hypercube, drawing parallels to simpler 2D cases.
  • Several participants seek clarification on the meaning of the notation used for the hypercube and the concept of encompassing it.
  • There is a suggestion that the geometry of cubes in higher dimensions differs significantly from that of simplices, implying challenges in finding the desired algorithm.
  • Another participant proposes a method involving scaling a 3D cube and forming lines to find intersection points, though it is noted that this method may yield more than the required five points.
  • Clarifications are made regarding the definition of the hypercube and the intervals used, with one participant expressing confusion about the original phrasing of the question.
  • Participants discuss the potential to reduce the number of points needed from eight to five through various geometric constructions.

Areas of Agreement / Disagreement

Participants express differing interpretations of the problem and the definitions involved, leading to multiple competing views on how to approach the solution. The discussion remains unresolved regarding the existence of a straightforward algorithm for the task.

Contextual Notes

There are limitations in the clarity of definitions and assumptions about the geometric properties of the hypercube and the encompassing points. The discussion also reflects varying levels of understanding of the dimensionality involved.

jacobrhcp
Messages
164
Reaction score
0
Hi!

I stumbled upon something I need to implement my problem in a computer. Because I think its actually fun to puzzle on, I thought it might be nice to post it here. The problem is this:

If you have a 4D hypercube, (a_1,b_1)\times(a_2,b_2)\times(a_3,b_3)\times(a_4,b_4), what is an easy algorithm to find a set of max 4+1 points that encompasses the hypercube?

For 2D, ie (a_1,b_1)\times(a_2,b_2), its easier, as you can find 2+1 points by taking the points (a_1-|a_1-b_1|,a_2), (b_1+|a_1-b_1|,a_2), and the point that is the intersection of the lines defined by the points (a_1-|a_1-b_1|,a_2), (a_1, b_2) and (b_1+|a_1-b_1|,c), (b_1,b_2), respectively (if you draw this it becomes clear immediately =P). If you expand this procedure to 4D, things get complicated fast. Is there a simple way to find a set of max 5 points that encompasses my hypercube?

Edit: I noticed I say 'cube', but as a_i, b_i \in ℝ, it doesn't need to be a cube at all of course.
 
Last edited:
Mathematics news on Phys.org
I am trying to see what you are asking, but I have some questions.

By ## (a_1, b_1)\times (a_2,b_2) ## do you mean the parallelogram induced by these two vectors, with one coordinate being the origin, the other as ## (a_1+a_2, b_1 +b_2)##?

By encompass (in the 2-d example) are you trying to find a triangle which simply covers the parallelogram?

I do not know what ## (a_1,b_1) \times (a_2, b_2) \times (a_3, b_3) \times (a_4, b_4) ## means if ## a_i, b_i \in \mathbb{R} ##
 
theorem4.5.9 said:
I am trying to see what you are asking, but I have some questions.

By ## (a_1, b_1)\times (a_2,b_2) ## do you mean the parallelogram induced by these two vectors, with one coordinate being the origin, the other as ## (a_1+a_2, b_1 +b_2)##?
I believe the OP means the rectangle {(x, y) | a1 < x1 < a2, b1 < x2 < b2}
theorem4.5.9 said:
By encompass (in the 2-d example) are you trying to find a triangle which simply covers the parallelogram?

I do not know what ## (a_1,b_1) \times (a_2, b_2) \times (a_3, b_3) \times (a_4, b_4) ## means if ## a_i, b_i \in \mathbb{R} ##
I believe it means the 4D box whose description is similar to the rectangle I described above (but in R4).
 
Of course that's what he means, thanks! Though just one minor correction, ## \left\{ (x,y) : a_1 \leq x \leq b_1 , a_2 \leq y \leq b_2 \right\}##

I don't think you will find the algorithm you're looking for (this is my guess). This is because the geometry of cubes in ##\mathbb{R}^n## and the geometry of the ##n+1## simplex changes drastically with ## n ##.

You can always find such a simplex though, that's easy. Take any simplex and just scale it up until it covers your set.

This reminds me of an old problem by originally posed by Borsuk. If you start with a set in ##\mathbb{R}^n ## of diameter ##1##, can you find a partition of the set into ##n+1## pieces, each having diameter less than ##1##? The answer is yes for balls, but false for general sets in high dimensions.
 
I think your construction generalises easily enough.
Pick a dimension, 4 say, for the "tent pole".
To form the base, expand the 3D cube [a1,b1]×[a2,b2]×[a3,b3]×[a4] by uniform magnification, preserving the centre:
[a1-s(b1-a1),b1+s(b1-a1)]×[a2-s(b2-a2),b2+s(b2-a2)]×[a3-s(b3-a3),b3+s(b3-a3)]×[a4] for some s > 0.
Form a straight line through the vertex (a1-s(b1-a1), a2-s(b2-a2), a3-s(b3-a3), a4) of the new cube and the vertex (a1, a2, a3, b4) of the old hypercube. Similarly for the other 7 vertices of the new cube: (b1+s(b1-a1), a2-s(b2-a2), a3-s(b3-a3), a4) to (b1, a2, a3, b4) etc. (Each line relates to one of the 8 choices (x, y, z, t) where each of x, y, z can be a or b.)
By similarity, the eight lines must intersect in a single point. I think you can calculate the coordinates of this point using any two of the lines. (Works in 3D.)
 
Mark44 said:
I believe the OP means the rectangle {(x, y) | a1 < x1 < a2, b1 < x2 < b2}

I believe it means the 4D box whose description is similar to the rectangle I described above (but in R4).

Now that I reread, I am sorry for how poor this question was phrased. What I mean is indeed the four-dimensional box:

\{(x_1,x_2,x_3,x_4)\in ℝ^4|a_1\leq x_1 \leq b_1, a_2\leq x_2 \leq b_2, a_3\leq x_3 \leq b_3, a_4\leq x_4 \leq b_4\}

And what I meant is not the cross product of the points (a_i, b_i), but of the intervals [a_i, b_i], where a_i\leq b_i.

And I wonder if you can find a simple formula or algorithm for 5 points in ℝ4 that contain the box.

Haruspex, thank you for your answer! But if I understand it correctly, you give a method to find 8 points that together contain the box completely? I think I need to puzzle on this some more =)

EDIT: But, repeating, indeed your method reduced from 8+1 for the 'tent pole' to 4+1+1 to 2+1+1+1=5. I will work it out. Thank you haruspex.
 
Last edited:
jacobrhcp said:
Haruspex, thank you for your answer! But if I understand it correctly, you give a method to find 8 points that together contain the box completely? I think I need to puzzle on this some more =)
EDIT: But, repeating, indeed your method reduced from 8+1 for the 'tent pole' to 4+1+1 to 2+1+1+1=5. I will work it out.

No, I constructed 8 points from one of the 3D faces of the hypercube. Then 8 lines, each containing one of these points and one point from the opposite 3D face. These 8 lines intersect in the 9th point.
 

Similar threads

  • · Replies 62 ·
3
Replies
62
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
8
Views
2K
  • · Replies 25 ·
Replies
25
Views
3K