Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions 02_newton.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ Rooting Finding

Iterative techniques for solving $f(x) = 0$ for $x$.

*Bisection*: start with an interval $[a, b]$ bracketing the root.
Evaluate the midpoint. Replace one end, maintaining a root bracket.
*Bisection*: start with an interval $[a, b]$ bracketing the root such that $f(a)f(b)<0$
From the Intermediate Value Theorem, there must be at least one root in $[a, b]$.
Let $x_1=\frac{a+b}{2}$. Replace one of the endpoints (a or b) with $x_1$,maintaing a root bracket.
Repeat this until it satisfies some error tolerance.
Linear convergence. Slow but **robust**.

*Newton's Method*: $x_{k+1} = x_k - f(x_k) / f'(x_k)$. Faster,
Expand Down