Processing math: 100%
SOLUTION 5: We want to solve the equation f(x)=0 for the function
f(x)={√x, if x≥0−√−x, if x<0
It's graph is given here.
The derivative of f is
f′(x)=12x−1/2=12√x if x>0
and
f′(x)=12(−x)−1/2(−1)=−12√−x if x<0
Now use Newton's Method. If xn>0 then
xn+1=xn−f(xn)f′(xn) ⟶
xn+1=xn−√xn12 √xn ⟶
xn+1=xn−2xn ⟶
xn+1=−xn
If xn<0 then
xn+1=xn−f(xn)f′(xn) ⟶
xn+1=xn−√−xn−12 √−xn ⟶
xn+1=xn+2(−xn) ⟶
xn+1=−xn
We can conclude that Newton's Method formula is
xn+1=−xn
for any xn≠0.
Begin with the initial guess of x0=h>0. Using Newton's Method we get that
x1=−x0=−h ⟶
x2=−x1=−(−h)=h ⟶
x3=−x2=−h ⟶
x4=−x3=−(−h)=h ⟶
etc. It's clear that Newton's Method is trapped in an endless loop, which fails to converge to the solution x=0. This example shows that Newton's Method sometimes fails to work.
Click HERE to return to the list of problems.