Kepler's equation and the length of the seasons

How to calculate the time between any two points on an elliptical orbit — and use it to find out why summer is the longest season. With two interactive tools you can adjust yourself.

Michael Grant  ·  michael.h.grant@gmail.com

💻 Best on a laptop, tablet or PC

01 · The problem

Kepler's laws tell us what shape a planetary orbit has, and that the radius vector from the Sun sweeps out equal areas in equal times. But they do not directly answer the question every calendar maker and navigator actually asks:

How long does it take the planet to move from one point on the orbit to another?

The difficulty is that the planet does not move with constant angular velocity around the Sun — it rushes through perihelion and dawdles through aphelion. The angle at the Sun is therefore an awkward quantity to integrate. The solution, which we owe to Kepler himself, is to introduce two auxiliary angles and a surprisingly simple relation between them: Kepler's equation. With that in hand, the time calculation becomes a short recipe — and as an application we finally work out the lengths of the seasons and see why summer in the northern hemisphere is the longest of the four.

02 · The three anomalies

Let the ellipse have semi-major axis \(a\), eccentricity \(e\) and semi-minor axis \(b = a\sqrt{1-e^{2}}\). The Sun sits at the focus \(S\), at the distance \(c=ae\) from the centre \(C\). The nearest point of the orbit is perihelion \(\Pi\). Three angles — traditionally called anomalies — determine the planet's position.

True anomaly \(\nu\)

The physical angle at the Sun, measured from perihelion to the planet. The distance to the Sun follows from the polar equation of the ellipse:

\[ r=\frac{a\,(1-e^{2})}{1+e\cos\nu}. \]

Eccentric anomaly \(E\)

Draw the auxiliary circle of radius \(a\) around the ellipse. Raise the vertical line from the planet \(P\) up to the circle at the point \(Q\). The angle \(\angle QC\Pi\), measured at the centre, is the eccentric anomaly. In coordinates with origin at \(C\), \(P=(a\cos E,\; b\sin E)\), and the two standard conversions become

\[ \cos\nu=\frac{\cos E-e}{1-e\cos E},\qquad \tan\frac{\nu}{2}=\sqrt{\frac{1+e}{1-e}}\;\tan\frac{E}{2}. \]

Middelanomali \(M\)

Finally, imagine a fictitious body that moves uniformly round and completes one revolution in the same time \(T\) as the real planet. Its angle, counted from perihelion, is the mean anomaly

\[ M=n\,(t-t_{\Pi}),\qquad n=\frac{2\pi}{T}, \]

where \(n\) is the mean motion. The mean anomaly is nothing but time in the disguise of an angle: it grows by exactly \(2\pi\) for each revolution. All the physics of when lies in the relation between \(M\) and the geometric angles \(E\) and \(\nu\).

▶ Anomali-udforskeren
Drag the planet along the orbit, or press Play. Notice how the green area (the mean anomaly) grows uniformly with time, while the planet itself moves fastest through perihelion. Here the eccentricity has been set to \(e=0.50\) for clarity.
Sand anomali ν
0°
Eccentric E
0°
Middelanomali M
0°
Time since perihelion
0 %

03 · Kepler's 2nd law as an area

The law of areas says that the areal velocity is constant. Since the whole ellipse of area \(\pi a b\) is swept out in one revolution \(T\),

\[ \frac{dA}{dt}=\frac{\pi a b}{T}=\text{constant} \quad\Longrightarrow\quad \frac{A(E)}{\pi a b}=\frac{t-t_{\Pi}}{T}. \]

The whole problem is thus reduced to a piece of plane geometry: what is the swept area \(A(E)\)? Here the auxiliary circle earns its keep. An ellipse is an auxiliary circle scaled by the factor \(b/a\) across the major axis, and vertical scaling multiplies every area by the same factor. The circular area is a sector minus a triangle,

\[ A_{\text{circle}}(E)=\tfrac12 a^{2}E-\tfrac12 a^{2}e\sin E =\tfrac12 a^{2}\,(E-e\sin E), \]

and scaled by \(b/a\), the swept area of the ellipse becomes \(A_{\text{ellipse}}(E)=\tfrac12 a b\,(E-e\sin E)\). Inserting this into the area–time relation above, \(ab\) cancels, and what remains is one of the most far-reaching equations in the history of astronomy.

Kepler's equation
\[ \boxed{\,M=E-e\sin E\,} \]

It ties time (through \(M\)) to position (through \(E\)). The term \(-e\sin E\) is precisely the non-uniformity of the motion; it vanishes for a circle (\(e=0\)), where \(M=E=\nu\), and the planet moves uniformly.

04 · The recipe: time between two points

If the two points of the orbit are given by their true anomalies \(\nu_{1}\) and \(\nu_{2}\), the time difference follows in three short steps.

