# Menger sponge

An illustration of M4, the sponge after four iterations of the construction process.

In mathematics, the Menger sponge (also known as the Menger universal curve) is a fractal curve. It is a three-dimensional generalization of the Cantor set and Sierpinski carpet. It was first described by Karl Menger in 1926, in his studies of the concept of topological dimension.[1][2]

The Menger sponge simultaneously exhibits an infinite surface area and zero volume.[3]

## Construction

A sculptural representation of iterations 0 (bottom) to 3 (top).

The construction of a Menger sponge can be described as follows:

1. Begin with a cube (first image).
2. Divide every face of the cube into 9 squares, like a Rubik's Cube. This will sub-divide the cube into 27 smaller cubes.
3. Remove the smaller cube in the middle of each face, and remove the smaller cube in the very center of the larger cube, leaving 20 smaller cubes (second image). This is a level-1 Menger sponge (resembling a Void Cube).
4. Repeat steps 2 and 3 for each of the remaining smaller cubes, and continue to iterate ad infinitum.

The second iteration will give you a level-2 sponge (third image), the third iteration gives a level-3 sponge (fourth image), and so on. The Menger sponge itself is the limit of this process after an infinite number of iterations.

An illustration of the iterative construction of a Menger sponge up to M3, the third iteration.
Menger sponge animation through (4) recursion steps.

The following table lists the properties of sponges Mn where n is the number of iterations performed on the first cube of unit side length.[4][5]

## Properties

{{{annotations}}}

The cross-section of a Menger sponge through its centroid and perpendicular to a space diagonal has sixfold symmetry containing hexagrams.[6]

Each face of the Menger sponge is a Sierpinski carpet; furthermore, any intersection of the Menger sponge with a diagonal or medium of the initial cube M0 is a Cantor set.

The Menger sponge is a closed set; since it is also bounded, the Heine–Borel theorem implies that it is compact. It has Lebesgue measure 0. It is an uncountable set.

The Lebesgue covering dimension of the Menger sponge is one, the same as any curve. Menger showed, in the 1926 construction, that the sponge is a universal curve, in that every curve is homeomorphic 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 with an arbitrary countable number of edges, vertices and closed loops, connected in arbitrary ways. In a similar way, 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 has infinite surface area but zero volume.[3]

The sponge has a Hausdorff dimension of log 20/log 3 (approximately 2.726833).

## Formal definition

Formally, a Menger sponge can be defined as follows:

$M := \bigcap_{n\in\mathbb{N}} M_n$

where M0 is the unit cube and

$M_{n+1} := \left\{\begin{matrix} (x,y,z)\in\mathbb{R}^3: & \begin{matrix}\exists i,j,k\in\{0,1,2\}: (3x-i,3y-j,3z-k)\in M_n \\ \mbox{and at most one of }i,j,k\mbox{ is equal to 1}\end{matrix} \end{matrix}\right\}.$

## MegaMenger

A model of a tetrix viewed through the centre of the Cambridge Level-3 MegaMenger at the 2015 Cambridge Science Festival
One of the MegaMengers, at the University of Bath

MegaMenger is a project aiming to build the largest fractal model, pioneered by Matt Parker of Queen Mary University of London and Laura Taalman of James Madison University. Each small cube is made from 6 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.[7] In 2014, twenty level-three Menger sponges were constructed, which combined would form a distributed level-four Menger sponge.[8]

## Similar fractals

Sierpinski-Menger snowflake. Eight corner cubes and the 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. log 9/log 3=2

## Notes and references

1. Menger, Karl (1928), Dimensionstheorie, B.G Teubner Publishers<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
2. Menger, Karl (1926), "Allgemeine Räume und Cartesische Räume. I.", Communications to the Amsterdam Academy of Sciences<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>. English translation reprinted in Lua error in Module:Citation/CS1/Identifiers at line 47: attempt to index field 'wikibase' (a nil value).
3. "Menger sponge", Wolfram Alpha, retrieved 2013-12-12<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
4. Wolfram Demonstrations Project, Volume and Surface Area of the Menger Sponge
5. University of British Columbia Science and Mathematics Education Research Group, Mathematics Geometry: Menger Sponge
6. http://nytimes.com/2011/06/28/science/28math-menger.html
7. Tim Chartier. "A Million Business Cards Present a Math Challenge". Retrieved 2015-04-07.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
8. "MegaMenger". Retrieved 2015-02-15.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
9. http://www.robertdickau.com/jerusalemcube.html
10. http://wired.com/2012/09/folded-fractal-art-cards
11. http://mathworld.wolfram.com/Tetrix.html
• Lua error in Module:Citation/CS1/Identifiers at line 47: attempt to index field 'wikibase' (a nil value)..
• Zhou, Li (2007), "Problem 11208: Chromatic numbers of the Menger sponges", American Mathematical Monthly, 114 (9): 842<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>