The spikiness of n-cubes is apparent when you look at the (solid) angle at each vertex; it starts constant (1/2 pi radian in 2D, 1/2 pi steradian in 3D) but reduces thereafter at an increasing rate (1/8 pi^2, 1/12 pi^2, 1/64 pi^3, etc.).
The spikiness of n-cubes is apparent when you look at the (solid) angle at each vertex; it starts constant (1/2 pi radian in 2D, 1/2 pi steradian in 3D) but reduces thereafter at an increasing rate (1/8 pi^2, 1/12 pi^2, 1/64 pi^3, etc.).
What's weird isn't the sphere, it's distance, and I think that's easier to process. Going from a (1d) sidewalk to a (2d) football field to a (3d) ocean, it's easier to see our intuitions about distances slowly breaking down.
How I am understanding this is that the non-uniformity is in the cube, and I think it's very helpful in visualizing it.
I can imagine in 3d, the centers of the sides of the cube being pulled in, so that it's kind of hyperbolic looking.
The diagram on the web page is just wrong. The enclosed sphere does not poke out with "spikes".
The error in the diagram is that it shows the corner cubes "filled" with spheres, but this is not what happens in the higher-dimensional analogues. If you take a cube-shaped cross section of a 4D example (through the center), you wouldn't see the corner spheres at all.
Think of a 2D slice through the middle of the 3D example: You'd just see a square, no circles!
Wait wait wait, I thought the "cube" had the same number of dimensions as the "spheres".
But cross-sections don't look the way you think they do. So if you draw a 3D intersection through the 4D case, it looks much like the 2D intersection of the 3D case, etc...
In all such "intersection" diagrams you don't see the spheres in the corners of the cubes. The conceptual diagram on that page showing the high-dimensional case shows the corner spheres and the middle sphere somehow "squished out" in a spiky way.
This is not at all what happens.
If instead you mean most of the mass of the ball is in the points which have all but one coordinate within epsilon of zero, then the intuition doesn't follow. It's equally true that you get most of the mass considering just points with all coordinates within epsilon. And for that you get that the mass of the ball is concentrated in an epsilon cube at the origin, which excludes exactly the spikes that you were basing the intuition on. The weird thing in this thought experiment is the epsilon cube not the sphere. For example the epsilon cube contains points much further than epsilon from the origin and so it's maybe not surprising that it contains most of the sphere.
that is kind of circular argument as "random" really depends on the density measure underlying the chosen sampling distribution.
I do agree that volume and probability distribution are essentially the same.
(That's also why at my university measure theory and probability theory were handled in the same course.)
https://www.math.ucdavis.edu/~strohmer/courses/180BigData/18...
> The result, when projected in two dimensions no longer appears convex, however all hypercubes are convex. This is part of the strangeness of higher dimensions - hypercubes are both convex and “pointy.”
Unstudied curiosity: steradians seem to be defined in terms of the point of a cone. But the corner of a cube is the intersection of several (for a cube, 3) planes, not a cone. How do you do the calculation of steradians?
To make a 2D analogy, you can think of 2D angles as a portion of a circle represented as a fraction of 2pi radians. Cut it in half and you have pi radians, cut that in half (so a quarter of the circle) and you have pi/2 radians, or 90 degrees.
That 90 degrees "quarter of a circle" example is looking at it as the "point of a pie slice", but it's the same 90 degree 2D angle as you have in the corner of a square.
You can look at the corner of a cube the same way. The full sphere of solid angle is 4pi, a hemisphere is 2pi. Now take that hemisphere and cut it into quarters (1/8ths of a sphere). Each of those quarters is pi/2 steradians, and the solid angle at the center is the same solid angle represented by 1/8th of the sphere is the same solid angle you have at the corner of a cube.
Or to put it another way, you could pack the corners of 8 cubes around a point and it would leave no empty gaps, so the corner of each cube is occupying 1/8th of a "full" 4pi steradians.
In the same way that an angle of pi radians corresponds to pi length around the perimeter of a unit circle, but if you're measuring on the perimeter of a larger circle you'll have a correspondingly larger length.
The "4pi steradians in a sphere" comes from the area of a unit sphere (4×pi×r^2 = 4×pi). I've never had cause to use 4+ dimensional solid angle for anything, but you'd determine full n-dimensional radians the same way, I guess with a 4-dimensional sphere the "surface area" is a 3D volume on the perimeter of the 4D unit sphere's space?
I understand this. It's not what I'm talking about.
There was a claim upthread that the corner of a square and the corner of a cube are equally sharp because (1) one of them is π/2 radians; (2) the other is π/2 steradians; and (3) π/2 is equal to π/2, hence equally sharp.
I'm saying I don't think this can be right, because when we consider two angles that we know are equally sharp, the 2D flat line and the 3D flat plane, one of them is π and the other is 2π, so unit-free radian measurements cannot be a valid measure of sharpness. The radian measurement needs to be normed against the full sphere in an equal number of dimensions, so that the flat line equals 1/2 (of a circle) and the flat plane equals 1/2 (of a sphere). I want to conclude that these two angles are equally sharp because 1/2 is equal to 1/2. But even if I can't do that, I need to avoid concluding that a flat line is twice as sharp as a flat plane, because I know that's untrue.
But my reasoning would tell us that the corner of a cube is twice as sharp as the corner of a square, 1/8 to 1/4.
You could make up some metric like "the unit sphere occupies a greater volume fraction of the unit cube compared to the area fraction of a unit circle in a unit square", and compare like that if you only have some fraction of each circle/sphere instead of the whole thing, but is there any value in making that comparison?
I think this is actually something we can't avoid. The problem with dodging the question this way is that it's really, really easy to translate a low-dimensional angle up into a higher-dimensional space.
Imagine I have two 2D vectors, U and V, with an angle between them. I can think of them as representing an infinite 1D surface consisting of the points (m·u_1 + n·v_1, m·u_2 + n·v_2) for all nonnegative real m and n.
It's trivial to define a 2D surface in 3D space representing exactly the same angle: it is the points (m·u_1 + n·v_1, m·u_2 + n·v_2, a) for all nonnegative real m and n and all real a. When the angle between U and V is θ radians, this surface will always express an angle of 2θ steradians. I don't think it's a stretch to say that the two angles, θ radians and 2θ steradians, must be equally sharp. (And indeed, the flat-line / flat-plane example is a special case of this one.)