Title: A few words about convergence
1A few words about convergence We have been
looking at ea as our measure of convergence A
more technical means of differentiating the speed
of convergence looks at asymptotic convergence
2Definition Rate of convergence if
we say that the method converges to x-true with
order pgt0. Higher p is faster convergence. p1 is
linear p2 is quadratic
3Lambda is asymptotic error constant Bisection
p1 Regula falsi p1.4 to 1.6
4Another open method is fixed point iteration
Idea rewrite original equation f(x)0 into form
xg(x). Use iteration xi1g(xi) to find a value
that reaches convergence Example
5For our Mannings equation problem
becomes
6Fortran program performing fixed-point iteration
for Mannings eq. example
7(No Transcript)
8Fixed point iteration doesnt always
work. Basically, if g(x) is lt1 near the
intersection with the x line, it will work. (See
your book for derivation).
Example where it doesnt work
9(No Transcript)
10King of the root-finding methods Newton-Raphson
method
Based on Taylor series expansion
11Truncate to get
At the root, f(xi1)0, so
and
12Note that an evaluation of the derivative is
required. You may have to do this
numerically. However, can converge very quickly.
13Example using our Mannings equation problem
The derivative of this w.r.t h is
14Spreadsheet example
15Error analysis and convergence of
Newton-Raphson The error of the Newton-Raphson
method can be estimated from
Because the error at time i1 is proportional to
the square of the previous error, the number of
correct decimal places doubles each iteration
16Although Newton-Raphson converges very rapidly,
it can diverge, and fail to find roots. 1) if an
inflection point is near the root 2) if there is
a local minimum or maximum 3) if there are
multiple roots 4) if a zero slope is reached
17Secant method continued
There is an alternate secant method that uses a
perturbation method to approximate derivative.
Start with
18Now plug this approximation for the derivative
into the Taylor series approximation used in
Newton-Raphson
becomes
19No derivative evaluation - like the secant
method Only one initial guess is needed - like
Newton-Raphson method
Matlab example