Got a quick (and potentially stupid) question about the n-th root algorithm.
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.
Numerical Analysis question
Moderator: Alyrium Denryle
- Kuroneko
- Jedi Council Member
- Posts: 2469
- Joined: 2003-03-13 03:10am
- Location: Fréchet space
- Contact:
Re: Numerical Analysis question
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.]
[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
Re: Numerical Analysis question
Thank you.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.]
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.
- Kuroneko
- Jedi Council Member
- Posts: 2469
- Joined: 2003-03-13 03:10am
- Location: Fréchet space
- Contact:
Re: Numerical Analysis question
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:A^{1/n} = A/[ (A^{1/n})^{n-1} ], that is if x_k were to be equal to A^(1/n)?
Yes (yes).[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?)?
"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
Re: Numerical Analysis question
Thank you for the explaination, everything is clear now.