Worked examples — Solving Kepler's equation — Newton-Raphson iteration
This page is a stress-test gallery. The parent note built the machinery: Kepler's equation , the Newton–Raphson update, and the seeds. Here we throw every kind of input at it — small and large eccentricity, in every part of the circle, the degenerate circular orbit, the near-parabolic limit, a real satellite, and an exam trap.
If any symbol here feels unfamiliar, everything is defined in the parent and in Eccentric Anomaly and the Auxiliary Circle, Mean Motion and Orbital Period, and Newton-Raphson Method.
The figure below shows this: the teal curve crosses zero exactly once (orange dot), and the plum dashed line is Newton's tangent at a guess — follow it down to the axis to read off the next, better guess.

Recall The one-line update we will reuse every time
Newton step for Kepler ::: Why the denominator can never be zero ::: because for When do we stop iterating? ::: when the residual
The scenario matrix
Every Kepler solve falls into one of these cells. The examples below are labelled with the cell they cover.
| Cell | What makes it special | Why it can bite you | Example |
|---|---|---|---|
| A low , in quadrant I () | the "easy" baseline | none — sanity anchor | Ex 1 |
| B moderate , in quadrant II () | body near aphelion | seed can undershoot | Ex 2 |
| C in quadrant III/IV () | body on the return half | sign of , keep in | Ex 3 |
| D (circle) | degenerate | Kepler collapses to | Ex 4 |
| E (near-parabolic) | tiny , violent steps | slow / overshoot; seed matters | Ex 5 |
| F or (apsides) | exactly | correction vanishes, | Ex 6 |
| G negative / wrapped | time before perihelion | must reduce modulo | Ex 7 |
| H real-world word problem | units, , chain | radians vs seconds bookkeeping | Ex 8 |
| I exam twist (find , too) | quadrant of | naive wrong half-plane | Ex 9 |
Ex 1 — Cell A: low , quadrant I (the anchor)
Forecast: with tiny the correction is small, so should sit just above . Guess .
- Seed. . Why this step? The seed pre-adds the correction so we start almost on the root — low means this seed is nearly the answer already.
- Iteration 1. . . . Why this step? means the guess was slightly too small, so Newton nudges up.
- Iteration 2 (tolerance check). — stop.
Answer: rad.
Verify: plug back: . ✓ And as forecast (body slightly ahead of the uniform clock-hand).
Ex 2 — Cell B: moderate , quadrant II
Forecast: near aphelion the body has slowed, so the geometric angle should now lag less strongly — but still on this outbound half? Let's see; guess .
- Seed. . Why this step? Same pre-correction seed; is still positive (quadrant II), so we push up.
- Iteration 1. . . . Why this step? : guess was too big, Newton pulls back down.
- Iteration 2 (tolerance check). . . . Now — stop.
Answer: rad.
Verify: . ✓
Ex 3 — Cell C: past (the return half)
Forecast: on the return half the correction flips sign, so this time should be less than . Guess .
The figure contrasts the two halves: on the teal (outbound) point so the correction pushes above ; on the plum (inbound) point so it pulls below . This example lives on the plum side.

- Seed. , so . Why this step? The negative automatically drags the seed below — no special-casing needed, the formula handles the quadrant.
- Iteration 1. . . . Why this step? → guess too small → step up.
- Iteration 2. . . . Why this step? still exceeds , so one more step is warranted; it brings the residual under tolerance (see Verify).
Answer: rad.
Verify: (one more Newton step nails it to machine precision). ✓ And as forecast — the inbound correction is opposite in sign to the outbound one.
Ex 4 — Cell D: the circle, (degenerate)
Forecast: a circle has its focus at the centre, so there is no "speed up / slow down". The clock-hand and the body coincide. Guess exactly.
- Kepler collapses. With : . There is nothing to iterate. Why this step? The whole difficulty was the term; set and it vanishes, leaving a trivially solvable linear equation.
- Read off. rad. (The residual is exactly , so the tolerance is met immediately.)
Answer: rad.
Verify: . ✓ Newton would also give this in one step since is already linear ().
Ex 5 — Cell E: near-parabolic,
Forecast: near the derivative can shrink toward near perihelion, so Newton takes large first steps and converges slowly. Expect several iterations. Guess –.
The figure shows why: for the curve flattens into a shelf near perihelion (small slope), so Newton — which divides by that slope — leaps violently before settling. Compare the steep low- curve where each step is gentle.

