KNOWPIA
WELCOME TO KNOWPIA

Part of a series on |

Astrodynamics |
---|

In orbital mechanics, **Kepler's equation** relates various geometric properties of the orbit of a body subject to a central force.

It was first derived by Johannes Kepler in 1609 in Chapter 60 of his *Astronomia nova*,^{[1]}^{[2]} and in book V of his *Epitome of Copernican Astronomy* (1621) Kepler proposed an iterative solution to the equation.^{[3]}^{[4]} The equation has played an important role in the history of both physics and mathematics, particularly classical celestial mechanics.

**Kepler's equation** is

where `M` is the mean anomaly, `E` is the eccentric anomaly, and `e` is the eccentricity.

The 'eccentric anomaly' `E` is useful to compute the position of a point moving in a Keplerian orbit. As for instance, if the body passes the periastron at coordinates `x` = `a`(1 − `e`), `y` = 0, at time `t` = `t`_{0}, then to find out the position of the body at any time, you first calculate the mean anomaly `M` from the time and the mean motion `n` by the formula `M` = `n`(`t` − `t`_{0}), then solve the Kepler equation above to get `E`, then get the coordinates from:

where `a` is the semi-major axis, `b` the semi-minor axis.

Kepler's equation is a transcendental equation because sine is a transcendental function, meaning it cannot be solved for `E` algebraically. Numerical analysis and series expansions are generally required to evaluate `E`.

There are several forms of Kepler's equation. Each form is associated with a specific type of orbit. The standard Kepler equation is used for elliptic orbits (0 ≤ *e* < 1). The hyperbolic Kepler equation is used for hyperbolic trajectories (*e* > 1). The radial Kepler equation is used for linear (radial) trajectories (*e* = 1). Barker's equation is used for parabolic trajectories (*e* = 1).

When *e* = 0, the orbit is circular. Increasing *e* causes the circle to become elliptical. When *e* = 1, there are three possibilities:

- a parabolic trajectory,
- a trajectory going in or out along an infinite ray emanating from the centre of attraction,
- or a trajectory that goes back and forth along a line segment from the centre of attraction to a point at some distance away.

A slight increase in *e* above 1 results in a hyperbolic orbit with a turning angle of just under 180 degrees. Further increases reduce the turning angle, and as *e* goes to infinity, the orbit becomes a straight line of infinite length.

The Hyperbolic Kepler equation is:

where *H* is the hyperbolic eccentric anomaly.
This equation is derived by redefining M to be the square root of −1 times the right-hand side of the elliptical equation:

(in which *E* is now imaginary) and then replacing E by iH.

The Radial Kepler equation is:

where *t* is proportional to time and *x* is proportional to the distance from the centre of attraction along the ray. This equation is derived by multiplying Kepler's equation by 1/2 and setting *e* to 1:

and then making the substitution

Calculating *M* for a given value of *E* is straightforward. However, solving for *E* when *M* is given can be considerably more challenging. There is no closed-form solution.

One can write an infinite series expression for the solution to Kepler's equation using Lagrange inversion, but the series does not converge for all combinations of *e* and *M* (see below).

Confusion over the solvability of Kepler's equation has persisted in the literature for four centuries.^{[5]} Kepler himself expressed doubt at the possibility of finding a general solution:

