Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

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.

3 min read · 1 sections · 1 checks

Contents 2 sections
  1. §1Three methods
  2. ?Check yourself

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

MethodNeedsConvergence
BisectionA sign changeLinear: one bit per step
SecantTwo starting pointsOrder ≈1.618\approx 1.618
Newtonf′f' and a good startQuadratic: digits double

Example 1Newton’s method for 2\sqrt2

Solve x2−2=0x^2 - 2 = 0 from x0=1x_0 = 1.

  1. xn+1=12(xn+2xn)x_{n+1} = \tfrac12\left(x_n + \tfrac{2}{x_n}\right).

Check yourself

  1. Q1
    Starting with an interval of length 1, how many bisection steps guarantee an error below 10−310^{-3}?