Kepler's Goat Herd: An Exact Solution to Kepler's Equation for Elliptical Orbits

Oliver H. E. Philcox, Jeremy Goodman, Zachary Slepian
3/29/2021
physics.comp-phastro-ph.EPastro-ph.GA

Official code: oliverphilcox/Keplers-Goat-Herd (48 stars, C++, MIT, last commit 2021-05-29).

Abstract

A fundamental relation in celestial mechanics is Kepler's equation, linking an orbit's mean anomaly to its eccentric anomaly and eccentricity. Being transcendental, the equation cannot be directly solved for eccentric anomaly by conventional treatments; much work has been devoted to approximate methods.

Show full abstract

Here, we give an explicit integral solution, utilizing methods recently applied to the "geometric goat problem" and to the dynamics of spherical collapse. The solution is given as a ratio of contour integrals; these can be efficiently computed via numerical integration for arbitrary eccentricities. The method is found to be highly accurate in practice, with our C++ implementation outperforming conventional root-finding and series approaches by a factor greater than two.

View on arXivView PDF

Code Implementations(1)

MIT

Solving Kepler's equation via contour integration, implemented in C++

4810C++, PythonMar 26, 20215 years agoMIT

Similar Papers

Cite this paper

@article{philcox2021keplers,
  title  = {Kepler's Goat Herd: An Exact Solution to Kepler's Equation for Elliptical Orbits},
  author = {Oliver H. E. Philcox and Jeremy Goodman and Zachary Slepian},
  year   = {2021},
  eprint = {2103.15829},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.15829}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.15829.svg)](https://codeofpaper.com/paper/2103.15829)

Discussion