# Geodesic of a Sphere in spherical polar coordinates (Taylor's Classical Mechanics)

 P: 3 1. The problem statement, all variables and given/known data "The shortest path between two point on a curved surface, such as the surface of a sphere is called a geodesic. To find a geodesic, one has to first set up an integral that gives the length of a path on the surface in question. This will always be similar to the integral (6.2) but may be more complicated (depending on the nature of the surface) and may involve different coordinates than x and y. To illustrate this, use spherical polar coordinates (r, $\theta$,$\phi$ ) to show that the length of a path joining two points on a sphere of radius R is L=R$\int$$\sqrt{1+sin^2\theta\phi'(\theta)^2}$d$\theta$ (Don't know how to do it on latex but the integral is between $\theta$1 and $\theta$2) if ($\theta$1,$\phi$1) and ($\theta$2,$\phi$2) specify two points and we assume that the path is expressed as $\phi$=$\phi$($\theta$)." 2. Relevant equations x=rsin(ϕ)cos(θ) y=rsin(ϕ)sin(θ) z=rcos(ϕ) ds=$\sqrt{dx^2+dy^2+dz^2}$ 3. The attempt at a solution I'm unsure of how much this question is asking for. I was able to quickly work out the solution after looking up the line element for the surface of a sphere in spherical polar and using that in place of the Cartesian form of ds. But then I was wondering if whether the question was asking me to derive the line element. It doesn't seem likely since this is one of the * questions which are supposed to be the easiest and I've already completed the ** questions with no difficulty. In any case, I worked on deriving the line element for the sake of it and got stuck. I found the differentials for x,y and z (dx, dy and dz) and put them into the equation for ds. What do I do from here? Do I tediously expand the brackets involving three terms or is there something that I'm missing? Thanks in advance.