Kepler's equation
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, and in book V of his Epitome of Copernican Astronomy Kepler proposed an iterative solution to the equation. The equation has played an important role in the history of both physics and mathematics, particularly classical celestial mechanics.
Equation
Kepler's equation iswhere is the mean anomaly, is the eccentric anomaly, and is the eccentricity.
The 'eccentric anomaly' 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,, at time, then to find out the position of the body at any time, you first calculate the mean anomaly from the time and the mean motion by the formula, then solve the Kepler equation above to get, then get the coordinates from:
where is the semi-major axis, the semi-minor axis.
Kepler's equation is a transcendental equation because sine is a transcendental function, meaning it cannot be solved for algebraically. Numerical analysis and series expansions are generally required to evaluate.
Alternate forms
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. The hyperbolic Kepler equation is used for hyperbolic trajectories. The radial Kepler equation is used for linear trajectories. Barker's equation is used for parabolic trajectories.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.
Hyperbolic Kepler equation
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:
and then replacing by.
Radial Kepler equation
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
Inverse problem
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.
Confusion over the solvability of Kepler's equation has persisted in the literature for four centuries. Kepler himself expressed doubt at the possibility of finding a general solution:
Inverse Kepler equation
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.
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
, 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.
While this solution is the simplest in a certain mathematical sense,, 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, but its significance wasn't recognized.
One can also write a Maclaurin series in e. This series does not converge when e is larger than the Laplace limit, regardless of the value of M, but it converges for all M if e is less than the Laplace limit. The coefficients in the series, other than the first, depend on M in a periodic way with period.
Inverse radial Kepler equation
The inverse radial Kepler equation can also be written as:Evaluating this yields:
To obtain this result using Mathematica:
Numerical approximation of inverse problem
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. For most elliptical orbits an initial value of E0 = M is sufficient. For orbits with e > 0.8, an initial value of E0 = π 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. A similar approach can be used for the hyperbolic form of Kepler's equation. In the case of a parabolic trajectory, Barker's equation is used.
Fixed-point iteration
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.function E
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,