Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Higher or lower?
In the game “guess my number between 1 and 100”, the smart strategy is to guess 50, then 25 or 75, halving the range each time. That’s bisection, and it always works. If you also know which way and how steeply the answer changes, you can jump much closer each time. That’s Newton’s method: blindingly fast when you start nearby, but liable to fly off if you start in the wrong place.
Every orbit propagator solves Kepler’s equation; every implicit integrator solves a nonlinear system each step; inverse kinematics and trajectory shooting are root-finding problems. Robustness matters: a solver that diverges on board can’t be restarted by hand.
- 1. Bisection on [0, 1] after 10 steps narrows the root to an interval of length…
- 2. Newton's method uses…
- 3. Which method is guaranteed to converge given a sign change?
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Bisection
If is continuous and , a root lies in . Halve the interval, keeping the half with the sign change. After steps the error is at most . For tolerance you need steps.
Newton–Raphson
Linearize at and solve the linear model:
Secant
Replace by the slope through the last two iterates:
- 1. Bisection steps to shrink [0, 1] below 10⁻⁶:
- 2. One Newton step for x² − 2 from x = 1 gives…
- 3. The secant method needs…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.Orders of convergence
With error , convergence has order if .
| Method | Order | Cost per step | Guarantee |
|---|---|---|---|
| Bisection | 1 (C = ½) | 1 f | yes, with a bracket |
| Secant | 1.618 | 1 f | local only |
| Newton | 2 | f and f′ | local only |
Measure the order from data with .
Failure modes and safeguards
Newton can diverge (e.g. from ), cycle, or stall where . At a root of multiplicity it slows to linear convergence. Safeguarded Newton keeps a bracket and falls back to bisection whenever the Newton step leaves it. Brent’s method (1973) combines bisection, secant and inverse quadratic interpolation; it’s the default in SciPy (brentq).
- 1. The secant method's order is…
- 2. At a double root, Newton converges…
- 3. Brent's method combines…
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Quadratic convergence of Newton
Taylor-expand about : . Divide by and use the Newton update:
So if and is close enough, . ∎
Secant order
A similar expansion gives . Trying gives , so . ∎
Efficiency
Per function evaluation, the secant method’s efficiency index beats Newton’s when costs as much as .
Exercise 3.1: Newton for √a
With , the update is . That’s Heron’s method; from , : 1.5, 1.41667, 1.4142157, …
- 1. Newton's error recursion is e_(k+1) ≈
- 2. The secant order solves…
- 3. Newton for √2 from x₀ = 1, second iterate:
Level 4: Expert
★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.Kepler’s equation for eccentric orbits
To propagate an elliptical orbit, solve for the eccentric anomaly at each time. Newton’s update is . For near-circular orbits, works in 3 iterations. For a highly eccentric orbit (e = 0.99, as for comets, Molniya-like or high-apogee transfer orbits), sometimes lands where and Newton diverges. Starting from (Danby, 1987; Charles and Tatum, 1998) converges for every M in at most 9 iterations.
Root finding in AI, robotics and aerospace
- Orbit mechanics: Kepler and Lambert solvers (Izzo, 2015) are the core of mission design and onboard propagators.
- Implicit integration and constrained dynamics: Newton iterations inside implicit Runge–Kutta, BDF and contact solvers (a8-9).
- Inverse kinematics: Newton or Gauss–Newton on the pose error with Jacobians from a8-4 and a8-5.
- Optimization: Newton’s method for optimization is root finding on (A6). Line searches use bracketing.
References
- R. Brent (1973). Algorithms for Minimization without Derivatives. Prentice Hall.
- J. Nocedal, S. Wright (2006). Numerical Optimization, 2nd ed. Springer. Ch. 11.
- R. Burden, J. Faires (2010). Numerical Analysis, 9th ed. Brooks/Cole. Ch. 2.
- J. M. A. Danby (1987). “The solution of Kepler’s equation, III.” Celestial Mechanics, 40.
- E. Charles, J. Tatum (1998). “The convergence of Newton–Raphson iteration with Kepler’s equation.” Celestial Mechanics and Dynamical Astronomy, 69.
- D. Izzo (2015). “Revisiting Lambert’s problem.” Celestial Mechanics and Dynamical Astronomy, 121.
- D. Vallado (2013). Fundamentals of Astrodynamics and Applications, 4th ed. Microcosm Press.
- T. Ypma (1995). “Historical development of the Newton–Raphson method.” SIAM Review, 37(4).