3.2.14Orbital Mechanics & Astrodynamics

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

2,387 words11 min readdifficulty · medium3 backlinks

WHY do we even need this?

For a circle, position is trivial: angle =ωt= \omega t. For an ellipse, the planet sweeps equal areas in equal times, not equal angles. The angle you actually want (the true anomaly ν\nu, measured from the Sun) changes non-uniformly with time. We need a chain of three angles to untangle this.


HOW we build it: the auxiliary circle

Draw the ellipse (semi-major aa, semi-minor bb, eccentricity ee). Around it draw a circle of radius aa centred at the ellipse centre OO. The Sun sits at focus SS, a distance aeae from OO.

For a planet at point PP on the ellipse, drop a vertical line through PP; it hits the circle at point QQ. The angle QOX\angle QOX (from centre, XX = perihelion direction) is the eccentric anomaly EE.

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

The magic property of an ellipse: it is a circle squashed in yy by factor b/ab/a. So if Q=(acosE,  asinE)Q=(a\cos E,\; a\sin E) on the circle, the planet is x=acosE,y=bsinE.x = a\cos E, \qquad y = b\sin E.


DERIVATION 1 — Kepler's equation from areas (first principles)

Kepler's 2nd law: the radius from the focus sweeps area at a constant rate. So the fraction of orbital period elapsed equals the fraction of total ellipse area swept since perihelion:

ttpT=Area swept SXPtotal ellipse area πab.\frac{t - t_p}{T} = \frac{\text{Area swept } SXP}{\text{total ellipse area } \pi a b}.

The left side, times 2π2\pi, is by definition MM: M = \frac{2\pi}{T}(t-t_p) = \frac{2\pi \cdot (\text{Area } SXP)}{\pi a b}. \tag{1}

Step: compute Area SXPSXP. Use the squash. Every yy-coordinate on the ellipse is b/ab/a times the corresponding yy on the circle. Area scales the same way, so any region on the ellipse =ba×= \frac{b}{a}\times (its image region on the circle).

Why this step? It turns a messy elliptical area into a circular-sector area, which we can compute with simple geometry.

Area SXPellipse=baArea SXQcircle.\text{Area } SXP_{\text{ellipse}} = \frac{b}{a}\,\text{Area } SXQ_{\text{circle}}.

Step: Area SXQSXQ on the circle = (circular sector OXQOXQ) − (triangle OSQOSQ).

Why? SXQSXQ is the sector from perihelion swept about the centre minus the wedge cut off by the focus offset.

  • Sector OXQOXQ: a slice of a circle radius aa, angle EE: area =12a2E= \tfrac12 a^2 E.
  • Triangle OSQOSQ: base OS=aeOS = ae along the axis, height =yQ=asinE= y_Q = a\sin E: area=12(ae)(asinE)=12a2esinE.\text{area} = \tfrac12 (ae)(a\sin E) = \tfrac12 a^2 e\sin E.

So Area SXQcircle=12a2E12a2esinE=12a2(EesinE).\text{Area } SXQ_{\text{circle}} = \tfrac12 a^2 E - \tfrac12 a^2 e\sin E = \tfrac12 a^2 (E - e\sin E).

Step: convert to ellipse and plug into (1). Area SXP=ba12a2(EesinE)=12ab(EesinE).\text{Area } SXP = \frac{b}{a}\cdot \tfrac12 a^2 (E - e\sin E) = \tfrac12 ab\,(E - e\sin E).

M=2ππab12ab(EesinE).M = \frac{2\pi}{\pi ab}\cdot \tfrac12 ab\,(E - e\sin E).


DERIVATION 2 — radius and true anomaly in terms of EE

From the focus S=(ae,0)S=(ae,0) to planet P=(acosE,bsinE)P=(a\cos E, b\sin E): r2=(acosEae)2+(bsinE)2.r^2 = (a\cos E - ae)^2 + (b\sin E)^2. Use b2=a2(1e2)b^2 = a^2(1-e^2): r2=a2(cosEe)2+a2(1e2)sin2E.r^2 = a^2(\cos E - e)^2 + a^2(1-e^2)\sin^2 E. Expand and use cos2E+sin2E=1\cos^2 E + \sin^2 E = 1: r2=a2[cos2E2ecosE+e2+sin2Ee2sin2E]=a2(1ecosE)2.r^2 = a^2\big[\cos^2E - 2e\cos E + e^2 + \sin^2E - e^2\sin^2E\big] = a^2(1 - e\cos E)^2. r=a(1ecosE)\boxed{r = a(1 - e\cos E)} Why useful? Once you solve for EE, you instantly get the distance rr, and the components x=acosE, y=bsinEx=a\cos E,\ y=b\sin E give full position. The true anomaly follows from tanν2=1+e1etanE2.\tan\frac{\nu}{2} = \sqrt{\frac{1+e}{1-e}}\,\tan\frac{E}{2}.


