The cube can be represented in many ways, one of which is the graph known as the cubical graph. It can be constructed by using the Cartesian product of graphs. The cube is the three-dimensional hypercube, a family of polytopes also including the two-dimensional square and four-dimensional tesseract. A cube with unit side length is the canonical unit of volume in three-dimensional space, relative to which other solid objects are measured. Other related figures involve the construction of polyhedra, space-filling and honeycombs, polycubes, as well as cubes in compounds, spherical, and topological space.
The cube was discovered in antiquity, associated with the nature of earth by Plato, for whom the Platonic solids are named. It can be derived differently to create more polyhedra, and it has applications to construct a new polyhedron by attaching others. Other applications include popular culture of toys and games, arts, optical illusions, architectural buildings, as well as natural science and technology.
A cube is a special case of rectangular cuboid in which the edges are equal in length.[2] Like other cuboids, every face of a cube has four vertices, each of which connects with three congruent lines. These edges form square faces, making the dihedral angle of a cube between every two adjacent squares the interior angle of a square, 90°. Hence, the cube has six faces, twelve edges, and eight vertices,[3] and its Euler characteristic is 2, as for any convex polyhedron.[4]
Given a cube with edge length , the face diagonal of the cube is the diagonal of a square , and the space diagonal of the cube is a line connecting two vertices that is not in the same face, formulated as . Both formulas can be determined by using the Pythagorean theorem. The surface area of a cube is six times the area of a square:[10]
The volume of a cuboid is the product of its length, width, and height. Because all the edges of a cube are equal in length, the formula for the volume of a cube is the third power of its side length, leading to the use of the term cubic to mean raising any number to the third power:[11][10]
One special case is the unit cube, so named for measuring a single unit of length along each edge. It follows that each face is a unit square and that the entire figure has a volume of 1 cubic unit.[12][13]Prince Rupert's cube, named after Prince Rupert of the Rhine, is the largest cube that can pass through a hole cut into the unit cube, despite having sides approximately 6% longer.[14] A polyhedron that can pass through a copy of itself of the same size or smaller is said to have the Rupert property.[15] A geometric problem of doubling the cube—alternatively known as the Delian problem—requires the construction of a cube with a volume twice the original by using only a compass and straightedge. Ancient mathematicians could not solve this problem until the French mathematician Pierre Wantzel proved it was impossible in 1837.[16]
The cube has three types of closed geodesics, or paths on a cube's surface that are locally straight. In other words, they avoid the vertices, follow line segments across the faces that they cross, and form complementary angles on the two incident faces of each edge that they cross. One type lies in a plane parallel to any face of the cube, forming a square, with the length being equal to the perimeter of a face, four times the length of each edge. Another type lies in a plane perpendicular to the long diagonal, forming a regular hexagon; its length is times that of an edge. The third type is a non-planar hexagon.[17]
With edge length , the inscribed sphere of a cube is the sphere tangent to the faces of a cube at their centroids, with radius . The midsphere of a cube is the sphere tangent to the edges of a cube, with radius . The circumscribed sphere of a cube is the sphere tangent to the vertices of a cube, with radius .[18]
For a cube whose circumscribed sphere has radius , and for a given point in its three-dimensional space with distances from the cube's eight vertices, it is:[19]
The cube has octahedral symmetry. There are nine reflection symmetries (where two halves cut by a plane are identical): five cut the cube from the midpoints of its edges, and four are cut diagonally. It also has octahedral rotational symmetry (whereby rotation around the axis results in an identical appearance) : three axes pass through the centroids of the cube's opposite faces, six through the midpoints of the cube's opposite edges, and four through the cube's opposite vertices; these axes are respectively four-fold rotational symmetry (0°, 90°, 180°, and 270°), two-fold rotational symmetry (0° and 180°), and three-fold rotational symmetry (0°, 120°, and 240°).[20][21][22] Its automorphism group is the order of 48.[23]
The dual polyhedron of a cube is the regular octahedron
The dual polyhedron can be obtained from each of the polyhedra's vertices tangent to a plane by a process known as polar reciprocation.[24] One property of dual polyhedra is that the polyhedron and its dual share their three-dimensional symmetry point group. In this case, the dual polyhedron of a cube is the regular octahedron, and both of these polyhedra has the same octahedral symmetry.[25]
The Platonic solids are five polyhedra known since antiquity. The set is named for Plato who, in his dialogue Timaeus, attributed these solids to nature. One of them, the cube, represented the classical element of earth because of its stability.[49]Euclid's Elements defined the Platonic solids, including the cube, and showed how to find the ratio of the circumscribed sphere's diameter to the edge length.[50] Following Plato's use of the regular polyhedra as symbols of nature, Johannes Kepler in his Harmonices Mundi sketched each of the Platonic solids; he decorated the cube's side with a tree.[49] In his Mysterium Cosmographicum, Kepler also proposed that the ratios between sizes of the orbits of the planets are the ratios between the sizes of the inscribed and circumscribed spheres of the Platonic solids. That is, if the orbits are great circles on spheres, the sphere of Mercury is tangent to a regular octahedron, whose vertices lie on the sphere of Venus, which is in turn tangent to a regular icosahedron, within the sphere of Earth, within a regular dodecahedron, within the sphere of Mars, within a regular tetrahedron, within the sphere of Jupiter, within a cube, within the sphere of Saturn. In fact, the orbits are not circles but ellipses (as Kepler himself later showed), and these relations are only approximate.[51]
An elementary way to construct a cube is using its net, an arrangement of edge-joining polygons, by connecting the edges of those polygons. Eleven nets for the cube are possible (see right).[52]
In analytic geometry, a cube may be constructed using the Cartesian coordinate systems. For a cube centered at the origin, with edges parallel to the axes and with an edge length of 2, the Cartesian coordinates of the vertices are .[53] Its interior consists of all points with for all . A cube's surface with center and edge length of is the locus of all points such that
The cube is a Hanner polytope, because it can be constructed by using the Cartesian product of three line segments. Its dual polyhedron, the regular octahedron, is constructed by the direct sum of three line segments.[54]
According to Steinitz's theorem, a graph can be represented as the skeleton of a polyhedron. Such a graph has two properties: planar (the edges of a graph are connected to every vertex without crossing other edges), and 3-connected (whenever a graph with more than three vertices, and two of the vertices are removed, the edges remain connected).[55][56] The skeleton of a cube, represented as the graph, is called the cubical graph, a Platonic graph. It has the same number of vertices and edges as the cube, twelve vertices and eight edges.[57] The cubical graph is also classified as a prism graph, resembling the skeleton of a cuboid.[58]
The cubical graph is a special case of hypercube graph or -cube—denoted as —because it can be constructed by using the Cartesian product of graphs: two graphs connecting the pair of vertices with an edge to form a new graph.[59] In the case of the cubical graph, it is the product of two ; roughly speaking, it is a graph resembling a square. In other words, the cubical graph is constructed by connecting each vertex of two squares with an edge. Notationally, the cubical graph is .[60] Like any hypercube graph, it has a cycle which visits every vertex exactly once,[61] and it is also an example of a unit distance graph.[62]
An object illuminated by parallel rays of light casts a shadow on a plane perpendicular to those rays, called an orthogonal projection. A polyhedron is considered equiprojective if, for some position of the light, its orthogonal projection is a regular polygon. The cube is equiprojective because, if the light is parallel to one of the four lines joining a vertex to the opposite vertex, its projection is a regular hexagon.[66]
The cube can be represented as a configuration matrix, a matrix in which the rows and columns correspond to the elements of a polyhedron as the vertices, edges, and faces. The diagonal of a matrix denotes the number of each element that appears in a polyhedron, whereas the non-diagonal of a matrix denotes the number of the column's elements that occur in or at the row's element. The cube's eight vertices, twelve edges, and six faces are denoted by each element in a matrix's diagonal (8, 12, and 6). The first column of the middle row indicates that there are two vertices on each edge, denoted as 2; the middle column of the first row indicates that three edges meet at each vertex, denoted as 3. The following matrix is:[67]
The cube can appear in the construction of a polyhedron, and some of its types can be derived differently in the following:
When faceting a cube, meaning removing part of the polygonal faces without creating new vertices of a cube, the resulting polyhedron is the stellated octahedron.[68]
Each of the cube's vertices can be truncated, and the resulting polyhedron is the Archimedean solid, the truncated cube.[72] When its edges are truncated, it is a rhombicuboctahedron.[73] Relatedly, the rhombicuboctahedron can also be constructed by separating the cube's faces and then spreading away, after which adding other triangular and square faces between them; this is known as the "expanded cube". Similarly, it is constructed by the cube's dual, the regular octahedron.[74]
The corner region of a cube can also be truncated by a plane (e.g., spanned by the three neighboring vertices), resulting in a trirectangular tetrahedron.[76]
The snub cube is an Archimedean solid that can be constructed by separating the cube's faces, and filling the gaps with twisted angle equilateral triangles, a process known as a snub.[77]
The cube can be constructed with six square pyramids, tiling space by attaching their apices. In some cases, this produces the rhombic dodecahedron circumscribing a cube.[78][79]
The Polycube is a polyhedron in which the faces of many cubes are attached. Analogously, it can be interpreted as the polyominoes in three-dimensional space.[80] When four cubes are stacked vertically, and the other four are attached to the second-from-top cube of the stack, the resulting polycube is the Dali cross, named after Salvador Dali. The Dali cross is a tile space polyhedron,[81][82] which can be represented as the net of a tesseract. A tesseract is a cube's analogous four-dimensional space bounded by twenty-four squares and eight cubes.[83]
Hilbert's third problem asks whether every two equal-volume polyhedra can always be dissected into polyhedral pieces and reassembled into each other. If yes, then the volume of any polyhedron could be defined axiomatically as the volume of an equivalent cube into which it could be reassembled. Max Dehn solved this problem by inventing the Dehn invariant, answering that not all polyhedra can be reassembled into a cube.[84] It showed that two equal volume polyhedra should have the same Dehn invariant, except for the two tetrahedra whose Dehn invariants were different.[85]
The cube has a Dehn invariant of zero, meaning that cubes can achieve a honeycomb. It is also a space-filling tile in three-dimensional space in which the construction begins by attaching a polyhedron onto its faces without leaving a gap.[86] The cube is a plesiohedron, a special kind of space-filling polyhedron that can be defined as the Voronoi cell of a symmetric Delone set.[87] The plesiohedra include the parallelohedra, which can be translated without rotating to fill a space in which each face of any of its copies is attached to a like face of another copy. There are five kinds of parallelohedra, one of which is the cuboid.[88] Every three-dimensional parallelohedron is a zonohedron, a centrally symmetric polyhedron whose faces are centrally symmetric polygons.[89] In the case of the cube, it can be represented as a cell. Some honeycombs have cubes as the only cells; one example is the cubic honeycomb, the only regular honeycomb in Euclidean three-dimensional space, which has four cubes around each edge.[90][91]
The spherical cube represents the spherical polyhedron, which can be modeled by the arc of great circles, creating bounds as the edges of a spherical square.[94]
Hence, the spherical cube consists of six spherical squares with 120° interior angles on each vertex. It has vector equilibrium, meaning that the distance from the centroid and each vertex is the same as the distance from that and each edge.[95][96] Its dual is the spherical octahedron.[94]
The topological object three-dimensional torus is a topological space defined to be homeomorphic to the Cartesian product of three circles. It can be represented as a three-dimensional model of the cube shape.[97]
^Sriraman, Bharath (2009). "Mathematics and literature (the sequel): imagination as a pathway to advanced mathematical ideas and philosophy". In Sriraman, Bharath; Freiman, Viktor; Lirette-Pitre, Nicole (eds.). Interdisciplinarity, Creativity, and Learning: Mathematics With Literature, Paradoxes, History, Technology, and Modeling. The Montana Mathematics Enthusiast: Monograph Series in Mathematics Education. Vol. 7. Information Age Publishing, Inc. pp. 41–54. ISBN9781607521013.
^Fuchs, Dmitry; Fuchs, Ekaterina (2007). "Closed Geodesics on Regular Polyhedra". Moscow Mathematical Journal. 7 (2): 265–279. doi:10.17323/1609-4514-2007-7-2-265-279 (inactive 9 June 2025).{{cite journal}}: CS1 maint: DOI inactive as of June 2025 (link)
^Coxeter (1973) Table I(i), pp. 292–293. See the columns labeled , , and , Coxeter's notation for the circumradius, midradius, and inradius, respectively, also noting that Coxeter uses as the edge length (see p. 2).
^Fowler, David (2010). "Mathematics in Science Fiction: Mathematics as Science Fiction". World Literature Today. 84 (3): 48–52. doi:10.1353/wlt.2010.0188. JSTOR27871086. S2CID115769478. Robert Heinlein's "And He Built a Crooked House," published in 1940, and Martin Gardner's "The No-Sided Professor," published in 1946, are among the first in science fiction to introduce readers to the Moebius band, the Klein bottle, and the hypercube (tesseract).
^March, Lionel (1996). "Renaissance mathematics and architectural proportion in Alberti's De re aedificatoria". Architectural Research Quarterly. 2 (1): 54–65. doi:10.1017/S135913550000110X. S2CID110346888.
^Padmanabhan, Thanu (2015). "The Grand Cube of Theoretical Physics". Sleeping Beauties in Theoretical Physics. Springer. pp. 1–8. ISBN978-3319134420.
^Biegasiewicz, Kyle; Griffiths, Justin; Savage, G. Paul; Tsanakstidis, John; Priefer, Ronny (2015). "Cubane: 50 years later". Chemical Reviews. 115 (14): 6719–6745. doi:10.1021/cr500523x. PMID26102302.
^Helvajian, Henry; Janson, Siegfried W., eds. (2008). Small Satellites: Past, Present, and Future. El Segundo, Calif.: Aerospace Press. p. 159. ISBN978-1-884989-22-3.
^Chin, Daniel Jie Yuan Chin; Mohamed, Ahmad Sufril Azlan; Shariff, Khairul Anuar; Ishikawa, Kunio (23–25 November 2021). "GPU-Accelerated Enhanced Marching Cubes 33 for Fast 3D Reconstruction of Large Bone Defect CT Images". In Zaman, Halimah Badioze; Smeaton, Alan; Shih, Timothy; Velastin, Sergio; Terutoshi, Tada; Jørgensen, Bo Nørregaard; Aris, Hazleen Aris; Ibrahim, Nazrita Ibrahim (eds.). Advances in Visual Informatics. 7th International Visual Informatics Conference. Kajang, Malaysia. p. 376.
^Greene, N (1986). "Environment mapping and other applications of world projections". IEEE Computer Graphics and Applications. 6 (11): 21–29. doi:10.1109/MCG.1986.276658. S2CID11301955.
^Jeon, Kyungsoon (2009). "Mathematics Hiding in the Nets for a CUBE". Teaching Children Mathematics. 15 (7): 394–399. doi:10.5951/TCM.15.7.0394. JSTOR41199313.
^Viana, Vera; Xavier, João Pedro; Aires, Ana Paula; Campos, Helena (2019). "Interactive Expansion of Achiral Polyhedra". In Cocchiarella, Luigi (ed.). ICGG 2018 - Proceedings of the 18th International Conference on Geometry and Graphics 40th Anniversary - Milan, Italy, August 3-7, 2018. Advances in Intelligent Systems and Computing. Vol. 809. Springer. p. 1123. doi:10.1007/978-3-319-95588-9. ISBN978-3-319-95587-2. See Fig. 6.
^Gruber, Peter M. (2007). "Chapter 16: Volume of Polytopes and Hilbert's Third Problem". Convex and Discrete Geometry. Grundlehren der mathematischen Wissenschaften [Fundamental Principles of Mathematical Sciences]. Vol. 336. Springer, Berlin. pp. 280–291. doi:10.1007/978-3-540-71133-9. ISBN978-3-540-71132-2. MR2335496.
^In higher dimensions, however, there exist parallelopes that are not zonotopes. See e.g. Shephard, G. C. (1974). "Space-filling zonotopes". Mathematika. 21 (2): 261–269. doi:10.1112/S0025579300008652. MR0365332.