MATH 417 Lecture 4

From Notes
Jump to navigation Jump to search

« previous | Thursday, January 23, 2014 | next »


Error Estimation

Ideally, we have errn=|pn−p|→0 as n→∞. However

With bisection, we have errn+1errn→12

With fixed point iteration, we have |pn+1−p|=|g(pn)−g(p)|=|g′(ξ)||pn−p|, so |pn+1−ppn−p|=|g′(ξ)|→g′(p)


In both cases, the error ratio is greater than 0. It would be very nice if it converges to 0.


Definition

If limn→∞|pn+1−p||pn−p|α=λ>0, then the convergence order of pn→p is α.

  • 12n is 1st-order
  • 122n is 2nd-order
  • 1222n is 3nd-order


For example, the following is an order-2 sequence:

en=|pn−p|=122n

If e0=1, then e1=14, e2=116, e5=1232, e10=121024

Hence α=2 and by the definition above, λ=1.

Newton's method is one such order-2 sequence.


Analysis of Quiz Problem

f(x)=x3−22x−14o

Using Newton's method, g(x)=x−f(x)f′(x), so

pn+1=pn−pn3−22pn−143pn2−22

To analyze, we find g′(x)=blah(3x2−22)2, but more importantly, g′(p)=0!

If we compute g″(x)=blah(3x2−22)3, we find g″(x) is bounded above by some M and bounded below by 0 because the function is concave-up.

Taylor series expansion of g(x) centered at p:

g(x)=g(p)+(x−p)g′(p)+(x−p)2g″(ξn)2!

If we take x=pn, we find ξn is between pn and p

Solving for pn+1−p yields

pn+1−p=0+(pn−p)2g″(ξn)2

Hence |pn+1−p||pn−p|2=12|g″(ξn)|


Analysis of Newton's Method

So far we have assumed that f′(p)≠0

If f is smooth, then Newton's method is 2nd order convergent (if it works)


If f′(p)=0, then pn+1=pn−f(pn)f′(pn) converges to p=p−f(p)f′(p), which seems impossible because we would be dividing by zero, but in practice we never reach this point computationally.

In this case, Newton's method becomes a 1st-order convergent method.