Affiliation:
1. Flash Center for Computational Science, University of Chicago, Chicago, IL
Abstract
We report on an accurate and efficient algorithm for obtaining all roots of general real cubic and quartic polynomials. Both the cubic and quartic solvers give highly accurate roots and place no restrictions on the magnitude of the polynomial coefficients. The key to the algorithm is a proper rescaling of both polynomials. This puts upper bounds on the magnitude of the roots and is very useful in stabilizing the root finding process. The cubic solver is based on dividing the cubic polynomial into six classes. By analyzing the root surface for each class, a fast convergent Newton-Raphson starting point for a real root is obtained at a cost no higher than three additions and four multiplications. The quartic solver uses the cubic solver in getting information about stationary points and, when the quartic has real roots, stable Newton-Raphson iterations give one of the extreme real roots. The remaining roots follow by composite deflation to a cubic. If the quartic has only complex roots, the present article shows that a stable Newton-Raphson iteration on a derived symmetric sixth degree polynomial can be formulated for the real parts of the complex roots. The imaginary parts follow by solving suitable quadratics.
Publisher
Association for Computing Machinery (ACM)
Subject
Applied Mathematics,Software
Reference27 articles.
1. Extension of Bairstow's Method for Multiple Quadratic Factors
2. L. Bairstow. 1914. Investigations Relating to the Stability of the Aeroplane. Reports and Memoranda 154. National Advisory Committee for Aeronautics. L. Bairstow. 1914. Investigations Relating to the Stability of the Aeroplane. Reports and Memoranda 154. National Advisory Committee for Aeronautics.
3. 75.27 Solving quartics using palindromes
4. A FAST NEW PUBLIC CODE FOR COMPUTING PHOTON ORBITS IN A KERR SPACETIME
5. Über die obere Schranke des absoluten Betrages der Wurzeln einer algebraischen Gleichung;Fujiwara M.;Tohoku Math. J.,1916
Cited by
14 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. The gravity extension for MCNP 6.2;Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment;2024-04
2. Provably convergent Newton–Raphson methods for recovering primitive variables with applications to physical-constraint-preserving Hermite WENO schemes for relativistic hydrodynamics;Journal of Computational Physics;2024-02
3. An improved cubic approximation for Kepler’s equation;Monthly Notices of the Royal Astronomical Society;2023-07-05
4. Ray/Ribbon Intersections;Proceedings of the ACM on Computer Graphics and Interactive Techniques;2022-07-25
5. High-Performance Polynomial Root Finding for Graphics;Proceedings of the ACM on Computer Graphics and Interactive Techniques;2022-07-25