Error Analysis for Root Finding
University of Massachusetts Amherst
Condition Number for Roots¶
The condition number measures how sensitive the root x∗ is to perturbations in the function f.
Multiple Roots: A Warning¶
Examples¶
Forward and Backward Error¶
The forward/backward error framework from earlier applies naturally to root finding.
Forward Error¶
The forward error is what we ultimately care about, but it’s hard to compute directly (we don’t know x∗!).
Backward Error¶
The backward error is easy to compute: just evaluate f(x^).
The Connection¶
Practical Implications¶
Convergence Rates¶
Different root-finding methods converge at different rates. Understanding these rates helps us choose the right method.
Linear Convergence¶
Examples of linear convergence:
Quadratic Convergence¶
Examples of quadratic convergence:
Superlinear Convergence¶
Examples of superlinear convergence:
General Order of Convergence¶
Comparison¶
| Method | Convergence | Rate | Iterations for 10 digits |
|---|
| Bisection | Linear | L=0.5 | ~34 |
| Fixed-point (typical) | Linear | L=0.9 | ~220 |
| Newton’s method | Quadratic | doubles digits | ~4-5 |
Summary¶
| Concept | Formula | Interpretation |
|---|
| Condition number | κ=1/∣f′(x∗)∣ | Sensitivity of root to perturbations |
| Forward error | ∣x^−x∗∣ | Distance from true root |
| Backward error | ∣f(x^)∣ | Residual |
| Error relationship | Forward ≈κ× Backward | Why both stopping criteria matter |
| Linear convergence | en+1≤L⋅en | Constant factor reduction |
| Superlinear convergence | en+1/en→0 | Ratio improves each step |
| Quadratic convergence | en+1≤C⋅en2 | Digits double each step |
| Order p convergence | en+1∼C⋅enp | General framework |