# Advanced Classical Mechanics/Central Forces

Central forces are forces between two particles that depend only on the distance between the particles and point from one particle to another. Central forces are conservative (why?). Furthermore, if we look at a central force between two particles we can separate the motion of the center of mass from the relative motion of the particles reducing the complexity of the problem.

## Separation of Motion

We have two particles of masses ${\displaystyle m_{1}}$ and ${\displaystyle m_{2}}$ located at positions ${\displaystyle {\vec {r}}_{1}}$ and ${\displaystyle {\vec {r}}_{2}}$. Furthermore, let's define ${\displaystyle {\vec {r}}={\vec {r}}_{1}-{\vec {r}}_{2}}$. Let's assume that the potential depends only on the relative position of the two particles. We can write out the Lagrangian as

${\displaystyle L=T-V={\frac {1}{2}}m_{1}{\dot {\vec {r}}}_{1}^{2}+{\frac {1}{2}}m_{2}{\dot {\vec {r}}}_{2}^{2}-V\left({\vec {r}}\right)+m_{1}{\vec {g}}\cdot {\vec {r}}_{1}+m_{2}{\vec {g}}\cdot {\vec {r}}_{2}}$

where ${\displaystyle {\vec {g}}}$ is the direction of the acceleration due to a uniform gravitational field.

Let's define ${\displaystyle {\vec {R}}}$ to be the position of the center of mass

${\displaystyle {\vec {R}}={\frac {m_{1}{\vec {r}}_{1}+m_{2}{\vec {r}}_{2}}{m_{1}+m_{2}}}}$

so

${\displaystyle {\vec {r}}_{1}={\vec {R}}+{\frac {m_{2}{\vec {r}}}{m_{1}+m_{2}}}}$ and ${\displaystyle {\vec {r}}_{2}={\vec {R}}-{\frac {m_{1}{\vec {r}}}{m_{1}+m_{2}}}.}$

### Lagrangian

Let's write out the Lagrangian using the new coordinates

${\displaystyle L={\frac {1}{2}}m_{1}\left({\dot {\vec {R}}}^{2}+2{\dot {\vec {R}}}\cdot {\dot {\vec {r}}}{\frac {m_{2}}{m_{1}+m_{2}}}+{\dot {\vec {r}}}^{2}{\frac {m_{2}^{2}}{\left(m_{1}+m_{2}\right)^{2}}}\right)+}$

${\displaystyle {\frac {1}{2}}m_{2}\left({\dot {\vec {R}}}^{2}-2{\dot {\vec {R}}}\cdot {\dot {\vec {r}}}{\frac {m_{1}}{m_{1}+m_{2}}}+{\dot {\vec {r}}}^{2}{\frac {m_{1}^{2}}{\left(m_{1}+m_{2}\right)^{2}}}\right)-}$

${\displaystyle V\left({\vec {r}}\right)+m_{1}{\vec {g}}\cdot \left({\vec {R}}+{\frac {m_{2}{\vec {r}}}{m_{1}+m_{2}}}\right)+m_{2}{\vec {g}}\cdot \left({\vec {R}}-{\frac {m_{1}{\vec {r}}}{m_{1}+m_{2}}}\right)}$

Notice that the middle terms in the first two sets of parentheses and the final terms in the final set cancel each other out and we are left with

${\displaystyle L={\frac {1}{2}}M{\dot {\vec {R}}}^{2}+{\frac {1}{2}}\mu {\dot {\vec {r}}}^{2}-V\left({\vec {r}}\right)+M{\vec {g}}\cdot {\vec {R}}}$

where ${\displaystyle M=m_{1}+m_{2}}$ is the total mass and the reduced mass is

${\displaystyle \mu ={\frac {m_{1}m_{2}}{m_{1}+m_{2}}}}$

So we find that for two bodies the dynamics reduces to the motion of the center of mass (possibly in a uniform gravitational field) and the motion of single particle about the center of mass.

### Angular Momentum

Let's calculate the total angular momentum of the system. We know from the results on many-particle systems that the angular momentum of the system will separate into the angular momentum about the center of mass and that of the center of mass. Furthermore, if ${\displaystyle V\left({\vec {r}}\right)=V\left(\left|{\vec {r}}\right|\right)}$, the internal forces do not contribute to the change in the angular momentum. We have