I am sufficiently satisfied that it [Kepler's equation] cannot be solved a priori, on account of the different nature of the arc and the sine. But if I am mistaken, and any one shall point out the way to me, he will be in my eyes the great Apollonius.

— Johannes Kepler^{[6]}

The inverse Kepler equation is the solution of Kepler's equation for all real values of :

Evaluating this yields:

These series can be reproduced in Mathematica with the InverseSeries operation.

`InverseSeries[Series[M - Sin[M], {M, 0, 10}]]`

`InverseSeries[Series[M - e Sin[M], {M, 0, 10}]]`

These functions are simple Maclaurin series. Such Taylor series representations of transcendental functions are considered to be definitions of those functions. Therefore, this solution is a formal definition of the inverse Kepler equation. However, *E* is not an entire function of *M* at a given non-zero *e*. The derivative

goes to zero at an infinite set of complex numbers when *e*<1. There are solutions at and at those values

(where inverse cosh is taken to be positive), and *dE*/*dM* goes to infinity at these points. This means that the radius of convergence of the Maclaurin series is and the series will not converge for values of *M* larger than this. The series can also be used for the hyperbolic case, in which case the radius of convergence is The series for when *e* = 1 converges when *m* < 2π.

While this solution is the simplest in a certain mathematical sense,^{[which?]}, other solutions are preferable for most applications. Alternatively, Kepler's equation can be solved numerically.

The solution for *e* ≠ 1 was found by Karl Stumpff in 1968,^{[7]} but its significance wasn't recognized.^{[8]}^{[clarification needed]}

One can also write a Maclaurin series in *e*. This series does not converge when *e* is larger than the Laplace limit (about 0.66), regardless of the value of *M* (unless *M* is a multiple of 2π), but it converges for all *M* if *e* is less than the Laplace limit. The coefficients in the series, other than the first (which is simply *M*), depend on *M* in a periodic way with period 2π.

The inverse radial Kepler equation (*e* = 1) can also be written as:

Evaluating this yields:

To obtain this result using Mathematica:

`InverseSeries[Series[ArcSin[Sqrt[t]] - Sqrt[(1 - t) t], {t, 0, 15}]]`

For most applications, the inverse problem can be computed numerically by finding the root of the function:

This can be done iteratively via Newton's method:

Note that *E* and *M* are in units of radians in this computation. This iteration is repeated until desired accuracy is obtained (e.g. when *f*(*E*) < desired accuracy). For most elliptical orbits an initial value of *E*_{0} = *M*(*t*) is sufficient. For orbits with *e* > 0.8, an initial value of *E*_{0} = *π* should be used. If *e* is identically *1*, then the derivative of *f*, which is in the denominator of Newton's method, can get close to zero, making derivative-based methods such as Newton-Raphson, secant, or regula falsi numerically unstable. In that case, the bisection method will provide guaranteed convergence, particularly since the solution can be bounded in a small initial interval. On modern computers, it is possible to achieve 4 or 5 digits of accuracy in 17 to 18 iterations.^{[9]} A similar approach can be used for the hyperbolic form of Kepler's equation.^{[10]}^{:66–67} In the case of a parabolic trajectory, Barker's equation is used.

A related method starts by noting that . Repeatedly substituting the expression on the right for the on the right yields a simple fixed-point iteration algorithm for evaluating . This method is identical to Kepler's 1621 solution.^{[4]}

```
function E(e, M, n)
E = M
for k = 1 to n
E = M + e*sin E
next k
return E
```

The number of iterations, , depends on the value of . The hyperbolic form similarly has .

This method is related to the Newton's method solution above in that

To first order in the small quantities and ,

- .

**^**Kepler, Johannes (1609). "LX. Methodus, ex hac Physica, hoc est genuina & verissima hypothesi, extruendi utramque partem æquationis, & distantias genuinas: quorum utrumque simul per vicariam fieri hactenus non potuit. argumentum falsæ hypotheseos".*Astronomia Nova Aitiologētos, Seu Physica Coelestis, tradita commentariis De Motibus Stellæ Martis, Ex observationibus G. V. Tychonis Brahe*(in Latin). pp. 299–300.**^**Aaboe, Asger (2001).*Episodes from the Early History of Astronomy*. Springer. pp. 146–147. ISBN 978-0-387-95136-2.**^**Kepler, Johannes (1621). "Libri V. Pars altera.".*Epitome astronomiæ Copernicanæ usitatâ formâ Quæstionum & Responsionum conscripta, inq; VII. Libros digesta, quorum tres hi priores sunt de Doctrina Sphæricâ*(in Latin). pp. 695–696.- ^
^{a}^{b}Swerdlow, Noel M. (2000). "Kepler's Iterative Solution to Kepler's Equation".*Journal for the History of Astronomy*.**31**: 339–341. Bibcode:2000JHA....31..339S. doi:10.1177/002182860003100404. **^**It is often claimed that Kepler's equation "cannot be solved analytically"; see for example here. Whether this is true or not depends on whether one considers an infinite series (or one which does not always converge) to be an analytical solution. Other authors make the absurd claim that it cannot be solved at all; see for example Madabushi V. K. Chari; Sheppard Joel Salon;*Numerical Methods in Electromagnetism*, Academic Press, San Diego, CA, USA, 2000, ISBN 0-12-615760-X, p. 659**^**"Mihi ſufficit credere, ſolvi a priori non poſſe, propter arcus & ſinus ετερογενειαν. Erranti mihi, quicumque viam monſtraverit, is erit mihi magnus Apollonius." Hall, Asaph (May 1883). "Kepler's Problem".*Annals of Mathematics*.**10**(3): 65–66. doi:10.2307/2635832.**^**Stumpff, Karl (1 June 1968). "On The application of Lie-series to the problems of celestial mechanics". NASA Technical Note D-4460. Cite journal requires`|journal=`

(help)**^**Colwell, Peter (1993).*Solving Kepler's Equation Over Three Centuries*. Willmann–Bell. p. 43. ISBN 0-943396-40-9.**^**Keister, Adrian. "The Numerical Analysis of Finding the Height of a Circular Segment".*Wineman Technology*. Wineman Technology, Inc. Retrieved 28 December 2019.**^**Pfleger, Thomas; Montenbruck, Oliver (1998).*Astronomy on the Personal Computer*(Third ed.). Berlin, Heidelberg: Springer. ISBN 978-3-662-03349-4.

Wikimedia Commons has media related to Kepler's equation. |

- Danby, John M.; Burkardt, Thomas M. (1983). "The solution of Kepler's equation. I".
*Celestial Mechanics*.**31**: 95–107. Bibcode:1983CeMec..31...95D. doi:10.1007/BF01686811. - Conway, Bruce A. (1986).
*An improved algorithm due to Laguerre for the solution of Kepler's equation*. doi:10.2514/6.1986-84. - Mikkola, Seppo (1987). "A cubic approximation for Kepler's equation".
*Celestial Mechanics*.**40**(3). Bibcode:1987CeMec..40..329M. doi:10.1007/BF01235850. - Nijenhuis, Albert (1991). "Solving Kepler's equation with high efficiency and accuracy".
*Celestial Mechanics and Dynamical Astronomy*.**51**(4): 319–330. Bibcode:1991CeMDA..51..319N. doi:10.1007/BF00052925. - Markley, F. Landis (1995). "Kepler equation solver".
*Celestial Mechanics and Dynamical Astronomy*.**63**(1): 101–111. doi:10.1007/BF00691917. - Fukushima, Toshio (1996). "A method solving kepler's equation without transcendental function evaluations".
*Celestial Mechanics and Dynamical Astronomy*.**66**(3): 309–319. Bibcode:1996CeMDA..66..309F. doi:10.1007/BF00049384. - Charles, Edgar D.; Tatum, Jeremy B. (1997). "The convergence of Newton-Raphson iteration with Kepler's equation".
*Celestial Mechanics and Dynamical Astronomy*.**69**(4): 357–372. Bibcode:1997CeMDA..69..357C. doi:10.1023/A:1008200607490. - Stumpf, Laura (1999). "Chaotic behaviour in the Newton iterative function associated with Kepler's equation".
*Celestial Mechanics and Dynamical Astronomy*.**74**(2): 95–109. doi:10.1023/A:1008339416143. - Palacios, Manuel (2002). "Kepler equation and accelerated Newton method".
*Journal of Computational and Applied Mathematics*.**138**: 335–346. Bibcode:2002JCoAM.138..335P. doi:10.1016/S0377-0427(01)00369-7. - Boyd, John P. (2007). "Rootfinding for a transcendental equation without a first guess: Polynomialization of Kepler's equation through Chebyshev polynomial equation of the sine".
*Applied Numerical Mathematics*.**57**(1): 12–18. doi:10.1016/j.apnum.2005.11.010. - Pál, András (2009). "An analytical solution for Kepler's problem".
*Monthly Notices of the Royal Astronomical Society*.**396**(3): 1737–1742. doi:10.1111/j.1365-2966.2009.14853.x. - Esmaelzadeh, Reza; Ghadiri, Hossein (2014). "Appropriate starter for solving the Kepler's equation".
*International Journal of Computer Applications*.**89**(7): 31–38. doi:10.5120/15517-4394. - Zechmeister, Mathias (2018). "CORDIC-like method for solving Kepler's equation".
*Astronomy and Astrophysics*.**619**: A128. doi:10.1051/0004-6361/201833162.

- Kepler's Equation at Wolfram Mathworld