'Initial guess for Newton Raphson Division

Trying to use Newton’Raphson method to approximate the roots of f(x) = 1/x - D, which would be x = 1/D. This gives x_n+1 = x_n(2-D*x_n).

What would be a good initial guess for this? I saw on Wikipedia that x_0 = 48/17 - 32*D/17 works, but I don’t understand where this approximation comes from, and I don’t see how its useful since it only applies for 0.5 < D < 1. I’m thinking of approximating 1/x with a Geometric Series, but the interval of convergence for that is also limited.



Solution 1:[1]

Compare the blue line to the green curve.

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Yves Daoust