${\displaystyle {\vec {L}}=m_{1}{\vec {r}}_{1}\times {\vec {v}}_{1}+m_{2}{\vec {r}}_{2}\times v_{2}}$

${\displaystyle =m_{1}\left({\vec {R}}+{\frac {m_{2}{\vec {r}}}{m_{1}+m_{2}}}\right)\times \left({\vec {V}}+{\frac {m_{2}{\vec {v}}}{m_{1}+m_{2}}}\right)+m_{2}\left({\vec {R}}-{\frac {m_{1}{\vec {r}}}{m_{1}+m_{2}}}\right)\times \left({\vec {V}}-{\frac {m_{1}{\vec {v}}}{m_{1}+m_{2}}}\right)}$

where ${\displaystyle {\vec {v}}={\vec {v}}_{1}-{\vec {v}}_{2}}$ and ${\displaystyle {\vec {V}}=\left(m_{1}{\vec {v}}_{1}+m_{2}{\vec {v}}_{2}\right)/M}$.

${\displaystyle {\vec {L}}=M{\vec {R}}\times {\vec {V}}+\left[m_{1}{\frac {m_{2}^{2}}{\left(m_{1}+m_{2}\right)^{2}}}+m_{2}{\frac {m_{1}^{2}}{\left(m_{1}+m_{2}\right)^{2}}}\right]\left({\vec {r}}\times {\vec {v}}\right)=M{\vec {R}}\times {\vec {V}}+\mu {\vec {r}}\times {\vec {v}}.}$

We know from the results on many-particle systems in a uniform gravitational field that the internal angular momentum (${\displaystyle \mu {\vec {r}}\times {\vec {v}}}$) of the two-body system is conserved. We could have seen this from separation of the internal and external degrees of freedom in the Lagrangian.

## General Results

We can treat the central force between two particles as a force between a fixed center that we take to be the origin and a single particle. We have

${\displaystyle L={\frac {1}{2}}\mu {\dot {\vec {r}}}^{2}-V\left(\left|{\vec {r}}\right|\right),}$

Taking the particular case of the results from the first section where the potential does not depend on direction, we know that the angular momentum of the particle is conserved. This means that the motion will be restricted to a plane that we will take to be the equatorial plane (${\displaystyle \theta =\pi /2}$) without a loss of generality. Let's write the Lagrangian in spherical coordinates. First let's write the position of the particle in terms of the spherical coordinates. We have

${\displaystyle {\vec {r}}=\left[{\begin{matrix}r\sin \theta \cos \phi \\r\sin \theta \sin \phi \\r\cos \theta \end{matrix}}\right]}$

and

${\displaystyle {\dot {\vec {r}}}=\left[{\begin{matrix}{\dot {r}}\sin \theta \cos \phi +r{\dot {\theta }}\cos \theta \cos \phi -r{\dot {\phi }}\sin \theta \sin \phi \\{\dot {r}}\sin \theta \sin \phi +r{\dot {\theta }}\cos \theta \sin \phi +r{\dot {\phi }}\sin \theta \cos \phi \\{\dot {r}}\cos \theta -r{\dot {\theta }}\sin \theta \end{matrix}}\right]}$

so

${\displaystyle {\dot {\vec {r}}}^{2}={\dot {r}}^{2}+r^{2}{\dot {\theta }}^{2}+r^{2}{\dot {\phi }}^{2}\sin ^{2}\theta .}$

### Lagrangian

Let's write out the Lagrangian in terms of the spherical coordinates

${\displaystyle L={\frac {1}{2}}\mu \left({\dot {r}}^{2}+r^{2}{\dot {\theta }}^{2}+r^{2}{\dot {\phi }}^{2}\sin ^{2}\theta \right)-V(r).}$

### Conserved Quantities

First let's notice that ${\displaystyle \partial L/\partial \phi =0}$ so ${\displaystyle p_{\phi }}$ is conserved. Also ${\displaystyle \partial L/\partial t=0}$ so ${\displaystyle H}$ is conserved as well.

Let's calculate the conserved momentum,

${\displaystyle p_{\phi }={\frac {\partial L}{\partial {\dot {\phi }}}}=\mu r^{2}{\dot {\phi }}\sin ^{2}\theta }$

