Three-Dimensional Diagonal Cross-Sections of Four-Dimensional Menger Sponges
Year: 2023 Authors: Rob Hocking
Core claim
Specific hyperplane sections of two 4D generalized Menger sponges yield structured 3D fractals with analyzable symmetries and fractal-art applications.
Topics
4D Menger sponges, diagonal cross-sections, fractal art, symmetry analysis
Domains
fractal geometry, higher-dimensional geometry, topology, hyperplane sections, fractal art, 3D printing, glass etching, sculptural design
Methods
base-3 coordinate characterization, hyperplane slicing, analytical proof, computer rendering
Media
glass, precious metals, steel, 3D printed models
Paper text
The text below is the locally extracted OCR/Markdown version of the paper. Raw PDF files remain local and are not published here.
Bridges 2023 Conference Proceedings
Three-Dimensional Diagonal Cross-Sections of Four-Dimensional Menger Sponges
Rob Hocking
Taipei City, Taiwan; rob.l.hocking@gmail.com
Abstract
When the 3D Menger sponge is sliced with a suitably chosen diagonal plane, a novel 2D fractal is obtained. In this work, I generalize this result by exploring the 3D fractal structures obtained by slicing two distinct 4D generalized Menger sponges with suitable hyperplanes. The resulting fractals are either etched in glass or 3D printed in precious metals and used to create fractal art. Analytical results are derived presenting the mathematics behind the art, including symmetries of the 3D cross-sections.
Introduction
(a)
(b)
Figure 1: 3D Menger sponge fractal (with recursion depth three) 3D printed in steel in two halves held together with magnetism. In (a), we see the full sponge, while in (b) the two halves have been pulled apart. The diagonal cross-section reveals a novel 2D fractal.
The Menger sponge is a well known fractal first described in 1926 by Karl Menger [8] (see [6, pg. 111-116] for an English translation), and may be viewed as a type of three-dimensional generalization of the Cantor set [7]. In 2007 it was shown by Sébastien Pérez-Duarte that a 3D Menger sponge sliced along an appropriately selected diagonal plane yields a novel 2D fractal consisting of a hexagon with a fractal pattern of “star of David” holes; see Figure 1 (or go to Sébastien’s flickr page [2]) for an illustration. This discovery subsequently appeared in the New York Times [4], and an excellent explanation may be found in the video “Mathematical Impressions: The Surprising Menger Sponge Slice” by George Hart [1].
This begs the question - if a suitably defined 4D generalized Menger sponge is sliced with a suitably chosen hyperplane, might similarly interesting novel 3D fractals be found? It is the purpose of this paper to address this question, and to showcase some of the fractals that may be constructed in this fashion. A short film containing animations of said fractals can be found here [3].
Hocking
Notation
- - the -dimensional hyperplane given by .
- - the -dimensional Cantor set (consisting of the 1D Cantor set Cartesian produced with itself times). If we write rather than .
- - the -dimensional Menger sponge of type , defined below in Definition 2.
(a)
(b)
Figure 2: Computer rendering of the non-standard 3D Menger sponge , with a recursion depth of two. The holes are all interior cavities invisible from the outside. In (a), we render the outer shell in transparent blue while the interior cavities are rendered in grey. In (b), only the interior cavities are shown.
The Possible n-Dimensional Menger Sponges and Some of Their Properties
The Menger sponge is typically defined by the following recursive procedure:
- Start with a cube.
- Divide the cube into a Rubik’s cube of 27 smaller cubes.
- Remove the middle cube from each face, as well as the cube in the center of the Rubik’s cube.
- Recurse on the 20 remaining cubes.
While intuitive and geometrically clear, this characterization does not yield efficient algorithms and is difficult to generalize to higher dimensions. Therefore, in this work I use an equivalent characterization based on the base 3 decimal expansions of the coordinates of points making up each fractal. To facilitate this, I make the following definition:
Definition 1. Given and , we define
\delta_{i}(x) = \left\{ \begin{array}{ll}1 & \text{if the ith digit to the right of the decimal point in the base three expansion of x is a 1,}\\ 0 & \text{otherwise.} \end{array} \right.
With this definition, the standard 3D Menger sponge may be defined as
With this in mind, for each I define different possible -dimensional Menger sponges:
Three-Dimensional Diagonal Cross-Sections of Four-Dimensional Menger Sponges
Definition 2. Let and let be an integer obeying . Then we define the -dimensional Menger sponge of type as
Notice that for all we have , the -dimensional Cantor set, while , the -dimensional cube. The Sierpinski carpet and the standard Menger sponge are recovered as and , respectively, while yields a non-standard 3D Menger sponge in which all of the holes are hidden cavities invisible from the outside - see Figure 2.
Intuitively, the parameter controls the “hole-iness” of a Menger sponge. Considering the case , we note that on the one extreme, we obtain Cantor dust when , while on the other extreme, we obtain a solid cube when . When , we obtain the standard Menger sponge, which has enough holes to be interesting, but not so many as to be impossible to 3D print. Increasing to results in Figure 2 - here there are plenty of holes, but they are all cavities invisible from the outside.
Remark 1. It is worth mentioning that Karl Menger also considered -dimensional Menger sponges of type in his original work [8] and that his definition is equivalent to the one have provided in Definition 2. Moreover, he goes further and proves that the integer is the topological dimension (not to be confused with fractal dimension) of the resulting set. This fact does not seem to be widely known, however; was unaware of it until late in this project.
The following proposition generalizes the observation that each face of a standard 3D Menger sponge is a Sierpinski carpet, and that the holes of the 3D Menger sponge are given by three mutually orthogonal copies of the holes in the Sierpinski carpet cartesian produced with along a third dimension.
Proposition 1. Suppose k < n. Then each face of a Menger sponge is a Menger sponge. Moreover, for k < n-1 the holes of an Menger sponge are equal to the union of the holes in each face cartesian-produced with along the axis omitted from the face; hence they are visible from the outside. On the other hand, if , the holes are interior cavities equal to cartesian-produced with itself times.
Proof. By Definition 2, a point is part of a hole if for all for at least components of . So long as k < n - 1, this leaves one free component which can be anything, from which the proof of the claim in the case k < n - 1 easily follows. On the other hand, if there is no such free coordinate and therefore — as neither 0 nor 1 have any 1s in their base 3 expansion — holes are not achievable on faces. It follows that every face is a copy of , while any holes (if they exist) are interior cavities. Finally, the condition for all is equivalent to , which shows that cavities do exist and are of the form claimed.
From now on I recenter the Menger sponge at the origin and scale it by a factor of two, so that it is a subset of rather than .
Understanding the Diagonal Cross-Sections of the 3D Menger Sponge and its Generalizations: Configurations of n Mutually Orthogonal Cylinders in n-dimensional space
It is worth thinking about why we obtained the diagonal cross-section in Figure 1(b), and what we expect to obtain in higher dimensions. In a nutshell, Figure 1(b) is obtained because:
Hocking
(a)
(b)
Figure 3: In (a), we see that three mutually orthogonal square-based cylinders intersected with a suitable diagonal plane yields a hexagram. In (b), we show the result of four mutually orthogonal cube-based hypercylinders in intersected with a suitable diagonal hyperplane — a stellated octahedron.
- A cube (axis-aligned and centered at the origin) sliced with the plane yields a regular hexagon.
- A collection of three mutually orthogonal square-based cylinders (axis-aligned and centered at the origin), when intersected with the same plane, yields a “star of David” (a compound of two triangles). See Figure 3(a) for an illustration.
- The 3D Menger sponge is a subset of the cube and its holes contain many such triplets of mutually orthogonal cylinders, and many of them are centered on the plane .
When reasoning about 3D cross-sections of 4D Menger sponges, it is therefore reasonable to ask ourselves the following questions:
- What 3D shape is obtained from a hypercube (axis-aligned and centered at the origin) when it is sliced with the hyperplane ? Ans: an octahedron (I leave it to the reader to verify this and similar claims using their favorite mathematical software package).
- What 3D shape is obtained by intersecting four mutually orthogonal cube-based cylinders (axis-aligned and centered at the origin) with the hyperplane ? Ans: a stellated octahedron — also called stella octangula — a kind of 3D “star of David” consisting of a compound of two tetrahedrons with eight points in total [5, pg. 47-48]. See Figure 3(b) for an illustration.
- Do the holes in the 4D Menger sponge contain many such quadruplets of mutually orthogonal cylinders, and if so are many of them centered on the plane ?
If the answer to the last question is “yes,” then we might reasonably expect the 3D diagonal cross-section of a 4D Menger sponge to consist of an octahedron with a fractal pattern of stellated octahedron cavities. As we will see shortly, this is true of exactly one of the five possible 4D Menger Sponges, and the resulting pattern is indeed what we expect. However, arguably even more interesting sections are obtained from a different variant of the 4D Menger sponge that does not meet the above requirement.
Three-Dimensional Diagonal Cross-Sections of Four-Dimensional Menger Sponges
(a)
(b)
(c)
Figure 4: 3D cross-section of one type of 4D Menger sponge—namely —with a diagonal hyperplane bisecting the hypercube, visualized as a glass engraving. The fractal consists of an octahedron (outer shell) with stellated octahedron interior cavities. There is one large star in the center, surrounded on all sides by smaller ones. For clarity, the outer octahedron is a wireframe, and in the rightmost photo the smaller stars are too.
Symmetry of 3D Diagonal Cross-Sections of 4D Menger Sponges
Before examining the 3D cross-sections of two types of 4D Menger sponges in the next section, we first consider their symmetry. This will give us an idea of what to expect and help us to understand them.
Proposition 2. The 3D cross-sections possess tetrahedral symmetry for all valid values of . Moreover, if , octahedral symmetry is attained.
Proof. Let us denote the cartesian coordinates of by , and note that the plane may be parameterized by 3D orthonormal coordinates which are related to the coordinates by
Any operation that leaves both and invariant must also leave invariant. Clearly the group of permutations of the components of does this for any . To understand what this means for our 3D cross-sections, note that the permutation matrix (here is the th basis vector of ) induces the following map within :
Next, let denote the th row of . It is an exercise in algebra to show that the above map takes to and vice-versa. Moreover, the set forms the vertices of a tetrahedron, and hence the induced map above is precisely the set of symmetries of a tetrahedron. On the other hand, if then the map also leaves invariant, and hence the induced symmetries within the 3D hyperplane are
Hocking
The set forms the vertices of a stellated octahedron, and the induced map above are its symmetries. A stellated octahedron has the same symmetry group as an octahedron, so for we have octahedral symmetry.
(a)
(d)
Figure 5: 3D cross-sections of a second type of 4D Menger sponge—namely —with the hyperplane . In (a) and (b) the cross section is illustrated with 3D prints in two types of materials. In (c), we show a 3D print of the cross section with , while (d) and (e) are 3D renderings of the sections with and respectively. Notice that all sections have tetrahedral symmetry, while at octahedral symmetry is attained. For animated versions of additional cross-sections, please see the short film [3].
(c)
(e)
Three-Dimensional Diagonal Cross-Sections of Four-Dimensional Menger Sponges
Two Varieties of 4D Menger Sponges and Their Respective 3D Cross-Sections
Specializing (1) to the case and throwing out the cases and as uninteresting, we are left with three possible Menger sponges in four dimensions (corresponding to ). The case yields a simple fractal in which the central hypercube of a hyper-Rubik’s cube is recursively removed, and we similarly throw it away as uninteresting. This leaves us with the two choices and to work with.
We now ask ourselves “of these two possible 4D Menger sponges, which one meets the requirements of the discussion below Figure 3?” By Proposition 1, each face of is the standard 3D Menger sponge , while each face of is the non-standard 3D Menger sponge shown in Figure 2. Also by Proposition 1, the holes in will consist of quadruplets of 4D cylinders each of which has a cube as a base - whereas the holes in will be more complex. It is therefore —and not —that we expect to give a fractal consisting of an octahedron with stellated octahedron cavities when intersected with the hyperplane . This is indeed the case, and the result is illustrated in Figure 4, by means of a glass engraving. Note the octahedral symmetry, as expected in light of Proposition 2.
This is arguably the most natural generalization of the 2D cross-section discovered by Sébastien Pérez-Duarte. Instead of a 2D six-sided filled convex polygon with a fractal pattern of six-pointed 2D star holes and hexagonal symmetry, we have a 3D solid eight-sided convex polygon with a fractal pattern of eight-pointed 3D star cavities and octagonal symmetry. However, being the most natural generalization isn’t necessarily the same as being the most interesting generalization.
While the results for the 4D Menger sponge are intuitive and expected, those of are—to the author at least—surprising. Figure 5 gives examples of slices for a few values of , some of them 3D printed, some of them 3D renderings. However, what I am able to illustrate in one figure is highly limited - see the short film [3] for additional cross-sections.
Notice that as expected in light of Proposition 2, all cross sections have tetrahedral symmetry. The value gives a particularly nice result - the outer solid is a truncated tetrahedron with faces consisting of four regular hexagons and four equilateral triangles. The holes in this case are not interior cavities, but rather pierce the outer shell in such a way that each of the four hexagonal faces has—remarkably—the same pattern of holes as we found in the case of the diagonally chopped 3D Menger sponge . In the next section, we explore the mathematics behind this strange result.
Relating Cross-Sections of n-Dimensional Menger Sponges to Those of -Dimensional Sponges
The key to understanding the cross-sections of illustrated in Figure 5 lies in the following theorem, in which an explicit relationship between diagonal cross-sections of and those of is derived.
Theorem 1.
The -dimensional faces of of consist of copies of and copies of .
Proof.
The faces of occur when for some . Substituting into gives a copy of , while M_{k}^{n}\big{|}_{x_{j}=\pm 1} is a copy of by Proposition 1. Hence, the faces corresponding to for some are all copies of , while the faces corresponding to for some are all copies of . ∎
Theorem 1 implies that has four faces that are copies of and another four faces that are copies of . We already know that the former is a hexagon with a fractal pattern of star of David holes. The latter turns out to be an equilateral triangle (the sides of which are the same length as those of
Hocking
(a)
(b)
(c)
Figure 6: The 3D cross-section illustrated in Figure 5(a)-(b) has, by Theorem 1, four 2D faces equivalent to (a), and four 2D faces equivalent to (b). These may be joined together to form a 2D net (c) which, when folded together in 3D space, yields a truncated tetrahedron with a fractal pattern of star of David holes on every face.
the hexagon) with a similar fractal pattern of star of David holes. These eight 2D shapes have to be woven together in 3D in such a way that, if we fill in the holes, the result would be a convex polyhedron with tetrahedral symmetry. The only possible way of doing this yields a regular truncated tetrahedron, with a fractal pattern of star of David holes on each face - see Figure 6. Indeed, this is exactly what we observed in Figure 5(a)-(b). However, it holds generically - similar reasoning applies to every cross-section in Figure 5.
Conclusions and Future Work
In this work I have generated fractal art based on the 3D diagonal cross-sections of two distinct varieties of 4D Menger sponge. Analytical results have been presented that help us to understand them. Theorem 1, which relates diagonal cross-sections of Menger sponges in 4D to those in 3D is particularly illuminating. Proposition 2, which examines the symmetry of the cross-sections, is also helpful. Work on an extension to the 5D case is already underway.
References
[1] “Mathematical Impressions: The Surprising Menger Sponge Slice.” https://www.simonsfoundation.org/2012/12/10/mathematical-impressions-the-surprising-menger-sponge-slice/. [2] “Slice of Menger.” https://flickr.com/photos/sbprzd/1432723128/. [3] “The Spacelander’s Guide to 3D cross-sections of a 4D Menger sponge.” https://youtu.be/dShqphLP764. [4] K. Chang. “The Mystery of the Menger Sponge.” The New York Times. https://www.nytimes.com/2011/06/28/science/28math-menger.. [5] H. Coxeter. Regular Polytopes. ser. Dover books on advanced mathematics. Dover Publications, 1973. https://books.google.com.tw/books?id=iWvXsVInpgMC. [6] G. A. Edgar. Classics on fractals. CRC Press, 2019. [7] C. Georg. “Überunendliche, lineare Punktmannig faltigkeiten V [On infinite, linear point-manifolds (sets).” Math. Ann, vol. 21, 1883, pp. 545-591. [8] K. Menger. “Allgemeine Räume und Cartesische Räume. I.” Proc. Akad. Wet. Amsterdam, vol. 29, 1926, pp. 476-482.