Realizing Right-Angled Hyperbolic Hexagons in the Upper Half Plane
Turning abstract moduli data into concrete coordinates for rendering.
As we saw in Part I, there is a 3-dimensional moduli space of right angled hexagons in the plane, uniquely parameterized by specifying a triple of alternating side lengths.
In this note, we compute a specific representation of such hexagons, by defining a map from such a triple to an ordered 6-tuple of geodesics. For concreteness we work in the upper half plane, where geodesics are faithfully represented by their endpoints, as an unordered pair in . Such an explicit representation allows us to compute the group generated by reflections in the sides, and produce beautiful hyperbolic tilings as below:
It will be useful to recall a bit of notation: write the alternating known side lengths by , and the three opposing sides as respectively. We will label each geodesic by its side length, so represents the geodesic of side length , and the geodesic of side length . The colors below are the ones referred to throughout: red for the vertical, yellow for the unit circle, then purple, green, indigo and sky blue.
In Part I, we found the explicit formulas for in terms of . Thus in our computations here we will freely use all six sides, knowing that three are already determined from the remainder.
Computing Geodesics in terms of Sides
For each of side lengths we aim to compute one representative right angled hexagon, and so are free to use the isometries of the hyperbolic plane to simplify the problem. Indeed, using homogeneity we can take one vertex of the hexagon to , and then use isotropy to rotate it so one of the sides through is the unit circle. If we take this to be the side , then
But, as is right angled, the other side through must be perpendicular to the unit circle — and thus, is the vertical. This determines a second geodesic side:
We have now fully used up the symmetry inherent to the problem, and will need to proceed to calculate the remaining four sides. We will later determine the lengths in terms of ; but for now we will work to express the endpoints of the remaining four geodesic sides in terms of these six quantities. The simplest of these to determine is the endpoints of the purple geodesic. Since it intersects the red (vertical) geodesic at a right angle, it must be a circle centered at the origin.
As the hyperbolic length of the vertical side is and its first endpoint is at , the second endpoint must lie at as
This fixes the geodesic of side length : as the circle is centered at the origin and intersects the imaginary axis at it intersects the real axis at .
Next, we proceed to calculate the endpoints of the green geodesic :
Note that the hyperbolic isometry translating along the yellow edge by distance takes the red-yellow intersection point to the yellow-green intersection point, and as both angles are right angles, necessarily takes the red geodesic to the green geodesic. Thus, the endpoints of the green geodesic are the images of under this isometry.
Translation by distance along the unit circle geodesic is accomplished by the Möbius transformation
Applying this to the endpoints of the red geodesic yields
Thus we have it;
We may calculate the endpoints of the indigo geodesic similarly, by noting that it is the image of the red geodesic under translation along the purple edge by a distance of z.
Because this purple edge is a circle centered at the origin, it is the image of the unit circle under translation along the vertical geodesic by . Thus, translation along the purple is given by conjugating translation along the unit circle by vertical translation. Precisely, let be the translation of length along the vertical geodesic, and be the translation by distance along the horizontal unit circle geodesic. Then the Möbius transformation we seek is
We are interested in the image of the red geodesic ‘s endpoints under this isometry. As is translation along the red geodesic, it (and hence its inverse as well) fixes these endpoints, so
Using what we’ve previously learned about translation of along the unit circle, we see
Thus we have it,
This leaves only the sky-blue geodesic left to compute. There are two nice things we can try here: (1) we already know the green and indigo geodesics, and the blue geodesic is their common perpendicular. So we could use Euclidean geometry to find the unique circle centered on the real axis which is perpendicular to both of these circles. Or (2), we can continue with a method analogous to the above, and realize the blue geodesic as the image of the red (vertical) geodesic under some hyperbolic isometry.
The second is considerably less messy in the end, so we proceed with (2). As the red and blue geodesics do not intersect, they have a common perpendicular, and, being perpendicular to the red geodesic, this is a circle centered at . Say this common perpendicular intersects the red geodesic at a distance h from the red- yellow vertex, and is of length .
Precisely analogous to the previous case, we can realize translation along this common perpendicular as a conjugate of translation along the unit circle of distance by a translation along the vertical geodesic of distance . This combination sends to the points
As written this formula is not exactly what we want: we wish to express everything in terms of only and ; but this quantity involves the geometrically defined quantities and as well. To finish, we need to relate these to the side lengths. Doing so requires that we recall one important relation from the trigonometry of hyperbolic pentagons:
This is useful to us, as the common perpendicular of length divides the right angled hexagon into TWO right angled pentagons. We focus on the bottom pentagon, where we have labeled the side lengths (using * for the final side length, which proves irrelevant to our calculation).
A right angled hyperbolic pentagon is determined up to isometry by any pair of adjacent side lengths, so the lengths fully determine the remaining sides. Using these, we may then calculate the values of using the trigonometry of right angled hyperbolic pentagons, and the pair of adjacent sides .
The first equation uniquely specifies a positive solution for , and similarly the second implicitly determines a unique value of . Thus, we are done and
Summary
Given the lengths we have found an explicit right angled hexagon having these as its side lengths, bounded by the geodesics
where
The same hexagon in the disk
The half plane is where the computation wants to happen, but the answer it produces is lopsided, and it needed two quantities — and — that are not side lengths at all. Carrying everything to the Poincaré disk by the Cayley transform
fixes both complaints at once.
In the disk a geodesic is an arc of a Euclidean circle meeting the boundary at right angles, and such a circle with center and radius satisfies
so the center alone determines it. Two of them are perpendicular exactly when
an ordinary dot product; and if instead they are ultraparallel, with a common perpendicular of length running between them,
Those two facts are the whole toolkit. Our normalization put a vertex at , which the Cayley transform sends to the center of the disk, so and pass through the middle: they are diameters, and we may take them along the two axes.
Everything else follows. is perpendicular to the diameter , so its center lies on that axis; and have — of length — as their common perpendicular, which fixes how far along. The same argument on the other axis gives . For the last two, one coordinate comes from a dot product with a neighbor and the other from the side separating it from a diameter.
Naming each geodesic by the center of the Euclidean circle carrying it, the right angled hexagon with alternating sides is realized in the Poincaré disk by
Note what is missing: and are gone. The half-plane realization had to introduce them to say where the last side goes, but in the disk every center is written in the side lengths alone.
With every side named by a single point, the realization is ready to be drawn. In the next note we turn it into a shader that renders the whole tiling, one pixel at a time.