which has units of angular momentum. It is simply the angular momentum about the ${\displaystyle z-}$axis.

### Equations of Motion

We can also use Lagrange's equation to get the equations of motion

${\displaystyle {\frac {d}{dt}}{\frac {\partial L}{\partial {\dot {\theta }}}}-{\frac {\partial L}{\partial \theta }}=0,}$

${\displaystyle {\frac {d}{dt}}\left(\mu r^{2}{\dot {\theta }}\right)=2\mu r{\dot {r}}{\dot {\theta }}+\mu r^{2}{\ddot {\theta }}=\mu r^{2}{\dot {\phi }}^{2}\sin \theta \cos \theta .}$

If ${\displaystyle {\dot {\theta }}=0}$ and ${\displaystyle \theta =0,\pi /2}$ or ${\displaystyle \pi }$ initial, then ${\displaystyle {\ddot {\theta }}=0}$ and ${\displaystyle \theta }$ stays constant. We take ${\displaystyle \theta =\pi /2}$ and ${\displaystyle {\dot {\theta }}=0}$ initially, so the particle remains in the equatorial plane as we expected from the conservation of angular momentum.

Now for the radial motion,

${\displaystyle {\frac {d}{dt}}{\frac {\partial L}{\partial {\dot {r}}}}-{\frac {\partial L}{\partial r}}=0,}$

${\displaystyle {\frac {d}{dt}}\left(\mu {\dot {r}}\right)-r\mu {\dot {\theta }}^{2}-r\mu {\dot {\phi }}^{2}\sin ^{2}\theta +{\frac {\partial V}{\partial r}}=0.}$

Using the initial conditions we have

${\displaystyle {\ddot {r}}=-{\frac {1}{\mu }}{\frac {\partial V}{\partial r}}+r{\dot {\phi }}^{2}=-{\frac {1}{\mu }}{\frac {\partial V}{\partial r}}+{\frac {p_{\phi }^{2}}{\mu ^{2}}}{\frac {1}{r^{3}}}.}$

where the dependence of the acceleration on the angle ${\displaystyle \phi }$ has been included through the conserved quantity ${\displaystyle p_{\phi }}$, separating the radial equation from the angular equation. The first term is the force between the two bodies and the second term is a 'fictitous' force because of the spherical coordinates. We will solve this differential equation for two special cases, but we can get a good idea of the nature of the motion by looking at the conserved quantities.

### Bounded Motion

First, we have

${\displaystyle p_{\phi }=\mu r^{2}{\dot {\phi }}=\mu dA/dt}$

so the path subtends equal areas in equal times. Given a solution for the radial motion we can determine the angular motion

${\displaystyle {\dot {\phi }}={\frac {p_{\phi }}{\mu }}{\frac {1}{r^{2}}}.}$

Second we have the Hamiltonian,

${\displaystyle H={\dot {r}}{\frac {\partial L}{\partial {\dot {r}}}}+{\dot {\theta }}{\frac {\partial L}{\partial {\dot {\theta }}}}+{\dot {\phi }}{\frac {\partial L}{\partial {\dot {\phi }}}}-L={\frac {1}{2}}\mu \left({\dot {r}}^{2}+r^{2}{\dot {\theta }}^{2}+r^{2}{\dot {\phi }}^{2}\sin ^{2}\theta \right)+V(r)}$

Because the Hamiltonian is conserved, let's take its initial value to be

${\displaystyle E={\frac {1}{2}}\mu {\dot {r}}^{2}+{\frac {1}{2}}{\frac {p_{\phi }^{2}}{\mu }}{\frac {1}{r^{2}}}+V(r).}$

We can solve this for ${\displaystyle {\dot {r}}^{2}}$ to get

${\displaystyle {\dot {r}}^{2}={\frac {2E}{\mu }}-{\frac {p_{\phi }^{2}}{\mu ^{2}}}{\frac {1}{r^{2}}}-{\frac {2V(r)}{\mu }}}$

