The Shortcut that Lets You Write Down the Orbit of a Planet in One Line: Physics Mini Lesson
In my last video, I showed you how you can derive the orbit of a planet around a star by solving the differential equations that came from the conservation of energy and conservation of angular momentum. It wasn't too complicated, but it certainly took a fair bit of work to solve those equations and figure out the orbit. Now I'm going to show you a shortcut that makes it possible to write down the orbit equation in one line. The trick comes from a special symmetry of Newton's gravitational force law, which leads to an additional conserved quantity called the Runge-Lenz vector.
The setup just like last time is that we have a star of mass $M$ fixed at the origin, and a planet of mass $m$ a distance $r$ away. We set up our coordinates so that the planet is in the $xy$ plane. Then last time we saw that the energy and the angular momentum of the planet are both constant. The energy was
$$E = \frac{1}{2} m \left(\frac{\mathrm{d}r}{\mathrm{d}t} \right)^2 + \frac{1}{2} m r^2\left( \frac{\mathrm{d}\theta}{\mathrm{d}t} \right)^2 - \frac{k}{r},$$
where we defined $k = G M m$ for short. $\frac{\mathrm{d}r}{\mathrm{d}t}$ is the radial velocity of the planet, and $r \frac{\mathrm{d}\theta}{\mathrm{d}t}$ is the angular velocity. The angular momentum is meanwhile
$$\vec{{} L} = m \vec{{} r} \times \vec{{} v} = m r^2 \frac{\mathrm{d}\theta}{\mathrm{d}t} \hat{{} z}.$$
We saw that it's a constant vector, of magnitude $mr^2 \frac{\mathrm{d}\theta}{\mathrm{d} t}$ and pointing in the $z$ direction. That's what the $\hat{{} z}$ symbol means here—it's a unit vector pointing along the $z$ axis.
Last time, we combined these two equations for $E$ and $L$ to get rid of all the $\mathrm{d}t$'s. That gave us an equation for $\frac{\mathrm{d}r}{\mathrm{d}\theta}$, which we were then able to solve for $r(\theta)$:
$$r(\theta) = \frac{L^2}{km} \frac{1}{1+\epsilon \cos \theta}.$$
This is the equation of a conic section of eccentricity $\epsilon$, where
$$\epsilon = \sqrt{1 + \frac{2EL^2}{mk^2}}.$$
Now I want to show you the shortcut to deriving $r(\theta)$. The gravitational potential energy function is very special. In addition to the energy $E$ and angular momentum vector $\vec{{}L}$, there's another conserved vector. It's called the Runge-Lenz vector, and here's the definition:
$$\vec{{}\epsilon} = \frac{1}{k} \vec{{}v}\times \vec{{}L} - \hat{{} r}.$$
I'm calling it $\vec{{} \epsilon}$ because, as we'll see shortly, the magnitude of $\vec{{}\epsilon}$ is none other than the eccentricity $\epsilon$ from earlier. $\hat{{}r}$ here is the unit vector in the radial direction; it's the vector of length 1 that's pointing from the origin in the direction of the planet. We can alternatively write it in terms of the position vector $\vec {{}r}$ as
$$\hat{{}r} = \frac{\vec{{}r}}{r}.$$
Likewise $\hat{{}\theta}$ would be the unit vector pointing counterclockwise along the direction of increasing $\theta$.
So what is this vector $\vec{{}\epsilon}$? Let's evaluate it at the moment when the planet is at its point of closest approach to the star. We can always arrange our coordinates so that the planet is on the $x$ axis when that happens. Then at that instant $\hat{{}r} = \hat {{}x}$ is just the unit vector pointing along the $x$ direction. Meanwhile the velocity of the planet is all along the angular direction, which coincides with the $y$ axis at this moment, so $\vec{{}v} = r \frac{\mathrm{d}\theta}{\mathrm{d}t} \hat{{}y}$. $\vec{{}L}$, of course, is always pointing in the $\hat{{}z}$ direction.
Remember that $\times$ denotes the cross product, which we talked about a bit in the last video. It gives a vector that points perpendicular to both $\vec{{}v}$ and $\vec{{}L}$. Since $\vec{{}v}$ is pointing in the $y$ direction at this moment and $\vec{{}L}$ points in the $z$ direction, their cross product points along the $x$ axis. Then since $\hat {{}r}$ is also pointing along the $x$ axis, we learn that, at least at the moment when the planet is closest to the star, $\vec{{}\epsilon}$ is a vector that points along the $x$ axis:
$$\vec{{}\epsilon} \propto \hat{{} x}.$$
The claim is that $\vec{{}\epsilon}$ is in fact a constant—it's always given by the same arrow pointing along the $x$ axis. I'll prove that to you in just a minute, but first I want to jump to the punchline and show you how that fact lets us very quickly write down the orbit equation. Take the dot product of $\vec{{}\epsilon}$ with $\hat{{}r}$:
$$\vec{{}\epsilon} \cdot \hat{{}r} = \frac{1}{k}\hat{{}r} \cdot(\vec{{} v} \times \vec{{}L}) - 1.$$
We can simplify this with the help of a vector identity:
$$\vec{{}A} \cdot (\vec{{}B} \times \vec{{}C}) = \vec{{}C}\cdot (\vec{{}A}\times \vec{{}B}).$$
This allows us to write
$$\hat{{}r} \cdot (\vec{{}v} \times \vec{{}L}) = \vec{{}L} \cdot (\hat {{}r} \times \vec{{}v}).$$
But $\hat{{}r} \times \vec{{}v} = \frac{1}{mr} (m\vec{{}r} \times \vec{{}v}) = \frac{1}{mr} \vec{{}L}$, and so $\hat {{}r} \cdot(\vec{{}v}\times \vec{{}L}) = \frac{L^2}{mr}$. So we learn that
$$\vec{{}\epsilon}\cdot \hat{{}r} = \frac{L^2}{kmr} - 1.$$
If it's true that $\vec{{}\epsilon} = \epsilon \hat{{}x}$ is indeed a constant pointing along the $x$ axis, then $\vec{{}\epsilon} \cdot \hat{{}r} = \epsilon \cos(\theta),$ and so we find
$$\epsilon \cos(\theta)= \frac{L^2}{kmr} - 1.$$
Now solve for $r$:
$$r = \frac{L^2}{km} \frac{1}{1 + \epsilon \cos(\theta)}.$$
Just as before, with no nasty differential equations to solve!
There are two things left to check. One, that it's actually true that $\vec{{}\epsilon}$ is a constant, and two, that its magnitude coincides with our previous expression for the eccentricity.
First let's get the magnitude. By squaring $\vec{{}\epsilon}$ we get
$$\vec{{}\epsilon}\cdot \vec{{}\epsilon} = \frac{1}{k^2} (\vec{{}v}\times \vec{{}L}) \cdot (\vec{{}v}\times \vec{{}L}) - \frac{2}{k}\hat{{} r}\cdot(\vec{{}v}\times \vec{{}L})+1.$$
We already learned that $\hat {{}r} \cdot(\vec{{}v}\times \vec{{}L}) = \frac{L^2}{mr}$. As for the first term, we need another vector identity:
$$(\vec{{}A}\times \vec{{}B}) \cdot(\vec{{}A}\times \vec{{}B}) =A^2 B^2 - (\vec{{}A}\cdot \vec{{}B})^2.$$
Then we get $(\vec{{}v}\times \vec{{}L}) \cdot (\vec{{}v}\times \vec{{}L}) = v^2 L^2,$ because $\vec{{}v}\cdot \vec{{}L} = 0$. Thus,
$$\epsilon^2 = \frac{v^2L^2}{k^2} - \frac{2L^2}{kmr}+1.$$
We can write this more conveniently as
$$\epsilon^2 = \frac{2L^2}{k^2m} \left( \frac{1}{2} m v^2 - \frac{k}{r} \right)+1.$$
The quantity in parentheses is the energy $E$, and so we find
$$\epsilon = \sqrt{1 + \frac{2 EL^2}{k^2m}},$$
just as before!
Lastly, we need to prove that $\vec{{}\epsilon}$ is a constant. Taking its time derivative, we get
$$\frac{\mathrm{d}\vec{{}\epsilon}}{\mathrm{d}t} = \frac{1}{k} \vec{{}a}\times \vec{{}L} - \frac{\mathrm{d}\hat{{}r}}{\mathrm{d}t},$$
remembering that $\vec{{}L}$ is itself a constant.
The second term here is just the angular velocity of the planet,
$$\frac{\mathrm{d}\hat{{}r}}{\mathrm{d}t} = \frac{\mathrm{d}\theta}{\mathrm{d}t} \hat{{}\theta},$$
where again $\hat{{}\theta}$ stands for the unit vector pointing counterclockwise along the direction of increasing $\theta$.
To see why, suppose the unit vector $\hat{{}r}(t)$ moves to $\hat{{}r}(t+\mathrm{d}t)$ after a time $\mathrm{d}t$ has passed. Both vectors lie on the unit circle, so the displacement between them is just given by $\mathrm{d}\hat{{}r} = \mathrm{d}\theta \hat{{}\theta}$. Now divide both sides by $\mathrm{d}t$.
As for the $\vec{{}a}\times \vec{{}L}$ term, note from Newton's law that
$$m \vec{{}a} = -\frac{k}{r^2} \hat{{} r},$$
and therefore
$$\frac{1}{k} \vec{{}a} \times \vec{{}L} = -\frac{\hat{{}r}}{mr^2} \times mr^2 \frac{\mathrm{d}\theta}{\mathrm{d}t} \hat{{}z} = -\frac{\mathrm{d}\theta}{\mathrm{d}t} \hat{{}r} \times \hat{{}z}.$$
Then we find that
$$\frac{\mathrm{d}\vec{{}\epsilon}}{\mathrm{d}t} =- \left(\hat{{}r}\times \hat{{}z} + \hat{{}\theta} \right) \frac{\mathrm{d}\theta}{\mathrm{d}t}.$$
The last thing is to figure out what to do with this cross product $\hat{{}r}\times \hat{{}z}$. It points perpendicular to both $\hat{{}r}$ and $\hat{{}z}$, which means it goes along the $\theta$ direction. But does it point along $+\hat{{}\theta}$ or $-\hat{{}\theta}$? The answer is part of the definition of the cross product, called the "right-hand-rule": point your fingers along the first vector ($\hat{{}r}$ in this case), curl them towards the second vector ($\hat{{}z}$), and then your thumb points along the direction of the cross product. So that means $\hat{{}r}\times \hat{{}z} = -\hat{{}\theta}$, and we find
$$\frac{\mathrm{d}\vec{{}\epsilon}}{\mathrm{d}t} = 0.$$
So the Runge-Lenz vector is indeed a constant!
So there we have it! Once one establishes the fact that the Runge-Lenz vector is a constant, the equation for the orbit follows in just one line of math by taking the dot product with the position vector. One never has to solve a differential equation to figure out the orbit!
Now, is this the most efficient way to compute the orbit of a planet? Well, it depends what you mean exactly. The most likely reason you would think to write down the Runge-Lenz vector in the first place is by first solving the differential equation for the orbit like we did last time, and then noticing that it can be rearranged into a conservation law for a new vector. You'd have to be a very sharp cookie to conjure up the Runge-Lenz vector from thin air. But once we've got it hand, it makes quick work of solving for the orbit equation.
See also:
If you encounter any errors on this page, please let me know at feedback@PhysicsWithElliot.com.