TITLE: Finding Geodesics on the Unit Cylinder
QUESTION [5 upvotes]: I am currently working through a problem in Andrew Pressley's Elementary Differential Geometry.
Question 9.2.1

Let $p$, and $q$ be two distinct points on the unit cylinder. Show that there are either two or infinitely many geodesics whose end points are $p$ and $q$.

The first part of this question is quite easy. Suppose $p$ and $q$ lie on the same circular arc around the unit cylinder. Then there are exactly two geodesics joining $p$ and $q$.
But I can't seem to figure out how there are infinitely many geodesics if $p$ and $q$ don't lie on the same circular arc. The book says that there are infinitely many helices joining the points. That is easy enough to understand, but to be a geodesic don't the helices need to be locally length minimizing? How can this be?
Any help would be greatly appreciated!

REPLY [3 votes]: The helices
$$\gamma_a(t)=(\cos(t),\sin(t),t/a) $$
are all geodesics, since $\gamma_a''(t)=(-\cos(t),-\sin(t),0)$ is perpendicular to the cylinder.
Since you mention that "the book says that there are infinitely many helices joining the points. That is easy enough to understand, but to be a geodesic don't the helices need to be locally length minimizing?", the above should be enough for you.
If someone coming here does not understand why there are infinitely many helices joining the points:
Given $p,q$ not on the same circular arc, we have that $p_3 \neq q_3$. Since rotations along the plane and translations along the $z$-axis are isometries, we can assume that $p=(1,0,0)$ (this is just for simplification, not necessary at all), and thus $q_3 \neq 0$.
Pick $T$ such that $q=(\cos(T),\sin(T),q_3)$. The geodesics $\gamma_{(T+2k\pi)/q_3}$ ($k$ running through the integers) all connect $p$ and $q$. Indeed,
$$\gamma_{(T+2k\pi)/q_3}(0)=(1,0,0)=p $$
and
$$\gamma_{(T+2k\pi)/q_3}(T+2k\pi)=(\cos(T),\sin(T),q_3)=q.$$