## Cartesian Products, Duoprisms, and Tesseractic Checkerboards

Written June 17, 2020.

### Summary

In this article, we first introduce Cartesian products. We then mention duoprisms, which are the Cartesian product of two polygons, and end with an application to producing full opposite checkerboard patterns on four-dimensional n^4 (tesseractic) twisty puzzles.

### Cartesian Products

A Cartesian product is an operation on two sets. Given two sets $$A$$ and $$B$$, the Cartesian product is defined as follows:

$A \times B = \{(a, b) : a \in A, b \in B\}$

In other words, the Cartesian product of two sets $$A$$ and $$B$$ is a set containing all 2-tuple elements of the form $$(a, b)$$, where $$a$$ is an element in $$A$$ and $$b$$ is an element in $$B$$.

Thus, the Cartesian product of two finite sets $$A$$ and $$B$$, of sizes $$S_A$$ and $$S_B$$ respectively, is a new set $$A \times B$$ of size $$S_AS_B$$.

A geometric way of interpreting a Cartesian product of two polytopes $$A$$ and $$B$$ is to imagine the following: hold a pen, but imagine the nib is in the shape of $$A$$. That is, as soon as the nib touches the paper, a copy of polytope $$A$$ appears. Then, imagine drawing polytope $$B$$ using this nib, but in directions perpendicular to those of the nib. The end result represents $$A \times B$$. If $$A$$ is of dimension $$d_A$$, and $$B$$ is of dimension $$d_B$$, then the dimension of the new polytope is $$d_A + d_B$$.

For example, if $$A$$ represents a square with side length $$s$$, and $$B$$ represents a line segment of length $$s$$, then we can imagine $$A \times B$$ as holding a pen with square $$A$$ as its nib, and then drawing out line segment $$B$$, such that the line segment drawn is perpendicular to the square that makes up the nib. We end up with a cube of side length $$s$$. Thus, a cube can be seen as the Cartesian product of a square and a line segment, where all edge lengths are equal.

### Duoprisms

Duoprisms are the Cartesian product of two polygons. An $$n$$-gon can be represented using the Schläfli symbol $$\{n\}$$. Thus, given a $$p$$-gon and a $$q$$-gon, the $$p$$-$$q$$ duoprism is defined as $$\{p\}\times\{q\}$$. The duoprism comprises two perpendicular rings: one of $$p$$ $$q$$-gonal prisms, and another of $$q$$ $$p$$-gonal prisms. As $$p$$ and $$q$$ approach infinity, the duoprism becomes more and more similar to a duocylinder, the latter comprising two perpendicular tori.

Figures 1.a and 1.b show a 3-4 duoprism and a 4-3 duoprism, respectively.

Both of these images were produced using Robert Webb’s Stella software, which can be found at http://www.software3d.com/Stella.php. The images themselves can be found on Wikimedia.

Note that $$p$$-$$q$$ duoprisms are equivalent to $$q$$-$$p$$ duoprisms because Cartesian products are commutative, meaning $$A \times B = B \times A$$. The difference in the images is due to the duoprisms being projected down into three dimensions from different viewpoints.

### Tesseractic Checkerboards

Tesseracts can be thought of as regular {4}x{4} duoprisms. Thus, a tesseract can be disassembled into two perpendicular rings of four cubes each. If we can generate an opposite checkerboard pattern on a single ring of cubes within a tesseractic n^4 twisty puzzle, then we can simply rotate the puzzle into a perpendicular position, and generate a second opposite checkerboard pattern on the remaining ring of cubes. In this way, we generate a full opposite checkerboard pattern over the entire twisty puzzle.

For instance, on the 2x2x2x2 Rubik’s cube, performing RK2 FK2 RK2 UK2 TU2 results in a checkerboard pattern on one ring of the cubes (Figure 2.a). Then, rotating the tesseract and performing the same sequence of moves results in a checkerboard pattern on all facets (Figure 2.b).

Note that the full opposite checkerboard pattern is not possible for three-dimensional even-layered cubic twisty puzzles. For those puzzles, we can give at most four of the six faces a full opposite checkerboard pattern.

Meanwhile, full opposite checkerboards for odd-layered tesseractic twisty puzzles are also possible, albeit harder—they require knowing the 3x3x3 four-sided opposite checkerboard pattern (e.g. M2 E2 S2 (M2 F2)2 (S2 R2)2).

### Future Works

Something that can be looked into would be whether or not the full opposite checkerboard pattern can be made on every $$n^{2m}$$ twisty puzzle, for $$n \ge 2, m \ge 2$$, in a way similar to that described above. For example, can one parse a six-dimensional 3^6 twisty puzzle as a regular {4}x{4}x{4} in order to generate a full opposite checkerboard pattern on it, by repeating some pattern over three mutually perpendicular rings of four 5-cubes?

Go back to Articles