# Shortest distance along the surface of the hyperboloid [closed]

Given two points A and B on the surface of the hyperboloid x^2+y^2-z^2=1. How to find the shortest distance between them along the surface?

-
You could use the well known results on geodesics of surfaces of revolution (due to Clairaut), explained in standard textbooks on differential geometry of surfaces. Try do Carmo's book, Differential Geometry of Curves and Surfaces, for example. This question is not appropriate for this web site, which is for current research problems in mathematics. Try math.stackexchange.com. –  Ben McKay Jan 18 '12 at 10:10
Using the following formula $$\cosh(d(A,B))=\frac{|q(A,B)|}{|q(A)|^{-1/2}|q(B)|^{-1/2}},$$ where $$q(A,B)=A^t I_{2,1} B = a_1b_1+a_2b_2-a_3b_3$$ with $I_{2,1}=diag(1,1,-1)$.