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 tesseract. A unit hypercube of dimension n is the
convex hull of all the 2^n 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 2^n points whose vectors of Cartesian coordinates are : \left(\pm \frac{1}{2}, \pm \frac{1}{2}, \cdots, \pm \frac{1}{2}\right)\!. Here the symbol \pm 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 (\pm 1, \pm 1, \cdots, \pm 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 2^n. == Faces ==