$$f(x)=x^4+2x^3+5x^2+5x-3=0$$
I've chosen these values as guessed values: $$(x,f(x)) --> (-1+4i, 172+116i), (1+2i, -42+2i), (-3+i, 14-69i)$$
Am I doing something wrong or can't we obtain a non-real root with these starting points? What am I missing or what's the problem with these points?
Inverse quadratic iteration was intended to be an improvement of the secant root computation in the secant method, regula falsi, first Dekker method, using a third point to somewhat capture the curvature of the function and thus get closer root approximations. Thus quadratic in the regular sense in Muller's method, inverse quadratic in Dekker's and Brent's method, also hyperbolic curves were explored by them, exponential approximation in Ridders method.
Conceptually, this works best, or only, if a root guaranteed to be inside or close to the convex hull of the 3 sampling points, so that the function approximation is more interpolation than extrapolation. It also helps if the function is almost linear in this region. In the real methods, a bracketing interval (Dekker, Brent) is such a root guarantee. Outside this set, the inverse quadratic and the original polynomial function will be wildly different, so that the value at zero of the inverse quadratic has little to no relationship to any root of the original function.
The inverse quadratic iteration can be realized in python as
with the (shortened) result
It is visible that the iteration first moves chaotically away from the starting points. Apparently the iterations for all permutations of the initial points converge to the same real root, which could mean that this root has the largest basin of attraction, or it could just be a coincidence.