Numerical Analysis question

SLAM: debunk creationism, pseudoscience, and superstitions. Discuss logic and morality.

Moderator: Alyrium Denryle

Post Reply
[R_H]
Sith Devotee
Posts: 2894
Joined: 2007-08-24 08:51am
Location: Europe

Numerical Analysis question

Post by [R_H] »

Got a quick (and potentially stupid) question about the n-th root algorithm.

Image

When choosing the intial guess, it's x_k > A^(1/n) > A/((x_k)^(n-1)). I can't remember why A^(1/n) > A/((x_k)^(n-1)) nor can I find an explanation in my notes. I'd appreciate any help.

Thanks.
User avatar
Kuroneko
Jedi Council Member
Posts: 2469
Joined: 2003-03-13 03:10am
Location: Fréchet space
Contact:

Re: Numerical Analysis question

Post by Kuroneko »

Since A^{1/n} = A/[ (A^{1/n})^{n-1} ], x > A^{1/n} implies A^{1/n} > A/[ x^{n-1} ]. As for the first, x_k > A^{1/n} is a good idea because Newton's iteration error is quadratic with coefficient proportional to f"(x)/f'(x), which here means that slight overestimates have better convergence than slight underestimates.

[Edit: whoops, elementary error.]
"The fool saith in his heart that there is no empty set. But if that were so, then the set of all such sets would be empty, and hence it would be the empty set." -- Wesley Salmon
[R_H]
Sith Devotee
Posts: 2894
Joined: 2007-08-24 08:51am
Location: Europe

Re: Numerical Analysis question

Post by [R_H] »

Kuroneko wrote:Since A^{1/n} = A/[ (A^{1/n})^{n-1} ], x > A^{1/n} implies A^{1/n} > A/[ x^{n-1} ]. As for the first, x_k > A^{1/n} is a good idea because Newton's iteration error is quadratic with coefficient proportional to f"(x)/f'(x), which here means that slight overestimates have better convergence than slight underestimates.

[Edit: whoops, elementary error.]
Thank you.

A^{1/n} = A/[ (A^{1/n})^{n-1} ], that is if x_k were to be equal to A^(1/n)?

Another question, seeing how the n-th root algorithm is deriveable from Newton's Method, does it also have the same covergence rate (quadratic?)?

Thank you.
User avatar
Kuroneko
Jedi Council Member
Posts: 2469
Joined: 2003-03-13 03:10am
Location: Fréchet space
Contact:

Re: Numerical Analysis question

Post by Kuroneko »

[R_H] wrote:A^{1/n} = A/[ (A^{1/n})^{n-1} ], that is if x_k were to be equal to A^(1/n)?
That equality is always true. The condition x_k > A^{1/n} means that replacing A^{1/n} with x in the denominator produces a lesser quantity, so that x_k > A^{1/n} = A/[ (A^{1/n})^{n-1} ] > A/[ (x_k)^{n-1} ].
[R_H] wrote:Another question, seeing how the n-th root algorithm is deriveable from Newton's Method, does it also have the same covergence rate (quadratic?)?
Yes (yes).
"The fool saith in his heart that there is no empty set. But if that were so, then the set of all such sets would be empty, and hence it would be the empty set." -- Wesley Salmon
[R_H]
Sith Devotee
Posts: 2894
Joined: 2007-08-24 08:51am
Location: Europe

Re: Numerical Analysis question

Post by [R_H] »

Thank you for the explaination, everything is clear now.
Post Reply