Realizing Right-Angled Hyperbolic Pentagons in the Upper Half Plane

From abstract side-length data to Möbius-placed coordinates.

In a previous note we described the moduli space of right angled hyperbolic pentagons, which are uniquely determined by a pair of adjacent sides a,ba,b which must satisfy sinhasinhb>1\sinh a\sinh b>1. In fact, we worked out the remaining side lengths c,d,ec,d,e in terms of these two:

coshd=sinhasinhb\cosh d = \sinh a\sinh b

sinhc=coshasinh2asinh2b1\sinh c = \frac{\cosh a}{\sqrt{\sinh^2a\sinh^2b-1}}

coshe=coshasinhbsinh2asinh2b1\cosh e =\frac{\cosh a\sinh b}{\sqrt{\sinh^2a\sinh^2 b-1}}

Having this description in hand, we take it one step further and for each point in moduli space, construct an explicit such pentagon in the upper half plane model, where geodesics are faithfully represented by their endpoints, as an unordered pair in R:=R{}\overline{\mathbb{R}}:=\mathbb{R}\cup\{\infty\}. Having this allows one to compute right angled pentagon reflection groups, and draw beautiful images of their corresponding tilings:

Note we will allow ourselves to use all side lengths aea-e throughout the calculations, as we know from above this can easily be recast in terms of a,ba,b alone. For each a,ba,b only need 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 vv of the hexagon to ii, and then use isotropy to rotate it so one of the sides through ii is the unit circle. If we take this to be the side bb, then

γb{0,}\gamma_b \mapsto \{0,\infty\}

But, as HH is right angled, the other side through v=iv=i must be perpendicular to the vertical - and thus, is the unit circle. This determines γa\gamma_a:

γa{1,1}\gamma_a\mapsto \{-1,1\}

As the hyperbolic length of the vertical side is bb and its first endpoint is at ii, the second endpoint must lie at ebie^b i as

b=length(γb)=1?dtt=lnt1?=ln(?)\begin{align} b&=\mathrm{length}(\gamma_b)\\ &=\int_1^? \frac{dt}{t}\\ &=\ln|t|\Big|_1^?\\ &=\ln(?) \end{align}

Because this geodesic also intersects the vertical at a right angle, it is a circle centered at zero. And as it intersects the yy axis at height ebe^b it must intersect the xx axis at ±eb\pm e^b:

γc(eb,eb)\gamma_c\mapsto (-e^b,e^b)

Now we skip to computing the side ee. This lies on the other end of aa from the vertical geodesic, and so is the result of simply translating the vertical geodesic along the unit circle by distance bb. This is accomplished by the Möbius transformation

T=(cosha2sinha2sinha2cosha2)T=\begin{pmatrix}\cosh\frac{a}{2}&\sinh\frac{a}{2}\\\sinh\frac{a}{2}&\cosh\frac{a}{2}\end{pmatrix}

Applying this to the endpoints {0,}\{0,\infty\} of the vertical geodesic yields

T0=(cosh(a2)sinh(a2)sinh(a2)cosh(a2))(01)=(sinh(a2)cosh(a2))tanh(a2)T=(cosh(a2)sinh(a2)sinh(a2)cosh(a2))(10)=(cosh(a2)sinh(a2))coth(a2)\begin{align*} T_{0} &= \begin{pmatrix} \cosh \left( \frac{a}{2} \right) & \sinh \left( \frac{a}{2} \right) \\ \sinh \left( \frac{a}{2} \right) & \cosh \left( \frac{a}{2} \right) \end{pmatrix} \begin{pmatrix} 0 \\ 1 \end{pmatrix} = \begin{pmatrix} \sinh \left( \frac{a}{2} \right) \\ \cosh \left( \frac{a}{2} \right) \end{pmatrix} \rightarrow \tanh \left( \frac{a}{2} \right) \\ T_{\infty} &= \begin{pmatrix} \cosh \left( \frac{a}{2} \right) & \sinh \left( \frac{a}{2} \right) \\ \sinh \left( \frac{a}{2} \right) & \cosh \left( \frac{a}{2} \right) \end{pmatrix} \begin{pmatrix} 1 \\ 0 \end{pmatrix} = \begin{pmatrix} \cosh \left( \frac{a}{2} \right) \\ \sinh \left( \frac{a}{2} \right) \end{pmatrix} \rightarrow \coth \left( \frac{a}{2} \right) \end{align*}

Thus the geodesic ee is simply

γe(tanha2,cotha2)\gamma_e\mapsto \left(\tanh\frac{a}{2},\coth\frac{a}{2}\right)

Finally we compute the geodesic dd. This is also a translation of the vertical geodesic, but not along the unit circle, instead along γc\gamma_c, a circle of radius ebe^b in our model. We form the translation along this geodesic by conjugation: if Vb ⁣:pebpV_b\colon p\mapsto e^b p is the translation of length bb along the vertical geodesic, and HcH_c be the translation by distance cc along the horizontal unit circle geodesic. Then the Möbius transformation MM we seek is

M=VbHcVb1M = V_bH_cV_b^{-1}

We are interested in the image of the vertical geodesic’s endpoints under this isometry. As VbV_b is translation along the vertical geodesic, it (and hence it’s inverse as well) fixes these endpoints, so

M.{0,}=VbHcVb1.{0,}=VbHc{0,}\begin{align} M.\{0,\infty\}&=V_bH_cV_b^{-1}.\{0,\infty\}\\ &= V_bH_c \{0,\infty\} \end{align}