- Seed. . Why this step? Standard seed. It will under-shoot badly here because the true is far from when is huge.
- Iter 1. . . . Why the huge jump? The denominator is tiny near perihelion — dividing by a small slope launches Newton far. This is the "violence" of high .
- Iter 2. . . . Why this step? now — the big jump overshot the root, so Newton reverses and steps back down. Overshoot-then-return is the signature of a flat-shelf function.
- Iter 3. . . . Why this step? Still (guess too big), so we keep descending; the slope has grown, so this step is smaller and more controlled than the wild first one.
- Iter 4. . . . Why this step? is shrinking toward zero and still positive, so Newton eases down a little more — we are now closing in.
- Iter 5. . . . Still .
- Iter 6 (tolerance met). — stop. The value has converged to rad. Why keep going through six steps? Because high genuinely slows convergence — each early step corrected only part of the error.
Answer: rad.
Verify: . ✓ The residual is within tolerance, and the six iterations confirm high is genuinely harder.
Ex 6 — Cell F: perihelion, (and aphelion )
Forecast: at the apsides the body sits exactly on the major axis, where the "correction triangle" has zero height — so should equal with no iteration.
- (a) . Kepler: . Try : . ✓ Residual is exactly . Root is . Why this step? kills the correction; exactly at perihelion.
- (b) . Try : . ✓ Residual is exactly . Root is . Why this step? too — aphelion is the other place the correction vanishes.
Answers: (a) ; (b) .
Verify: (a) ✓. (b) ✓. These are the only two exact fixed points of for any — the endpoints of the major axis.
Ex 7 — Cell G: wrapped / negative
Forecast: negative just means "before perihelion" = "on the inbound approach". Reduce it to the standard range first: . Since , expect (inbound half, like Ex 3).
- Reduce . rad. Why this step? Newton needs in so that the returned is the physically-standard angle in the same revolution. Skipping this gives a valid-but-shifted .
- Seed. , so .
- Iter 1. . . .
- Iter 2 (tolerance check). — stop. .
Answer: rad (equivalently rad "before perihelion").
Verify: (rounding). ✓ And , matching the inbound-half rule.
Ex 8 — Cell H: real-world satellite (units chain)
Forecast: first find the mean motion , then , then solve Kepler. Since is a modest fraction of the period, should be well under .
- Mean motion. , so . Then rad/s. Why this step? grows linearly at rate ; we can't get without it. Note is , not — cube the full , don't drop a factor. See Mean Motion and Orbital Period.
- Mean anomaly. rad. Why this step? Convert elapsed time into the uniformly-flowing angle. This is a fair chunk of the orbit — 30 min against a period s h.
- Solve Kepler (). Seed . Why this seed? Same pre-correction seed as everywhere; moderate means it lands close.
- Iter 1. . . . Why this step? → guess too small → step up.
- Iter 2 (tolerance check). — stop. .
Answer: rad ().
Verify: . ✓ Units: in rad/s s rad, everything dimensionally clean.
Ex 9 — Cell I: exam twist, find and (quadrant trap)
Forecast: is in quadrant II (between and ), and always lives in the same half-plane as . So should also be in quadrant II, a little larger than . See True Anomaly and the Orbit Equation.
- Half-angle formula. . ; . Product . Why this step? The half-angle form avoids the sign ambiguity of — because and both sit in for , their tangents are cleanly positive.
- Recover . , so rad. Why this step? Because we take the principal ; stays in the first quadrant, no atan2 gymnastics needed. If we would add to keep in the same revolution.
- Radius. km. Why this step? turns the geometric angle straight into distance — no need to go through .
Answers: rad (), km.
Verify (three ways):
- Quadrant: rad is in quadrant II, same half-plane as , and — matches forecast. ✓
- Radius bounds: must lie in km; km sits inside, near the aphelion side. ✓
- Cross-check via : km — agrees to rounding. ✓
Recall Matrix self-test
Which cell has at the solution? ::: Cell F (apsides or ) — the correction term vanishes and exactly Why does Cell E (high ) need many iterations? ::: shrinks near perihelion, so Newton takes violent, overshooting steps before settling What must you do to a wrapped/negative before iterating (Cell G)? ::: reduce it modulo into On the inbound half (, Cell C), is bigger or smaller than ? ::: smaller — flips the correction sign Which formula avoids the quadrant trap (Cell I)? ::: the half-angle When do we stop iterating on any example? ::: when the residual