Travel time from \(\nu_1\) to \(\nu_2\)
  1. Position → eccentric anomaly. For each point: \(\;E_i = 2\arctan\!\left(\sqrt{\tfrac{1-e}{1+e}}\,\tan\tfrac{\nu_i}{2}\right).\)
  2. Eccentric → mean anomaly with Kepler's equation: \(\;M_i = E_i - e\sin E_i.\)
  3. Mean anomaly → time. The mean anomaly grows uniformly, so \[ \boxed{\;t_2-t_1=\frac{T}{2\pi}\,(M_2-M_1)\;} \] where \(M_2-M_1\) is taken modulo \(2\pi\) (add \(2\pi\) if the body passes perihelion along the way).

Note that this direction — from position to time — requires no iteration at all; it is pure substitution. Only the reverse question is harder: if you have to find where the body is at a given time, you must solve \(M=E-e\sin E\) for \(E\). The equation is transcendental, but Newton's method, \(E_{k+1}=E_k-\dfrac{E_k-e\sin E_k-M}{1-e\cos E_k}\), converges in a handful of steps — for the small eccentricities of the planets three iterations are enough for machine precision.

05 · The length of the seasons

Astronomically the seasons are not delimited by the calendar, but by the Sun's direction along the ecliptic — its ecliptic longitude \(\lambda_\odot\), the tilt-governed angle that determines the height of the midday Sun:

\[ \text{spring equinox } \lambda_\odot=0^{\circ},\quad \text{summer solstice } 90^{\circ},\quad \text{autumn equinox } 180^{\circ},\quad \text{winter solstice } 270^{\circ}. \]

Each season in the northern hemisphere is the time the Earth takes to pass through the \(90^{\circ}\) of longitude between two neighbouring markers. The anomaly is measured from perihelion, while ecliptic longitude is measured from the spring equinox — the two differ only by the longitude of perihelion \(\varpi\), the Sun's longitude at the moment the Earth is at perihelion:

\[ \nu=\lambda_\odot-\varpi. \]

In our time the Earth's perihelion falls at the beginning of January, at \(\varpi\simeq 283^{\circ}\), with eccentricity \(e=0.0167\) and orbital period \(T=365.26\) days. Running each of the four markers through the recipe in section 4, we get:

SeasonArcΔMLength
Springspring equinox → summer solstice91,43°92.76 days
Summersummer solstice → autumn equinox92,31°93.65 days
Autumnautumn equinox → winter solstice88,55°89.85 days
Winterwinter solstice → spring equinox87,72°89.00 days
Total (one year)365.26 days

These figures match the almanac values (spring 92.76 · summer 93.65 · autumn 89.84 · winter 88.99 days) to within a quarter of an hour — the rest is the few subtleties that a single fixed ellipse ignores.

▶ The season machine
Adjust the eccentricity and the longitude of perihelion, and watch the lengths of the four seasons change at once. The eccentricity is set to the Earth's modest 1.7 % — turn it up, and watch the orbit and the differences grow. Rotate the perihelion, and watch the longest season wander round the year.

A subtlety: the four arcs here add up to the anomalistic year, 365.26 days, while two successive spring equinoxes are in reality one tropical year (365.24 days) apart. The difference is the slow precession of the perihelion relative to the equinox, which a single fixed ellipse ignores; spread over the year it shifts each season by only a few minutes.

06 · Why is summer the longest?

The pattern is dictated entirely by Kepler's 2nd law. Perihelion today falls at the beginning of January, in the middle of the northern winter, when the Earth sweeps along its orbit fastest and therefore covers its \(90^{\circ}\) arcs in the shortest time — so autumn and winter are short. Aphelion falls at the beginning of July, in the northern summer, when the Earth crawls and the arcs take longest — so spring and summer are long. The span between the extremes is

\[ 93.65-89.00 = 4.65 \text{ days between summer and winter,} \]

more than a hundred hours, produced by an eccentricity of just 1.7 %. That is Kepler's 2nd law read directly from the calendar.

And it is history read backwards. Hipparchus measured the seasons as unequal in the 2nd century BC — he gave spring and summer as roughly 94.5 and 92.5 days — and concluded from those figures that the Sun's apparent orbit had to be eccentric, thereby fixing the size and direction of the solar eccentricity seventeen centuries before Kepler explained the cause. That the figures differ from today's is not an error: the direction of perihelion wanders, so the seasons slowly swap lengths.

The seasons are not fixed for ever

Because the direction of perihelion precesses relative to the equinoxes with a period of about 21,000 years, the phase of the seasons within the orbit drifts steadily. In a little over 10,500 years perihelion will fall in the northern summer instead of the winter; the northern hemisphere will then have its longest season in winter and its shortest in summer — the exact opposite of today. This slow waltz, together with changes in eccentricity and axial tilt, is one of the astronomical rhythms — the Milanković cycles — that govern the coming and going of the ice ages. The same little equation, \(M=E-e\sin E\), that fixes the length of next spring helps to set the rhythm of the ice ages.

See also The seasons — the Earth's tilt and the course of the year, which explains why we have seasons at all, and Gauss's orbit determination, where the same orbital elements are determined from three images of the sky.