Kepler’s second law says a planet sweeps equal areas in equal times: fast near perihelion, slow near aphelion. Kepler’s equation turns that law into a recipe: given a date, where is the planet?
Three angles
Figure 1. The true anomaly $\nu$ is measured at the Sun; the eccentric anomaly $E$ at the centre, to the point Q on the auxiliary circle straight above the planet.
True anomalyν: the real angle at the Sun from perihelion to the planet.
Eccentric anomalyE: a helper angle at the centre, to the point on the circle of radius a (the auxiliary circle) straight above the planet.
Mean anomalyM: the angle a planet moving at a steady rate would have, M=2π(t−τ)/P, where τ is the time of perihelion. It grows evenly with time.
M=E−esinE(all angles in radians),r=a(1−ecosE),tan2ν=1−e1+etan2E.
There is no formula for E in terms of M, but iteration converges quickly for any e<1:
E0=M,Ek+1=M+esinEk.
For a nearly circular orbit, the gap between the true and mean anomaly (the equation of centre) is about ν−M≈2esinM.
To find the time between two points on an orbit, run the recipe backwards: from each r or ν get E, then M=E−esinE; the time is ΔM×P/2π.
Traps. Working in degrees and adding esinE unconverted: esinE is in radians, so multiply it by 57.30° first. Measuring E from the Sun instead of the centre. Forgetting that ν and E are in the same half of the orbit (take the quadrant of ν/2 from that of E/2).
2. Explore it
Halley’s comet (a=17.83 au, e=0.967, period 75.3 yr) spends nearly all its time far out. Setting r=1 au gives E=12.54° at the Earth’s orbit, and the comet stays inside that orbit for only about 78 days of each 75-year trip.
3. Worked example
The Earth (e=0.0167, a=1 au) passes perihelion. Where is it 30 days later?
Mean anomaly: M=360°×30/365.26=29.57°. Iterate, converting esinE to degrees each time:
The Earth is 0.96° ahead of a steady-moving point; the shortcut 2esinM gives 0.944°.
4. From a past paper
IOAA 2022, Theory Problem 9 (official problem book: IOAA). Mercury’s orbit is quite eccentric, and it turns on its axis exactly 2/3 of its year. So near perihelion the Sun moves backwards in Mercury’s sky. For how many Earth days in each orbit does this retrograde motion last?
Our solution. Take a=0.387098 au, e=0.205630 and P=87.969 d. Seen from Mercury, the Sun moves against the stars at Mercury’s orbital angular speed ν˙, while the turning ground carries it the other way at the spin rate ωrot=23⋅2π/P. The Sun goes backwards while ν˙>ωrot.
The angular speed is ν˙=h/r2, with h=GMa(1−e2) and the mean motion 2π/P=GM/a3. The condition becomes
(ar)2<1.51−e2⇒r<0.80773a=0.3127au,
just outside perihelion (0.3075 au). Now Kepler’s equation:
The retrograde stretch runs from −M to +M about perihelion, so it lasts
2π2M×P=2π2×0.2895×87.969d=8.11days.
(The official solution uses the full speed v/r instead of the sideways speed h/r2 and gets 8.28 days. Near perihelion the two are close, but strictly only the sideways part of the velocity turns the Sun’s direction.)