3.2.15 · D4Orbital Mechanics & Astrodynamics

Exercises — Solving Kepler's equation — Newton-Raphson iteration

2,968 words13 min readBack to topic

Before the cast, three quantities the formulas below lean on:

The three characters you will use over and over:

The Newton-Raphson recipe we hammer throughout:

The picture below shows what one Newton step actually does — we will build to it in Level 2, so glance at it now and return after Exercise 2.2:

Figure — Solving Kepler's equation — Newton-Raphson iteration
The blue curve is the root function ; the red dot is our starting guess (seed); the dashed green line is the tangent whose slope is . Newton slides down that tangent to where it crosses zero (green square), landing much closer to the true root (yellow dot).


Level 1 — Recognition

Exercise 1.1

State, in words, what each symbol means and give its units: , , , , , , .

Recall Solution
  • mean anomaly: a fictitious angle that grows uniformly with time. Units: radians.
  • eccentric anomaly: the geometric angle at the centre of the ellipse to the point on the auxiliary circle above the body. Units: radians.
  • eccentricity: dimensionless shape number, for an ellipse.
  • mean motion: average angular rate, . Units: rad/s.
  • semi-major axis: half the long diameter of the ellipse. Units: metres (or any length).
  • time of perihelion passage: the clock reading when the body is closest to the focus. Units: seconds.
  • gravitational parameter : strength of gravity of the central body. Units: .

Exercise 1.2

Which of these is Kepler's equation? (a) (b) (c) .

Recall Solution

(b) . Option (a) has the roles of and swapped and uses — that is actually the first-order seed, not the exact equation. Option (c) uses ; the shows up in the derivative , not in Kepler's equation itself.

Exercise 1.3

Given the root function , write its derivative .

Recall Solution

Differentiate term by term with constant: Since , we have everywhere — is strictly increasing, so the root is unique.


Level 2 — Application

Exercise 2.1

For rad, , compute the first-order seed .

Recall Solution

. The seed pre-corrects for the shift, so it starts us near the answer.

Exercise 2.2

Do ONE Newton-Raphson step from for , . (Match your work to the figure at the top of the page.)

Recall Solution

told us the guess was too small, so Newton pushed up — exactly the "slide down the tangent to zero" the top figure shows. This matches Worked Example 1 in the parent note.

Exercise 2.3

Given rad, , AU, find the distance from the focus.

Recall Solution

Since , the body is on the near half of the orbit — consistent with .


Level 3 — Analysis

Exercise 3.1

For rad, , do the first Newton step from the seed and explain why the step is so large in terms of .

Recall Solution

Seed: , so . Newton's step size is . Here a small denominator. Then Because is close to , dips near zero — the curve is nearly flat there, so a tiny vertical error maps to a big horizontal correction. This is exactly why high- orbits are numerically harder: the corrections are "violent," and the iteration takes many steps to settle. See the flat region in the figure.

Figure — Solving Kepler's equation — Newton-Raphson iteration

Exercise 3.2

Show algebraically that gives perihelion distance and aphelion distance , and identify which value of produces each.

Recall Solution

ranges over .

  • Perihelion (closest): minimum when is maximum, i.e. . Then . ✓
  • Aphelion (farthest): maximum when . Then . ✓

Between them varies smoothly, matching the ellipse's near/far geometry.

Exercise 3.3

Kepler's equation can also be solved by fixed-point iteration . State the condition on for this simpler scheme to converge, discuss where the iterate must start, and say why Newton is preferred for large .

Recall Solution

The fixed-point map is , with . The Banach/contraction test says the iteration converges if the map is a contraction on the interval we iterate in, i.e. there. Since for every , the bound holds on the whole real line, not just locally — so is a global contraction whenever . That is stronger than a purely local result: any starting guess maps into a bounded region and the iterates form a Cauchy sequence converging to the unique fixed point.

  • Region of convergence: because the contraction bound is uniform, any works for ; a natural and safe choice is (or ).
  • Rate: the error shrinks by roughly the factor each step. For it barely shrinks (multiply by each time → very slow).

Newton-Raphson instead converges quadratically (error squares each step) near the root, so it beats fixed-point badly once is large — at the cost of needing and a decent seed. See Fixed-Point Iteration for Kepler.


Level 4 — Synthesis

Exercise 4.1

A satellite has km, , . Find the mean motion and the orbital period .

Recall Solution

A sensible low-Earth-orbit period. See Mean Motion and Orbital Period.

Exercise 4.2

For that same satellite, s. Find , then solve for (two Newton steps from ), then find the distance . Use rad/s, , km.

Recall Solution

Step 1 — mean anomaly: Step 2 — seed: , so Newton step 1: Newton step 2: already machine-tiny, so rad. Step 3 — distance:

Exercise 4.3

Using rad and from Ex 4.2, find the true anomaly (the actual focus-measured angle defined in the symbol list above).

Recall Solution

, and , so Note : the body has run ahead of both the geometric and the uniform angle, because it is on the fast (near-focus) part of the orbit. Since is in the first half-plane , is too, so the plain is safe here — see True Anomaly and the Orbit Equation.


Level 5 — Mastery

Exercise 5.1

Prove that for Kepler's equation has exactly one solution , and that Newton-Raphson started from any point in the physical range cannot get stuck (its denominator never vanishes).

Recall Solution

Fix a target and work on the physical interval (all other cases reduce to this by adding a whole number of to both and , since has period ).

Existence and uniqueness. Define , continuous on . Its derivative is , and because with , So is strictly increasing on . Check the two endpoints: using . A continuous, strictly increasing function that is at the left end and at the right end crosses zero exactly once on — this is the Intermediate Value Theorem applied inside the physical domain, and strict monotonicity forbids a second crossing. Hence a unique .

Newton is never stuck. Newton's update divides by . Because and , we always have , so the denominator is bounded strictly away from zero and can never vanish — the update is well-defined for any starting . Since is monotone with no stationary points, the iterates cannot become trapped, and Newton-Raphson is guaranteed to home in on the single root. This completes the proof. See Newton-Raphson Method.

Exercise 5.2

A comet has (Halley-like). At rad, perform Newton-Raphson from until . Report the number of steps and final . Comment on the speed compared with the case.

Recall Solution

Seed: , .

0 0.39211
1
2
3
4
5

Answer: about 5–6 steps, rad (a sixth step polishes below ). The very small at the seed threw the first step wildly past the root to , then it clawed back over the next steps. Contrast in Ex 2.2, which was essentially converged in 2 steps. High eccentricity = flat near the root = slow, dramatic convergence, exactly as predicted at L3.

Exercise 5.3

Sketch the full time-to-position pipeline as a flow of quantities and name the tool used at each arrow.

Recall Solution

M = n times t minus tp

Newton-Raphson on Kepler eqn

half-angle tan formula

r = a times one minus e cos E

time t

mean anomaly M

eccentric anomaly E

true anomaly nu

radius r

position on orbit

  • : trivial multiply by mean motion (linear, instant).
  • : the hard step — transcendental, needs iteration (Newton-Raphson).
  • : half-angle tangent identity, watch the quadrant.
  • : direct plug-in .

Recall One-line self-test before you leave

The single genuinely hard arrow in the whole pipeline is which one, and which method conquers it? The arrow (solving ) ::: it is transcendental, so we use Newton-Raphson: .