Using what we’ve previously learned about translation of {0,}\{0,\infty\} along the unit circle, we see

VbHc.{0,}=Vb.{tanhc2,cothc2}={ebtanhc2,ebcothc2}\begin{align} V_bH_c.\{0,\infty\} &= V_b.\left\{\tanh \frac{c}{2},\coth\frac{c}{2}\right\}\\ &=\left\{e^b\tanh \frac{c}{2}, e^b\coth\frac{c}{2}\right\} \end{align}

Thus we have it,

γd{ebtanhc2,ebcothc2}\gamma_d\mapsto \left\{e^b\tanh \frac{c}{2}, e^b\coth\frac{c}{2}\right\}

And that’s it! We’ll box off the result for easy finding:

Theorem

Up to isometry, the right angled hyperbolic pentagon with adjacent side lengths a,ba,b is realized in the upper half plane by the following five geodesics, each given by its pair of endpoints in R\overline{\mathbb{R}}:

γa{1, 1}γb{0, }γc{eb, eb}γd{ebtanhc2,  ebcothc2}γe{tanha2,  cotha2}\begin{aligned} \gamma_a &\longmapsto \{-1,\ 1\}\\[2pt] \gamma_b &\longmapsto \{0,\ \infty\}\\[2pt] \gamma_c &\longmapsto \left\{-e^b,\ e^b\right\}\\[2pt] \gamma_d &\longmapsto \left\{e^b\tanh\tfrac{c}{2},\ \ e^b\coth\tfrac{c}{2}\right\}\\[2pt] \gamma_e &\longmapsto \left\{\tanh\tfrac{a}{2},\ \ \coth\tfrac{a}{2}\right\} \end{aligned}

The same pentagon in the disk

The half plane is where the computation wants to happen — geodesics are pairs of real numbers and the isometries are 2×22\times2 matrices — but it is not where one wants to look at the answer. The realization is lopsided: γa\gamma_a and γb\gamma_b pile up near ii while γd\gamma_d runs out towards ebcothc2e^b\coth\frac{c}{2}, far off to the right. So let us carry it to the Poincaré disk by the Cayley transform

ψ(z)=iz+1z+i\psi(z)=\frac{iz+1}{z+i}

which takes ii to the center and R\overline{\mathbb{R}} to the unit circle, rotated so that \infty lands due north. Being a Möbius transformation it takes geodesics to geodesics and preserves angles, so we lose nothing by moving there.

It is tempting to chase the ten endpoints around the boundary circle, but there is a better bookkeeping. In the disk a geodesic is an arc of a circle meeting the boundary at right angles, and a circle with center CC and radius rr is orthogonal to the unit circle exactly when

C2=1+r2|C|^2=1+r^2

So the center alone determines the geodesic — the radius is C21\sqrt{|C|^2-1} — and we may as well name a geodesic by its center CC. Better still, expanding C1C22=r12+r22|C_1-C_2|^2=r_1^2+r_2^2 with that relation, two of them are perpendicular precisely when

C1C2=1C_1\cdot C_2=1

an ordinary dot product. Right angles, which is all our pentagon is made of, have become linear.

Now the sides fall out almost without computation. γa\gamma_a and γb\gamma_b pass through ii, which is the center of the disk, so they are diameters — the horizontal and the vertical one. That is our whole normalization made visible: the vertex vv is at the center, and the two sides through it are two perpendicular straight lines.

For γe\gamma_e: it is perpendicular to the diameter γa\gamma_a, so its center lies on that axis, and C2=1+r2|C|^2=1+r^2 pins the rest down. The same argument on the other axis gives γc\gamma_c. And γd\gamma_d is perpendicular to both γc\gamma_c and γe\gamma_e, so its center is read straight off the two dot products — one coordinate each.

Theorem

Up to isometry, the right angled hyperbolic pentagon with adjacent side lengths a,ba,b is realized in the Poincaré disk by the following five geodesics, each given by the center and radius of the Euclidean circle carrying it:

γathe horizontal diameterγbthe vertical diameterγccenter (0, cothb),  radius 1sinhbγdcenter (tanha, tanhb),  radius tanh2a+tanh2b1γecenter (cotha, 0),  radius 1sinha\begin{aligned} \gamma_a &\longmapsto \text{the horizontal diameter}\\[2pt] \gamma_b &\longmapsto \text{the vertical diameter}\\[2pt] \gamma_c &\longmapsto \text{center }(0,\ \coth b),\ \ \text{radius }\tfrac{1}{\sinh b}\\[2pt] \gamma_d &\longmapsto \text{center }(\tanh a,\ \tanh b),\ \ \text{radius }\sqrt{\tanh^2a+\tanh^2b-1}\\[2pt] \gamma_e &\longmapsto \text{center }(\coth a,\ 0),\ \ \text{radius }\tfrac{1}{\sinh a} \end{aligned}

The last radius is the moduli condition in disguise. Clearing denominators,

tanh2a+tanh2b1=sinh2asinh2b1cosh2acosh2b\tanh^2a+\tanh^2b-1=\frac{\sinh^2a\sinh^2b-1}{\cosh^2a\,\cosh^2b}

so γd\gamma_d is a real circle exactly when sinhasinhb>1\sinh a\sinh b>1. The pentagon closes up precisely when the fifth side has somewhere to be.

The realization is now concrete enough to draw with. In the next note we turn it into a shader that renders the whole tiling, one pixel at a time.

← All notes