High-Performance Polynomial Root Finding for Graphics

No Thumbnail Available
Date
2022
Journal Title
Journal ISSN
Volume Title
Publisher
ACM Association for Computing Machinery
Abstract
We present a computationally-efficient and numerically-robust algorithm for finding real roots of polynomials. It begins with determining the intervals where the given polynomial is monotonic. Then, it performs a robust variant of Newton iterations to find the real root within each interval, providing fast and guaranteed convergence and satisfying the given error bound, as permitted by the numerical precision used. For cubic polynomials, the algorithm is more accurate and faster than both the analytical solution and directly applying Newton iterations. It trivially extends to polynomials with arbitrary degrees, but it is limited to finding the real roots only and has quadratic worst-case complexity in terms of the polynomial's degree. We show that our method outperforms alternative polynomial solutions we tested up to degree 20. We also present an example rendering application with a known efficient numerical solution and show that our method provides faster, more accurate, and more robust solutions by solving polynomials of degree 10.
Description

CCS Concepts: Mathematics of computing -> Nonlinear equations; Computing methodologies -> Ray tracing; Collision detection Additional Key Words and Phrases: Polynomial solver, cubic solver, quartic solver, Newton iterations

        
@inproceedings{
10.1145:3543865
, booktitle = {
Proceedings of the ACM on Computer Graphics and Interactive Techniques
}, editor = {
Josef Spjut
and
Marc Stamminger
and
Victor Zordan
}, title = {{
High-Performance Polynomial Root Finding for Graphics
}}, author = {
Yuksel, Cem
}, year = {
2022
}, publisher = {
ACM Association for Computing Machinery
}, ISSN = {
2577-6193
}, ISBN = {}, DOI = {
10.1145/3543865
} }
Citation