I've been looking for a way to measure distance in hyperbolic geometry, but I've come to a dead end-- I have to integrate this beast:$$\sqrt{\frac{\gamma^2}{(e_1e_4-e_2e_3)^2}\left((e_4+e_2\tau^{-2})^2+(-e_3-e_1\tau^{-2})^2\right)+\frac{\gamma^4[(e_4\tau-e_2\tau^{-1})(e_4+e_2\tau^{-2})+(-e_3\tau+e_1\tau^{-1})(-e_3-e_1\tau^{-2})]^2}{(e_1e_4-e_2e_3)^2((e_1e_4-e_2e_3)^2+\gamma^2[(e_4\tau-e_2\tau^{-1})^2+(-e_3\tau+e_1\tau^{-1})^2])}}\ \ d\tau.$$ I obtained this from the arclength of hyperbola in 3-space, which is the geodesic of the 2-sheet hyperboloid $x^2+y^2-z^2=-1$: the geodesics of this quadratic form are the intersections of the surface itself and planes through the origin. I was thinking to instead integrate the arclength of it in its own plane, but I thought this path would be fruitful. The hyperbola is given by
$$Hyp=\left(x,y,\pm \sqrt{x^2+y^2+1}\right)$$ with $$(\alpha^2-\gamma^2)x^2+2\alpha\beta xy+ (\beta^2-\gamma^2)y^2=\gamma^2$$ and the $e_k$ are functions of $\alpha,\beta,\gamma,\delta,$ which are functions of the coordinates $G=(x_0,y_0,z_0)$, $B=(x_1,y_1,z_1).$ Projecting the hyperbola to the $xy$-plane gives these images so you can get a feel for it:
I'm trying to get the distance between $G$ and $B$. The integral above comes from using the metric
$$ds^2=dx^2+dy^2+\frac{(xdx+ydy)^2}{1+x^2+y^2}$$ and factoring $(\alpha^2-\gamma^2)x^2+2\alpha\beta xy+ (\beta^2-\gamma^2)y^2=\gamma^2$ like $$(e_1x+e_2y)(e_3x+e_4y)=\gamma^2\implies e_1x+e_2y=\gamma\tau\text{ and } e_3x+e_4y=\gamma\tau^{-1}$$
Any help to find the distance is appreciated! One I obtain the distance, I can then move to mapping the hyperbola to the plane.
]

