Mathwords logoMathwords

Tesseract — Definition, Formula & Examples

A tesseract is the four-dimensional equivalent of a cube, formed by extending a cube into a fourth spatial dimension. It has 16 vertices, 32 edges, 24 square faces, and 8 cubic cells.

A tesseract (also called a hypercube or 8-cell) is a regular 4-polytope whose boundary consists of eight cubical cells meeting three per edge. It can be defined as the set of all points (x1,x2,x3,x4)(x_1, x_2, x_3, x_4) in R4\mathbb{R}^4 satisfying 0xi10 \le x_i \le 1 for each ii, making it the Cartesian product [0,1]4[0,1]^4.

Key Formula

V=2n,E=n2n1,Fk=(nk)2nkV = 2^n, \quad E = n \cdot 2^{n-1}, \quad F_{k} = \binom{n}{k} \cdot 2^{n-k}
Where:
  • nn = The dimension of the hypercube (for a tesseract, n = 4)
  • VV = Number of vertices
  • EE = Number of edges
  • FkF_k = Number of k-dimensional faces (k = 0 for vertices, k = 1 for edges, k = 2 for square faces, k = 3 for cubic cells)

How It Works

You build a tesseract by following the same pattern used to construct lower-dimensional cubes. A point (0D) dragged along one axis creates a line segment (1D). That segment dragged perpendicular to itself creates a square (2D). The square dragged perpendicular to its plane creates a cube (3D). Finally, the cube dragged perpendicular to all three existing axes — into a fourth dimension — creates a tesseract (4D). Because we can only see three dimensions, tesseracts are usually depicted as projections: a smaller cube nested inside a larger cube with corresponding vertices connected, much like a cube drawn on paper appears as two overlapping squares with connected corners.

Worked Example

Problem: Using the hypercube formulas, calculate the number of vertices, edges, square faces, and cubic cells of a tesseract (n = 4).
Vertices (k = 0): Apply the vertex formula with n = 4.
V=24=16V = 2^4 = 16
Edges (k = 1): Use the edge formula.
E=4241=48=32E = 4 \cdot 2^{4-1} = 4 \cdot 8 = 32
Square faces (k = 2): Count the 2-dimensional faces using the general face formula.
F2=(42)242=64=24F_2 = \binom{4}{2} \cdot 2^{4-2} = 6 \cdot 4 = 24
Cubic cells (k = 3): Count the 3-dimensional cells that form the boundary.
F3=(43)243=42=8F_3 = \binom{4}{3} \cdot 2^{4-3} = 4 \cdot 2 = 8
Answer: A tesseract has 16 vertices, 32 edges, 24 square faces, and 8 cubic cells.

Another Example

Problem: Verify that the tesseract satisfies the 4D version of Euler's formula for polytopes: VE+F2F3=0V - E + F_2 - F_3 = 0.
Substitute known counts: Plug in V = 16, E = 32, F₂ = 24, and F₃ = 8.
1632+248=016 - 32 + 24 - 8 = 0
Evaluate: Compute the left side.
1632+248=0  16 - 32 + 24 - 8 = 0 \; \checkmark
Answer: The result is 0, confirming the tesseract satisfies the generalized Euler relation for 4-polytopes.

Visualization

Why It Matters

Tesseracts appear in courses on higher-dimensional geometry, linear algebra, and topology whenever students study objects beyond three dimensions. Computer scientists use hypercube network topologies — based on the tesseract's vertex-and-edge structure — to design efficient parallel computing architectures. Understanding how geometric properties scale with dimension also strengthens your intuition for abstract vector spaces encountered in data science and physics.

Common Mistakes

Mistake: Confusing the 3D projection with the actual tesseract and thinking it has only 2 cubes (the inner and outer cube in the projection).
Correction: A tesseract has 8 cubic cells. The familiar inner-cube-inside-outer-cube image is a projection that distorts the shape, just as a 2D drawing of a cube distorts its square faces into parallelograms.
Mistake: Applying the standard 3D Euler formula V − E + F = 2 and getting a wrong check.
Correction: The 3D Euler formula applies to polyhedra. For a 4-polytope you need the generalized version: V − E + F₂ − F₃ = 0.