# Distance between two points on the Clifford torus

How can I obtain the distance between two points $\mathbf{x}=(x_1,x_2,x_3,x_4)$ and $\mathbf{y}=(y_1,y_2,y_3,y_4)$ that belong to the $2$-torus $\mathbb{S}^1\times \mathbb{S}^1$? This is, I want to measure the distance (I do not require the geodesic) of $\mathbf{x}$ to $\mathbf{y}$ along the manifold $$\mathbb{S}^1\times\mathbb{S}^1=\big\{(x_1,x_2,x_3,x_4)\in\mathbb{R}^4:x_1^2+x_2^2=1,x_3^2+x_4^2=1\big\}.$$

I guess that there should be a way of doing this considering an isomorphism(?) via the parametrization $\mathbf{x}(\theta,\phi)=(\cos\theta,\sin\theta,\cos\phi,\sin\phi)$ with $\theta,\phi\in[-\pi,\pi)$ and then measuring the distances in $[-\pi,\pi)^2$. However, I do not know whether this could be possible nor how to prove that the parametrization is an isomorphism, since I will need to be able to compute distances in $\mathbb{S}^1\times\mathbb{S}^1$ for doing that.

Any ideas on this or in another direction will be appreciated, as well as references.

• I have no references, not even a proper calculation, but I am pretty sure that the torus is flat in that embedding, so that the distance will be simply $\sqrt{(\Delta\phi)^2+(\Delta\theta)^2}$, clearly with those deltas being $\le\pi$ in absolute value. – Harald Hanche-Olsen Oct 9 '14 at 19:52
• Thanks @HaraldHanche-Olsen, that's indeed my intuition, but I would like to be sure and rely on a formal proof. – epsilone Oct 9 '14 at 20:03
• Right. Hopefully someone will provide it. I am reasonably confident, but this is part of my passive knowledge (never taught, never really used), so it seems prudent to keep a low profile. 8-) – Harald Hanche-Olsen Oct 9 '14 at 20:08

Harald's answer is correct (though the wording of the justification is not quite: we need that the parametrization is Euclidean, not just flatness of the image).

Your initial thought of how to approach it is just about right, except you want to measure the distances on the flat torus $\mathbb T^2 = (\mathbb R / 2 \pi \mathbb Z)^2$ rather than in $[-\pi,\pi)^2$, since doing the latter would give large distances for points on either side of $\pi$, ignoring the "wrap-around".

What you need to show is that your parametrization $\mathbf x : \mathbb T^2 \to \mathbb R^4$ is an isometric immersion. To do this, we just need to compute the (pullback of the) Euclidean metric in the coordinates from $\mathbb T^2$. Starting with

$$dx^i = \frac{\partial x^i}{\partial \theta} d\theta + \frac{\partial x^i}{\partial \phi} d\phi,$$

$$\frac{\partial\mathbf{x}}{\partial\theta}=\left(-\sin\theta,\cos\theta,0,0\right),\ \frac{\partial\mathbf{x}}{\partial\phi}=\left(0,0,-\sin\phi,\cos\phi\right);$$
so $$dx^{1}=-\sin\theta d\theta,\ dx^{2}=\cos\theta d\theta,\ dx^{3}=-\sin\phi d\phi,\ dx^{4}=\cos\phi d\phi.$$
Thus we have $$\delta_{ij}dx^{i}dx^{j}=\sin^{2}\theta d\theta^{2}+\cos^{2}\theta d\theta^{2}+\sin^{2}\phi d\phi^{2}+\cos^{2}\phi d\phi^{2}=d\theta^{2}+d\phi^{2},$$
which is the standard metric on the flat torus $\mathbb T^2$. Thus these spaces are isomorphic as Riemannian manifolds and thus as metric spaces, so you can take the shortest Euclidean distance $\sqrt{\Delta \theta^2 + \Delta \phi^2}$ as suggested by Harald.
• Great answer. But don't we still have the wrap-around issue if, say, $\theta_1=0.1$ and $\theta_2=2\pi -0.1$? – Ted Shifrin Oct 10 '14 at 11:20
• @TedShifrin: when I wrote "shortest Euclidean distance" I meant the distance as measured on the flat torus. I guess the notation "$\Delta \theta$" is somewhat misleading - you need to translate your coordinate system/fundamental domain until both differences are $\le \pi$ as Harald said. – Anthony Carapetis Oct 10 '14 at 11:37