After 5 steps
x5≈1.414214 How close to a root
f(x5)≈4.4×10−16 Verdict
settled on a root How it was found
Newton's method improves a guess by following the tangent down to the x-axis: xk+1=xk−f′(xk)f(xk), with f(x)=x2−2 and f′(x)=2x.
x1=2−42=1.5
x2=1.5−30.25=1.416667
x3=1.416667−2.8333330.006944=1.414216
x4=1.414216−2.8284316.0×10−6=1.414214
x5=1.414214−2.8284274.5×10−12=1.414214
The last steps no longer change the guess and f is practically 0 there: the root is x≈1.414214. Once a guess is close, each step roughly doubles the number of correct digits.