which is very similar to the one-dimensional case but with an added term for the centrifugal force. Unless ${\displaystyle V\sim r^{n}}$ as ${\displaystyle r\rightarrow 0}$ with ${\displaystyle n\leq -2}$ and ${\displaystyle V}$ is negative, motion of the the particle is bounded if ${\displaystyle p_{\phi }\neq 0}$. This point of closest approach is called the pericenter. Depending on the potential and the initial conditions, the motion may be bounded at large ${\displaystyle r}$ as well. In particular if the potential is attractive and positive there is always a point of maximum distance. The point of maximum radius is called the apocenter.

If the motion is bounded at both large and small radius, we can calculate the time for the particle to go from the minimum to maximum radius -- this is one half of the period of the complete radial motion as we did for the one-dimensional pendulum. The angular motion as we shall find can have a different (and not usually comeasureable) period. We have

${\displaystyle {\frac {dr}{dt}}={\sqrt {{\frac {2E}{\mu }}-{\frac {p_{\phi }^{2}}{\mu ^{2}}}{\frac {1}{r^{2}}}-{\frac {2V(r)}{\mu }}}}}$

and rearranging we have

${\displaystyle P=2\int _{r_{\rm {min}}}^{r_{\rm {max}}}{\frac {dr}{\sqrt {{\frac {2E}{\mu }}-{\frac {p_{\phi }^{2}}{\mu ^{2}}}{\frac {1}{r^{2}}}-{\frac {2V(r)}{\mu }}}}}}$

## Specific Results

### Spherical Harmonic Oscillator

#### Central Force Solution

For a spherical harmonic oscillator, ${\displaystyle V=kr^{2}/2.}$

##### Bounds of Motion

Let's first calculate the bounds of the motion we have

${\displaystyle 0={\frac {2E}{\mu }}-{\frac {p_{\phi }^{2}}{\mu ^{2}}}{\frac {1}{r^{2}}}-{\frac {kr^{2}}{\mu }}}$

which yields a quadratic equation for ${\displaystyle r^{2}}$,

${\displaystyle r^{4}-{\frac {2E}{k}}r^{2}+{\frac {p_{\phi }^{2}}{\mu k}}=0}$

which yields the solutions

${\displaystyle r_{\pm }^{2}={\frac {E}{k}}\pm {\sqrt {{\frac {E^{2}}{k^{2}}}-{\frac {p_{\phi }^{2}}{\mu k}}}}}$

We will first use the conservation of energy to calculate the radial motion, we have

${\displaystyle t_{1}-t_{0}=\int _{r_{0}}^{r_{1}}{\frac {dr}{\sqrt {{\frac {2E}{\mu }}-{\frac {k}{\mu }}r^{2}-{\frac {p_{\phi }^{2}}{r^{2}\mu ^{2}}}}}}={\sqrt {\frac {\mu }{k}}}\int _{r_{0}}^{r_{1}}{\frac {rdr}{\sqrt {\left(r_{+}^{2}-r^{2}\right)\left(r^{2}-r_{-}^{2}\right)}}}}$

${\displaystyle ={\frac {1}{2}}{\sqrt {\frac {\mu }{k}}}\int _{r_{0}^{2}}^{r_{1}^{2}}{\frac {d\left(r^{2}\right)}{\sqrt {\left(r_{+}^{2}-r^{2}\right)\left(r^{2}-r_{-}^{2}\right)}}}.}$

To perform this integral let's make the substitution

${\displaystyle s={\frac {2r^{2}-\left(r_{+}^{2}+r_{-}^{2}\right)}{r_{+}^{2}-r_{-}^{2}}}}$

to give

${\displaystyle t_{1}-t_{0}={\frac {1}{2}}{\sqrt {\frac {\mu }{k}}}\int _{r=r_{0}}^{r=r_{1}}{\frac {ds}{\sqrt {1-s^{2}}}}=\left.{\frac {1}{2}}{\sqrt {\frac {\mu }{k}}}\arcsin s\right|_{r=r_{0}}^{r=r_{1}}}$

so

${\displaystyle r^{2}={\frac {r_{+}^{2}+r_{-}^{2}}{2}}+{\frac {r_{+}^{2}-r_{-}^{2}}{2}}\sin \left[2{\sqrt {\frac {k}{\mu }}}\left(t-t_{0}\right)+\psi _{0}\right]}$

${\displaystyle ={\frac {E}{k}}+{\sqrt {{\frac {E^{2}}{k^{2}}}-{\frac {p_{\phi }^{2}}{\mu k}}}}\sin \left[2{\sqrt {\frac {k}{\mu }}}\left(t-t_{0}\right)+\psi _{0}\right]}$

