Newtonian Mechanics – How to Calculate Eccentricity of a Planet via Energy

newtonian-gravitynewtonian-mechanicsorbital-motionpotential

The relative distance of a planet moving around the sun is found to be:

$$r(\varphi) = \dfrac{\kappa}{1+\varepsilon\,\cos(\varphi)} \quad \text{where} \quad \kappa = \dfrac{L^2}{G\,{m_p}^2\,m_s} \quad \varepsilon = \sqrt{\dfrac{2\,E\,L^2}{G\,{m_p}^3\,m_s}}$$

Where $m_p$ is the mass of the planet, $m_s \gg m_p$ the mass of the sun and $G$ the gravitational constant.

In this case I just like to focus on the eccentricity $\varepsilon$. How do I determine this thing?

What troubles me is the definition of the total Energy: $E = \dfrac{1}{2}m_p\,\dot{r}^2 + \dfrac{L^2}{2\,m\,r^2}-\dfrac{G^,m_s\,m_p}{r}$

As well as the definition of the angular momentum: $L = r\times m_s\,\dot{r}$. The only question is:

$\textbf{What values do I choose for $r$ and $\dot{r}$} ?$ Distance from the earth to the sun and velocity on its orbit? But these are changing with time!

Alternatively there is this geometric formula: $\varepsilon = \dfrac{r_{max}-r_{min}}{r_{max}+r_{min}}$ that I don't like to use.

Best Answer

The eccentricity is independent of the total orbital energy.

We can rewrite your first equation in terms of $a$, the semimajor axis of the orbit.

$$r = \frac{a(1 - \varepsilon^2)}{1+\varepsilon\,\cos(\varphi)}$$

At any point on the orbit, the speed is given by the vis-viva equation, which is a consequence of the invariance of the orbital energy and conservation of angular momentum.

$$v^2 = \mu\left(\frac2r - \frac1a\right)$$

where $\mu=GM$ is the sum of the standard gravitational parameters of the Sun & the planet (it's common to omit the planet's mass because it's so small relative to the Sun's).

For a circular orbit, where $\varepsilon=0$ and $r\equiv a$, the equation simplifies to

$$v^2 = \frac\mu a$$

Rearranging the vis-viva equation, we get the specific orbital energy, that is, the orbital energy per unit mass:

$$\frac{v^2}2 - \frac\mu{r} = -\frac\mu{2a}$$

In that equation, $\frac{v^2}2$ is the specific kinetic energy and $-\frac\mu{r}$ is the specific potential energy. So all orbits with the same $a$ have the same specific orbital energy.


The ellipses in the following diagram all have $a=1$ and a focus at the origin, so they all have identical specific energy.

Axis-aligned ellipses

Here are the same ellipses, but rotated about the focus so that they all pass through $(1, 0)$.

Rotated ellipses

At that point, $r=a=1$. From vis-viva, all the orbits pass through that point with the same speed, so they all have the same specific kinetic energy there, and of course they have the same specific potential energy there because they're the same distance from the Sun.

The orbits all have identical orbital period $T$, given by $$a^3 =\mu\left(\frac{T^2}{4\pi^2}\right)$$


Here's the Sage / Python script that I used to create those diagrams, running on SageMathCell.


Wikipedia gives a derivation for the vis-viva equation from the conservation of specific orbital energy and of specific orbital momentum. Here's a somewhat simpler derivation. Like Wikipedia, I'll use $\varepsilon$ for specific orbital energy and $e$ for eccentricity.

The specific orbital momentum (pseudo)vector is $\bf{h = r \times v}$. At periapsis and apoapsis, $\bf r$ is perpendicular to $\bf v$, so the equation simplifies to $h=rv$. As mentioned above, the specific orbital energy is given by $$\varepsilon = \frac12v^2 - \frac\mu{r}$$ So $$\varepsilon r^2 + \mu r = \frac12(rv)^2 = \frac12 h^2$$ is constant.
At apoapsis, $r=a(1+e)$,
at periapsis $r=a(1-e)$. Thus, $$\varepsilon a^2(1+e)^2 + \mu a(1+e) = \varepsilon a^2(1-e)^2 + \mu a(1-e)$$ $$\varepsilon a((1+e)^2 - (1-e)^2) = \mu ((1-e) - (1+e))$$ $$\varepsilon a(4e) = \mu (-2e)$$ Thus $$\varepsilon = \frac{-\mu}{2a}$$ So $$\varepsilon = \frac12v^2 - \frac\mu{r} = \frac{-\mu}{2a}$$ which can be rearranged to give the vis-viva equation: $$v^2 = \mu\left(\frac2r - \frac1a\right)$$