The orbit of a planet is an ellipse with the sun at one of the two foci.
A line segment joining a planet and the sun sweeps out equal areas
during equal time intervals.
The planet’s orbital period T is related to the semi-major axis of its
orbit a by T2∝a3.
Kepler’s three laws follow from Newton’s law of gravitation: that the
force between two bodies of mass m1 and m2 is
FG=−r2Gm1m2r^.
We consider the motion of the two bodies in the center of mass
frame. Let r be their separation and M be their total mass. We see
that the distances from the COM are rm2/M and rm1/M. The
Lagrangian is then