Kepler Orbits
Math
First we have the equation for the distance of the planet
|
|
(1.1)
|
where r is the distance between sun and planet where the sun
is implicitly assumed to stay at the focus of planet's ellipse. The sun cannot remain at the focus of the
ellipse in inertial space unless the mass ratio sun/planet is infinite which is
never the case. So r is the distance
from the ellipse focus to the planet while another variable rS is
the distance between that same point in space and the position of the sun.
The definition of p
is:
|
|
(1.2)
|
where . Using the reference Kepler
Math we find the equation for the rate of change of the azimuthal angle is:
|
|
(1.3)
|
Here r is the distance from the sun to the planet, a
and b are the ellipse parameters, and P is the period of the planet's and sun's
rotation.
The foci of an ellipse with major axis along y=0 are at
|
|
(1.4)
|
where is the symmetric center of the ellipse.
To plot the location of the planet on the ellipse, we just
need to iterate using the expression and then use to convert r to x and y of the ellipse.
|
|
(1.5)
|
So we just iterate and plot the results. Obviously, r as used in the above expressions
is not the distance between
the sun an the planet unless the sun/planet mass ratio is infinite so that the
sun does not have to move in inertial space.
Derivation of Kepler Orbits
It's very important to understand that the shape and size of
the orbits depend strictly on the initial total angular momentum and energies of
the two bodies.
To get started we will assume a circular orbit. Then the planet distance from the barycenter
(which is the center of the orbit) will be given by
(1.7)
where is the rotation rate and T is the period of
rotation. Then
(1.8)
The rotation rate of the sun has to be the same as that of
the planet but 180 degrees out of synchronization with the planet, and, to keep
the center of mass fixed, the radius of the sun's orbit has to be
(1.9)
Motion Around the Center of Mass
When Masses are Comparable
The acceleration equations are:
|
|
(1.10)
|
|
|
(1.11)
|
|
|
(1.12)
|
This is the Kepler equation and it has the law for the
motion of the masses about their center of mass:
|
|
(1.13)
|
Since we want to know the motion of both masses individually
we need to use the fact that the center
of mass remains stationary:
|
|
|
and then
|
|
(1.14)
|
Then using the expression (1.12)
for r we have the modified equations
for the accelerations:
|
|
(1.15)
|
These are two Kepler equations and the equations for the
periods are:
|
|
(1.16)
|
Since these periods are the same we must have
|
|
(1.17)
|
as expected to keep the center of mass stationary. These expressions for the periods are taken
from the following link:
https://physics.stackexchange.com/questions/382847/keplers-3rd-law-applied-to-binary-systems-how-can-the-two-orbits-have-differen