Coordinates in hyperbolic geometry?

Click For Summary

Discussion Overview

The discussion revolves around the representation and modeling of hyperbolic geometry in software. Participants explore the challenges of working with hyperbolic space natively, as opposed to using Euclidean models like the Poincaré disk or upper half-plane models. The conversation also touches on the differences between hyperbolic space and de Sitter space.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant expresses a desire to model hyperbolic geometry directly in hyperbolic space rather than through Euclidean models, questioning the existence of native coordinates in hyperbolic space.
  • Another participant describes the upper half-plane model as a straightforward representation of hyperbolic space, providing details on the metric and geodesic equations.
  • It is suggested that the Poincaré disk model is equivalent to the upper half-plane model and serves as a coordinate chart for hyperbolic space.
  • A participant raises concerns about the accuracy of floating-point representations in software when using the Poincaré disk model, particularly near the boundary of the unit circle.
  • There is a discussion about the nature of hyperbolic space and de Sitter space, noting their differences in metric signatures and representations.
  • One participant seeks alternative representations of points in hyperbolic space that avoid issues of points becoming exponentially closer together in terms of coordinates.

Areas of Agreement / Disagreement

Participants generally agree on the equivalence of the Poincaré disk and upper half-plane models as representations of hyperbolic space. However, there remains disagreement regarding the suitability of these models for computational purposes, particularly concerning floating-point accuracy near boundaries.

Contextual Notes

The discussion highlights limitations related to the representation of hyperbolic space in software, particularly the challenges posed by floating-point precision as points approach certain boundaries in the models discussed.

Coin
Messages
564
Reaction score
1
Hello,

I would like to do some stuff with modeling geometry in hyperbolic space in software. When I look up information on hyperbolic space, however, I tend to find only information on working with models of hyperbolic space. For example I find lots of information on the poincare disc model, and information on, well, if you want to have a line here's the thing which in the poincare disc model is dual to a hyperbolic line, if you want to do a translation here's the thing which in the poincare disc model is dual to a hyperbolic translation, etc.

What I cannot find is any information on how to work with hyperbolic geometry "natively"-- that is, in an actual hyperbolic geometry rather than a euclidean model. What I would like to do is work with actual points, lines, translations, rotations etc in hyperbolic space, and then only project them onto the poincare disc when I need to display them. However I cannot find any way to mathematically represent these objects in hyperbolic space itself (other than in euclidean systems, like the poincare disc, which are dual to hyperbolic space). Do any such ways exist, is there even such a thing as a "coordinate in hyperbolic space"? Are there any resources on this subject I ought to be aware of?

(Also, a somewhat tangential question-- are "hyperbolic space" and "de sitter space" the same thing or different?)
 