HOW to actually solve it (it's transcendental!)

M=EesinEM = E - e\sin E cannot be inverted algebraically for E(M)E(M). We iterate (Newton–Raphson): Ek+1=EkEkesinEkM1ecosEk,E0=M.E_{k+1} = E_k - \frac{E_k - e\sin E_k - M}{1 - e\cos E_k}, \qquad E_0 = M.


Common mistakes (Steel-manned)


Quick recall

Recall Cloze self-test
  • M===EesinE==M = ==E - e\sin E==
  • M===n(ttp)==M = ==n(t-t_p)==, with n===μ/a3==n = ==\sqrt{\mu/a^3}==
  • r===a(1ecosE)==r = ==a(1 - e\cos E)==
  • Position: x===acosE==, y===bsinE==x = ==a\cos E==,\ y = ==b\sin E==
  • EE is measured from the centre on the auxiliary circle, in radians.
Recall Feynman: explain to a 12-year-old

Imagine a runner going around an oval track, but a magnet at one focus makes them sprint when they're close and crawl when they're far. Hard to predict where they are! So we cheat: we imagine a robot running around a perfect circle at a steady pace, and a clock that just ticks evenly — that's the "mean" angle MM. Then we use a clever shadow trick: stand the runner's oval inside a big circle and draw their "shadow angle" EE from the middle. Kepler's equation, M=EesinEM = E - e\sin E, is the secret decoder ring that turns the steady robot's clock into the real runner's shadow position. The esinEe\sin E bit is just the "how much they sprinted or crawled" correction.


Flashcards

What is the mean anomaly MM physically?
The angle of a fictitious body moving at constant angular speed; a rescaled clock M=n(ttp)M=n(t-t_p), not the real planet's position.
State Kepler's equation.
M=EesinEM = E - e\sin E (angles in radians).
Where and from what point is the eccentric anomaly EE measured?
From the centre of the ellipse, on the auxiliary circle of radius aa that circumscribes the ellipse.
Why can't Kepler's equation be solved algebraically for EE?
It's transcendental — EE appears both linearly and inside sinE\sin E; solve numerically (Newton/fixed-point).
Give the Newton iteration for EE.
Ek+1=EkEkesinEkM1ecosEkE_{k+1}=E_k-\dfrac{E_k-e\sin E_k-M}{1-e\cos E_k}, start E0=ME_0=M.
Radius in terms of EE?
r=a(1ecosE)r=a(1-e\cos E).
What are x,yx,y of the planet in terms of EE?
x=acosE, y=bsinEx=a\cos E,\ y=b\sin E (centre origin), using ellipse = circle squashed by b/ab/a.
At what points do MM, EE, and ν\nu all coincide?
At perihelion (=0=0) and aphelion (=π=\pi), where sinE=0\sin E=0.
What is the mean motion nn?
n=2π/T=μ/a3n=2\pi/T=\sqrt{\mu/a^3}.
Convert EE to true anomaly ν\nu.
tan(ν/2)=1+e1etan(E/2)\tan(\nu/2)=\sqrt{\tfrac{1+e}{1-e}}\,\tan(E/2).
Why does the esinEe\sin E term appear (geometrically)?
It is the triangle OSQOSQ area (focus offset aeae times height asinEa\sin E) subtracted from the circular sector when computing swept area.

Connections

Concept Map

makes speed non-uniform

invent uniform clock

defined by

need geometric helper

measured from

via

squash by b over a

area ratio gives

linked to E by

linked to M by

solve then convert to

Sun offset ae yields

appears in

Kepler 2nd law equal areas

Position vs time is hard

Mean anomaly M

M = n·t − tp

Eccentric anomaly E

Ellipse centre O

Auxiliary circle radius a

x = a·cos E, y = b·sin E

Kepler equation M = E − e·sin E

True anomaly ν seen from Sun

e·sin E term

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, problem yeh hai: planet ellipse pe ghoomta hai par constant speed se nahi — Sun ke paas (perihelion) tez bhaagta hai, door (aphelion) slow ho jaata hai (Kepler ka 2nd law: equal area in equal time). Toh "time tt pe planet kahan hai?" yeh seedha nikalna mushkil hai. Iska jugaad: hum ek imaginary uniform ghadi banate hain — mean anomaly M=n(ttp)M = n(t-t_p) — jo bilkul steady tick karti hai. Aur ek geometry helper angle banate hain — eccentric anomaly EE — jo ellipse ke around ek bada circle (radius aa) banake, uske centre se naapa jaata hai.

In dono ko jodne wala pul hai Kepler's equation: M=EesinEM = E - e\sin E. Iski derivation full area se aati hai — circular sector 12a2E\tfrac12 a^2 E minus focus wali triangle 12a2esinE\tfrac12 a^2 e\sin E, phir ellipse ke liye b/ab/a se squash. Yahi esinEe\sin E term planet ke "sprint vs crawl" ka correction hai. Yaad rakho: EE centre se, radians me, aur sign minus hai.

Sabse important baat: yeh equation transcendental hai — EE ko algebra se isolate nahi kar sakte. Toh Newton–Raphson se iterate karte hain, E0=ME_0 = M se shuru. Do-teen steps me converge ho jaata hai chote ee ke liye. Ek baar EE mil gaya toh r=a(1ecosE)r = a(1-e\cos E) se distance, aur x=acosE, y=bsinEx=a\cos E,\ y=b\sin E se exact position mil jaati hai. True anomaly ν\nu chahiye toh half-angle formula laga do. Bas, pure orbit ki location nikal aati hai — yahi astrodynamics ka roz ka kaam hai (satellite tracking, mission planning).

Go deeper — visual, from zero

Test yourself — Orbital Mechanics & Astrodynamics

Connections