Sections of the Four-Cube

This displays the section of the 4D cube by a hyperplane orthogonal to the normal vector described by the hyperspherical coordinate angles , , and and at a displacement from the origin along the normal. A projection of the four-cube from a view point along the normal is also shown, as well as of the , , , axes.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The unit normal vector is controlled by the angles , , and . The first two are just like the same angles in regular 3D spherical coordinates: , with , is the angle to the positive axis (or more precisely, the -- hyperplane), and , with , is the angle to the positive axis (or rather the - plane). The angle , with , is the angle formed by the normal and the positive axis and is analogous to in that way. If , then and have no effect, just as when , the angle has no effect. When the normal is changed, it appears that the four-cube rotates. But it is not moving; it is your view point that is moving. Of course, the two kinds of motion look the same.
Animate the distance and view the series of sections orthogonal to the normal from one end to the other. The coordinates of the vertices of the four-cube are , so the vertices are two units from the origin. The displacement is the displacement of the hyperplane, and thus the section consists of all points of the four-cube, the projections of whose coordinate vectors onto the normal are equal to times the normal.
Each cell (bounding 3D cube) of the four-cube is drawn with the same color as the face of its section by the hyperplane. By playing with the opacities, you can see the relationship between the cube-cube's cells and the intersection.
The projection displayed is from a point 3 to infinity units away from the origin along the line through the origin parallel to the normal (infinity gives a parallel projection). The four-cube and section are projected onto the hyperplane through the origin and orthogonal to the normal. A 3D coordinate system for this hyperplane is attached to the normal and rotates around with it as the normal is changed. This coordinate system will "precess": as the normal moves around (you need to change at least two angles) and moves back (along a different trajectory) the section will appear to have changed position. But it has not. It is the coordinate system used to project the section onto the screen that has changed.
Some important angles: , , , .
Snapshot 1: cell first (normal parallel to center of a cube-cell): cube
Snapshot 2: face first (normal parallel to center of a 2D face): rectangular box with a square face
Snapshot 3: edge first (normal parallel to midpoint of edge): equilateral-triangular prism
Snapshot 4: vertex first (normal parallel to midpoint of vertex): regular tetrahedron
Snapshot 5: hexagonal prism
Snapshot 6: regular octahedron
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+