MTH3051 Introduction to Computational Mathematics - User Web ...
MTH3051 Introduction to Computational Mathematics - User Web ...
MTH3051 Introduction to Computational Mathematics - User Web ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
School of Mathematical Sciences<br />
Monash University<br />
Yes, this is correct, it does converge in one iteration. But do not think that all functions<br />
with a double root will converge so quickly. Here is another example, based on f(x) =<br />
x 3 − 3x + 2 which has a double root at x = 1.<br />
New<strong>to</strong>n-Raphson iterations x n+1 = x n − 2f n /f ′ n, f(x) = x 3 − 3x + 2<br />
Iteration n Old guess x n New guess x n+1 (x n+1 − 1) 2 ɛ n+1 /ɛ 2 n<br />
0 1.200000000000 1.280e-01<br />
1 1.200000000000 1.006060606061 1.104e-04 1.515e-01<br />
2 1.006060606061 1.000006103329 1.118e-10 1.662e-01<br />
3 1.000006103329 1.000000000004 -2.220e-16 9.683e-02<br />
Example 4.5<br />
Repeat the above calculations for 7 iterations. What do you notice? Can you explain<br />
this?<br />
Example 4.6<br />
Can you write out a formula for ɛ n as a function of n for the double root (easy) and for<br />
the simple root (not so easy – hint, use the above tables and write out successive ɛ n ’s<br />
and express each in terms of ɛ 1 ).<br />
Example 4.7<br />
For multiple roots we could apply the New<strong>to</strong>n-Raphson method <strong>to</strong> the function g(x) =<br />
f m−1 (x), i.e the (m − 1) st derivative of f(x). What do you think would be the pros and<br />
cons of this approach? (Hint – two words : efficiency, round-off).<br />
4.3.3 Cycling<br />
If we are unlucky we will find that the New<strong>to</strong>n-Raphson may cycle, just as we saw with<br />
the fixed point algorithm.<br />
16-Feb-2014 50