27 julio 2010

Müller's Method

Müller's method is a root-finding algorithm, a numerical method for solving equations of the form f(x) = 0. It is first presented by D. E. Müller in 1956.

Müller's method is based on the secant method, which constructs at every iteration a line through two points on the graph of f. Instead, Müller's method uses three points, constructs the parabola through these three points, and takes the intersection of the x-axis with the parabola to be the next approximation.

The three initial values needed are denoted as xk, xk-1 and xk-2. The parabola going through the three points (xkf(xk)), (xk-1f(xk-1)) and (xk-2f(xk-2)), when written in the Newton form, is

 y = f(x_k) + (x-x_k) f[x_k, x_{k-1}] + 
(x-x_k) (x-x_{k-1}) f[x_k, x_{k-1}, x_{k-2}], \,




where
 f[xk, xk-1] and f[xk, xk-1, xk-2] denote divided differences. This can be rewritten as

 y = f(x_k) + w(x-x_k) + f[x_k, x_{k-1}, 
x_{k-2}] \, (x-x_k)^2 \,
where

 w = f[x_k,x_{k-1}] + f[x_k,x_{k-2}] - 
f[x_{k-1},x_{k-2}]. \,
The next iterate is now given by the root of the quadratic equationy = 0. This yields the recurrence relation

 x_{k+1} = x_k - \frac{2f(x_k)}{w \pm 
\sqrt{w^2 - 4f(x_k)f[x_k, x_{k-1}, x_{k-2}]}}.
In this formula, the sign should be chosen such that the denominator is as large as possible in magnitude. We do not use the standard formula for solving quadratic equations because that may lead to loss of significance.
Note that xk+1 can be complex, even if the previous iterates were all real. This is in contrast with other root-finding algorithms like the secant method or Newton's method, whose iterates will remain real if one starts with real numbers. Having complex iterates can be an advantage (if one is looking for complex roots) or a disadvantage (if it is known that all roots are real), depending on the problem.






No hay comentarios:

Publicar un comentario