
A bracket can collapse onto a pole
Compare a continuous zero crossing with a discontinuous sign reversal at exactly the same location. Keep a separate record of spatial width and measured residual on every iteration.
Open editable notebook · Download .ipynb · Chapter 1 · Existence, brackets and error certificates

Newton's method for an unknown covariance square root
A pair of independent unit-variance signals must be transformed to a prescribed covariance ellipse. One can solve a scalar square-root equation along each principal axis. A calibration that starts in a different frame exposes the genuinely matrix-valued derivative. Derive it, solve for its correction, and determine which residual will detect a wrong update.

Where does a complex Newton step take its starting point?
A single cubic has three equally simple roots. Derive the iteration, colour starting values by destination and use a separate convergence history to distinguish a bad first step from slow local convergence.
Open editable notebook · Download .ipynb · Nonlinear systems and iterative methods
Fundamentals / Numerical mathematics / Nonlinear equations
Nonlinear equations · Computational notebooks
Change an input, run the Python cells and compare the result with the derivation. You can also download each notebook for Jupyter.