Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Laguerre's method
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Definition== The algorithm of the Laguerre method to find one root of a polynomial {{math|''p''(''x'')}} of degree {{mvar|n}} is: * Choose an initial guess {{math|''x''<sub>0</sub>}} * For {{math|''k'' {{=}} 0, 1, 2, ...}} ** If <math>p(x_k)</math> is very small, exit the loop ** Calculate <math>G = \frac{p'(x_k)}{p(x_k)}</math> ** Calculate <math>H = G^2 - \frac{p''(x_k)}{p(x_k)}</math> ** Calculate <math>a = \frac{n}{G \plusmn \sqrt{(n-1)(nH - G^2)}}</math>, where the sign is chosen to give the denominator with the larger absolute value, to avoid [[catastrophic cancellation]]. ** Set <math>x_{k+1} = x_k - a</math> * Repeat until ''a'' is small enough or if the maximum number of iterations has been reached. If a root has been found, the corresponding linear factor can be removed from ''p''. This deflation step reduces the degree of the polynomial by one, so that eventually, approximations for all roots of ''p'' can be found. Note however that deflation can lead to approximate factors that differ significantly from the corresponding exact factors. This error is least if the roots are found in the order of increasing magnitude.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)