The hypercube, often called the n-cube, is the standard n-dimensional extension of a square (n=2) and a cube (n=3). It is a compact, convex polytope whose edges are arranged in n mutually perpendicular directions of equal length. A familiar model is the unit hypercube, the set of all n-tuples with each coordinate between 0 and 1; its vertices are the 2^n points whose coordinates are either 0 or 1. For background and basic definitions see geometry references.

Structure and combinatorial properties

Key combinatorial facts about the n-cube are simple and widely used. The number of vertices, edges and higher-dimensional faces follow explicit formulas. Important counts include:

  • Vertices: 2^n.
  • Edges: n·2^{n-1}.
  • k-dimensional faces: there are C(n,k)·2^{n-k} faces of dimension k, where C(n,k) is the binomial coefficient.

These relationships reflect the hypercube's product structure: it is the Cartesian product of n unit intervals. Its symmetry group contains all coordinate permutations and sign changes, and it is centrally important in the study of regular and semi-regular polytopes; see related material on the cube family.

Geometric measurements and duality

For a unit hypercube (edge length 1) the longest diagonal has length sqrt(n). More generally, scaling the edge length scales all linear measures proportionally. The convex hull description (vertices with coordinates 0 or 1) and the product description ([0,1]^n) are equivalent and useful in different contexts. The dual polytope of the n-cube is the cross-polytope (also called the orthoplex), which interchanges vertices and facets in the polar operation.

Names, history and notation

The term "hypercube" or "n-cube" is standard; historically other names such as "measure polytope" appeared in older literature. The four-dimensional case is commonly called the tesseract. The hypercube appears in classical studies of higher-dimensional geometry and in influential works by geometers exploring regular polytopes and Coxeter groups; see further discussion at historical notes and Coxeter-type references.

Applications, examples and visualization

Hypercubes are more than theoretical curiosities. They play roles in computer science (hypercube network topologies and parallel algorithms), combinatorics (Boolean lattices and cube graphs), optimization (box constraints represented as hypercubes), and probability or statistics (uniform distributions on [0,1]^n). Visualizing or projecting a hypercube into two or three dimensions often uses Schlegel diagrams or orthogonal projections; these representations help convey adjacency and facet structure but necessarily lose some spatial intuition. For software tools and further examples see practical resources.