Re: Secant method vs Newton's method
- From: bd@xxxxxxxxxx (Bernard Danloy)
- Date: Mon, 25 Sep 2006 18:30:50 +0200
In article <45156F04.5050403@xxxxxxxxxxx>, Jentje Goslinga
<goslinga@xxxxxxxxxxx> wrote :
Schizoid Man wrote:
Hi,
Under what circumstances would I prefer the secant method to Newton's
method?
Newton's method converges much faster and the number of function calls
seem to be the same (if we assume the derivative is a function call).
The natural generalization of the Secant Method to higher order is
obtained by using Normalized Inverse Hermite interpolation (NIH).
It is found that the Secant Method is obtained using zero order NIH and
higher order methods with increasingly higher order error terms are
obtained by using First or Second Order NIH. The resulting higher order
methods have the desirable bracketing property.
The simple innovation which I am using in NIH, and which is indicated by
the word Normalized, is that I am using for interpolation the two point
Hermite Interpolating Polynomial interpolating the function and some of
its derivatives on a normalized interval [-1/2,1/2] by simply mapping
the bracketing interval to the normalized interval each iteration. This
allows use of the same interpolation formula every step of the iterative
search for the root by evaluating the root of the Hermite polynomial
interpolating the inverse function and its first or even second
derivatives on two points within the normalized interval.
I have described this on my website www.numerical-algorithms.com under
the section "Root Finding Using Inverse Normalized Hermite
Interpolation" and present an example where I compute the roots of the
Legendre polynomials. I have found NIH to be somewhat better than
Brent's algorithm (which is not bad) in the cases which I have tested.
[The other example where I compute the roots of the Secular Function for
the Symmetric Eigenvalue Problem should be disregarded since this
function is of a non polynomial nature for which the existing methods
have been found to be more reliable.]
I have C code for the algorithm and can send it to whomever is interested.
Jen
If i can have sympathy for anyone who has choosen mathematics as a hobby,
it is difficult for me to remain silent when i read on your website :
" It is therefore easier to compute the roots of all polynomials up
to a given order than to compute the roots for a polynomial of given
order in isolation "
Complete non sense ; the classical orthogonal polynomials do have such
nice properties that you can find their zeroes without ever using the
interlacing you are referring to. A job of complexity n^2 is never
easier than a job of complexity n.
I would also add that the terminology " Hermite polynomial " is not
correct. Hermite polynomials are classical orthogonal polynomials ;
i don't know anybody using the term for the polynomial generated by
Hermite interpolation.
Maybe, what you have experimented has some value ; if it is the case,
you should try to present the principle more clearly and to give the
reasons why it can be expected to work better.
When i see some second derivatives in your formulas, i am perplex.
Bernard Danloy
Department of Mathematical Engineering
University of Louvain-la-Neuve
.
- Follow-Ups:
- Re: Secant method vs Newton's method
- From: Jentje Goslinga
- Re: Secant method vs Newton's method
- References:
- Secant method vs Newton's method
- From: Schizoid Man
- Re: Secant method vs Newton's method
- From: Jentje Goslinga
- Secant method vs Newton's method
- Prev by Date: Re: Large matrices in c++
- Next by Date: Round Robin Tournaments
- Previous by thread: Re: Secant method vs Newton's method
- Next by thread: Re: Secant method vs Newton's method
- Index(es):
Relevant Pages
|