Example (geodesic on a sphere)

This is also example sheet 1 Q4.

We want to find geodesics on a sphere with radius 1. In spherical polars, $$ \begin{align*} (x,y,z) &= (\sin\theta\cos\phi, \sin\theta\sin\phi, \cos\theta), \\ ds^2 &= dx^2 + dy^2 + dz^2 = d\theta^2 + \sin^2\theta\, d\phi^2. \end{align*} $$

We parametrise using spherical polars $\phi=\phi(\theta)$. The length of a curve is $$ \begin{align*} F(\phi) = \int_{\alpha}^{\beta} \underbrace{ \sqrt{1+\sin^2\theta (\phi')^2}}_{f(\theta,\phi')}\, d\theta. \end{align*} $$ $f$ does not depend on $\phi$, so using the first integral, $$ \begin{align*} \kappa &= \pdfd{f}{\phi'} \\ \kappa &= \frac{\phi' \sin^2\theta}{\sqrt{1+\sin^2\theta (\phi')^2}} \\ 1 + \sin^2\theta(\phi')^2 &= \frac{\sin^{4}\theta}{\kappa^2}(\phi')^2 \\ 1 &= \frac{\sin^2\theta(\sin^2\theta - \kappa^2)}{\kappa^2}(\phi')^2 \\ \phi' &= \pm \frac{\kappa}{\sin\theta\sqrt{\sin^2\theta - \kappa^2}} \\ \phi &= \pm \int \frac{\kappa}{\sin\theta\sqrt{\sin^2\theta - \kappa^2}}\, d\theta \\ \end{align*} $$ Substituting $t=\cot\theta$, we have $$ \begin{align*} \phi &= \pm \int\frac{\kappa}{\sin\theta\sqrt{\sin^2\theta-\kappa^2}}(\sin^2\theta\,dt) \\ &= \pm \int \frac{\kappa}{\sqrt{1-\kappa^2/\sin^2\theta}}\,dt \\ &= \pm \int \frac{\kappa}{\sqrt{1-\kappa^2(1+t^2)}}\,dt \\ &= \pm \int \frac{1}{\sqrt{\frac{1-\kappa^2}{\kappa^2} - t^2}} \,dt \\ &= \pm \sin\inv \frac{\kappa}{\sqrt{1-\kappa^2}}t + \phi_0 \\ \cot\theta &= \pm \frac{\sqrt{1-\kappa^2}}{\kappa}\sin(\phi-\phi_0). \end{align*} $$

Let $\kappa=\sin\gamma$. Then $$ \begin{align*} \tan\theta\sin(\phi-\phi_0) = \pm\tan\kappa. \end{align*} $$

This is a great circle. The $\pm$ sign means there are two solutions for the short and long way around the sphere.


Let's determine when is the stationary point a minimiser using second variation.

Here, we parametrise paths as $\theta=\theta(\phi)$. The length of the curve is $$ \begin{align*} F[\theta] = \int_{\phi_1}^{\phi_2} \sqrt{\sin^2\theta + (\theta')^2}\, d\phi. \end{align*} $$ Let $f(\phi,\theta,\theta') = \sqrt{\sin^2\theta + (\theta')^2}$.

$\theta(\phi)=\pi/2$ with $\phi\in[0,L]$ is a stationary point. We compute the second variation by expanding $$ \begin{align*} F[\pi/2 + \epsilon\eta(\phi)] &= \int_{0}^{L} \sqrt{\sin^2(\pi/2 + \epsilon\eta) + \epsilon^2(\eta')^2}\, d\phi \\ &= \int_{0}^{L} \sqrt{(1 - \tfrac{1}{2}\epsilon^2\eta^2 + O(\epsilon^4))^2 + \epsilon^2(\eta')^2}\, d\phi \\ &= \int_{0}^{L} \sqrt{1 - \epsilon^2\eta^2 + \epsilon^2(\eta')^2 + O(\epsilon^4)}\, d\phi \\ &= \int_{0}^{L} 1 + \frac{1}{2}\epsilon^2((\eta')^2 - \eta^2) + O(\epsilon^4) \, d\phi. \end{align*} $$ Or alternatively, $$ \begin{align*} P &= \pdfd[2]{f}{\theta'} \\ &= \pdd{\theta'}\bigg(\frac{\theta'}{\sqrt{\sin^2\theta + (\theta')^2}}\bigg) \\ &= \frac{\sin^2 \theta + (\theta')^2 - (\theta')^2}{(\sin^2\theta + (\theta')^2)^{3/2}} \\ &= \frac{\sin^2\theta}{(\sin^2\theta + (\theta')^2)^{3/2}} \\ &= \frac{\sin^2(\pi/2)}{(\sin^2(\pi/2) + 0^2)^{3/2}} \\ &= 1, \\ Q &= \pdfd[2]{f}{\theta} - \dd{\phi}\left(\frac{\partial^2 f}{\partial \theta\ \partial\theta'}\right) \\ &= \pdd{\theta}\frac{\sin\theta\cos\theta}{\sqrt{\sin^2\theta + (\theta')^2}} - 0 \\ &= \frac{(\cos^2\theta-\sin^2\theta)(\sin^2\theta + (\theta')^2) - \sin^2\theta\cos^2\theta}{(\sin^2\theta + (\theta')^2)^{3/2}} \\ &= -1. \end{align*} $$

We try to solve the Sturm-Liouville equation $$ \begin{align*} \eta'' + \eta = \lambda \eta \iff \eta'' = (\lambda-1)\eta \end{align*} $$ with boundary conditions $\eta(0) = \eta(L) = 0$. This gives solution $$ \begin{align*} \eta(\phi) = A \sin \frac{n\pi\phi}{L}, \quad \lambda-1 = -\left(\frac{n\pi}{L}\right)^2, \quad n\in\N. \end{align*} $$

If $L>\pi$, we have a solution with $\lambda>0$. Therefore in this case, the stationary point is not a minimum (which makes sense).

Now we solve the Sturm-Liouville equation with $\lambda=0$ $$ \begin{align*} u'' = -u. \end{align*} $$ This has solution $u(\phi) = \sin(\phi+\epsilon)$, where $\epsilon>0$ can be made arbitrarily small. $\epsilon$ can be set to allow $u=0$ nowhere in $[0,L]$ if $L<\pi$. Hence in this case the stationary point is a minimum (which also makes sense).