Numerical Methods / Approximation and error
Root Finding
Bisection always works but slowly; Newton’s method is blazingly fast but can fail. Know both and when to switch.
Contents 2 sections
By the end you can
- Run the bisection method
- Apply Newton’s method and the secant method
- Compare orders of convergence
Helps to know: Floating-Point Arithmetic and Error, Newton's Method
§1Three methods
| Method | Needs | Convergence |
|---|---|---|
| Bisection | A sign change | Linear: one bit per step |
| Secant | Two starting points | Order |
| Newton | and a good start | Quadratic: digits double |
Example 1Newton’s method for
Solve from .
- .
Check yourself
- Q1Starting with an interval of length 1, how many bisection steps guarantee an error below ?