with

${\displaystyle \psi _{0}=\arcsin \left[{\frac {2r_{0}^{2}-\left(r_{+}^{2}+r_{-}^{2}\right)}{r_{+}^{2}-r_{-}^{2}}}\right]=\arcsin \left[{\frac {r_{0}^{2}-{\frac {E}{k}}}{\sqrt {{\frac {E^{2}}{k^{2}}}-{\frac {p_{\phi }^{2}}{\mu k}}}}}\right]}$

##### Angular Motion

What remains is to solve for the motion in the ${\displaystyle \phi -}$direction. Using the conservation of angular momentum we have

${\displaystyle {\frac {\partial \phi }{\partial t}}={\frac {p_{\phi }}{\mu }}{\frac {1}{r^{2}}}={\frac {p_{\phi }}{\mu }}{\frac {1}{{\frac {r_{+}^{2}+r_{-}^{2}}{2}}+{\frac {r_{+}^{2}-r_{-}^{2}}{2}}\sin \left[2{\sqrt {\frac {k}{\mu }}}\left(t-t_{0}\right)+\psi _{0}\right]}}.}$

We can integrate this directly to yield

${\displaystyle \phi ={\frac {p_{\phi }}{{\sqrt {k\mu }}r_{+}r_{-}}}\arctan \left\{{\frac {1}{2r_{+}r_{-}}}\left[\left(r_{+}^{2}+r_{-}^{2}\right)\tan \left({\sqrt {\frac {k}{\mu }}}\left(t-t_{0}\right)+\psi _{0}\right)+r_{+}^{2}-r_{-}^{2}\right]\right\}.}$

Notice that the angular frequency is ${\displaystyle {\sqrt {k/m}}}$, one-half of the radial frequency.

If we substitute the values of ${\displaystyle r_{+}}$ and ${\displaystyle r_{-}}$ we get

${\displaystyle \phi =\arctan \left\{{\sqrt {\frac {\mu E^{2}}{p_{\phi }^{2}k}}}\left[\tan \left({\sqrt {\frac {k}{\mu }}}\left(t-t_{0}\right)+\psi _{0}\right)+{\sqrt {1-{\frac {p_{\phi }^{2}k}{\mu E^{2}}}}}\right]\right\}.}$

It is possible to write ${\displaystyle r}$ as a function of ${\displaystyle \phi }$ and find that it is the equation for an ellipse centered at the origin. This is left as an exercise for the reader.

##### The Shape of the Orbit

Let's step back and try to determine ${\displaystyle r(\phi )}$ instead of ${\displaystyle r(t)}$. First we define ${\displaystyle u=1/r^{2}}$ so we have

${\displaystyle {\frac {du}{d\phi }}=-{\frac {2}{r^{3}}}{\frac {dr}{d\phi }}}$

and using the chain rule we get

${\displaystyle {\dot {r}}={\frac {dr}{d\phi }}{\dot {\phi }}=-{\frac {r^{3}}{2}}{\dot {\phi }}{\frac {du}{d\phi }}=-{\frac {r}{2}}{\frac {p_{\phi }}{\mu }}{\frac {du}{d\phi }}.}$

We can substitute this into the energy equation to get

${\displaystyle {\dot {r}}^{2}={\frac {r^{2}}{4}}{\frac {p_{\phi }^{2}}{\mu ^{2}}}\left({\frac {du}{d\phi }}\right)^{2}={\frac {1}{4u}}{\frac {p_{\phi }^{2}}{\mu ^{2}}}\left({\frac {du}{d\phi }}\right)^{2}={\frac {2E}{\mu }}-{\frac {p_{\phi }^{2}}{\mu ^{2}}}u-{\frac {k}{\mu u}}}$

and rearranging

${\displaystyle \left({\frac {du}{d\phi }}\right)^{2}+4u^{2}-{\frac {8E\mu }{p_{\phi }^{2}}}u=-{\frac {4k\mu }{p_{\phi }^{2}}}.}$

We add a constant to both sides of the equation to complete the square

