This requires that Kepler's original laws for orbital motion (which apply to stars as well as planets) be modified. Only in the limit that one mass is much larger than the other does one recover Kepler's original picture in which the less massive object orbits the more massive one on an ellipse.
|
|
d1 + d2 = R
where R is the total separation between the centers of the two
objects.
This
animation
illustrates the center of mass.
Here is a center of mass
calculator that will help you to make and visualize
calculations concerning the center of mass.