Nonlinear equations: the problem and iterative methods
What solving means, why iterative methods are used, how they are classified (memory, points, derivatives) and which criteria stop the iteration.
The problem
Many problems in science and engineering end in a nonlinear equation: finding a simple root of
There are three routes. The analytic one only works for specific families of equations. The graphical one (plot and look where it crosses the axis) locates the root but gives no precision: for one sees the root is near , and nothing more. The third route is iterative methods, which from one or several initial estimates generate a sequence converging to to any desired accuracy.
Most memoryless methods are written as a fixed-point iteration . The central example is the Newton-Raphson method, with .
Classification of iterative methods
- Without memory / with memory: the former use only the current iterate, ; the latter also use previous iterates, , and need several initial estimates. The secant is the classic method with memory.
- One-point / multipoint: multipoint methods evaluate the function at intermediate points within the same iteration (predictor-corrector structure), like Traub's method or the high-order methods.
- With derivatives / derivative-free: when is unknown or expensive, it is replaced by divided differences, as the secant and Steffensen methods do.
Stopping criteria and tolerance
An iterative method needs to know when to stop. The usual conditions, alone or combined, are:
- The last two iterates are very close: .
- The residual is very small: .
- A maximum number of iterations has been reached without converging (protects against infinite loops when the method diverges).
The value is the tolerance. With double-precision arithmetic it makes no sense to request tolerances below machine precision; convergence studies with extreme tolerances (like in the comparison exercise) use extended-precision arithmetic.