${\displaystyle \left[{\frac {d}{d\phi }}\left(u-{\frac {E\mu }{p_{\phi }^{2}}}\right)\right]^{2}+4\left(u-{\frac {E\mu }{p_{\phi }^{2}}}\right)^{2}=-{\frac {4k\mu }{p_{\phi }^{2}}}+4\left({\frac {E\mu }{p_{\phi }^{2}}}\right)^{2}}$

We find that the derivative of a function squared plus four times the function itself yields a constant, so the function must be a sine or cosine. We have ${\displaystyle u-{\frac {E\mu }{p_{\phi }^{2}}}=\left[\left({\frac {E\mu }{p_{\phi }^{2}}}\right)^{2}-{\frac {k\mu }{p_{\phi }^{2}}}\right]^{1/2}\cos 2\left(\phi -\phi _{0}\right).}$

We can write this in terms of the radius

${\displaystyle r^{2}={\frac {p_{\phi }^{2}}{E\mu }}{\frac {1}{\left(1-{\frac {kp_{\phi }^{2}}{E^{2}\mu }}\right)^{1/2}\cos 2\left(\phi -\phi _{0}\right)+1}}.}$

This is the equation for an ellipse centered on the origin. The constant in front of the cosine is related to the shape of the ellipse

${\displaystyle \left(1-{\frac {kp_{\phi }^{2}}{E^{2}\mu }}\right)^{1/2}={\frac {e^{2}}{2-e^{2}}}}$

