MATH 417 Lecture 4

From Notes
Jump to navigation Jump to search

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


Error Estimation

Ideally, we have errn=|pnp|0 as n. However

With bisection, we have errn+1errn12

With fixed point iteration, we have |pn+1p|=|g(pn)g(p)|=|g(ξ)||pnp|, so |pn+1ppnp|=|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+1p||pnp|α=λ>0, then the convergence order of pnp is α.

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


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

en=|pnp|=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)=x322x14o

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

pn+1=pnpn322pn143pn222

To analyze, we find g(x)=blah(3x222)2, but more importantly, g(p)=0!

If we compute g(x)=blah(3x222)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)+(xp)g(p)+(xp)2g(ξn)2!

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

Solving for pn+1p yields

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

Hence |pn+1p||pnp|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=pnf(pn)f(pn) converges to p=pf(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.