3.2.14 · D3Orbital Mechanics & Astrodynamics

Worked examples — Kepler's equation M = E − e·sin E — derivation, eccentric anomaly

3,624 words16 min readBack to topic

Everything below uses radians unless a step explicitly converts. = mean anomaly (the uniform clock), = eccentric anomaly (measured from the centre on the auxiliary circle), = eccentricity (), = semi-major axis, = orbital period, = time of perihelion passage.

The true anomaly (used in Ex 1) is the planet's real angular position seen from the Sun (focus) — the actual direction you'd point a telescope. It is converted from by the half-angle relation which is derived on that companion page from the two forms of the radius, and . We only use it here; if any of these words feel unfamiliar, read the parent first.


The scenario matrix

Kepler's equation looks like one formula, but the behaviour changes wildly depending on where the planet is and how squashed the orbit is. Here is every case-class this topic can throw at you:

# Case class What is special Covered by
A Degenerate: circle No correction term, Ex 1
B Turning points , clock = geometry Ex 2
C Quadrant I (approaching Sun, moving fast) , Ex 3
D Quadrant II still, but past the -peak Ex 3 (table)
E Quadrants III & IV (receding, moving slow) , so Ex 4
F Easy direction No iteration needed Ex 5
G High eccentricity Slow convergence, bad seed Ex 6
H Real-world word problem (comet time-of-flight) Wrap physics around the math Ex 7
I Exam twist (given , find ) Reverse-engineer from radius Ex 8
J Sanity/units traps (degrees-vs-radians, sign of correction) Wrong-unit inputs give nonsense Ex 9

We now hit every cell.


Ex 1 — Cell A: the degenerate circle


Ex 2 — Cell B: the turning points


Ex 3 — Cells C & D: quadrants I and II (, so )

The figure below makes the geometry concrete. The dashed circle is the auxiliary circle (radius ). For a chosen eccentric anomaly , the point sits on that circle at angle from the centre ; dropping it straight down by the squash factor lands on the planet on the ellipse. When the planet is on the upper half (), is above the axis, so , so the correction is negative and .

Figure — Kepler's equation M = E − e·sin E — derivation, eccentric anomaly
Figure: the auxiliary-circle point (red) at angle , the planet (black square) below it, and the two half-orbit cases. Upper half → ; lower half → . Read the red radius : its height above the axis is exactly , the quantity the correction term multiplies.


Ex 4 — Cell E: quadrants III & IV (, so )


Ex 5 — Cell F: the easy direction


Ex 6 — Cell G: high eccentricity, slow convergence


Ex 7 — Cell H: real-world comet time-of-flight


Ex 8 — Cell I: the exam twist — given , find the time


Ex 9 — Cell J: the degrees-vs-radians and sign trap


Quick recall

Recall Which direction needs iteration?

(and hence ) is a direct substitution; is transcendental and needs Newton–Raphson. ::: Forward is free, inverse is iterative.

Sign of the correction in the upper half ()? ::: Negative, so .

Sign in the lower half ()? ::: , so the correction is positive and .

Given only , why can't you find uniquely? ::: depends on (even), giving two branches and ; you need extra info (approaching vs receding) to choose.

Which units must Kepler's equation use, and why? ::: Radians — it was derived from sector area , valid only in radians.

See also: Numerical root-finding — Newton–Raphson, Time of flight and orbit propagation, True anomaly ν and the orbit equation r = a(1−e²)/(1+e cos ν), Eccentricity and ellipse geometry (a, b, ae, b²=a²(1−e²)), and the Hyperbolic Kepler equation M = e·sinh F − F for the case.