where ${\displaystyle e^{2}=1-b^{2}/a^{2}}$ is the square of the eccentricity of the ellipse (${\displaystyle a}$ and ${\displaystyle b}$ are the semimajor and semiminor axes). If and only if the spring constant is negative (repulsive spring), then the eccentricity can be greater than one (up to ${\displaystyle {\sqrt {2}}}$ and the curve is a hyperbola centered on the origin. An interesting case is ${\displaystyle k=0}$ so ${\displaystyle e=1}$. This gives a straight line passing a distance ${\displaystyle p_{\phi }/{\sqrt {(}}2E\mu )}$ from the origin.

#### Cartesian Solution

We can solve the spherical harmonic oscillator in Cartesian coordinates as well. We have for the Lagrangian

${\displaystyle L={\frac {1}{2}}\mu \left({\dot {x}}^{2}+{\dot {y}}^{2}+{\dot {z}}^{2}\right)-{\frac {1}{2}}k\left(x^{2}+y^{2}+z^{2}\right)}$

which yields the following equation of motion for the ${\displaystyle x-}$coordinate

${\displaystyle \mu {\ddot {x}}+kx=0}$

and similarly for the other directions. We find the following solution for the motion in the ${\displaystyle x-}$direction

${\displaystyle x(t)=A\cos \left(\omega t+a\right)}$

with ${\displaystyle \omega ^{2}=k/\mu }$ and similarly for the other coordinates. Since the value of ${\displaystyle \omega }$ is the same for all three directions we find that the figure is an ellipse. We can also calculate the value of ${\displaystyle r^{2}}$

${\displaystyle r^{2}=A^{2}\cos ^{2}\left(\omega t+a\right)+B^{2}\cos ^{2}\left(\omega t+b\right)}$

where for simplicity and without loss of generality we have restricted the motion to the ${\displaystyle x-y-}$plane. We have

${\displaystyle r^{2}={\frac {A^{2}}{2}}\left[1+\cos \left(2\omega t+a\right)\right]+{\frac {B^{2}}{2}}\left[1+\cos \left(2\omega t+b\right)\right]}$

${\displaystyle ={\frac {A^{2}+B^{2}}{2}}+{\frac {A^{2}}{2}}\cos \left(2\omega t+a\right)+{\frac {B^{2}}{2}}\cos \left(2\omega t+b\right)}$

We can rewrite these two cosines as a single cosine,

${\displaystyle r^{2}={\frac {A^{2}+B^{2}}{2}}+{\frac {1}{2}}{\sqrt {A^{4}+B^{2}+2A^{2}B^{2}\cos \left(a-b\right)}}\cos \left[2\omega t+\psi _{0}\right]}$

where

${\displaystyle \psi _{0}=\arccos {\frac {A^{2}\cos a+B^{2}\cos b}{\sqrt {A^{4}+B^{2}+2A^{2}B^{2}\cos \left(a-b\right)}}}}$

which has the same form as the result for the spherical analysis.

### Gravity

For gravity we have

${\displaystyle V=-{\frac {Gm_{1}m_{2}}{r}}=-{\frac {G\mu M}{r}}=}$

yielding the following Lagrangian,

${\displaystyle L={\frac {1}{2}}\mu \left({\dot {r}}^{2}+r^{2}{\dot {\theta }}^{2}+r^{2}{\dot {\phi }}^{2}\sin ^{2}\theta \right)+{\frac {G\mu M}{r}}.}$

#### Bounds of the Motion

Let's first calculate the bounds of the motion we have

${\displaystyle 0={\frac {2E}{\mu }}-{\frac {p_{\phi }^{2}}{\mu ^{2}}}{\frac {1}{r^{2}}}+{\frac {2GM}{r}}}$

which yields a quadratic equation for ${\displaystyle r}$

${\displaystyle r^{2}+{\frac {GM\mu }{E}}r-{\frac {p_{\phi }^{2}}{E\mu }}=0}$

which yields the solutions

${\displaystyle r_{\pm }=-{\frac {GM\mu }{2E}}\pm {\sqrt {\left({\frac {GM\mu }{2E}}\right)^{2}+{\frac {p_{\phi }^{2}}{E\mu }}}}.}$

For the case of an attractive force ${\displaystyle G>0}$ we find that if ${\displaystyle E>0}$, only ${\displaystyle r_{+}}$ is greater than zero and this represents the point of closest approach. On the other hand if ${\displaystyle E<0}$ we have ${\displaystyle r_{-}. For a repulsive force ${\displaystyle G<0}$ and again only ${\displaystyle r_{+}}$ is greater than zero if ${\displaystyle E>0}$. If both ${\displaystyle G}$ and ${\displaystyle E}$ are negative, we cannot find a positive value of ${\displaystyle r}$ with ${\displaystyle {\dot {r}}^{2}>0}$.

We can also solve for the radial velocity

${\displaystyle {\dot {r}}^{2}={\frac {2E}{\mu }}-{\frac {p_{\phi }^{2}}{\mu ^{2}}}{\frac {1}{r^{2}}}+{\frac {2GM}{r}}={\frac {2E}{\mu r^{2}}}\left(r^{2}+{\frac {GM\mu }{E}}r-{\frac {p_{\phi }^{2}}{E\mu }}\right)={\frac {2E}{\mu r^{2}}}\left(r-r_{+}\right)\left(r-r_{-}\right).}$

Yielding the following equation for the time evolution

${\displaystyle t_{1}-t_{0}={\sqrt {\frac {\mu }{2E}}}\int _{r_{0}}^{r_{1}}{\frac {r}{\sqrt {\left(r-r_{+}\right)\left(r-r_{-}\right)}}}dr}$

and let's make the substitution

${\displaystyle s={\frac {2r-\left(r_{+}+r_{-}\right)}{r_{+}-r_{-}}}}$

to give the following integral

${\displaystyle t_{1}-t_{0}={\sqrt {-{\frac {\mu }{2E}}}}{\frac {r_{+}-r_{-}}{2}}\int _{r=r_{0}}^{r=r_{1}}{\frac {s}{\sqrt {1-s^{2}}}}+{\frac {r_{+}+r_{-}}{\sqrt {1-s^{2}}}}ds}$

where we have assumed that ${\displaystyle E<0}$. This gives

${\displaystyle t_{1}-t_{0}=\left.{\sqrt {-{\frac {\mu }{2E}}}}{\frac {r_{+}-r_{-}}{2}}\left[\left(r_{+}+r_{-}\right)\arcsin s-{\sqrt {1-s^{2}}}\right]\right|_{r=r_{0}}^{r=r_{1}}}$

and for ${\displaystyle E>0}$ we have

${\displaystyle t_{1}-t_{0}=\left.{\sqrt {\frac {\mu }{2E}}}{\frac {r_{+}-r_{-}}{2}}\left[\left(r_{+}+r_{-}\right){\rm {arcsinh}}s-{\sqrt {s^{2}-1}}\right]\right|_{r=r_{0}}^{r=r_{1}}}$

Unfortunately we cannot invert this to find the radius as a function of time, but we can determine, the time to go from the minimum to the maximum radius in the ${\displaystyle E<0}$ case

${\displaystyle P=\pi {\sqrt {-{\frac {\mu }{2E}}}}\left(r_{+}^{2}-r_{-}^{2}\right)=\pi {\sqrt {-{\frac {\mu }{2E}}}}{\frac {GM\mu }{-E}}{\sqrt {\left({\frac {GM\mu }{E}}\right)^{2}+{\frac {4p_{\phi }^{2}}{E\mu }}}}}$

#### The Shape of the Orbit

Let's step back and try to determine ${\displaystyle r(\phi )}$ instead of ${\displaystyle r(t)}$. First we define ${\displaystyle u=1/r}$ so we have

${\displaystyle {\frac {du}{d\phi }}=-{\frac {1}{r^{2}}}{\frac {dr}{d\phi }}}$

and using the chain rule we get

${\displaystyle {\dot {r}}={\frac {dr}{d\phi }}{\dot {\phi }}=-r^{2}{\dot {\theta }}{\frac {du}{d\theta }}=-{\frac {p_{\phi }}{\mu }}{\frac {du}{d\phi }}.}$

We can substitute this into the energy equation to get

${\displaystyle {\dot {r}}^{2}={\frac {p_{\phi }^{2}}{\mu ^{2}}}\left({\frac {du}{d\phi }}\right)^{2}={\frac {2E}{\mu }}-{\frac {p_{\phi }^{2}}{\mu ^{2}}}u^{2}+2GMu}$

and rearranging

${\displaystyle \left({\frac {du}{d\phi }}\right)^{2}+u^{2}-{\frac {2GM\mu ^{2}u}{p_{\phi }^{2}}}={\frac {2E\mu }{p_{\phi }^{2}}}}$

Let's define the length ${\displaystyle l=p_{\phi }^{2}/(GM\mu ^{2})}$ and simplify the equation

${\displaystyle \left({\frac {du}{d\phi }}\right)^{2}+u^{2}-{\frac {2}{l}}u={\frac {2E}{GM\mu l}}.}$

Let's add ${\displaystyle 1/l^{2}}$ to both sides of the equation and get

${\displaystyle \left[{\frac {d}{d\phi }}\left(u-{\frac {1}{l}}\right)\right]^{2}+\left(u-{\frac {1}{l}}\right)^{2}={\frac {2E}{GM\mu l}}+{\frac {1}{l^{2}}}.}$

We have a function squared plus its first derivative squared being a constant. The function is clearly a trigonometric function we have

${\displaystyle u={\frac {1}{r}}={\frac {e}{l}}\cos \left(\phi -\phi _{0}\right)+{\frac {1}{l}}}$

where

${\displaystyle e^{2}={\frac {2El}{GM\mu }}+1.}$

Rearranging the equation gives

${\displaystyle r\left[e\cos \left(\phi -\phi _{0}\right)+1\right]=l}$

which is the polar equation for an ellipse with its focus at the origin for ${\displaystyle 0. For ${\displaystyle e>1}$ the curve is a hyperbola. ${\displaystyle e=1}$ is a parabola and ${\displaystyle e=0}$ is a circle. (Contrast this with the spherical harmonic oscillator where the center of the ellipse was at the origin).

If we have a repulsive force (e.g. the force between two positive charges) ${\displaystyle e\geq 1}$ because ${\displaystyle E\geq 0}$. The resulting curve is a hyperbola.

The figure shows the various conic sections as a function of the value ${\displaystyle e}$, the eccentricity. The blue parabola has ${\displaystyle e=1}$, the aqua ellipse has ${\displaystyle e=0.5}$ and the green circle has ${\displaystyle e=0}$. The red hyperbola has ${\displaystyle e=2}$. All of the curves have a focus at the origin and ${\displaystyle l=1}$. The semi-latus rectum is the official name for the quantity ${\displaystyle l}$ which sets the size of the curve. In all cases the curve intersects the ${\displaystyle y-}$axis at ${\displaystyle y=\pm 1}$. In a coordinate free way, the semi-latus rectum is the distance between the curve and the focus in the direction perpendicular to the point of closest approach.

What is the meaning of the two branches of the hyperbola? The left branch is for an attactrive force and the right branch is for a repulsive force.