In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the Menger sponge (also known as the Menger cube, Menger universal curve, Sierpinski cube, or Sierpinski sponge) is a
fractal curve. It is a three-dimensional generalization of the one-dimensional
Cantor set
In mathematics, the Cantor set is a set of points lying on a single line segment that has a number of unintuitive properties. It was discovered in 1874 by Henry John Stephen Smith and introduced by German mathematician Georg Cantor in 1883.
Thr ...
and two-dimensional
Sierpinski carpet. It was first described by
Karl Menger in 1926, in his studies of the concept of
topological dimension.
Construction
The construction of a Menger sponge can be described as follows:
# Begin with a cube.
# Divide every face of the cube into nine squares, like
Rubik's Cube
The Rubik's Cube is a Three-dimensional space, 3-D combination puzzle originally invented in 1974 by Hungarians, Hungarian sculptor and professor of architecture Ernő Rubik. Originally called the Magic Cube, the puzzle was licensed by Rubik t ...
. This sub-divides the cube into 27 smaller cubes.
# Remove the smaller cube in the middle of each face, and remove the smaller cube in the center of the more giant cube, leaving 20 smaller cubes. This is a level-1 Menger sponge (resembling a
void cube
The Void Cube is a 3-D mechanical puzzle similar to a Rubik's Cube, with the notable difference being that the center pieces are missing, which causes the puzzle to resemble a level 1 Menger sponge. The core used on the Rubik's Cube is also abs ...
).
# Repeat steps two and three for each of the remaining smaller cubes, and continue to iterate ''
ad infinitum''.
The second iteration gives a level-2 sponge, the third iteration gives a level-3 sponge, and so on. The Menger sponge itself is the limit of this process after an infinite number of iterations.

