Astrophysics > Instrumentation and Methods for Astrophysics
[Submitted on 27 May 2021]
Title:Comment on "An efficient code to solve the Kepler equation. Elliptic case"
View PDFAbstract:In a recent MNRAS article, Raposo-Pulido and Pelaez (RPP) designed a scheme for obtaining very close seeds for solving the elliptic Kepler Equation with the classical and the modified Newton-Rapshon methods. This implied an important reduction in the number of iterations needed to reach a given accuracy. However, RPP also made strong claims about the errors of their method that are incorrect. In particular, they claim that their accuracy can always reach the level $\sim5\varepsilon$, where $\varepsilon$ is the machine epsilon (e.g. $\varepsilon=2.2\times10^{-16} $ in double precision), and that this result is attained for all values of the eccentricity $e<1$ and the mean anomaly $M\in[0,\pi]$, including for $e$ and $M$ that are arbitrarily close to $1$ and $0$, respectively. However, we demonstrate both numerically and analytically that any implementation of the classical or modified Newton-Raphson methods for Kepler's equation, including those described by RPP, have a limiting accuracy of the order $\sim\varepsilon/\sqrt{2(1-e)}$. Therefore the errors of these implementations diverge in the limit $e\to1$, and differ dramatically from the incorrect results given by RPP. Despite these shortcomings, the RPP method can provide a very efficient option for reaching such limiting accuracy. We also provide a limit that is valid for the accuracy of any algorithm for solving Kepler equation, including schemes like bisection that do not use derivatives. Moreover, similar results are also demonstrated for the hyperbolic Kepler Equation. The methods described in this work can provide guidelines for designing more accurate solutions of the elliptic and hyperbolic Kepler equations.
Submission history
From: Daniele Tommasini [view email][v1] Thu, 27 May 2021 08:54:17 UTC (1,016 KB)
Current browse context:
astro-ph.IM
Change to browse by:
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender
(What is IArxiv?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.