How to calculate efficiency of Newton's Method

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
David Carroll
Messages
181
Reaction score
13
Greetings. I was wondering if anyone knew of a way to calculate the efficiency of Newton's Method for a given function:

I have an equation f(x) and I'm trying to find a value of x = x0 such that f(x0) = 0.

So I start with a guess x0 and then use that to find a second (usually closer) guess of x1 by using the following:

x1 = x0 - f(x0)/f'(x0)

and then a third guess

x2 = x1 - f(x1)/f'(x1)

...and so on until xn = xn-1 +- e, where "e" is some previously defined allowable error.

In order to find an "efficiency value" of the above method, I'm thinking this has to do with the rate at which f(x) changes versus the rate at which f"(x) changes. So would I take the derivative of f(x) and divide it by the derivative of f'(x)? = f'(x)/f''(x)

...or would I take the derivative of the entire construct? = [f(x)/f'(x)]'

Or are none of these correct?
 
Physics news on Phys.org
Sorry. You can barely see the ' or the '' on those above derivatives, but they are there.
 
David Carroll said:
Greetings. I was wondering if anyone knew of a way to calculate the efficiency of Newton's Method for a given function:

I have an equation f(x) and I'm trying to find a value of x = x0 such that f(x0) = 0.

So I start with a guess x0 and then use that to find a second (usually closer) guess of x1 by using the following:

x1 = x0 - f(x0)/f'(x0)

and then a third guess

x2 = x1 - f(x1)/f'(x1)

...and so on until xn = xn-1 +- e, where "e" is some previously defined allowable error.

In order to find an "efficiency value" of the above method, I'm thinking this has to do with the rate at which f(x) changes versus the rate at which f"(x) changes. So would I take the derivative of f(x) and divide it by the derivative of f'(x)? = f'(x)/f''(x)

...or would I take the derivative of the entire construct? = [f(x)/f'(x)]'

Or are none of these correct?

It's not clear what you mean by the 'efficiency' of Newton's method.

http://en.wikipedia.org/wiki/Newton's_method

In the article above, it can be shown that under certain conditions, NM has what is called 'quadratic convergence', which means that if NM has settled onto a solution, the error in a subsequent iteration is proportional to the square of the error in the current iteration.
 
That's exactly what I was looking for. Thank you.