Properties
The
th stage of the Menger sponge,
, is made up of
smaller cubes, each with a side length of
(1/3)''n''. The total volume of
is thus
. The total surface area of
is given by the expression
. Therefore the construction's volume approaches zero while its surface area increases without bound. Yet any chosen surface in the construction will be thoroughly punctured as the construction continues so that the limit is neither a solid nor a surface; it has a topological dimension of 1 and is accordingly identified as a curve.
Each face of the construction becomes a
Sierpinski carpet, and the intersection of the sponge with any diagonal of the cube or any midline of the faces is a
Cantor set
In mathematics, the Cantor set is a set of points lying on a single line segment that has a number of unintuitive properties. It was discovered in 1874 by Henry John Stephen Smith and introduced by German mathematician Georg Cantor in 1883.
Thr ...
. The cross-section of the sponge through its
centroid and perpendicular to a
space diagonal is a regular hexagon punctured with
hexagram
, can be seen as a compound composed of an upwards (blue here) and downwards (pink) facing equilateral triangle, with their intersection as a regular hexagon (in green).
A hexagram ( Greek language, Greek) or sexagram (Latin) is a six-pointed ...
s arranged in six-fold symmetry. The number of these hexagrams, in descending size, is given by
, with
.
The sponge's
Hausdorff dimension is ≅ 2.727. The
Lebesgue covering dimension of the Menger sponge is one, the same as any
curve
In mathematics, a curve (also called a curved line in older texts) is an object similar to a line (geometry), line, but that does not have to be Linearity, straight.
Intuitively, a curve may be thought of as the trace left by a moving point (ge ...
. Menger showed, in the 1926 construction, that the sponge is a ''
universal curve'', in that every curve is
homeomorphic
In the mathematical field of topology, a homeomorphism, topological isomorphism, or bicontinuous function is a bijective and continuous function between topological spaces that has a continuous inverse function. Homeomorphisms are the isomorphi ...
to a subset of the Menger sponge, where a ''curve'' means any
compact metric space of Lebesgue covering dimension one; this includes
trees and
graphs
Graph may refer to:
Mathematics
*Graph (discrete mathematics), a structure made of vertices and edges
**Graph theory, the study of such graphs and their properties
*Graph (topology), a topological space resembling a graph in the sense of discre ...
with an arbitrary
countable number of edges, vertices and closed loops, connected in arbitrary ways. Similarly, the
Sierpinski carpet is a universal curve for all curves that can be drawn on the two-dimensional plane. The Menger sponge constructed in three dimensions extends this idea to graphs that are not
planar and might be embedded in any number of dimensions.
The Menger sponge is a
closed set
In geometry, topology, and related branches of mathematics, a closed set is a set whose complement is an open set. In a topological space, a closed set can be defined as a set which contains all its limit points. In a complete metric space, a cl ...
; since it is also bounded, the
Heine– Borel theorem implies that it is
compact. It has
Lebesgue measure
In measure theory, a branch of mathematics, the Lebesgue measure, named after French mathematician Henri Lebesgue, is the standard way of assigning a measure to subsets of ''n''-dimensional Euclidean space. For ''n'' = 1, 2, or 3, it coincides wit ...
0. Because it contains continuous paths, it is an
uncountable set.
Experiments also showed that cubes with a Menger sponge structure could dissipate shocks five times better for the same material than cubes without any pores.
Formal definition
Formally, a Menger sponge can be defined as follows:
:
where
is the
unit cube and
:
MegaMenger
MegaMenger was a project aiming to build the largest fractal model, pioneered by
Matt Parker
Matthew Thomas Parker (born 22 December 1980) is an Australian recreational mathematician, author, comedian, YouTube personality and science communicator based in the United Kingdom. His book ''Humble Pi'' was the first maths book in the UK to ...
of
Queen Mary University of London and
Laura Taalman of
James Madison University. Each small cube is made from six interlocking folded business cards, giving a total of 960 000 for a level-four sponge. The outer surfaces are then covered with paper or cardboard panels printed with a Sierpinski carpet design to be more aesthetically pleasing. In 2014, twenty level-three Menger sponges were constructed, which combined would form a distributed level-four Menger sponge.
Megamenger Bath.jpg, One of the MegaMengers, at the University of Bath
cmglee_Cambridge_Science_Festival_2015_Menger_sponge.jpg, A model of a tetrix viewed through the centre of the Cambridge Level-3 MegaMenger at the 2015 Cambridge Science Festival
Similar fractals
Jerusalem cube
A ''Jerusalem cube'' is a
fractal
In mathematics, a fractal is a geometric shape containing detailed structure at arbitrarily small scales, usually having a fractal dimension strictly exceeding the topological dimension. Many fractals appear similar at various scales, as illu ...
object described by Eric Baird in 2011. It is created by recursively drilling
Greek cross-shaped holes into a cube. The construction is similar to the Menger sponge but with two different-sized cubes. The name comes from the face of the cube resembling a
Jerusalem cross pattern.
The construction of the Jerusalem cube can be described as follows:
# Start with a cube.
# Cut a cross through each side of the cube, leaving eight cubes (of rank +1) at the corners of the original cube, as well as twelve smaller cubes (of rank +2) centered on the edges of the original cube between cubes of rank +1.
# Repeat the process on the cubes of ranks 1 and 2.
Iterating an infinite number of times results in the Jerusalem cube.
Since the edge length of a cube of rank N is equal to that of 2 cubes of rank N+1 and a cube of rank N+2, it follows that the scaling factor must satisfy
, therefore
which means the fractal cannot be constructed on a rational grid.
Since a cube of rank N gets subdivided into 8 cubes of rank N+1 and 12 of rank N+2, the Hausdorff dimension must therefore satisfy
. The exact solution is
:
which is approximately 2.529
As with the Menger sponge, the faces of a Jerusalem cube are fractals
with the same scaling factor. In this case, the Hausdorff dimension must satisfy
. The exact solution is
:
which is approximately 1.786
Cube de Jérusalem, itération 3.png, Third iteration Jerusalem cube
Jerusalem_Cube.jpg, 3D-printed model Jerusalem cube
Others

*A
Mosely snowflake
The Mosely snowflake (after Jeannine Mosely) is a Sierpiński–Menger type of fractal obtained in two variants either by the operation opposite to creating the Sierpiński-Menger snowflake or Cantor dust i.e. not by leaving but by removing eig ...
is a cube-based fractal with corners recursively removed.
*A
tetrix is a tetrahedron-based fractal made from four smaller copies, arranged in a tetrahedron.
*A Sierpinski–Menger snowflake is a cube-based fractal in which eight corner cubes and one central cube are kept each time at the lower and lower recursion steps. This peculiar three-dimensional fractal has the Hausdorff dimension of the natively two-dimensional object like the plane i.e. =2
See also
*
Apollonian gasket
*
Cantor cube
*
Koch snowflake
*
Sierpiński tetrahedron
*
Sierpiński triangle
*
List of fractals by Hausdorff dimension
References
Further reading
*.
*
External links
Menger sponge at Wolfram MathWorld – an online exhibit about this giant origami fractal at the Institute For Figuring]
An interactive Menger sponge— Video explaining Zeno's paradoxes using Menger–Sierpinski sponge
Menger sphere rendered in
SunFlow
Sunflow is an open-source global illumination rendering system written in Java
Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to ...
Post-It Menger Sponge– a level-3 Menger sponge being built from Post-its
Sliced diagonally to reveal stars
*
by two "Mathekniticians"
*Dickau, R.
Further discussion.
{{Fractals, state=expanded
Iterated function system fractals
Curves
Topological spaces
Cubes
Fractals