Astronomy and Space Exploration ES

Higher Education / Celestial mechanics

Kepler's equation and its numerical solution

From the two-body problem to the transcendental equation M = E − e sin E: geometric derivation, Newton–Raphson with convergence and conditioning analysis, hyperbolic and parabolic versions, and verification with the anomalies of Mars at J2000 (JPL Horizons).

⏱ 150 min ODEsgeometry of conicsiterative methodsconvergence analysisconditioningFourier series revision

By the end you will be able to:
  • Derive Kepler's equation from the eccentric anomaly.
  • Implement Newton–Raphson and justify its quadratic convergence with an explicit error bound.
  • Relate the mean, eccentric and true anomalies, and obtain the equation of the center.
  • Extend the equation to hyperbolic orbits (anomaly F) and parabolic orbits (Barker's equation).
  • Analyze the conditioning of the problem as e → 1 and the role of the initial guess.

1. Motivation

Illustration: Motivation

The previous lesson proved that the orbit is a conic, but it did not say where the body is at each instant. The law of areas, r2ν˙=hr^2\dot\nu = h, is a differential equation in ν(t)\nu(t) with no elementary solution: Kepler solved it in 1609 by introducing an auxiliary angle, and the result is a transcendental equation that took three centuries of numerical methods (Colwell 1993). Every ephemeris, from Kepler’s tables to those of JPL, involves solving it.

2. Setting up the problem

Illustration: Setting up the problem

For the reduced two-body problem with μ=G(m1+m2)\mu = G(m_1+m_2), the conservation of angular momentum h=r2ν˙h = r^2\dot\nu and the orbit equation lead to the eccentric anomaly EE, defined by

r=a(1−ecos⁡E),tan⁡ν2=1+e1−e tan⁡E2.r = a(1 - e\cos E), \qquad \tan\frac{\nu}{2} = \sqrt{\frac{1+e}{1-e}}\,\tan\frac{E}{2}.

Geometrically, EE is the angle, seen from the center of the ellipse, of the point on the auxiliary circle of radius aa that projects perpendicularly to the major axis onto the position of the body. In perifocal coordinates (origin at the focus, xx toward periapsis) this gives

x=a(cos⁡E−e),y=a1−e2 sin⁡E,x = a(\cos E - e), \qquad y = a\sqrt{1-e^2}\,\sin E,

and from there r=x2+y2=a(1−ecos⁡E)r = \sqrt{x^2+y^2} = a(1-e\cos E). Let us compute h=xy˙−yx˙h = x\dot y - y\dot x with x˙=−asin⁡E E˙\dot x = -a\sin E\,\dot E, y˙=a1−e2cos⁡E E˙\dot y = a\sqrt{1-e^2}\cos E\,\dot E:

h=a21−e2 E˙ [(cos⁡E−e)cos⁡E+sin⁡2E]=a21−e2 (1−ecos⁡E) E˙.h = a^2\sqrt{1-e^2}\,\dot E\,\big[(\cos E - e)\cos E + \sin^2E\big] = a^2\sqrt{1-e^2}\,(1 - e\cos E)\,\dot E .

Since h=μa(1−e2)=na21−e2h = \sqrt{\mu a(1-e^2)} = na^2\sqrt{1-e^2} with n=μ/a3n = \sqrt{\mu/a^3}, we are left with (1−ecos⁡E) dE=n dt(1-e\cos E)\,dE = n\,dt and, integrating from the periapsis passage τ\tau:

  M≡n(t−τ)=E−esin⁡E  \boxed{\;M \equiv n(t-\tau) = E - e\sin E\;}

(equivalently: substitute into h dt=r2dνh\,dt = r^2d\nu and integrate). MM is the mean anomaly: the angle that a fictitious body with uniform motion nn would have traveled. Kepler’s equation is transcendental in EE: given the time, it must be solved numerically.

3. Newton–Raphson

Illustration: Newton–Raphson

Let f(E)=E−esin⁡E−Mf(E) = E - e\sin E - M. Then f′(E)=1−ecos⁡E≥1−e>0f'(E) = 1 - e\cos E \ge 1-e > 0, so ff is strictly increasing and the root is unique. The iteration

Ek+1=Ek−Ek−esin⁡Ek−M1−ecos⁡EkE_{k+1} = E_k - \frac{E_k - e\sin E_k - M}{1 - e\cos E_k}

converges quadratically near the root. For e→1e \to 1 and M→0M \to 0 the initial guess matters: we use Danby’s, E0=M+0.85 e sgn⁡(sin⁡M)E_0 = M + 0.85\,e\,\operatorname{sgn}(\sin M). Implementation in src/lib/math/kepler.ts.

3.1 Quadratic convergence with an explicit bound

Proposition. If E∗E^* is the root, ∣Ek+1−E∗∣≤C ∣Ek−E∗∣2|E_{k+1} - E^*| \le C\,|E_k - E^*|^2 with C=e2(1−e)C = \dfrac{e}{2(1-e)}.

Proof. By Taylor’s theorem with the Lagrange remainder around EkE_k: 0=f(E∗)=f(Ek)+f′(Ek)(E∗−Ek)+12f′′(ξ)(E∗−Ek)20 = f(E^*) = f(E_k) + f'(E_k)(E^*-E_k) + \tfrac12 f''(\xi)(E^*-E_k)^2 for some ξ\xi between EkE_k and E∗E^*. Dividing by f′(Ek)f'(E_k) and using the definition of Ek+1E_{k+1}: E∗−Ek+1=−f′′(ξ)2f′(Ek)(E∗−Ek)2E^* - E_{k+1} = -\dfrac{f''(\xi)}{2f'(E_k)}(E^*-E_k)^2. With f′′(E)=esin⁡Ef''(E) = e\sin E, ∣f′′∣≤e|f''| \le e and f′≥1−ef' \ge 1-e the bound follows. ■\blacksquare

The convergence is global as well as quadratic: since ff is increasing and convex on (0,π)(0,\pi) (there f′′=esin⁡E>0f'' = e\sin E > 0), Newton’s method from any E0≥E∗E_0 \ge E^* produces a monotonically decreasing sequence toward the root. The constant CC explains the problem with e→1e\to1: for e=0.99e = 0.99, C=49.5C = 49.5, and the quadratic convergence only begins when ∣Ek−E∗∣≲1/C=0.02|E_k - E^*| \lesssim 1/C = 0.02 rad.

3.2 The role of the initial guess

Iteration count until ∣ΔE∣<10−14|\Delta E| < 10^{-14}, sweeping M∈(0,π)M\in(0,\pi) (computed with the algorithm in kepler.ts):

eeguess E0=ME_0 = M: max. (mean)Danby’s guess: max. (mean)
0.56 (5.0)5 (4.4)
0.98 (5.9)7 (4.9)
0.99does not converge in 100 for some MM (8.0)8 (4.9)

The pathological case is e=0.99e = 0.99, M=0.01M = 0.01 with E0=ME_0 = M: f′(E0)=1−0.99cos⁡0.01≈0.010f'(E_0) = 1 - 0.99\cos0.01 \approx 0.010 and the first step jumps to E1=0.995E_1 = 0.995, very far from the root E∗=0.342E^* = 0.342; after that Newton descends monotonically (0.6600.660, 0.4620.462, 0.3680.368, 0.3440.344, 0.34230.3423) and needs 9 iterations. Danby’s guess, E0=M+0.85e=0.852E_0 = M + 0.85e = 0.852, is already on the convex side and converges in 8; for M=0.1M = 0.1 the difference is 21 versus 5. The general rule: starting above the root guarantees monotonicity.

4. The three anomalies

Illustration: The three anomalies

From x=a(cos⁡E−e)=rcos⁡νx = a(\cos E - e) = r\cos\nu and y=a1−e2sin⁡E=rsin⁡νy = a\sqrt{1-e^2}\sin E = r\sin\nu, with r=a(1−ecos⁡E)r = a(1-e\cos E):

cos⁡ν=cos⁡E−e1−ecos⁡E,sin⁡ν=1−e2 sin⁡E1−ecos⁡E,\cos\nu = \frac{\cos E - e}{1 - e\cos E}, \qquad \sin\nu = \frac{\sqrt{1-e^2}\,\sin E}{1 - e\cos E},

plus the half-angle formula from the setup; in practice one uses ν=2atan2⁡(1+esin⁡E2, 1−ecos⁡E2)\nu = 2\operatorname{atan2}\big(\sqrt{1+e}\sin\tfrac E2,\ \sqrt{1-e}\cos\tfrac E2\big), which gives the correct quadrant without branches (trueAnomaly in kepler.ts). For small ee the equation of the center is convenient: the Fourier-series expansion of ν−M\nu - M in MM (Problem 5):

ν−M=2esin⁡M+54e2sin⁡2M+1312e3sin⁡3M+O(e4).\nu - M = 2e\sin M + \tfrac54e^2\sin2M + \tfrac{13}{12}e^3\sin3M + O(e^4).

Verification with Mars (J2000). Horizons gives M=19.35648275°M = 19.35648275° and e=0.0933151015e = 0.0933151015. Newton–Raphson converges in 4 iterations to E=21.2984971°E = 21.2984971°, and ν=23.3331966°\nu = 23.3331966°, exactly the true anomaly TA =23.33319664°= 23.33319664° published by Horizons. The equation of the center truncated at order e2e^2 gives ν−M=3.934°\nu - M = 3.934° versus the exact value 3.977°3.977°: an error of 0.043°0.043°, which is precisely the next term, 1312e3sin⁡3M=0.043°\tfrac{13}{12}e^3\sin3M = 0.043°.

5. Hyperbolic and parabolic orbits

Illustration: Hyperbolic and parabolic orbits

For e>1e > 1 one defines the hyperbolic anomaly FF by r=a(ecosh⁡F−1)r = a(e\cosh F - 1) with a>0a > 0 the semi-axis of the hyperbola, and the same calculation (Problem 3) leads to

Mh≡μa3 (t−τ)=esinh⁡F−F,tan⁡ν2=e+1e−1 tanh⁡F2.M_h \equiv \sqrt{\frac{\mu}{a^3}}\,(t-\tau) = e\sinh F - F, \qquad \tan\frac\nu2 = \sqrt{\frac{e+1}{e-1}}\,\tanh\frac F2 .

Here f(F)=esinh⁡F−F−Mhf(F) = e\sinh F - F - M_h has f′=ecosh⁡F−1≥e−1>0f' = e\cosh F - 1 \ge e - 1 > 0 and Newton’s method converges without difficulty; a good initial guess is F0=ln⁡(2Mh/e+1.8)F_0 = \ln\big(2M_h/e + 1.8\big) for large MhM_h. For e=1e = 1 (nearly parabolic comets, the ill-conditioned case of lesson 0) there is no eccentric anomaly: with D=tan⁡(ν/2)D = \tan(\nu/2) and the periapsis distance qq, Barker’s equation is cubic and is solved in closed form:

μ2q3 (t−τ)=D+D33.\sqrt{\frac{\mu}{2q^3}}\,(t-\tau) = D + \frac{D^3}{3}.

To avoid the discontinuity between the three regimes, modern propagators use universal variables (Curtis §3.7; Vallado §2.2.5), a single equation in χ\chi valid for every ee.

6. Numerical and conditioning analysis

Illustration: Numerical and conditioning analysis

Stopping criterion. Stopping when ∣ΔEk∣<ϵ|\Delta E_k| < \epsilon is appropriate because, with quadratic convergence, the error after the last step is ∼C∣ΔEk∣2\sim C|\Delta E_k|^2, much smaller than ΔEk\Delta E_k. Stopping on ∣f(Ek)∣<ϵ|f(E_k)| < \epsilon is misleading for e→1e\to1: ∣f∣=∣f′∣ ∣E−E∗∣≈(1−e)∣E−E∗∣|f| = |f'|\,|E - E^*| \approx (1-e)|E-E^*|, so a residual of 10−1410^{-14} can hide an error of 10−1210^{-12} in EE.

Conditioning. The solution depends on the data through ∂E∂M=11−ecos⁡E\dfrac{\partial E}{\partial M} = \dfrac1{1-e\cos E}: near the periapsis of an orbit with e=0.99e = 0.99 an error δM\delta M is amplified by 100100. This is not a defect of the method but of the problem: the body moves so fast at periapsis that a small error in time is equivalent to a large angular error. For ν\nu the amplification is compounded with dν/dE=1−e2/(1−ecos⁡E)d\nu/dE = \sqrt{1-e^2}/(1-e\cos E), again ∼1/(1−e)\sim 1/(1-e) at periapsis.

Cost. With Danby’s guess, 4–5 iterations suffice for any e<0.99e < 0.99 to machine precision; each one costs a sine and a cosine. Markley (1995) and others give non-iterative solvers (a cubic initial approximation plus a high-order Halley correction) with error <10−15< 10^{-15} in a single evaluation, useful when the equation must be solved millions of times (vectorization, population simulations). The simulator uses Newton with Danby’s guess, which for a single orbit is more than sufficient.

7. Simulator

Period T = 1.000 years · t = 0.000 years · r = 0.000 au · v = 0.00 km/s

Observe, with e=0.9e = 0.9, how points equally spaced in MM (time) bunch up at apoapsis and spread out at periapsis: this is the picture of dE/dM=1/(1−ecos⁡E)dE/dM = 1/(1-e\cos E). Check that the time between periapsis and ν=90°\nu = 90° is a fraction of the period much smaller than 1/41/4 (Problem 6).

Problems

  1. (Proof) Show that f′′(E)=esin⁡Ef''(E) = e\sin E and complete the proof of the bound ∣Ek+1−E∗∣≤C∣Ek−E∗∣2|E_{k+1}-E^*| \le C|E_k - E^*|^2 with C=e/(2(1−e))C = e/(2(1-e)). Compute CC for e=0.5e = 0.5, 0.90.9, 0.990.99 and the radius of quadratic convergence ∼1/C\sim 1/C.
Show solution

f′=1−ecos⁡E⇒f′′=esin⁡Ef' = 1 - e\cos E \Rightarrow f'' = e\sin E; the bound was proved in §3.1 with ∣f′′∣≤e|f''| \le e and f′≥1−ef' \ge 1-e. C=0.5C = 0.5, 4.54.5, 49.549.5; radii ∼2\sim 2, 0.220.22, 0.020.02 rad. For e=0.99e = 0.99, any initial guess more than 0.020.02 rad from the root first goes through a non-quadratic phase, hence the 8–9 iterations in the table.

  1. (Computational) Compare the number of iterations with the initial guess E0=ME_0 = M and with Danby’s for e∈{0.5,0.9,0.99}e\in\{0.5, 0.9, 0.99\} and MM on a grid over (0,π)(0,\pi). Reproduce the table in §3.2 and locate the MM that requires the most iterations in each case. Plot, for e=0.99e = 0.99 and M=0.01M = 0.01, the successive EkE_k for both initial guesses.
Show solution
import numpy as np
def newton(M, e, E0, tol=1e-14, kmax=100):
    E = E0
    for k in range(1, kmax+1):
        dE = (E - e*np.sin(E) - M)/(1 - e*np.cos(E)); E -= dE
        if abs(dE) < tol: return k
    return kmax
for e in [0.5, 0.9, 0.99]:
    Ms = np.arange(0.01, np.pi, 0.01)
    a = [newton(M, e, M) for M in Ms]; b = [newton(M, e, M + 0.85*e) for M in Ms]
    print(e, max(a), np.mean(a), max(b), np.mean(b))

Results: (6,5.0,5,4.4)(6, 5.0, 5, 4.4), (8,5.9,7,4.9)(8, 5.9, 7, 4.9) and, for e=0.99e = 0.99, the guess E0=ME_0 = M does not converge in 100 iterations for several small MM while Danby’s never exceeds 8. The worst MM with E0=ME_0 = M is always close to 00, where f′(M)≈1−ef'(M) \approx 1 - e.

  1. (Proof) Derive the hyperbolic Kepler equation Mh=esinh⁡F−FM_h = e\sinh F - F from x=a(e−cosh⁡F)x = a(e - \cosh F), y=ae2−1sinh⁡Fy = a\sqrt{e^2-1}\sinh F (hyperbola with focus at the origin and a>0a > 0).
Show solution

r=x2+y2=a(ecosh⁡F−1)r = \sqrt{x^2+y^2} = a(e\cosh F - 1). h=xy˙−yx˙=a2e2−1 F˙ [(e−cosh⁡F)cosh⁡F+sinh⁡2F]=a2e2−1 (ecosh⁡F−1)F˙h = x\dot y - y\dot x = a^2\sqrt{e^2-1}\,\dot F\,[(e-\cosh F)\cosh F + \sinh^2F] = a^2\sqrt{e^2-1}\,(e\cosh F - 1)\dot F. With h=μa(e2−1)h = \sqrt{\mu a(e^2-1)}: (ecosh⁡F−1) dF=μ/a3 dt(e\cosh F - 1)\,dF = \sqrt{\mu/a^3}\,dt, and integrating from τ\tau (where F=0F = 0): esinh⁡F−F=μ/a3(t−τ)e\sinh F - F = \sqrt{\mu/a^3}(t-\tau).

  1. (Proof) Show that the Newton iteration is monotonically decreasing if E0∈[E∗,π]E_0 \in [E^*, \pi] (for M∈(0,π)M\in(0,\pi)), and that Danby’s initial guess satisfies E0≥E∗E_0 \ge E^*.
Show solution

On (0,π)(0,\pi), ff is increasing and convex (f′′=esin⁡E>0f'' = e\sin E > 0). If Ek>E∗E_k > E^*, then f(Ek)>0f(E_k) > 0 and Ek+1=Ek−f/f′<EkE_{k+1} = E_k - f/f' < E_k; moreover, by convexity the tangent lies below the curve, so f(Ek+1)≥f(Ek)+f′(Ek)(Ek+1−Ek)=0f(E_{k+1}) \ge f(E_k) + f'(E_k)(E_{k+1}-E_k) = 0, that is, Ek+1≥E∗E_{k+1} \ge E^*. For Danby: E∗=M+esin⁡E∗≤M+eE^* = M + e\sin E^* \le M + e, and M+0.85e≥E∗M + 0.85e \ge E^* is equivalent to sin⁡E∗≤0.85\sin E^* \le 0.85, which fails only if E∗∈(1.016,2.125)E^*\in(1.016, 2.125); in that range a finer analysis (Danby 1988, §6.6) shows that the first Newton step already lands above the root. In practice it is enough for the first iteration to be stable.

  1. (Equation of the center) Derive the first two terms ν−M=2esin⁡M+54e2sin⁡2M+O(e3)\nu - M = 2e\sin M + \tfrac54e^2\sin2M + O(e^3). Hint: invert Kepler’s equation by iteration (E=M+esin⁡M+12e2sin⁡2M+…E = M + e\sin M + \tfrac12e^2\sin2M + \dots) and expand tan⁡(ν/2)\tan(\nu/2).
Show solution

Iterating E=M+esin⁡EE = M + e\sin E: E1=M+esin⁡ME_1 = M + e\sin M, E2=M+esin⁡(M+esin⁡M)=M+esin⁡M+e2sin⁡Mcos⁡M+O(e3)=M+esin⁡M+12e2sin⁡2ME_2 = M + e\sin(M + e\sin M) = M + e\sin M + e^2\sin M\cos M + O(e^3) = M + e\sin M + \tfrac12e^2\sin2M. From tan⁡(ν/2)=(1+e)/(1−e)tan⁡(E/2)=(1+e+12e2+… )tan⁡(E/2)\tan(\nu/2) = \sqrt{(1+e)/(1-e)}\tan(E/2) = (1 + e + \tfrac12e^2 + \dots)\tan(E/2) one obtains, expanding ν=E+δ\nu = E + \delta with δ\delta small, ν=E+esin⁡E+14e2sin⁡2E+O(e3)\nu = E + e\sin E + \tfrac14e^2\sin2E + O(e^3). Substituting EE: ν=M+2esin⁡M+12e2sin⁡2M+e2sin⁡Mcos⁡M+14e2sin⁡2M=M+2esin⁡M+54e2sin⁡2M\nu = M + 2e\sin M + \tfrac12e^2\sin2M + e^2\sin M\cos M + \tfrac14e^2\sin2M = M + 2e\sin M + \tfrac54e^2\sin2M.

  1. (Times) Compute the fraction of the period that elapses between periapsis and ν=90°\nu = 90° for e=0.0933e = 0.0933 (Mars), 0.50.5 and 0.90.9.
Show solution

ν=π/2⇔cos⁡E=e\nu = \pi/2 \Leftrightarrow \cos E = e, E1=arccos⁡eE_1 = \arccos e; fraction =(E1−esin⁡E1)/(2π)= (E_1 - e\sin E_1)/(2\pi): 0.22030.2203, 0.09780.0978, 0.00930.0093. With e=0.9e = 0.9 the body covers the first quadrant of true anomaly in less than 1 % of the period.

Self-assessment

✦ Self-assessment

  1. 1. The mean anomaly M = n(t − τ)…
  2. 2. Kepler's equation has a unique solution for 0 ≤ e less than 1 because…
  3. 3. The convergence of Newton–Raphson for Kepler's equation is quadratic with constant C = e/(2(1 − e)); this means that…
  4. 4. Danby's initial guess E₀ = M + 0.85 e sgn(sin M) is useful because…
  5. 5. For hyperbolic orbits, Kepler's equation is written…
  6. 6. The conditioning ∂E/∂M = 1/(1 − e cos E) indicates that…
Answer all the questions to check.

Further reading

  • Murray & Dermott (1999), §2.4–2.5: derivation of Kepler’s equation and the series in ee (equation of the center).
  • Danby (1988), §6.6–6.7: Danby’s initial guess, higher-order methods (Halley, Danby–Burkardt) and the hyperbolic case.
  • Curtis (2020), ch. 3: algorithms 3.1–3.3 and universal variables, with worked numerical examples.
  • Vallado (2013), §2.2: algorithms 2–4 and discussion of convergence and initial guesses.
  • Colwell (1993), Solving Kepler’s Equation over Three Centuries: complete history of the methods, from Kepler to the computer era.
  • Markley (1995), DOI 10.1007/BF00691917: non-iterative solver with error of 10−1510^{-15}.
🍎 Teacher guide
Time
2 classes of 90 min
Learning outcome
By the end, the student derives Kepler's equation from the geometry of the ellipse and the law of areas, implements Newton–Raphson with Danby's initial guess, proves quadratic convergence with an explicit bound, relates the three anomalies and analyzes the conditioning of the problem for e → 1.
Evidence of learning
Submission of computational problem 2 (iteration table, plot of the successive E_k for both initial guesses and location of the worst M) and of proof 1 or 4.

Materials

  • Python 3 with NumPy and Matplotlib or a spreadsheet
  • Drawing of the ellipse with its auxiliary circle to define E
  • Elements of Mars at J2000 from JPL Horizons for the verification
  • Simulator "Keplerian orbit"

Suggested sequence

Class 1. Auxiliary circle and definition of EE on the board; derivation of Kepler’s equation via hh (30 min). Newton–Raphson: uniqueness, quadratic convergence with bound, convexity and monotonicity (35 min). Live experiment with e=0.99e = 0.99, M=0.01M = 0.01 and the two initial guesses (25 min).

Class 2. The three anomalies, atan2 formula and equation of the center; verification with Mars (30 min). Hyperbolic and parabolic cases, the idea of universal variables (25 min). Conditioning, stopping criterion and cost; start of computational problem 2 (35 min).

Common mistakes

  • Confusing the three anomalies or believing that M is a real geometric angle: insist that M is scaled time.
  • Stopping the iteration on small |f(E)| instead of |ΔE|: show the case e = 0.99 where the residual underestimates the error by a factor of 100.
  • Attributing the slowness as e → 1 to the method: the constant C = e/(2(1−e)) and the conditioning 1/(1 − e cos E) belong to the problem.
  • Using arccos to obtain ν and losing the quadrant: always use the half-angle atan2 formula.
Key terms in this lesson (10)

Glossary terms that appear in the text. Each one links to its full entry.

  • Kepler's equation The equation that says where on its ellipse a planet is on a given date. It cannot be solved with algebra: it has to be solved by successive approximations, as astronomy programs do.
  • Orbit The path one body follows around another because of gravity: the Moon around Earth, Earth around the Sun. Almost all are ellipses, slightly flattened ovals.
  • Perihelion The point of the orbit closest to the Sun; there the planet moves fastest. Earth passes through it in early January. For the Moon around Earth it is called perigee.
  • Two-body problem Working out how two bodies move when they attract only each other, like the Sun and a planet. It has an exact solution: Kepler's ellipses. With three bodies there is no longer a closed formula.
  • Horizon The line where the sky seems to touch the land or the sea. A celestial object "rises" when it crosses the horizon going up and "sets" when it crosses it going down.
  • Aphelion The point of the orbit farthest from the Sun; there the planet moves slowest. For the Moon around Earth it is called apogee.
  • Differential equation An equation that does not say where something is, but how it changes: "the acceleration of Earth points toward the Sun and has this value". Solving it step by step is what an orbit simulator does.
  • Ellipse A "stretched" circle. You can draw one with a string tied to two nails (the foci): the sum of the distances to the two nails is always the same. The planets travel along ellipses with the Sun at one focus.
  • Kepler's laws Three rules about how the planets move: (1) they follow ellipses with the Sun at one focus, (2) they move faster when they are closer to the Sun and (3) distant planets take much longer to go around.
  • Semi-major axis Half the length of the ellipse: the planet's "average" distance from the Sun. It is the number that rules Kepler's third law: the larger it is, the slower the planet.

See the whole glossary →

References

  • Murray, C. D. & Dermott, S. F. (1999). Solar System Dynamics. Cambridge University Press, §2.4–2.5.
  • Danby, J. M. A. (1988). Fundamentals of Celestial Mechanics, 2nd ed. Willmann-Bell, §6.6–6.7.
  • Curtis, H. D. (2020). Orbital Mechanics for Engineering Students, 4th ed. Butterworth-Heinemann, ch. 3 (§3.4–3.7, algorithms 3.1–3.3).
  • Vallado, D. A. (2013). Fundamentals of Astrodynamics and Applications, 4th ed. Microcosm Press, §2.2 (algorithms 2–4).
  • Colwell, P. (1993). Solving Kepler's Equation over Three Centuries. Willmann-Bell.
  • Markley, F. L. (1995). Kepler equation solver. Celestial Mechanics and Dynamical Astronomy 63, 101–111. DOI 10.1007/BF00691917
  • JPL Horizons, osculating elements of Mars (Sun center, ecliptic J2000, JD 2451545.0 TDB): MA = 19.35648275°, TA = 23.33319664°, EC = 0.0933151015; queried 2026-10-29.

Simulators for this lesson: Keplerian orbit