Kepler’s laws
DraftKepler extracted three empirical regularities from Tycho Brahe’s observations between 1609 and 1619, without a dynamical theory to explain any of them. Newton showed in 1687 that all three are consequences of an inverse-square attraction. That order matters: the laws are descriptions of a solution, and knowing which piece of the dynamics each one encodes tells you exactly when it will fail.
First law: the orbit is a conic
The orbit of a planet is an ellipse with the Sun at one focus.
The orbit equation derived from the eccentricity vector is
which is the polar form of a conic section with the origin at a focus. Kepler’s statement is the bound case ; the same equation covers parabolic and hyperbolic trajectories, which Kepler had no reason to consider.
What this law really encodes is the conservation of the eccentricity vector, and that conservation is special to the inverse-square law. Under any other radial force law the apsidal line rotates and the orbit does not close. The observed precession of Mercury’s perihelion is exactly this: a small departure from inverse-square behaviour, resolved by general relativity. See Relativity for space systems.
Useful geometry:
| Quantity | Expression |
|---|---|
| Periapsis radius | |
| Apoapsis radius | |
| Semi-major axis | |
| Eccentricity | |
| Semi-latus rectum | |
| Semi-minor axis |
Second law: equal areas in equal times
The line joining a planet to the Sun sweeps equal areas in equal times.
The area swept in time is , so
The second law is conservation of angular momentum and nothing else. It therefore holds for any central force, not just inverse-square, and it is the most robust of the three. A spacecraft under thrust directed purely along still obeys it.
Operationally it says a satellite moves fastest at periapsis and slowest at apoapsis. A Molniya orbit spends roughly eleven of its twelve hours near apogee, which is the entire point of the design.
Third law: period and semi-major axis
The square of the orbital period is proportional to the cube of the semi-major axis.
Integrating the areal velocity over one full revolution, the swept area is the ellipse area , so . Substituting :
where is the mean motion in radians per second.
Eccentricity cancels. Two orbits with the same semi-major axis have the same period regardless of shape, which is what makes phasing manoeuvres work: raise or lower apogee slightly, drift for some revolutions, restore.
Kepler’s own statement omitted , so it was a proportionality valid for bodies orbiting the same primary. Newton’s version has the constant in it, and strictly , so the proportionality is only approximate when the secondary mass is not negligible.
| Orbit | (km) | Period |
|---|---|---|
| 400 km circular (ISS-like) | 6 778 | 92.6 min |
| 800 km circular (SSO) | 7 178 | 100.9 min |
| GPS (semi-synchronous) | 26 560 | 11 h 58 min |
| Geostationary | 42 164 | 23 h 56 min |
| Moon around Earth | 384 400 | 27.3 days |
The GPS and GEO periods are one half and one full sidereal day (86 164.09 s), not solar days. That four-minute difference is why a geostationary satellite holds its longitude and why the GPS ground track repeats daily.
Position as a function of time
The first law gives shape, the third gives period, but neither gives position at an arbitrary time. Kepler’s second law makes transcendental. The standard route uses three angles.
- True anomaly ν
- The physical angle from periapsis to the body, measured at the focus.
- Eccentric anomaly E
- The corresponding angle on the circumscribed circle, measured at the ellipse centre.
- Mean anomaly M
- A fictitious angle increasing uniformly at rate n. Not a physical direction.
Mean anomaly is trivial to propagate:
The link from to is the one that resists closed-form solution:
and once is known, the physical angle and radius follow directly:
Solving Kepler’s equation
No closed-form solution exists in elementary functions. Newton’s method converges quadratically and is what nearly every propagator uses. The derivative is , which for never vanishes, so the iteration is well behaved.
The one subtlety is the starting guess. works for moderate eccentricity but converges slowly near periapsis on a highly eccentric orbit, where the function is nearly flat; is the standard fallback.
Stated as an iteration, each step is
with the numerator being the residual of Kepler’s equation and the denominator its derivative.
A working implementation needs four things beyond that formula, and each one corresponds to a failure that is easy to miss.
| Step | Why it is needed |
|---|---|
| Wrap into | Keeps the starting guess close to the root regardless of how many revolutions have elapsed |
| Choose for , otherwise | Near periapsis on a highly eccentric orbit the curve is nearly flat and is a poor guess |
| Stop when the correction falls below about | Testing the residual rather than the correction converges one iteration later for no benefit |
| Cap the iteration count | Guards against a non-converging case reaching a caller as an infinite loop rather than an error |
Convergence is fast enough that the iteration count is rarely the bottleneck: for it typically converges to machine precision in four to six iterations.
Where the laws hold and where they do not
The laws are exact for two point masses, or two spherically symmetric bodies, interacting only with each other. Nothing else.
They are a good approximation when the perturbations tabulated in Gravitation and the two-body problem are small over the time span of interest.
They fail in the following situations, all of them ordinary.
| Situation | What breaks | Where it is handled |
|---|---|---|
| Oblate primary | First law: the node and apsidal line precess | Orbital perturbations |
| Atmospheric drag | Third law: decays, so the period is not constant | Orbital perturbations |
| Three comparable masses | All three: no closed-form solution exists | Lagrange points |
| Continuous low thrust | All three: energy and angular momentum both change | Electric propulsion |
| Strong-field relativity | First law: perihelion precesses secularly | Relativity for space systems |
The practical consequence for a satellite operator is that a Keplerian propagation of a low Earth orbit is useful for hours and worthless after a few days. Two-line element sets carry a mean-element model with and drag folded in for exactly this reason, and even those degrade within a week.
References
- Kepler, J. Astronomia Nova, 1609, and Harmonices Mundi, 1619.
- Newton, I. Philosophiae Naturalis Principia Mathematica, 1687, Book I.
- Colwell, P. Solving Kepler’s Equation Over Three Centuries, Willmann-Bell, 1993.
- Vallado, D. A. Fundamentals of Astrodynamics and Applications, 5th ed., Microcosm Press, 2022, chapter 2.