Lably
Skip to content

Hypercube

Convex polytope, the n-dimensional analogue of a square and a cube

  • 6 min read
  • 6 chapters

Related on Lably

Through Geometry, Dimension and Square

An n-dimensional hypercube is more commonly referred to as an n-cube or sometimes as an n-dimensional cube. The term measure polytope (originally from Elte, 1912) is also used, notably in the work of H. S. M. Coxeter who also labels the hypercubes the γn polytopes.

The hypercube is the special case of a hyperrectangle (also called an n-orthotope).

A unit hypercube is a hypercube whose side has length one unit. Often, the hypercube whose corners (or vertices) are the 2n points in Rn with each coordinate equal to 0 or 1 is called the unit hypercube.

Construction

By the number of dimensions

A hypercube can be defined by increasing the numbers of dimensions of a shape:

0 – A point is a hypercube of dimension zero.
1 – If one moves this point one unit length, it will sweep out a line segment, which is a unit hypercube of dimension one.
2 – If one moves this line segment its length in a perpendicular direction from itself; it sweeps out a 2-dimensional square.
3 – If one moves the square one unit length in the direction perpendicular to the plane it lies on, it will generate a 3-dimensional cube.
4 – If one moves the cube one unit length into the fourth dimension, it generates a 4-dimensional unit hypercube (a unit tesseract).

This can be generalized to any number of dimensions. This process of sweeping out volumes can be formalized mathematically as a Minkowski sum: the d-dimensional hypercube is the Minkowski sum of d mutually perpendicular unit-length line segments, and is therefore an example of a zonotope.

The 1-skeleton of a hypercube is a hypercube graph.

Vertex coordinates

A unit hypercube of dimension n is the convex hull of all the 2n points whose n Cartesian coordinates are each equal to either 0 or 1. These points are its vertices. The hypercube with these coordinates is also the cartesian product [0,1]n of n copies of the unit interval [0,1]. Another unit hypercube, centered at the origin of the ambient space, can be obtained from this one by a translation. It is the convex hull of the 2n points whose vectors of Cartesian coordinates are

(±12,±12,⋯,±12).

Here the symbol ± means that each coordinate is either equal to 1/2 or to −1/2. This unit hypercube is also the cartesian product [−1/2,1/2]n. Any unit hypercube has an edge length of 1 and an n-dimensional volume of 1.

The n-dimensional hypercube obtained as the convex hull of the points with coordinates (±1,±1,⋯,±1) or, equivalently as the Cartesian product [−1,1]n is also often considered due to the simpler form of its vertex coordinates. Its edge length is 2, and its n-dimensional volume is 2n.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Geometry