Physics news on Phys.org
The most straightforward way of working with hyperbolic space is by thinking of it as the upper half-plane with metric ds^2 = \frac{1}{y^2} ( \textrm{d} x^2 + \textrm{d} y^2 ). That is, points in hyperbolic space become ordered pairs (x,y) with y > 0, and the inner product on the tangent space at (x,y) is given by the matrix
<br /> \begin{pmatrix}<br /> 1/y^2 &amp; 0\\<br /> 0 &amp; 1/y^2\\<br /> \end{pmatrix} \textrm{.}<br />
Using the metric, you can work out the geodesic equations, which turn out to be solvable in this case (geodesics correspond to semicircles centered on the x-axis), and the Gaussian curvature, which is identically equal to -1. With a little more work, you can find the hyperbolic distance formula: If p_1 = (x_1, y_1) and p_2 = (x_2, y_2) denote two points in the upper half-plane, then the hyperbolic distance between them is given by
<br /> d(p_1, p_2) = \cosh^{-1} \left( \frac{(y_1^2 + y_2^2) + (x_2 - x_1)^2}{2y_1 y_2} \right) \textrm{.}<br />
With a bit more work and imagination, you can prove the hyperbolic laws of sines and cosines (see <http://en.wikipedia.org/wiki/Law_of_cosines_(hyperbolic)>). By the Gauss-Binet theorem, the area of any hyperbolic triangle is \pi - (\alpha + \beta + \gamma), where \alpha, \beta, and \gamma are the angles of the triangle.

This is the really about the best you can do. I suspect that you may be still unsatisfied, however, because the Poincare disk should in fact work for any of the purposes you've listed. I expect that you're frustrated with it because you've made the mistake of thinking of it as a subsection of Euclidean space with strange, somewhat arbitrary properties that make it look like hyperbolic space. It's not. Rather, the Poincare disk is best thought of as a coordinate chart for hyperbolic space in which the metric takes the form
<br /> ds^2 = \frac{4}{1 - (x^2 + y^2)} ( \textrm{d} x^2 + \textrm{d} y^2 ) \textrm{.}<br />
In other words, the Poincare disk model just gives another way of imposing coordinates on hyperbolic space. It is exactly equivalent to the upper half-plane model given above (I'm too lazy just now to write down the explicit coordinate transformation). Each vector in \mathbb{R}^2 with norm less than one corresponds to a point in hyperbolic space; thus, vectors in the interior of the unit circle are your "hyperbolic coordinates" in this case, just as vectors in the upper half-plane are the "hyperbolic coordinates" in the above system.

You say that you want to consider "points, lines, rotations, etc." in hyperbolic space. I'm most familiar with the upper half-plane model, so I'll tell you how to do these things in that context. As I've said, points correspond to ordered pairs (x,y) with y &gt; 0. Lines are geodesics, which as I've already noted correspond to semicircles in the upper half-plane; if you really want, I can give you a unit-speed parametrization of the (unique) geodesic between any two points (it's ugly). Rotations and translations are a bit trickier. It turns out that any orientation-preserving isometry of hyperbolic space corresponds to exactly two matrices with coefficients in \mathbb{R} and determinant 1, and that any such matrix determines a unique isometry. For example, given
<br /> A = \begin{pmatrix}<br /> a &amp; b\\<br /> c &amp; d<br /> \end{pmatrix} \textrm{,}<br />
the isometry F_A corresponding to A acts on the point p = (x,y), represented by the complex number z = x + iy, via
<br /> F_A (p) = \frac{az + b}{cz + d} \textrm{.}<br />
(These are called Moebius transformations.) A more intuitive way of thinking about this is that all orientation-preserving isometries of hyperbolic space can be written as the composition of a finite number of translations along the x-direction, rescalings, and inversions (inversion takes (x,y) to \left( \frac{-x}{x^2 + x^2}, \frac{y}{x^2 + y^2} \right)). "Rotations" of hyperbolic space then correspond to the latter two.

To answer your last question: "de Sitter space" is a Lorentzian spacetime, so its metric has a different signature ( (1,-1,-1,-1) or (-1,1,1,1), depending on your sign convention) than ordinary hyperbolic space. However, there are similarities; while hyperbolic space can be realized as a hyperboloid embedded in Euclidean space, de Sitter space is usually thought of as a four-dimensional hyperboloid given by -u^2 + x^2 + y^2 + z^2 + w^2 = \alpha^2 sitting inside five-dimensional Minkowski space (i.e., a 5D space with metric ds^2 = -\textrm{d} u^2 + \textrm{d} x^2 + \textrm{d} y^2 + \textrm{d} z^2 + \textrm{d} w^2). We can induce coordinates on the hyperboloid; long story short, its metric is then
ds^2 = -\textrm{d} t^2 + \alpha^2 \cosh^2(t/\alpha) [ \textrm{d} \chi^2 + \sin^2(\chi) ( \textrm{d} \theta^2 + \sin^2(\theta) \textrm{d} \varphi^2)] \textrm{.}
 
Last edited by a moderator:
I guess I'm not quite sure what you're after. When we say that the Poincare disk is a model of hyperbolic space, we don't mean that it's an approximation - it IS hyperbolic space, and here's one way of realizing it.
 
Vkint/zhentil, that helps a great deal, thank you. I think my bias against the poincare disc was unfounded. I do have a couple of questions.

First, I should probably explain my motivations a bit further and specifically note that the main reason I am nervous about the poincare disc model is that as I understand as you approach the circle limit, points a constant distance apart in terms of the distance function get closer and closer in terms of coordinates. This is bad because I am going to be doing my work in software-- i.e., I will be representing coordinates as floating point numbers. With floating point numbers, the closer I get to the unit circle, the less accuracy I will have*. As I understand the poincare half plane will have this same issue, since again here "distances" get closer and closer together in terms of coordinates as you approach the y=0 line.

This may not actually be a problem**, but I am curious-- is there any way of representing points on the hyperbolic plane that does not have this issue, the issue where there are regions where points get exponentially "closer together" with distance? Maybe this is the question I should have been asking to begin with.

* Basically a computer floating point of the kind I'm using is a number N*2^M, where effectively N is a 23-bit number plus 1 bit of +/- sign, and M is an 7-bit number plus 1 bit of +/- sign. So I can represent numbers in the neighborhood of 2^{-127} very accurately, but I cannot represent numbers in the neighborhood of (1-2^{-127}) at all. I estimate I only have to get about 16 or 17 units from the origin in terms of the poincare disc distance function before the difference between any two points becomes unrepresentable using 32-bit floats. The half-plane will be actually much better because points close to the y=0 line can be represented more accurately, but there will still be a point where I lose resolution...

** It may be that I can just rig things ahead of time so that my calculations never involve points far away from the origin. Also a friend had the interesting suggestion that instead of internally representing poincare disc coordinates using (x,y) I could represent them using (\theta,r&#039;) where r&#039;=1-r... although I do not know if this would make math difficult.
 
Look up "hyperboloid model." It's another model for hyperbolic space that takes its metric as the induced metric from Euclidean space. It's also the best way of seeing the symmetries of hyperbolic space, in my opinion.
 
Will check that out, thanks again.
 
VKint said:
The most straightforward way of working with hyperbolic space is by thinking of it as the upper half-plane with metric ds^2 = \frac{1}{y^2} ( \textrm{d} x^2 + \textrm{d} y^2 ). That is, points in hyperbolic space become ordered pairs (x,y) with y &gt; 0, and the inner product on the tangent space at (x,y) is given by the matrix
<br /> \begin{pmatrix}<br /> 1/y^2 &amp; 0\\<br /> 0 &amp; 1/y^2\\<br /> \end{pmatrix} \textrm{.}<br />
Using the metric, you can work out the geodesic equations, which turn out to be solvable in this case (geodesics correspond to semicircles centered on the x-axis), and the Gaussian curvature, which is identically equal to -1. With a little more work, you can find the hyperbolic distance formula: If p_1 = (x_1, y_1) and p_2 = (x_2, y_2) denote two points in the upper half-plane, then the hyperbolic distance between them is given by
<br /> d(p_1, p_2) = \cosh^{-1} \left( \frac{(y_1^2 + y_2^2) + (x_2 - x_1)^2}{2y_1 y_2} \right) \textrm{.}<br />
With a bit more work and imagination, you can prove the hyperbolic laws of sines and cosines (see <http://en.wikipedia.org/wiki/Law_of_cosines_(hyperbolic)>). By the Gauss-Binet theorem, the area of any hyperbolic triangle is \pi - (\alpha + \beta + \gamma), where \alpha, \beta, and \gamma are the angles of the triangle.

This is the really about the best you can do. I suspect that you may be still unsatisfied, however, because the Poincare disk should in fact work for any of the purposes you've listed. I expect that you're frustrated with it because you've made the mistake of thinking of it as a subsection of Euclidean space with strange, somewhat arbitrary properties that make it look like hyperbolic space. It's not. Rather, the Poincare disk is best thought of as a coordinate chart for hyperbolic space in which the metric takes the form
<br /> ds^2 = \frac{4}{1 - (x^2 + y^2)} ( \textrm{d} x^2 + \textrm{d} y^2 ) \textrm{.}<br />
In other words, the Poincare disk model just gives another way of imposing coordinates on hyperbolic space. It is exactly equivalent to the upper half-plane model given above (I'm too lazy just now to write down the explicit coordinate transformation). Each vector in \mathbb{R}^2 with norm less than one corresponds to a point in hyperbolic space; thus, vectors in the interior of the unit circle are your "hyperbolic coordinates" in this case, just as vectors in the upper half-plane are the "hyperbolic coordinates" in the above system.

You say that you want to consider "points, lines, rotations, etc." in hyperbolic space. I'm most familiar with the upper half-plane model, so I'll tell you how to do these things in that context. As I've said, points correspond to ordered pairs (x,y) with y &gt; 0. Lines are geodesics, which as I've already noted correspond to semicircles in the upper half-plane; if you really want, I can give you a unit-speed parametrization of the (unique) geodesic between any two points (it's ugly). Rotations and translations are a bit trickier. It turns out that any orientation-preserving isometry of hyperbolic space corresponds to exactly two matrices with coefficients in \mathbb{R} and determinant 1, and that any such matrix determines a unique isometry. For example, given
<br /> A = \begin{pmatrix}<br /> a &amp; b\\<br /> c &amp; d<br /> \end{pmatrix} \textrm{,}<br />
the isometry F_A corresponding to A acts on the point p = (x,y), represented by the complex number z = x + iy, via
<br /> F_A (p) = \frac{az + b}{cz + d} \textrm{.}<br />
(These are called Moebius transformations.) A more intuitive way of thinking about this is that all orientation-preserving isometries of hyperbolic space can be written as the composition of a finite number of translations along the x-direction, rescalings, and inversions (inversion takes (x,y) to \left( \frac{-x}{x^2 + x^2}, \frac{y}{x^2 + y^2} \right)). "Rotations" of hyperbolic space then correspond to the latter two.

To answer your last question: "de Sitter space" is a Lorentzian spacetime, so its metric has a different signature ( (1,-1,-1,-1) or (-1,1,1,1), depending on your sign convention) than ordinary hyperbolic space. However, there are similarities; while hyperbolic space can be realized as a hyperboloid embedded in Euclidean space, de Sitter space is usually thought of as a four-dimensional hyperboloid given by -u^2 + x^2 + y^2 + z^2 + w^2 = \alpha^2 sitting inside five-dimensional Minkowski space (i.e., a 5D space with metric ds^2 = -\textrm{d} u^2 + \textrm{d} x^2 + \textrm{d} y^2 + \textrm{d} z^2 + \textrm{d} w^2). We can induce coordinates on the hyperboloid; long story short, its metric is then
ds^2 = -\textrm{d} t^2 + \alpha^2 \cosh^2(t/\alpha) [ \textrm{d} \chi^2 + \sin^2(\chi) ( \textrm{d} \theta^2 + \sin^2(\theta) \textrm{d} \varphi^2)] \textrm{.}

Very interesting post. I wanted to thank you for taking the time to write all that.
 
Last edited by a moderator:

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 2 ·
Replies
2
Views
10K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
6K